work-in-progress - checking in while looking at other code on master. may be broken

This commit is contained in:
Jon Atkins
2013-08-25 17:50:28 +01:00
parent dff09ed0c1
commit 3c90960e4c
9 changed files with 65 additions and 235 deletions

View File

@ -29,9 +29,6 @@ window.plugin.showMorePortals.setup = function() {
window.getPortalDataZoom = function() {
var mapZoom = map.getZoom();
// on mobile (at least), the map zoom has been non-integer occasionally. fix it.
z = Math.floor(z);
// yes, it is possible to increase this beyond "+1" - however, that will end up producing a rediculous number
// of requests to the Niantic servers, giving many request failed errors/tile timeouts
// (every increase by one requests four times as many data tiles)