This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Dominic Reiterer
Posted May 03 - Read on Facebook

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?


Dominic Reiterer

zoom = map.getZoom()
print zoom

I get the zoom level, but how can I see if the zoom level is changeing?

Patryk Adaś

it seems that you need to constantly check the value; you can try Utils. interval, but perhaps there's a smarter way

Dominic Reiterer

I now check the value everytime the map is "clicked" seems to work

Patryk Adaś


Read the entire post on Facebook