Options
All
  • Public
  • Public/Protected
  • All
Menu

Object literals are accepted in place of LatLngBounds objects throughout the API. These are automatically converted to LatLngBounds objects. All {@link LatLngBoundsLiteral#south south}, {@link LatLngBoundsLiteral#west west}, {@link LatLngBoundsLiteral#north north} and {@link LatLngBoundsLiteral#east east} must be set, otherwise an exception is thrown.

see

Maps JavaScript API

Hierarchy

  • LatLngBoundsLiteral

Index

Properties

Properties

east

east: number

East longitude in degrees. Values outside the range [-180, 180] will be wrapped to the range [-180, 180]. For example, a value of -190 will be converted to 170. A value of 190 will be converted to -170. This reflects the fact that longitudes wrap around the globe.

see

Maps JavaScript API

north

north: number

North latitude in degrees. Values will be clamped to the range [-90, 90]. This means that if the value specified is less than -90, it will be set to -90. And if the value is greater than 90, it will be set to 90.

see

Maps JavaScript API

south

south: number

South latitude in degrees. Values will be clamped to the range [-90, 90]. This means that if the value specified is less than -90, it will be set to -90. And if the value is greater than 90, it will be set to 90.

see

Maps JavaScript API

west

west: number

West longitude in degrees. Values outside the range [-180, 180] will be wrapped to the range [-180, 180]. For example, a value of -190 will be converted to 170. A value of 190 will be converted to -170. This reflects the fact that longitudes wrap around the globe.

see

Maps JavaScript API

Generated using TypeDoc