ignore portals returned in the map data that are below the portal level requested

this shouldn't be needed - the stock intel map completely ignores these so they shouldn't be returned - but since niantic added mission portals to the map they bypass all portal level filtering code, for some reason
This commit is contained in:
Jon Atkins
2015-03-12 21:33:22 +00:00
parent 522ef34f77
commit c5b068eda1
2 changed files with 17 additions and 6 deletions

View File

@ -230,7 +230,7 @@ window.MapDataRequest.prototype.refresh = function() {
this.render.startRenderPass(tileParams.level, dataBounds);
this.render.processGameEntities(artifact.getArtifactEntities());
this.render.processGameEntities(artifact.getArtifactEntities(),true);
var logMessage = 'requesting data tiles at zoom '+dataZoom;
if (tileParams.level != tileParams.maxLevel) {