maplibre / maplibre-gl-geocoder

Geocoding for MapLibre
ISC License
45 stars 17 forks source link

Geocoder does not implement onRemove method required for all IControl #92

Closed israelsgalaxy closed 1 year ago

israelsgalaxy commented 1 year ago

As seen here, a map will call onRemove internally when a control is removed from it. The Geocoder doesn't implement onRemove and hence throws an error when being removed from a map.