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

    Class CircleGeographicArea

    CircleGeographicArea object.

    Implements

    Index

    Constructors

    Properties

    centerCoordinates: Coordinates

    Center coordinates of the circle

    radius: number

    Radius of the circle in meters

    Accessors

    • 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 (radius is 0), false otherwise.

    Methods

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

      Parameters

      • point: Coordinates

        A Coordinates object representing the point to check.

      Returns boolean

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

    • Resets the circle to default state.

      Returns void

    • Convert to JSON representation

      Returns any

    • String representation

      Returns string