You are here

location.vi.inc in Location 7.3

Virgin Islands, U. S.

File

supported/location.vi.inc
View source
<?php

/**
 * @file
 * Virgin Islands, U. S.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_vi() {
  return array(
    'C' => "Saint Croix",
    'J' => "Saint John",
    'T' => "Saint Thomas",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_vi() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:900913
  return array(
    'minlng' => -65.020315,
    'minlat' => 17.6825393,
    'maxlng' => -64.55866399999999,
    'maxlat' => 18.3888528,
  );
}

Functions

Namesort descending Description
location_bounds_vi Returns minimum and maximum latitude and longitude needed to create a bounding box.
location_province_list_vi Returns an associative array of states/territories.