function location_map_link_de in Location 6.3
Same name and namespace in other branches
- 5.3 supported/location.de.inc \location_map_link_de()
- 5 supported/location.de.inc \location_map_link_de()
- 7.5 supported/location.de.inc \location_map_link_de()
- 7.3 supported/location.de.inc \location_map_link_de()
- 7.4 supported/location.de.inc \location_map_link_de()
Parameters: -> $location_a 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) -> $location_b is associative array that represents a full location in the same way that parameter $location_b does.
Returns: a link to driving directions
File
- supported/
location.de.inc, line 36
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;
}