remove pointless change of selected portal highlight colour in all highlighter plugins - make it the default instead
also tweaks to the show-more-portals plugin
This commit is contained in:
@ -35,9 +35,12 @@ window.plugin.showMorePortals.setup = function() {
|
||||
// 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)
|
||||
var z = mapZoom + 1;
|
||||
|
||||
// UPDATE: due to the new smaller tiles used when zoomed out further (getThinnedEntitiesV4), it gets silly
|
||||
// doing this when zoomed out. so only boost when zoomed in
|
||||
var z = mapZoom > 12 ? mapZoom + 1 : mapZoom;
|
||||
if (z <= 12) z = mapZoom;
|
||||
|
||||
|
||||
// limiting the mazimum zoom level for data retrieval reduces the number of requests at high zoom levels
|
||||
// (as all portal data is retrieved at z=17, why retrieve multiple z=18 tiles when fewer z=17 would do?)
|
||||
|
Reference in New Issue
Block a user