function location_map_link_nz_providers in Location 7.3
Link providers.
Return value
array An array where -> the key is the word that helps identify the name of function that builds the link. For example, a key of 'yahoo' means the name of the the function that builds a link to a map on Yahoo! Maps would be 'location_map_link_nz_yahoo' -> the value is itself an array with 3 key/value pairs: 'name' => points to the name of the mapping service. For 'yahoo', this would be 'Yahoo! Maps' 'url' => the url of the main page of the mapping service. For 'yahoo', this would be 'http://maps.yahoo.com' 'tos' => the url of the page that explains the map providers Terms of Service, or Terms of Use. For 'yahoo', this would be 'http://help.yahoo.com/help/us/maps/maps-24.html'
File
- supported/
location.nz.inc, line 329 - New Zealand.
Code
function location_map_link_nz_providers() {
return array(
'google' => array(
'name' => t('Google Maps'),
'url' => 'http://maps.google.com',
'tos' => 'http://www.google.com/help/terms_local.html',
),
'yahoo' => array(
'name' => 'Yahoo! Maps',
'url' => 'http://maps.yahoo.com',
'tos' => 'http://help.yahoo.com/help/us/maps/maps-24.html',
),
'mapquest' => array(
'name' => 'MapQuest',
'url' => 'http://www.mapquest.com',
'tos' => 'http://www.mapquest.com/features/main.adp?page=legal',
),
);
}