mirror of
				https://bitbucket.org/s_l_teichmann/mtsatellite
				synced 2025-11-04 01:55:25 +01:00 
			
		
		
		
	Removed some sead code.
This commit is contained in:
		@@ -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', {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user