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
Property | Description |
---|---|
Flat | If enabled, will render a flat marker |
Pin Color | The color of the marker |
Pin Image Size | The dimensions of the pin image. This is relevant only when a custom pin image is in use. |
Configuration Properties
Property | Description |
---|---|
Component Name | The 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
Property | Description |
---|---|
On Press | Provides latitude and longitude arguments |
Updated 6 months ago