You are here

function location_map_link_dk_providers in Location 7.3

Same name and namespace in other branches
  1. 5.3 supported/location.dk.inc \location_map_link_dk_providers()
  2. 6.3 supported/location.dk.inc \location_map_link_dk_providers()
  3. 7.5 supported/location.dk.inc \location_map_link_dk_providers()
  4. 7.4 supported/location.dk.inc \location_map_link_dk_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.dk.inc, line 120
Denmark.

Code

function location_map_link_dk_providers() {
  return array(
    'findvej' => array(
      'name' => 'findvej.dk',
      'url' => 'http://findvej.dk',
      'tos' => 'http://www.google.com/intl/da_ALL/help/terms_maps.html',
    ),
    'rejseplanen' => array(
      'name' => 'Rejseplanen',
      'url' => 'http://www.rejseplanen.dk/',
      // As close as I could find.
      'tos' => 'http://info.rejseplanen.dk/om_rejseplanen',
    ),
  );
}