tangrams / tangram

WebGL map rendering engine for creative cartography
https://tangram.city
MIT License
2.2k stars 290 forks source link

Is there an event opposite to "view_complete"? #783

Open smellyshovel opened 3 years ago

smellyshovel commented 3 years ago

https://tangrams.readthedocs.io/en/main/API-Reference/Javascript-API/#events

The docs above say that there's an event called "view_complete" which is fired when the view reaches "resting state". But is there an opposite event which is fired when the view loses that state? I want to show a loading-spinner when something's going on, but now I've got to manually listen to all the events which can potentially mutate the view. That's not good. Thanks.