GoogleMap
Wisej.Web.Ext.GoogleMaps.GoogleMap
Last updated
Wisej.Web.Ext.GoogleMaps.GoogleMap
Last updated
Namespace: Wisej.Web.Ext.GoogleMaps
Assembly: Wisej.Web.Ext.GoogleMaps (3.2.0.0)
Represent an instance of the Google Maps widget.
Constructs a new GoogleMap control.
String: Returns or sets the Google Maps API key.
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.
String: Overridden to create our initialization script.
String: Gets or sets the Google Maps libraries to load. See: libraries.
Object: Returns or sets the specified MapOptions: reference#MapOptions
List<Package>: Overridden to return our list of script resources.
String: The Google Maps version to load.
See: versions.
Adds a new marker to the map.
markerId
The unique ID that identifies the marker.
lat
The latitude of the marker.
lng
The longitude of the marker.
options
center
True to center the map after setting the marker.
Adds a new marker to the map.
markerId
The unique ID that identifies the marker.
location
options
center
True to center the map after setting the marker.
Adds a new marker to the map.
markerId
The unique ID that identifies the marker.
address
The address - to be geocoded - of the marker.
options
center
True to center the map after setting the marker.
Uses GoogleMaps DirectionService to route and display a path between the origin and destination. See directions.
origin
The latitude and longitude of the origin.
destination
The latitude and longitude of the destination.
travelMode
The type of routing requested.
Uses GoogleMaps DirectionService to route and display a path between the origin and destination. See directions.
origin
The name of the origin.
destination
The name of the destination.
travelMode
The type of routing requested.
Centers the map at the specified location.
lat
The latitude of the center of the map.
lng
The longitude of the center of the map.
Centers the map at the specified location.
location
Centers the map at the specified address.
address
The address - to be geocoded - of the new center of the map.
Removes all the markers from the map.
Clears any routes, if they exist.
Closes the google.maps.InfoWindow related to the specified marker.
markerId
The marker unique ID.
Centers the map around a set of coordinates.
coordinates
Retrieves geocode information.
callback
The callback method.
address
The address.
Retrieves geocode information.
callback
The callback method.
location
The location (latitude/longitude)/.
Retrieves geocode information.
callback
The callback method.
lat
The latitude.
lng
The longitude.
Asynchronously retrieves geocode information.
address
The address.
Returns: Task<GeocoderResult[]>.
Asynchronously retrieves geocode information.
location
The location (latitude/longitude)/.
Returns: Task<GeocoderResult[]>.
Asynchronously retrieves geocode information.
lat
The latitude.
lng
The longitude.
Returns: Task<GeocoderResult[]>.
Removes the marker.
markerId
The unique ID of the marker to remove.
Shows an instance of the google.maps.InfoWindow class in relation to the marker.
markerId
The marker unique ID.
html
HTML content to display in the info window.
Shows an instance of the google.maps.InfoWindow class in relation to the marker.
markerId
The marker unique ID.
options
MapMouseEventHandler Fired when the user clicks on the map or a marker.
MapMouseEventHandler Fired when the user double clicks on the map or a marker.
EventHandler Fired when the user drags the map.
EventHandler Fired when the user starts dragging the map.
MapPropertyChangedEventHandler Fired when the user changes the map by zooming, tilting, or selecting a different map type.
MarkerDragEventHandler Fired when the user drags a marker.
MarkerDragEventHandler Fired when the user begins dragging a marker.
An optional dynamic object that specifies the marker options: .
An instance of than identifies the location of the marker.
An optional dynamic object that specifies the marker options: .
An optional dynamic object that specifies the marker options: .
An instance of than identifies the center of the map.
Options for the creation of the InfoWindow. See .