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

    Class TilesCollectionGeographicArea

    TilesCollectionGeographicArea object.

    Hierarchy

    • GemAutoreleaseObject
      • TilesCollectionGeographicArea

    Implements

    Index

    Accessors

    • get centerPoint(): Coordinates

      Retrieves the center point of the geographic area.

      Returns Coordinates

      Coordinates object representing the center point of the area.

    • get isDefault(): boolean

      Checks if the geographic area has default values.

      Returns boolean

      true if the area has default values, false otherwise.

    • get isEmpty(): boolean

      Checks if the geographic area is empty.

      Returns boolean

      true if the area is empty, false otherwise.

    • get pointerId(): number

      Returns number

    Methods

    • Checks if the specified point is contained within the geographic area.

      Parameters

      • coords: Coordinates

        A Coordinates object representing the point to check.

      Returns boolean

      True if the point is within the geographic area, false otherwise.

    • Registers an object for auto release. When the object is not used anymore, it will be released automatically from C++.

      Parameters

      • pointerId: any

        The pointer ID to register

      Returns void

    • Resets the tile collection to default state. Note: Reset does not persist the changes to the platform.

      Returns void

    • Convert to JSON representation

      Returns any