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

update: (() => void)

Forces the marker to update its collider.

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.