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

Property

Description

Latitude

The latitude coordinate for the marker

Longitude

The longitude coordinate for the marker

Title

The title to display in the default callout when tapped/clicked

Description

The description to display in the default callout when tapped/clicked

Pin Image Source

Static 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