-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
It seems we can't remove a control after it has been added to the map using the add_control()
method.
My use case is to use the InfoBoxControl
to add something to the map. I want to update the information shown in the InfoBox based on the mouse clicked location. However, it seems we can't update the content of the InfoBox once it has been displayed on the map.
One workaround would be to remove the InfoBoxControl and add a new InfoBoxControl based on mouse clicked events. It would be great if this can be supported.