Skip to main content
All CollectionsInteractions
Set Map Pin Action
Set Map Pin Action

An action that selects or unselects a pin on a native map.

Updated over a week ago

Overview

Set Map Pin actions can either select a given pin on a native map or unselect the map's currently selected pin. Native maps have built-in interactions allowing a user to select a map pin, so this action is used to select a pin by other means.


Action Properties

Type

Set the type to select pin or unselect pin:

  • Select Pin: Select a given pin.

  • Unselect Pin: Unselects an already selected pin.

Map

Select the map element that the action will affect.

Pin

Select a number associated with a pin on the targeted map. (for Select Pin type only)

Move to Pin

Set if and how the map should move to the selected pin (for Select Pin type only):

  • Altitude: Set the Z distance for the map zoom.

  • Offset X: Set the pin's horizontal offset from the map's center.

  • Offset X: Set the pin's vertical offset from the map's center.

Animate

Choose to add action-specific animation with properties like Delay and Duration (this will override values in animate blocks):

  • Delay: Set the number of seconds between the trigger firing and the action(s) beginning.

  • Duration: Set the number of seconds the action will take to complete


Resources

Projects:

Did this answer your question?