Class LatLngBounds

The LatLngBounds class represents a rectangular geographic boundary identified by a northeast and southwest latitude & longitude.

Since

2.0.0

Hierarchy

  • LatLngBounds

Constructors

  • Creates a LatLngBounds using a list of coordinates. The northeast/southwest points are automatically selected from the list.

    Parameters

    Returns LatLngBounds

    Since

    1.3.2

Methods

  • Parameters

    • location: LatLng

      a location to check

    Returns boolean

    true if the location falls within the rectangular region defined by this object

    Since

    2.0.0

  • Returns boolean

    True if the bounds are valid coordinates.

  • Returns string

    Since

    1.2

Properties

northeast: LatLng
southwest: LatLng

Generated using TypeDoc