diff --git a/cmd/mtwebmapper/web/index.html b/cmd/mtwebmapper/web/index.html index e472a39..0ab1df4 100644 --- a/cmd/mtwebmapper/web/index.html +++ b/cmd/mtwebmapper/web/index.html @@ -62,7 +62,6 @@ var world = new L.tileLayer('map/{z}/{x}/{y}.png', { attribution: 'Demo world', continuousWorld: false, noWrap: true, - //zoomReverse: true, tms: true, unloadInvisibleTiles: true }); @@ -73,15 +72,6 @@ var rasterMaps = { var latest = world -// Add popups to geojson features. -function addPopupToFeature(feature, latest) { - if (feature.properties && feature.properties.popupContent) { - var divNode = document.createElement('DIV'); - divNode.innerHTML = feature.properties.popupContent; - latest.bindPopup(divNode); - } -} - var overlayMaps = {}; var map = L.map('map', {