--- title: Mapbox Marker hide_title: true --- <##head##> # Mapbox Marker This node should be placed as a child in the Mapbox Map node, it can be used in a repeater.
![](/library/modules/mapbox/nodes/mapbox-marker.png)
<##head##> ## Inputs
| Data | Description | | ---------------------------------------------------- | -------------------------------------------------------------------------------------------- | | Color | Sets the color of the marker. | | z-Index | Sets the z-Index of the marker. | | Draggable | Make the marker draggable. | | Rotation | Sets the rotation of the marker. | | Rotation Alignment | Sets the rotation alignment marker. | | Pitch Alignment | Sets the pitch alignment marker. | | Offset X | Sets the marker x offset. | | Offset Y | Sets the marker y offset. | | Longitude | Sets the current active longitude. | | Latitude | Sets the current active latitude. | | Tooltip | Add a custom tooltip using the Mapbox tooltips, this will oonly work on the default markers. |
## Outputs
| Data | Description | | --------------------------------------------------- | ------------------------------------------------------------------------------------------------ | | Longitude | The current active longitude. | | Latitude | The current active latitude. | | Width | The width of the marker container. | | Height | The height of the marker container. | | Screen Position X | The amount of pixels between the left side of the window and the left side of the map container. | | Screen Position Y | The amount of pixels between the top of the window and the top side of the map container. | | Signal | Description | | ------------------------------------------------ | ----------------------------------------------------- | | Click | Sends a signal when the user clicks on the marker. | | Drag Start | Sends a signal when marker is starting to be dragged. | | Drag | Sends a signal when marker is being dragged. | | Drag End | Sends a signal when marker is dragged ended. | | Did Mount | Sends a signal when the marker have been loaded. | | Will Unmount | Sends a signal when the marker is unloaded. |