plugin: cache recently loaded portal details and always render on the map

This commit is contained in:
Jon Atkins
2015-06-29 19:02:11 +01:00
parent 02ac86fc00
commit 570f7a0f9a
3 changed files with 67 additions and 1 deletions

View File

@ -239,6 +239,9 @@ window.MapDataRequest.prototype.refresh = function() {
this.render.startRenderPass(tileParams.level, dataBounds);
var _render = this.render;
window.runHooks ('mapDataEntityInject', {callback: function(ents) { _render.processGameEntities(ents);}});
this.render.processGameEntities(artifact.getArtifactEntities());