function getlocations_map_defaults in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_map/getlocations_map.module \getlocations_map_defaults()
2 calls to getlocations_map_defaults()
- getlocations_map_field_formatter_settings_form in modules/
getlocations_map/ getlocations_map.module - Implements hook_field_formatter_settings_form(). Returns form elements for a formatter's settings.
- getlocations_map_map_formatter_defaults in modules/
getlocations_map/ getlocations_map.module
File
- modules/
getlocations_map/ getlocations_map.module, line 767 - getlocations_map.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_map_defaults() {
$getlocations_defaults = getlocations_defaults();
$defaults = array(
'width' => $getlocations_defaults['width'],
'height' => $getlocations_defaults['height'],
'map_resize' => $getlocations_defaults['map_resize'],
'fullscreen_disable' => $getlocations_defaults['fullscreen_disable'],
'styles' => $getlocations_defaults['styles'],
'latlong' => $getlocations_defaults['latlong'],
'zoom' => $getlocations_defaults['zoom'],
'minzoom_map' => $getlocations_defaults['minzoom_map'],
'maxzoom_map' => $getlocations_defaults['maxzoom_map'],
'maptype' => $getlocations_defaults['maptype'],
'mtc' => $getlocations_defaults['mtc'],
'baselayers' => $getlocations_defaults['baselayers'],
'scale' => $getlocations_defaults['scale'],
'overview' => $getlocations_defaults['overview'],
'overview_opened' => $getlocations_defaults['overview_opened'],
'scrollwheel' => $getlocations_defaults['scrollwheel'],
'draggable' => $getlocations_defaults['draggable'],
'map_backgroundcolor' => $getlocations_defaults['map_backgroundcolor'],
'show_maplinks' => $getlocations_defaults['show_maplinks'],
'show_bubble_on_one_marker' => $getlocations_defaults['show_bubble_on_one_marker'],
'fullscreen' => $getlocations_defaults['fullscreen'],
'fullscreen_controlposition' => $getlocations_defaults['fullscreen_controlposition'],
'sv_show' => $getlocations_defaults['sv_show'],
'sv_showfirst' => $getlocations_defaults['sv_showfirst'],
'sv_heading' => $getlocations_defaults['sv_heading'],
'sv_zoom' => $getlocations_defaults['sv_zoom'],
'sv_pitch' => $getlocations_defaults['sv_pitch'],
'trafficinfo' => $getlocations_defaults['trafficinfo'],
'trafficinfo_state' => $getlocations_defaults['trafficinfo_state'],
'bicycleinfo' => $getlocations_defaults['bicycleinfo'],
'bicycleinfo_state' => $getlocations_defaults['bicycleinfo_state'],
'transitinfo' => $getlocations_defaults['transitinfo'],
'transitinfo_state' => $getlocations_defaults['transitinfo_state'],
'poi_show' => $getlocations_defaults['poi_show'],
'transit_show' => $getlocations_defaults['transit_show'],
'polygons_enable' => $getlocations_defaults['polygons_enable'],
'polygons_strokecolor' => $getlocations_defaults['polygons_strokecolor'],
'polygons_strokeopacity' => $getlocations_defaults['polygons_strokeopacity'],
'polygons_strokeweight' => $getlocations_defaults['polygons_strokeweight'],
'polygons_fillcolor' => $getlocations_defaults['polygons_fillcolor'],
'polygons_fillopacity' => $getlocations_defaults['polygons_fillopacity'],
'polygons_coords' => $getlocations_defaults['polygons_coords'],
'polygons_clickable' => $getlocations_defaults['polygons_clickable'],
'polygons_message' => $getlocations_defaults['polygons_message'],
'rectangles_enable' => $getlocations_defaults['rectangles_enable'],
'rectangles_strokecolor' => $getlocations_defaults['rectangles_strokecolor'],
'rectangles_strokeopacity' => $getlocations_defaults['rectangles_strokeopacity'],
'rectangles_strokeweight' => $getlocations_defaults['rectangles_strokeweight'],
'rectangles_fillcolor' => $getlocations_defaults['rectangles_fillcolor'],
'rectangles_fillopacity' => $getlocations_defaults['rectangles_fillopacity'],
'rectangles_coords' => $getlocations_defaults['rectangles_coords'],
'rectangles_clickable' => $getlocations_defaults['rectangles_clickable'],
'rectangles_message' => $getlocations_defaults['rectangles_message'],
'rectangles_apply' => $getlocations_defaults['rectangles_apply'],
'rectangles_dist' => $getlocations_defaults['rectangles_dist'],
'circles_enable' => $getlocations_defaults['circles_enable'],
'circles_strokecolor' => $getlocations_defaults['circles_strokecolor'],
'circles_strokeopacity' => $getlocations_defaults['circles_strokeopacity'],
'circles_strokeweight' => $getlocations_defaults['circles_strokeweight'],
'circles_fillcolor' => $getlocations_defaults['circles_fillcolor'],
'circles_fillopacity' => $getlocations_defaults['circles_fillopacity'],
'circles_coords' => $getlocations_defaults['circles_coords'],
'circles_clickable' => $getlocations_defaults['circles_clickable'],
'circles_message' => $getlocations_defaults['circles_message'],
'circles_radius' => $getlocations_defaults['circles_radius'],
'circles_apply' => $getlocations_defaults['circles_apply'],
'polylines_enable' => $getlocations_defaults['polylines_enable'],
'polylines_strokecolor' => $getlocations_defaults['polylines_strokecolor'],
'polylines_strokeopacity' => $getlocations_defaults['polylines_strokeopacity'],
'polylines_strokeweight' => $getlocations_defaults['polylines_strokeweight'],
'polylines_coords' => $getlocations_defaults['polylines_coords'],
'polylines_clickable' => $getlocations_defaults['polylines_clickable'],
'polylines_message' => $getlocations_defaults['polylines_message'],
'kml_group' => $getlocations_defaults['kml_group'],
'search_places' => $getlocations_defaults['search_places'],
'search_places_size' => $getlocations_defaults['search_places_size'],
'search_places_position' => $getlocations_defaults['search_places_position'],
'search_places_label' => $getlocations_defaults['search_places_label'],
'search_places_placeholder' => $getlocations_defaults['search_places_placeholder'],
'search_places_dd' => $getlocations_defaults['search_places_dd'],
'search_places_list' => $getlocations_defaults['search_places_list'],
'geojson_enable' => $getlocations_defaults['geojson_enable'],
'geojson_data' => $getlocations_defaults['geojson_data'],
'geojson_options' => $getlocations_defaults['geojson_options'],
'nokeyboard' => $getlocations_defaults['nokeyboard'],
'nodoubleclickzoom' => $getlocations_defaults['nodoubleclickzoom'],
'zoomcontrolposition' => $getlocations_defaults['zoomcontrolposition'],
'pancontrolposition' => $getlocations_defaults['pancontrolposition'],
'mapcontrolposition' => $getlocations_defaults['mapcontrolposition'],
'scalecontrolposition' => $getlocations_defaults['scalecontrolposition'],
'svcontrolposition' => $getlocations_defaults['svcontrolposition'],
#'markeraction' => 0,
'gps_button' => 0,
'gps_button_label' => $getlocations_defaults['gps_button_label'],
'gps_marker' => $getlocations_defaults['gps_marker'],
'gps_marker_title' => $getlocations_defaults['gps_marker_title'],
'gps_bubble' => $getlocations_defaults['gps_bubble'],
'gps_geocode' => $getlocations_defaults['gps_geocode'],
'gps_center' => $getlocations_defaults['gps_center'],
'gps_type' => $getlocations_defaults['gps_type'],
'gps_zoom' => $getlocations_defaults['gps_zoom'],
);
$newdefaults = getlocations_adjust_vars($getlocations_defaults, $defaults);
return $newdefaults;
}