Class Marker

Class representing a marker on the MapView.

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

Hierarchy

  • Marker

Properties

Methods

Properties

contentEl: HTMLElement

The HTML element that represents the marker.

id: string
update: (() => void)

Type declaration

    • (): void
    • Updates the marker's position on the map.

      Returns void

Methods

  • Checks if the provided instance is of type Label.

    Parameters

    • instance: object

      The instance to check.

    Returns instance is Marker

    True if the instance is a Label, false otherwise.