mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 09:10:17 +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',
|
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', {
|
||||||
|
Loading…
Reference in New Issue
Block a user