fix comment

This commit is contained in:
Jon Atkins 2013-05-18 01:06:01 +01:00
parent ca76e7ed60
commit 7b44784c02
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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);