Closed RemiDesgrange closed 4 years ago
Hello @RemiDesgrange !
In the v0.11.x
version (that is current stable) this events named a bit differently. Use add:feature
/ remove:feature
events.
This my fault, in the next release I plan to make event naming similar to openlayers events.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
My goals is to fit the extent of the vector source. Since this source is updated, I thought of using the addFeature event emitted by VectorSource to fit on the extend. How can I do this ? And how to subscribe to ol events in my vue app ? I didn't found anything in the code about event, I search in mixins.
Something like this