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.
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.
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.
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.
Generated using TypeDoc
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.
Maps JavaScript API