remove partial portal zoom level boost from code - moving complete code into a plugin
log data vs map zoom to console
This commit is contained in:
@ -66,6 +66,7 @@ window.requestData = function() {
|
||||
|
||||
//we query the server as if the zoom level was this. it may not match the actual map zoom level
|
||||
var z = getPortalDataZoom();
|
||||
console.log('requesting tiles at zoom '+z+' (L'+getMinPortalLevelForZoom(z)+'+ portals), map zoom is '+map.getZoom());
|
||||
|
||||
var x1 = lngToTile(bounds.getWest(), z);
|
||||
var x2 = lngToTile(bounds.getEast(), z);
|
||||
|
Reference in New Issue
Block a user