-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
When calling clearMarkers/addMarkers relatively early after the map is initialised, a error is thrown.
It seems even though the map is initialised, markerclusterer doesn't have a valid projection.
Environment details
Markerclusterer: 2.5.3
Steps to reproduce
- create a markerclusterer object.
- register mapInitialized Callback (in the callback call .clearMarkers or addMarkers)
- error is thrown when callback is called
Stack trace
latLngBoundsToPixelBounds — index.esm.js:233
extendBoundsToPaddedViewport — index.esm.js:194
getPaddedViewport — index.esm.js:202
calculate — index.esm.js:567
render — index.esm.js:872
clearMarkers — index.esm.js:862
Following these steps will guarantee the quickest resolution possible.
Thanks!
Arch0rr, dcordz, lauriebedardcote and henry-wbs
Metadata
Metadata
Assignees
Labels
triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.