OpenGeoscience / geojs

High-performance visualization and interactive data exploration of scientific and geospatial location aware datasets
https://opengeoscience.github.io/geojs
Apache License 2.0
433 stars 75 forks source link

Annotation events #1249

Open manthey opened 1 year ago

manthey commented 1 year ago

There is a desire to have feature-like events on annotations. Currently, if you do annotationLayer.features()[...],geoOn(<event>, <func>) this gets affected on annotation mode changes. Conceptually, we probably want an annotationLayer.geoOn(geo.event.annotation.<event>, <func>) since the specific features should remain an implementation detail.