Skip to content

Optimise tagLocations #9946

Open
Open
@daemon1024

Description

@daemon1024

When we first open up the map endpoint, first and default markers that load on maps are tag locations.

But when we start interacting with the map, it starts sending loads of requests to the API.

pl-tagloc.mp4

Which causes throttles eventually

We could debounce queries on these events. ( cc @jywarren )

Potential source for these event triggers

map.on('load viewreset resize zoomend moveend', contentMap);

function contentLayerParser(map, markers_hash, map_tagname) {

Ref #9698

Metadata

Metadata

Assignees

Labels

enhancementexplains that the issue is to improve upon one of our existing featuresoptimizationreducing load times and increasing code efficiency through refactoring

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions