Constructors
constructor
- new LatLngBounds(southWest, northEast): LatLngBounds
- new LatLngBounds(latlngs): LatLngBounds
Methods
contains
- contains(otherBoundsOrLatLng): boolean
Returns boolean
equals
- equals(otherBounds, maxMargin?): boolean
Parameters
Optional
maxMargin: number
Returns boolean
extend
- extend(latlngOrBounds): LatLngBounds
getCenter
- getCenter(): LatLng
getEast
- getEast(): number
Returns number
getNorth
- getNorth(): number
Returns number
getNorthEast
- getNorthEast(): LatLng
getNorthWest
- getNorthWest(): LatLng
getSouth
- getSouth(): number
Returns number
getSouthEast
- getSouthEast(): LatLng
getSouthWest
- getSouthWest(): LatLng
getWest
- getWest(): number
Returns number
intersects
- intersects(otherBounds): boolean
Returns boolean
isValid
- isValid(): boolean
Returns boolean
overlaps
- overlaps(otherBounds): boolean
Returns boolean
pad
- pad(bufferRatio): LatLngBounds
toBBoxString
- toBBoxString(): string
Returns string