only add link entities to the layer if they're long enough to be visible
an improvement on 4838de6788
to prevent excessive links being drawn when lots of portals are loaded
This commit is contained in:
@ -205,7 +205,7 @@ window.MapDataRequest.prototype.refresh = function() {
|
||||
|
||||
this.render.clearEntitiesOutsideBounds(dataBounds);
|
||||
|
||||
this.render.resetPortalClusters();
|
||||
this.render.updateEntityVisibility();
|
||||
|
||||
|
||||
console.log('requesting data tiles at zoom '+zoom+' (L'+minPortalLevel+'+ portals), map zoom is '+map.getZoom());
|
||||
|
Reference in New Issue
Block a user