mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Removed some sead code.
This commit is contained in:
parent
d3a617dbc1
commit
5e7af91c74
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user