Files
noodl-docs/library/modules/mapbox/nodes/v2/mapbox-marker.md
Eric Tuvesson 656e5fc8d2 chore: Upgrade Docusaurus from v2 to v3 (#52)
* chore: Upgrade Docusaurus from v2 to v3

* chore: Update "Test build" GH workflow

* fix: build

All markdown is processed as MDX

* fix: Broken links
2024-01-12 16:53:22 +01:00

4.4 KiB

title, hide_title
title hide_title
Mapbox Marker true

{/##head##/}

Mapbox Marker

This node should be placed as a child in the Mapbox Map node, it can be used in a repeater.

{/##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 only 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.