implement latlng-to-guid cache

This commit is contained in:
fkloft
2014-09-13 20:55:40 +02:00
parent 2def40c847
commit e9bd88fe31
2 changed files with 28 additions and 1 deletions

View File

@ -258,6 +258,8 @@ window.Render.prototype.createPortalEntity = function(ent) {
data: ent[2]
};
window.pushPortalGuidPositionCache(ent[0], ent[2].latE6, ent[2].lngE6);
var marker = createMarker(latlng, dataOptions);
marker.on('click', function() { window.renderPortalDetails(ent[0]); });