So I still don't get it, could someone explain to me how I can start an animation based on the mapbox zoom level? So that in my prototype the onboarding only starts if the user zoomed to a certain level?
with zoom = map.getZoom()print zoom
I get the zoom level, but how can I see if the zoom level is changeing?
it seems that you need to constantly check the value; you can try Utils. interval, but perhaps there's a smarter way
I now check the value everytime the map is "clicked" seems to work