You are here

function getdirections_locations_bylatlon in Get Directions 6.2

Same name and namespace in other branches
  1. 6 getdirections.api.inc \getdirections_locations_bylatlon()
  2. 7.3 getdirections.api.inc \getdirections_locations_bylatlon()
  3. 7.2 getdirections.api.inc \getdirections_locations_bylatlon()

API Function to setup a map with two points

Parameters

string $fromlocs: Required. The string to display for From.

string $fromlatlon: Required. The location point for From. In decimal latitude,longitude

string $tolocs: Required. The string to display for To.

string $tolatlon: Required. The location point for To. In decimal latitude,longitude

Return value

Returns the themed map.

File

./getdirections.api.inc, line 238
Get directions API

Code

function getdirections_locations_bylatlon($fromlocs, $fromlatlon, $tolocs, $tolatlon, $width = '', $height = '') {
  return getdirections_locations($fromlocs, $fromlatlon, $tolocs, $tolatlon, $width, $height);
}