# LatLngBounds

Namespace: **Wisej.Web.Ext.GoogleMaps**

Assembly: **Wisej.Web.Ext.GoogleMaps** (3.2.0.0)

A LatLngBounds instance represents a rectangle in geographical coordinates, including one that crosses the 180 degrees longitudinal meridian.

{% tabs %}
{% tab title="C#" %}

```csharp
public class LatLngBounds
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class LatLngBounds
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)LatLngBounds()

Initializes a new instance of the [LatLngBounds](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlngbounds) class.

## Properties

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)East

[Double](https://docs.microsoft.com/en-us/dotnet/api/system.double): 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.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)North

[Double](https://docs.microsoft.com/en-us/dotnet/api/system.double): 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.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)South

[Double](https://docs.microsoft.com/en-us/dotnet/api/system.double): 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.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)West

[Double](https://docs.microsoft.com/en-us/dotnet/api/system.double): 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.
