Marker component.
A Marker is a 2D component anchored to a position on the map. To animate the Marker when its target changes, see AnimatedMarker.
<Marker target={mapData.getByType('space')[0]}> <div>Hello, world!</div></Marker> Copy
<Marker target={mapData.getByType('space')[0]}> <div>Hello, world!</div></Marker>
Marker component.
A Marker is a 2D component anchored to a position on the map. To animate the Marker when its target changes, see AnimatedMarker.