Removed some sead code.

This commit is contained in:
Sascha L. Teichmann 2014-09-23 23:28:33 +02:00
parent d3a617dbc1
commit 5e7af91c74

View File

@ -62,7 +62,6 @@ var world = new L.tileLayer('map/{z}/{x}/{y}.png', {
attribution: 'Demo world', attribution: 'Demo world',
continuousWorld: false, continuousWorld: false,
noWrap: true, noWrap: true,
//zoomReverse: true,
tms: true, tms: true,
unloadInvisibleTiles: true unloadInvisibleTiles: true
}); });
@ -73,15 +72,6 @@ var rasterMaps = {
var latest = world 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 overlayMaps = {};
var map = L.map('map', { var map = L.map('map', {