You are here

function location_map_link_au_providers in Location 7.3

Same name and namespace in other branches
  1. 5.3 supported/location.au.inc \location_map_link_au_providers()
  2. 6.3 supported/location.au.inc \location_map_link_au_providers()
  3. 7.5 supported/location.au.inc \location_map_link_au_providers()
  4. 7.4 supported/location.au.inc \location_map_link_au_providers()

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_us_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.au.inc, line 227
Australia.

Code

function location_map_link_au_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',
    ),
  );
}