Added crossOriginKeyword statement in Bing maps to prevent pink tiles (thanks, Gregor).
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 7 Dec 2016 22:03:41 +0000 (22:03 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Wed, 7 Dec 2016 22:03:41 +0000 (22:03 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/mediawiki_extensions/wrmap/trunk@2575 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrmap.js

index 0fdedef60d3124911567cab1e25da5d80e9d3c3f..f7c575b8197afd4ca788da7dbb3e761479a42b8e 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -73,7 +73,8 @@ function init_wrmap(i, jq_map) {
        // Microsoft Bing Maps
        var layer_map = new OpenLayers.Layer.Bing({
                type: "Road",
        // Microsoft Bing Maps
        var layer_map = new OpenLayers.Layer.Bing({
                type: "Road",
-               key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA"});
+               key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA",
+               tileOptions: {crossOriginKeyword: null}});
 
        // // Alternative: Base map
        // // see: http://www.basemap.at
 
        // // Alternative: Base map
        // // see: http://www.basemap.at