function location_driving_directions_link_nz in Location 7.3
Direction links.
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.nz.inc, line 470 - New Zealand.
Code
function location_driving_directions_link_nz($location_a, $location_b) {
return _location_driving_directions_link_nz_yahoo($location_a, $location_b);
}