location.tk.inc in Location 7.3
Same filename and directory in other branches
Tokelau.
File
supported/location.tk.incView source
<?php
/**
* @file
* Tokelau.
*/
/**
* Returns an associative array of states/territories.
*/
function location_province_list_tk() {
return array(
'A' => "Atafu",
'F' => "Fakaofo",
'N' => "Nukunonu",
);
}
/**
* Returns minimum and maximum latitude and longitude needed to create a bounding box.
*/
function location_bounds_tk() {
// Note: I determined this bounding box manually using a visualization tool. --Bdragon
return array(
'minlng' => -172.68311,
'minlat' => -9.50595,
'maxlng' => -171.09833,
'maxlat' => -8.439769999999999,
);
}
Functions
Name![]() |
Description |
---|---|
location_bounds_tk | Returns minimum and maximum latitude and longitude needed to create a bounding box. |
location_province_list_tk | Returns an associative array of states/territories. |