@magiclane/maps-sdk
    Preparing search index...

    Class AlarmsList<T>Abstract

    Geographic coordinates referenced list of item alarms.

    Type Parameters

    • T

    Implemented by

    Index

    Constructors

    Accessors

    • get items(): T[]

      The items list.

      Returns T[]

      The items list of the given type.

      An exception if it fails.

    • get referenceCoordinates(): Coordinates

      Get reference coordinates.

      Returns Coordinates

      The reference coordinates.

      An exception if it fails.

    • get size(): number

      Get the number of items.

      Returns number

      The number of items.

      An exception if it fails.

    Methods

    • Get the distance in meters from the item to the reference coordinate.

      Parameters

      • index: number

        The index of the overlay item.

      Returns number

      The distance to the item specified by index, or 0 if the index is not in range.

      An exception if it fails.