You are here

function getdirections_misc_defaults in Get Directions 7.2

Same name and namespace in other branches
  1. 6.2 getdirections.module \getdirections_misc_defaults()
  2. 7.3 getdirections.module \getdirections_misc_defaults()
10 calls to getdirections_misc_defaults()
getdirections_direction in ./getdirections.module
Function to setup the map and form
getdirections_direction_form in ./getdirections.module
Function to setup the form
getdirections_is_mobile in ./getdirections.module
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 864
Fetches google map directions.

Code

function getdirections_misc_defaults() {
  $getdirections_misc = variable_get('getdirections_misc', array(
    'keep_title' => 0,
    'show_distance' => 0,
    'trafficinfo' => 0,
    'trafficinfo_state' => 0,
    'bicycleinfo' => 0,
    'bicycleinfo_state' => 0,
    'switchfromto' => 0,
    'show_duration' => 0,
    'panoramio_show' => 0,
    'panoramio_state' => 0,
    'transitinfo' => 0,
    'transitinfo_state' => 0,
    'geolocation_enable' => 0,
    'geolocation_option' => 1,
    'geolocation_mobile_check' => 1,
  ));
  return $getdirections_misc;
}