Skip to content

Add support for Map.remove_control method #125

@giswqs

Description

@giswqs

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions