You are here

function getdirections_get_key in Get Directions 7.3

6 calls to getdirections_get_key()
getdirections_direction in ./getdirections.module
Function to setup the map and form
getdirections_direction_other in ./getdirections.module
Function to setup the map and form
getdirections_fields_field_formatter_view in modules/getdirections_fields/getdirections_fields.module
Implements hook_field_formatter_view(). Build a renderable array for a field value.
getdirections_locations in ./getdirections.module
Function to setup the map
getdirections_locations_via in ./getdirections.module
Function to setup the map

... See full list

File

./getdirections.module, line 552
Fetches google map directions.

Code

function getdirections_get_key() {
  static $getdirections_mapid = 0;
  $getdirections_mapid++;
  return 'key_' . $getdirections_mapid;
}