function getdirections_locations_bylatlon in Get Directions 6
Same name and namespace in other branches
- 6.2 getdirections.api.inc \getdirections_locations_bylatlon()
- 7.3 getdirections.api.inc \getdirections_locations_bylatlon()
- 7.2 getdirections.api.inc \getdirections_locations_bylatlon()
API Function to setup a map with two points
Parameters
$fromlocs: Required. The string to display for From.
$fromlatlon: Required. The location point for From. In decimal latitude,longitude
$tolocs: Required. The string to display for To.
$tolatlon: Required. The location point for To. In decimal latitude,longitude
Return value
Returns the themed map.
File
- ./
getdirections.api.inc, line 196 - Get directions API
Code
function getdirections_locations_bylatlon($fromlocs, $fromlatlon, $tolocs, $tolatlon) {
return getdirections_locations($fromlocs, $fromlatlon, $tolocs, $tolatlon);
}