"use strict";
-
+/*
// "User defined" popup class to be able to specify a minimum size for the popup,
// so that Safari 7.0 displays it correctly (see ticket #89).
OpenLayers.Popup.WrInfo = OpenLayers.Class(OpenLayers.Popup.FramedCloud, {
// ----------------
// // Google (since about 19th of November 2015 this doesn't work anymore - white background)
// // see https://github.com/openlayers/openlayers/issues/1450
- // var layer_map = new OpenLayers.Layer.Google("Google Physical", {
- // type: google.maps.MapTypeId.TERRAIN
- // });
+ var layer_map = new OpenLayers.Layer.Google("Google Physical", {
+ type: google.maps.MapTypeId.TERRAIN
+ });
// // Alternative: OSM map
// var layer_map = new OpenLayers.Layer.OSM();
// Microsoft Bing Maps
- var layer_map = new OpenLayers.Layer.Bing({
- type: "Road",
- key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA",
- tileOptions: {crossOriginKeyword: null}});
+ // var layer_map = new OpenLayers.Layer.Bing({
+ // type: "Road",
+ // key: "AgPH3SlIXAwajrJKf0FORQyhTqsP8KIlvtN6RKfvxe6fOB6q6-HFmg8EOFm7LSOA",
+ // tileOptions: {crossOriginKeyword: null}});
// // Alternative: Base map
// // see: http://www.basemap.at
center: new OpenLayers.LonLat(lon, lat).transform(EPSG4326, EPSG3857),
zoom: zoom
});
-
+
// add features
// if this would be done before the layer is added to the map, the features are not added
}
}));
}
-
+*/
function init_wrmaps() {
+ /*
var jq_maps = $('.wrmap'); // all wrmap <div> elements
jq_maps.each(init_wrmap);
+ */
}