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
441 stars 75 forks source link

Annotation events #1249

Open manthey opened 2 years ago

manthey commented 2 years 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.