Class Marker

Mappedin JS allows adding and removing Markers on a map using the Markers class. 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.

Refer to the Markers Guide for more information and interactive examples.

Implements

Properties

Accessors

Methods

Properties

contentEl: HTMLElement

The HTML element that represents the marker.

id: string

The marker's id

Accessors

Methods

  • Checks if the provided instance is of type Marker"

    Parameters

    • instance: object

      The instance to check.

    Returns instance is Marker

    True if the instance is a Marker, false otherwise.

MMNEPVFCICPMFPCPTTAAATR