add tweaks of data retrieval zoom level, to make better use of the cache and be friendlier to the API in some cases

also, default-intel-detail and show-more-portals plugins fixed - the logic has been moved into IITC core, with the plugins just setting flags to change behaviour
This commit is contained in:
Jon Atkins
2014-02-22 19:30:12 +00:00
parent 8ce28334cc
commit 333c1a6daf
5 changed files with 96 additions and 47 deletions

View File

@ -282,6 +282,7 @@ window.androidPermalink = function() {
window.getMinPortalLevel = function() {
var z = map.getZoom();
z = getDataZoomForMapZoom(z);
return getMapZoomTileParameters(z).level;
}