-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Add a mechanism to queue all requested changes to the map when the map is not visible.
The plugin currently redraws the map once it becomes visible, which works well in most cases. However, if data is provided to the map when it is not visible, the redraw does not always work.
The logic would be:
- When addLayer, addMarker, setGeoJSON etc etc are called
- if the map is visible, make the change
- if the map is not visible, add the change to a queue of some sort
- when the map becomes visible, execute all changes from the queu