You are here

function location_map_link_de in Location 7.3

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

Map link.

@returns string A link to driving directions

Parameters

array $location: Is an associative array that represents a full location where 'street' => the street portions of the location 'supplemental' => additional street portion of the location 'province' => the province, state, or territory 'country' => lower-cased two-letter ISO code (REQUIRED)

array $hide: Is associative array that represents a full location in the same way that parameter $location_b does.

File

supported/location.de.inc, line 49
Deutschland.

Code

function location_map_link_de($location = array(), $hide = array()) {
  $map_links = array();

  // For now, just call the suchen (tinfo) function.  May want to make this configurable on some level
  // in order to maintain freedom of choice so users and site-admins don't have to be slaves
  // to tinfo!.... not that I have anything personal against tinfo!.
  if ($link = _location_map_link_de_suchen($location)) {
    $map_links['suchen'] = $link;
  }
  return $map_links;
}