You are here

function location_driving_directions_link_us in Location 7.3

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

Returns link.

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.

@returns string Link to driving directions.

Parameters

array $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)

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

File

supported/location.us.inc, line 394
United States.

Code

function location_driving_directions_link_us($location_a, $location_b) {
  return _location_driving_directions_link_us_yahoo($location_a, $location_b);
}