Class Marker

Class representing a marker on the MapView.

Markers are used to indicate a specific location on the map.

Properties

Methods

Properties

contentEl: HTMLElement

The HTML element that represents the marker.

id: string

The marker's id

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.