Skip to main content

Map Gesture Trigger

A trigger that fires when the user pans to move a native map.

Updated over a week ago

Overview

Map Gesture triggers fire when the user interacts with a native map by panning the view. Map Gesture triggers allow for fine-grained control over the user's interaction with the map.

Note: Map Gesture triggers only work when added to a native map.


Trigger Properties

Event

Set the trigger to fire when the user selects or unselects a map pin:

  • Pan Started: Fires when the user begins panning the map.

  • Pan Changed: Fires continuously as the user pans on the map.

  • Pan Ended: Fires when the user lifts their finger after panning the map.

  • Pan Cancelled: Fires when the user's pan is interrupted (by a system gesture, phone call, etc.)

  • Region Will Change: Fires just before the map's region changes. Typically used for pre-loading data.

  • Region Did Change: Fires just after the map's region changes.

  • Visible Region Did Change: Fires just after the map's visible region changes. This accounts for changes in the map's rotation, whereas Region Did Change exclusively focuses on changes to the map's coordinates.

Is Enabled

Set if the trigger should fire when the trigger's conditions are met.


Expression Editor Properties

Is Enabled

trigger.isEnabled

Whether the trigger is enabled or disabled.


​

Did this answer your question?