Adds a marker to the map.
The target object (Space, Door, or Coordinate) for the marker.
The HTML content for the Marker.
Optional
options: TAddMarkerOptionsOptional additional options for the Marker.
The created Marker, or undefined if creation failed.
Update the position of a marker with an animation.
The Marker which should be updated.
The new target object (Space, Door, or Coordinate) for the marker.
Optional
options: TAnimationOptionsOptional additional options for the animation.
A promise that resolves when the animation is complete.
Removes a marker from the map.
Update the position of a marker.
The Marker which should be removed.
The new target object (Space, Door, or Coordinate) for the marker.
Mappedin JS allows adding and removing Markers on a map. Markers are elements containing HTML that Mappedin JS anchors to a Door, Space, Coordinate or Node. They are automatically rotated and repositioned when the camera moves.
This class is accessed using MapView.Markers.
Refer to the Markers Guide for more information and interactive examples.