function getlocations_leaflet_getlocations_leaflet_map_info in Get Locations 7
Same name and namespace in other branches
- 7.2 modules/getlocations_leaflet/getlocations_leaflet.module \getlocations_leaflet_getlocations_leaflet_map_info()
Implements hook_getlocations_leaflet_map_info().
File
- modules/
getlocations_leaflet/ getlocations_leaflet.module, line 1829 - getlocations_leaflet.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_leaflet_getlocations_leaflet_map_info() {
$map_info = array(
'Getlocations OSM' => array(
'label' => 'Getlocations OSM',
'description' => t('Getlocations Leaflet maps.'),
'map_opts' => array(
'dragging' => TRUE,
'touchZoom' => TRUE,
'scrollWheelZoom' => TRUE,
'doubleClickZoom' => TRUE,
'boxZoom' => TRUE,
'tap' => TRUE,
'tapTolerance' => 15,
'zoomControl' => TRUE,
'attributionControl' => TRUE,
'trackResize' => TRUE,
'fadeAnimation' => TRUE,
'zoomAnimation' => TRUE,
'closePopupOnClick' => TRUE,
'bounceAtZoomLimits' => TRUE,
'layerControl' => TRUE,
'minZoom' => 0,
'maxZoom' => 18,
),
'map_settings' => array(
'zoomcontrolposition' => '',
'attributioncontrolposition' => '',
'layercontrolposition' => '',
'scaleControl' => FALSE,
'scalecontrolposition' => '',
'scalecontrolunits' => '',
'markeraction' => '',
),
'map_layers' => array(
'OpenStreetMap.Mapnik' => array(
'label' => t('OpenStreetMap Default'),
'type' => 'base',
),
'OpenStreetMap.BlackAndWhite' => array(
'label' => t('OpenStreetMap Black and White'),
'type' => 'base',
),
'OpenStreetMap.DE' => array(
'label' => t('OpenStreetMap German Style'),
'type' => 'base',
),
'OpenStreetMap.HOT' => array(
'label' => t('OpenStreetMap H.O.T'),
'type' => 'base',
),
'Thunderforest.OpenCycleMap' => array(
'label' => t('Thunderforest OpenCycleMap'),
'type' => 'base',
),
'Thunderforest.Transport' => array(
'label' => t('Thunderforest Transport'),
'type' => 'base',
),
'Thunderforest.Landscape' => array(
'label' => t('Thunderforest Landscape'),
'type' => 'base',
),
'Thunderforest.Outdoors' => array(
'label' => t('Thunderforest Outdoors'),
'type' => 'base',
),
'MapQuestOpen.OSM' => array(
'label' => t('MapQuestOpen OSM'),
'type' => 'base',
),
'MapQuestOpen.Aerial' => array(
'label' => t('MapQuestOpen Aerial'),
'type' => 'base',
),
'Stamen.Toner' => array(
'label' => t('Stamen Toner'),
'type' => 'base',
),
'Stamen.TonerBackground' => array(
'label' => t('Stamen Toner Background'),
'type' => 'base',
),
'Stamen.TonerHybrid' => array(
'label' => t('Stamen Toner Hybrid'),
'type' => 'base',
),
'Stamen.TonerLines' => array(
'label' => t('Stamen Toner Lines'),
'type' => 'base',
),
'Stamen.TonerLabels' => array(
'label' => t('Stamen Toner Labels'),
'type' => 'base',
),
'Stamen.TonerLite' => array(
'label' => t('Stamen Toner Lite'),
'type' => 'base',
),
'Stamen.Terrain' => array(
'label' => t('Stamen Terrain'),
'type' => 'base',
),
'Stamen.TerrainBackground' => array(
'label' => t('Stamen Terrain Background'),
'type' => 'base',
),
'Stamen.Watercolor' => array(
'label' => t('Stamen Watercolor'),
'type' => 'base',
),
'Esri.WorldStreetMap' => array(
'label' => t('Esri WorldStreetMap'),
'type' => 'base',
),
'Esri.DeLorme' => array(
'label' => t('Esri DeLorme'),
'type' => 'base',
),
'Esri.WorldTopoMap' => array(
'label' => t('Esri WorldTopoMap'),
'type' => 'base',
),
'Esri.WorldImagery' => array(
'label' => t('Esri WorldImagery'),
'type' => 'base',
),
'Esri.WorldTerrain' => array(
'label' => t('Esri WorldTerrain'),
'type' => 'base',
),
'Esri.WorldShadedRelief' => array(
'label' => t('Esri WorldShadedRelief'),
'type' => 'base',
),
'Esri.WorldPhysical' => array(
'label' => t('Esri WorldPhysical'),
'type' => 'base',
),
'Esri.OceanBasemap' => array(
'label' => t('Esri OceanBasemap'),
'type' => 'base',
),
'Esri.NatGeoWorldMap' => array(
'label' => t('Esri NatGeoWorldMap'),
'type' => 'base',
),
'Esri.WorldGrayCanvas' => array(
'label' => t('Esri WorldGrayCanvas'),
'type' => 'base',
),
'Acetate.all' => array(
'label' => t('Acetate all'),
'type' => 'base',
),
'Acetate.basemap' => array(
'label' => t('Acetate basemap'),
'type' => 'base',
),
'Acetate.terrain' => array(
'label' => t('Acetate terrain'),
'type' => 'base',
),
'Acetate.foreground' => array(
'label' => t('Acetate foreground'),
'type' => 'base',
),
'Acetate.roads' => array(
'label' => t('Acetate roads'),
'type' => 'base',
),
'Acetate.labels' => array(
'label' => t('Acetate labels'),
'type' => 'base',
),
'Acetate.hillshading' => array(
'label' => t('Acetate hillshading'),
'type' => 'base',
),
'OpenSeaMap' => array(
'label' => t('OpenSeaMap Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Clouds' => array(
'label' => t('OpenWeatherMap Clouds Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.CloudsClassic' => array(
'label' => t('OpenWeatherMap Clouds Classic Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Precipitation' => array(
'label' => t('OpenWeatherMap Precipitation Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.PrecipitationClassic' => array(
'label' => t('OpenWeatherMap Precipitation Classic Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Rain' => array(
'label' => t('OpenWeatherMap Rain Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.RainClassic' => array(
'label' => t('OpenWeatherMap Rain Classic Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Pressure' => array(
'label' => t('OpenWeatherMap Pressure Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.PressureContour' => array(
'label' => t('OpenWeatherMap PressureContour Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Wind' => array(
'label' => t('OpenWeatherMap Wind Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Temperature' => array(
'label' => t('OpenWeatherMap Temperature Overlay'),
'type' => 'overlay',
),
'OpenWeatherMap.Snow' => array(
'label' => t('OpenWeatherMap Snow Overlay'),
'type' => 'overlay',
),
),
),
);
return $map_info;
}