You are here

function getlocations_leaflet_plugins in Get Locations 7.2

Same name and namespace in other branches
  1. 7 modules/getlocations_leaflet/getlocations_leaflet.module \getlocations_leaflet_plugins()
5 calls to getlocations_leaflet_plugins()
getlocations_leaflet_display_options_form in modules/getlocations_leaflet/getlocations_leaflet.module
getlocations_leaflet_library in modules/getlocations_leaflet/getlocations_leaflet.module
Implements hook_library().
getlocations_leaflet_map_settings_do in modules/getlocations_leaflet/getlocations_leaflet.module
getlocations_leaflet_settings_form in modules/getlocations_leaflet/getlocations_leaflet.module
getlocations_tools_export_form in modules/getlocations_tools/getlocations_tools.module
1 string reference to 'getlocations_leaflet_plugins'
getlocations_tools_import_form_submit in modules/getlocations_tools/getlocations_tools.module

File

modules/getlocations_leaflet/getlocations_leaflet.module, line 2332
getlocations_leaflet.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_leaflet_plugins() {
  $defaults = array(
    'markercluster_enable' => 0,
    'fullscreen_enable' => 0,
    'graticule_enable' => 0,
    'pancontrol_enable' => 0,
    'zoomslider_enable' => 0,
    'awesome_enable' => 0,
    'mouseposition_enable' => 0,
    'minimap_enable' => 0,
    'geocoder_enable' => 0,
    'usermarker_enable' => 0,
    'bouncemarker_enable' => 0,
    'magnifyingglass_enable' => 0,
    'terminator_enable' => 0,
    'mapquest_traffic_enable' => 0,
    'mapquest_routing_enable' => 0,
    'mapquest_geocoder_enable' => 0,
    'mapquest_maps_enable' => 0,
    'hash_enable' => 0,
  );
  $settings = variable_get('getlocations_leaflet_plugins', $defaults);
  $return = getlocations_adjust_vars($defaults, $settings);
  return $return;
}