]> ToastFreeware Gitweb - philipp/winterrodeln/mediawiki_extensions/wrmap.git/blobdiff - wrmap.js
Add OpenLayers 4.6.5 debug CDN URLs.
[philipp/winterrodeln/mediawiki_extensions/wrmap.git] / wrmap.js
index 4b922a2202be90eeb8b018d473f0c43266fda069..69196e31a7b74bdca8d0376d66bd43cd77438e33 100644 (file)
--- a/wrmap.js
+++ b/wrmap.js
@@ -1,5 +1,5 @@
 "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, {
@@ -254,7 +254,7 @@ function init_wrmap(i, jq_map) {
                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
@@ -341,11 +341,13 @@ function init_wrmap(i, jq_map) {
                }
        }));
 }
-
+*/
 
 function init_wrmaps() {
+       /*
        var jq_maps = $('.wrmap'); // all wrmap <div> elements
        jq_maps.each(init_wrmap);
+       */
 }