Map Marker

Map Marker is a child component of Map View and it's used to place a marker on the map.

Style Properties

Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.

Component Specific Styles

PropertyDescription
FlatIf enabled, will render a flat marker
Pin ColorThe color of the marker
Pin Image SizeThe dimensions of the pin image. This is relevant only when a custom pin image is in use.

Configuration Properties

PropertyDescription
Component NameThe display name for the component

Data Properties

PropertyDescription
LatitudeThe latitude coordinate for the marker
LongitudeThe longitude coordinate for the marker
TitleThe title to display in the default callout when tapped/clicked
DescriptionThe description to display in the default callout when tapped/clicked
Pin Image SourceStatic when the Pin image source is an uploaded asset,
Remote Url when the Pin image source is an URL,
Data when the Pin image source is coming from the REST API service you've integrated inside Draftbit.

Conditional Display

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.

Triggers

PropertyDescription
On PressProvides latitude and longitude arguments