GoogleMap Reference
Wraps Google Maps API as ASP.NET custom control. Offers extremely easy and fast way of adding Google
Maps API support on your ASP.NET pages.
The control above is initialized with this code.
<artem:GooleMap
ID="GoogleMap1"
runat="server"
Width="530px"
Height="500px"
Latitude="42.1229"
Longitude="24.7879"
Zoom="4"
EnableScrollWheelZoom="true">
</artem:GooleMap>
- Key - Gets or sets the Google Maps API key. If you want to set the key once and use it on all
google maps, you can set it in appSettings - GoogleMapKey and then omit setting it for every
GoogleMap control.
- Width - Gets or sets the width of the Web server control. If it is omited deafult value of 600px
is used.
- Height - Gets or sets the height of the Web server control. If it is omited deafult value of
480px is used.
- Address - Gets or sets the address for map center geolocation position.
- Latitude - Gets or sets the latitude for map center position.
- Longitude - Gets or sets the longitude for map center position.
- Zoom - Gets or sets the zoom.
- BaseCountryCode - Gets or sets the base country code for the client geocoder.
- DefaultMapView - Gets or sets the default map view
- EnableContinuousZoom - Gets or sets a value indicating whether continuous zoom is enabled.
- EnableDoubleClickZoom - Gets or sets a value indicating whether double click zoom is enabled.
- EnableDragging - Gets or sets a value indicating whether dragging is enabled.
- EnableGoogleBar - Gets or sets a value indicating whether google bar is enabled.
- EnableInfoWindow - Gets or sets a value indicating whether info window is enabled.
- EnableMarkerManager - Gets or sets a value indicating whether marker manager is enabled.
- EnableScrollWheelZoom - Gets or sets a value indicating whether scroll wheel zoom is enabled.
- IsStatic - Gets or sets a value indicating whether this is static and rendered as image on the
page.
- ShowMapTypeControl - Gets or sets a value indicating whether to show map type control.
- ShowTraffic - Gets or sets a value indicating whether to show traffic.
- ZoomPanType - Gets or sets the type of the zoom pan.