You are here

function _getdirections_loadaddress in Get Directions 7.3

Same name and namespace in other branches
  1. 6.2 getdirections.module \_getdirections_loadaddress()
  2. 6 getdirections.module \_getdirections_loadaddress()
  3. 7.2 getdirections.module \_getdirections_loadaddress()

Function to collect an address

Parameters

array $location:

bool $addcountry:

Return value

Returns array.

5 calls to _getdirections_loadaddress()
getdirections_entity_setlocation in ./getdirections.module
Function to setup the map
getdirections_entity_setlocations in ./getdirections.module
Function to setup the map
getdirections_entity_setlocations_via in ./getdirections.module
Function to setup the map to display waypoints
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_setlocation_id in ./getdirections.module
Function to setup the map and form

File

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

Code

function _getdirections_loadaddress($location, $addcountry = TRUE) {

  // theme it so others can change it
  return theme('getdirections_loadaddress', array(
    'location' => $location,
    'addcountry' => $addcountry,
  ));
}