Map Marker
MapMarker represents a specific location or point of interest on a map.
Anchor to mapmarkerpropsMapMarkerProps
The accessibility label of the marker.
The latitude of the marker.
The longitude of the marker.
The block size of the icon. This property is only used when the icon
property is set.
Set to true
to allow grouping the marker in clusters when zoomed out.
The URL of the icon to use for the marker.
The inline size of the icon. This property is only used when the icon
property is set.
Callback that is run when the marker is pressed.
An overlay component to render when the user interacts with the component.
Basic MapMarker
Preview

Anchor to best-practicesBest Practices
If your markers are interactive, make sure that the selected marker's icon is different from the rest of the non-selected markers.
If there are a large number of markers obscuring important features of the map, set the markers to clusterable to help increase the readability of the map.