geo-bounds-utility - v1.0.0
    Preparing search index...

    Class GeoPoint

    An immutable object representing a geo point in Firestore. The geo point is represented as latitude/longitude pair.

    Latitude values are in the range of [-90, 90]. Longitude values are in the range of [-180, 180].

    Index

    Constructors

    Properties

    Constructors

    • Creates a new immutable GeoPoint object with the provided latitude and longitude values.

      Parameters

      • latitude: number

        The latitude as number between -90 and 90.

      • longitude: number

        The longitude as number between -180 and 180.

      Returns GeoPoint

    Properties

    latitude: number
    longitude: number