How can I fetch collections or add workflows when the user zooms in/out of the map or drags it around, using Google Maps or Mapbox extensions?

Like what you see on websites like Airbnb, where it fetches data for places within the map whenever the user zooms in, zooms out, or moves around the map.

In mapbox, we have “drag end” trigger but how can I trigger when user zooms in/out? how can I create zoom trigger?

hi, do you guys have solution for this?

I believe you’d need to create your own Google Maps event “listener” until WeWeb adds it natively to their maps component.

Hi @ryanev
thank for your reply
but Im stuck with implement the GG map in the weweb

I cant wrote a JS code for get the event
could you show me more on the set the map event?