s2js

    Class LatLng

    Represents a point on the unit sphere as a pair of angles.

    Index

    Constructors

    Other

    lat: number
    lng: number
    • Reports whether the latitude and longitude of the two LatLngs are the same up to a small tolerance.

      Parameters

      Returns boolean

    • Returns true if and only if the LatLng is normalized, with lat ∈ [-π/2,π/2] and lng ∈ [-π,π].

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR