# GoogleMap

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

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

* [Control](https://docs.wisej.com/api?q=wisej.web.control)
  * [Widget](https://docs.wisej.com/api?q=wisej.web.widget)
    * [GoogleMap](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.googlemap)

Represent an instance of the Google Maps widget.

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

```csharp
public class GoogleMap : Widget
```

{% endtab %}

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

```visual-basic
Public Class GoogleMap
    Inherits Widget
```

{% 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)GoogleMap()

Constructs a new [GoogleMap](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.googlemap) control.

## 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)ApiKey

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Returns or sets the Google Maps API key.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnox1cbEBcVJYTK%2Fstatic.png?alt=media\&token=9c92a67d-a608-4268-bb67-eaee38f9c0e2)GoogleMapsURL

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Returns or sets the default location of the Google Maps library. The default is //maps.googleapis.com/maps/api/js

You can assign this value directly or set it under the application keys using the key name "GoogleMaps.URL". It cannot be changed or assigned after the component has been loaded the first time.

### ![](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)InitScript

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Overridden to create our initialization script.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnox1cbEBcVJYTK%2Fstatic.png?alt=media\&token=9c92a67d-a608-4268-bb67-eaee38f9c0e2)Libraries

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Gets or sets the Google Maps libraries to load. See: [libraries](https://developers.google.com/maps/documentation/javascript/libraries).

### ![](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)Options

[Object](https://docs.microsoft.com/en-us/dotnet/api/system.object): Returns or sets the specified MapOptions: [reference#MapOptions](https://developers.google.com/maps/documentation/javascript/3.exp/reference#MapOptions)

### ![](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)Packages

[List\<Package>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.list): Overridden to return our list of script resources.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnox1cbEBcVJYTK%2Fstatic.png?alt=media\&token=9c92a67d-a608-4268-bb67-eaee38f9c0e2)Version

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): The Google Maps version to load.

See: [versions](https://developers.google.com/maps/documentation/javascript/versions).

## Methods

### ![](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)AddMarker(markerId, lat, lng, options, center)

Adds a new marker to the map.

| Parameter    | Type                                                                  | Description                                                                                                                                                                         |
| ------------ | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)   | The unique ID that identifies the marker.                                                                                                                                           |
| **lat**      | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double)   | The latitude of the marker.                                                                                                                                                         |
| **lng**      | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double)   | The longitude of the marker.                                                                                                                                                        |
| **options**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)   | An optional dynamic object that specifies the marker options: [reference#MarkerOptions](https://developers.google.com/maps/documentation/javascript/3.exp/reference#MarkerOptions). |
| **center**   | [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean) | True to center the map after setting the marker.                                                                                                                                    |

### ![](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)AddMarker(markerId, location, options, center)

Adds a new marker to the map.

| Parameter    | Type                                                                                                  | Description                                                                                                                                                                         |
| ------------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)                                   | The unique ID that identifies the marker.                                                                                                                                           |
| **location** | [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) | An instance of [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) than identifies the location of the marker.                    |
| **options**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)                                   | An optional dynamic object that specifies the marker options: [reference#MarkerOptions](https://developers.google.com/maps/documentation/javascript/3.exp/reference#MarkerOptions). |
| **center**   | [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean)                                 | True to center the map after setting the marker.                                                                                                                                    |

### ![](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)AddMarker(markerId, address, options, center)

Adds a new marker to the map.

| Parameter    | Type                                                                  | Description                                                                                                                                                                         |
| ------------ | --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)   | The unique ID that identifies the marker.                                                                                                                                           |
| **address**  | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)   | The address - to be geocoded - of the marker.                                                                                                                                       |
| **options**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object)   | An optional dynamic object that specifies the marker options: [reference#MarkerOptions](https://developers.google.com/maps/documentation/javascript/3.exp/reference#MarkerOptions). |
| **center**   | [Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean) | True to center the map after setting the marker.                                                                                                                                    |

### ![](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)AddRoute(origin, destination, travelMode)

Uses GoogleMaps DirectionService to route and display a path between the origin and destination. See [directions](https://developers.google.com/maps/documentation/javascript/directions).

| Parameter       | Type                                                                                                          | Description                                    |
| --------------- | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| **origin**      | [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng)         | The latitude and longitude of the origin.      |
| **destination** | [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng)         | The latitude and longitude of the destination. |
| **travelMode**  | [TravelMode](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.travelmode) | The type of routing requested.                 |

### ![](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)AddRoute(origin, destination, travelMode)

Uses GoogleMaps DirectionService to route and display a path between the origin and destination. See [directions](https://developers.google.com/maps/documentation/javascript/directions).

| Parameter       | Type                                                                                                          | Description                    |
| --------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------ |
| **origin**      | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)                                           | The name of the origin.        |
| **destination** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)                                           | The name of the destination.   |
| **travelMode**  | [TravelMode](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.travelmode) | The type of routing requested. |

### ![](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)CenterMap(lat, lng)

Centers the map at the specified location.

| Parameter | Type                                                                | Description                             |
| --------- | ------------------------------------------------------------------- | --------------------------------------- |
| **lat**   | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double) | The latitude of the center of the map.  |
| **lng**   | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double) | The longitude of the center of the map. |

### ![](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)CenterMap(location)

Centers the map at the specified location.

| Parameter    | Type                                                                                                  | Description                                                                                                                                                 |
| ------------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **location** | [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) | An instance of [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) than identifies the center of the map. |

### ![](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)CenterMap(address)

Centers the map at the specified address.

| Parameter   | Type                                                                | Description                                                  |
| ----------- | ------------------------------------------------------------------- | ------------------------------------------------------------ |
| **address** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | The address - to be geocoded - of the new center of the map. |

### ![](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)ClearMarkers()

Removes all the markers from the map.

### ![](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)ClearRoutes()

Clears any routes, if they exist.

### ![](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)CloseInfoWindow(markerId)

Closes the google.maps.InfoWindow related to the specified marker.

| Parameter    | Type                                                                | Description           |
| ------------ | ------------------------------------------------------------------- | --------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | The marker unique ID. |

### ![](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)FitBounds(coordinates)

Centers the map around a set of coordinates.

| Parameter       | Type                                                                                                      | Description |
| --------------- | --------------------------------------------------------------------------------------------------------- | ----------- |
| **coordinates** | [LatLng\[\]](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) |             |

### ![](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)GetGeocode(callback, address)

Retrieves geocode information.

| Parameter    | Type                                                                                     | Description          |
| ------------ | ---------------------------------------------------------------------------------------- | -------------------- |
| **callback** | [Action\<GeocoderResult\[\]>](https://docs.microsoft.com/en-us/dotnet/api/system.action) | The callback method. |
| **address**  | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string)                      | The address.         |

### ![](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)GetGeocode(callback, location)

Retrieves geocode information.

| Parameter    | Type                                                                                                  | Description                         |
| ------------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------- |
| **callback** | [Action\<GeocoderResult\[\]>](https://docs.microsoft.com/en-us/dotnet/api/system.action)              | The callback method.                |
| **location** | [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) | The location (latitude/longitude)/. |

### ![](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)GetGeocode(callback, lat, lng)

Retrieves geocode information.

| Parameter    | Type                                                                                     | Description          |
| ------------ | ---------------------------------------------------------------------------------------- | -------------------- |
| **callback** | [Action\<GeocoderResult\[\]>](https://docs.microsoft.com/en-us/dotnet/api/system.action) | The callback method. |
| **lat**      | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double)                      | The latitude.        |
| **lng**      | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double)                      | The longitude.       |

### ![](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)GetGeocodeAsync(address)

Asynchronously retrieves geocode information.

| Parameter   | Type                                                                | Description  |
| ----------- | ------------------------------------------------------------------- | ------------ |
| **address** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | The address. |

**Returns:** [Task\<GeocoderResult\[\]>](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task).

### ![](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)GetGeocodeAsync(location)

Asynchronously retrieves geocode information.

| Parameter    | Type                                                                                                  | Description                         |
| ------------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------- |
| **location** | [LatLng](https://docs.wisej.com/extensions/extensions/googlemaps/api/wisej.web.ext.googlemaps.latlng) | The location (latitude/longitude)/. |

**Returns:** [Task\<GeocoderResult\[\]>](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task).

### ![](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)GetGeocodeAsync(lat, lng)

Asynchronously retrieves geocode information.

| Parameter | Type                                                                | Description    |
| --------- | ------------------------------------------------------------------- | -------------- |
| **lat**   | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double) | The latitude.  |
| **lng**   | [Double](https://docs.microsoft.com/en-us/dotnet/api/system.double) | The longitude. |

**Returns:** [Task\<GeocoderResult\[\]>](https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task).

### ![](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)RemoveMarker(markerId)

Removes the marker.

| Parameter    | Type                                                                | Description                            |
| ------------ | ------------------------------------------------------------------- | -------------------------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | The unique ID of the marker to remove. |

### ![](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)ShowInfoWindow(markerId, html)

Shows an instance of the google.maps.InfoWindow class in relation to the marker.

| Parameter    | Type                                                                | Description                                 |
| ------------ | ------------------------------------------------------------------- | ------------------------------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | The marker unique ID.                       |
| **html**     | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | HTML content to display in the info window. |

### ![](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)ShowInfoWindow(markerId, options)

Shows an instance of the google.maps.InfoWindow class in relation to the marker.

| Parameter    | Type                                                                | Description                                                                                                                             |
| ------------ | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| **markerId** | [String](https://docs.microsoft.com/en-us/dotnet/api/system.string) | The marker unique ID.                                                                                                                   |
| **options**  | [Object](https://docs.microsoft.com/en-us/dotnet/api/system.object) | Options for the creation of the InfoWindow. See [infowindows](https://developers.google.com/maps/documentation/javascript/infowindows). |

## Events

### ![](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)MapClick

[MapMouseEventHandler](https://docs.wisej.com/api?q=wisej.web.ext.googlemaps.mapmouseeventhandler) Fired when the user clicks on the map or a marker.

### ![](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)MapDoubleClick

[MapMouseEventHandler](https://docs.wisej.com/api?q=wisej.web.ext.googlemaps.mapmouseeventhandler) Fired when the user double clicks on the map or a marker.

### ![](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)MapDragEnd

[EventHandler](https://docs.microsoft.com/en-us/dotnet/api/system.eventhandler) Fired when the user drags the map.

### ![](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)MapDragStart

[EventHandler](https://docs.microsoft.com/en-us/dotnet/api/system.eventhandler) Fired when the user starts dragging the map.

### ![](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)MapPropertyChanged

[MapPropertyChangedEventHandler](https://docs.wisej.com/api?q=wisej.web.ext.googlemaps.mappropertychangedeventhandler) Fired when the user changes the map by zooming, tilting, or selecting a different map type.

### ![](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)MarkerDragEnd

[MarkerDragEventHandler](https://docs.wisej.com/api?q=wisej.web.ext.googlemaps.markerdrageventhandler) Fired when the user drags a marker.

### ![](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)MarkerDragStart

[MarkerDragEventHandler](https://docs.wisej.com/api?q=wisej.web.ext.googlemaps.markerdrageventhandler) Fired when the user begins dragging a marker.
