You are here

function location_driving_directions_link_au in Location 7.4

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

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

For now, assume site-admin wants American driving directions linked to Yahoo! Driving Directions. Maybe later, we can add some kind of country-specific settings page that allows the site-admin to decide which site to link to for driving directions.

File

supported/location.au.inc, line 301

Code

function location_driving_directions_link_au($location_a, $location_b) {
  return _location_driving_directions_link_au_yahoo($location_a, $location_b);
}