Index: trunk/extensions/Maps/Maps_Settings.php |
— | — | @@ -359,6 +359,11 @@ |
360 | 360 | |
361 | 361 | # The difinitions for the layers that should be available for the user. |
362 | 362 | $egMapsOLAvailableLayers = array( |
| 363 | + 'google-physical' => array( 'OpenLayers.Layer.Google( "Google Physical", {type: G_PHYSICAL_MAP} )', 'google' ), |
| 364 | + 'google-streets' => array( 'OpenLayers.Layer.Google( "Google Streets", {numZoomLevels: 20} )', 'google' ), |
| 365 | + 'google-hybrid' => array( 'OpenLayers.Layer.Google( "Google Hybrid", {type: G_HYBRID_MAP, numZoomLevels: 20} )', 'google' ), |
| 366 | + 'google-satellite' => array( 'OpenLayers.Layer.Google( "Google Satellite", {type: G_SATELLITE_MAP, numZoomLevels: 22} )', 'google' ), |
| 367 | + |
363 | 368 | 'bing-normal' => array( 'OpenLayers.Layer.VirtualEarth( "Bing Streets", {type: VEMapStyle.Shaded, "sphericalMercator":true} )', 'bing' ), |
364 | 369 | 'bing-satellite' => array( 'OpenLayers.Layer.VirtualEarth( "Bing Satellite", {type: VEMapStyle.Aerial, "sphericalMercator":true} )', 'bing' ), |
365 | 370 | 'bing-hybrid' => array( 'OpenLayers.Layer.VirtualEarth( "Bing Hybrid", {type: VEMapStyle.Hybrid, "sphericalMercator":true} )', 'bing' ), |
— | — | @@ -394,6 +399,7 @@ |
395 | 400 | # Layer group definitions. Group names must be different from layer names, and |
396 | 401 | # must only contain layers that are present in $egMapsOLAvailableLayers. |
397 | 402 | $egMapsOLLayerGroups = array( |
| 403 | + 'google' => array( 'google-physical', 'google-streets', 'google-hybrid', 'google-satellite' ), |
398 | 404 | 'yahoo' => array( 'yahoo-normal', 'yahoo-satellite', 'yahoo-hybrid' ), |
399 | 405 | 'bing' => array( 'bing-normal', 'bing-satellite', 'bing-hybrid' ), |
400 | 406 | 'osm' => array( 'osmarender', 'osm-mapnik', 'osm-cyclemap' ), |