LatLngBounds constructor

LatLngBounds(
  1. LatLng corner1,
  2. LatLng corner2
)

Creates a LatLngBounds object by defining two diagonally opposite corners of the rectangle.

Implementation

external LatLngBounds(LatLng corner1, LatLng corner2);