fix comment
This commit is contained in:
parent
ca76e7ed60
commit
7b44784c02
@ -192,6 +192,7 @@ window.setupMap = function() {
|
||||
'Google Hybrid': views[4],
|
||||
'Google Terrain': views[5]
|
||||
}, addLayers);
|
||||
|
||||
// Remove the hidden layer after layerChooser built, to avoid messing up ordering of layers
|
||||
$.each(hiddenLayer, function(ind, layer){
|
||||
map.removeLayer(layer);
|
||||
|
@ -14,7 +14,7 @@ window.requestData = function() {
|
||||
|
||||
var bounds = clampLatLngBounds(map.getBounds());
|
||||
|
||||
//we query the server as if the zoom level was effectiveZoom
|
||||
//we query the server as if the zoom level was this. it may not match the actual map zoom level
|
||||
var z = getPortalDataZoom();
|
||||
|
||||
var x1 = lngToTile(bounds.getWest(), z);
|
||||
|
Loading…
x
Reference in New Issue
Block a user