smithmicro / mapbox-gl-circle

A *google.maps.Circle* replacement for Mapbox GL JS
https://smithmicro.github.io/mapbox-gl-circle/
ISC License
55 stars 26 forks source link

After creating a circle, there's no way of removing it from the map #19

Closed mblomdahl closed 7 years ago

mblomdahl commented 7 years ago

When calling .remove() on a circle instance, it should remove its map sources, layers and event listeners.