Switch to Bing maps since Google maps doesn't work anymore (white background)
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 22 Nov 2015 21:41:01 +0000 (21:41 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sun, 22 Nov 2015 21:41:01 +0000 (21:41 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@2363 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.js

index d7366a667eef7a4a6bb225b8b17a74fd44ac30b9..024cc42622b39234847e3944cee7577ebac5cf33 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -61,17 +61,18 @@ function init_wrmap(i, jq_map) {
 
        // background layer
        // ----------------
 
        // background layer
        // ----------------
-       var layer_map = new OpenLayers.Layer.Google("Google Physical", {
-               type: google.maps.MapTypeId.TERRAIN
-       });
+       // // Google (since about 19th of November 2015 this doesn't work anymore - white background)
+       // var layer_map = new OpenLayers.Layer.Google("Google Physical", {
+       //      type: google.maps.MapTypeId.TERRAIN
+       // });
 
        // // Alternative: OSM map
        // var layer_map = new OpenLayers.Layer.OSM();
        
 
        // // Alternative: OSM map
        // var layer_map = new OpenLayers.Layer.OSM();
        
-       // // Alternative: Microsoft Bing Maps
-       // var layer_map = new OpenLayers.Layer.Bing({
-       //     type: "Road",
-       //     key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA"});
+       // Microsoft Bing Maps
+       var layer_map = new OpenLayers.Layer.Bing({
+               type: "Road",
+               key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA"});
 
        // // Alternative: Base map
        // // see: http://www.basemap.at
 
        // // Alternative: Base map
        // // see: http://www.basemap.at