Wisej.NET Extensions
HomeNewsSupportVideos
  • Overview
  • Introduction
    • Extension Types
    • API
    • Concepts
    • Theme Builder
  • Icon Packs
    • Overview
    • BootstrapIcons
    • ElegantIcons
    • FontAwesome
    • MaterialDesign
    • ModernUI
    • VaadinIcons
    • VisualStudioIcons
  • Extensions
    • Themes
    • AceEditor
      • API
        • AceEditor
    • Amazon S3
      • API
        • S3FileSystemProvider
    • ASPNetControl
      • API
        • AspNetWrapper<T>
        • AspNetWrapperBase
        • HttpModule
        • HttpModuleStartup
    • Barcode
      • API
        • Barcode
        • BarcodeReader
        • BarcodeType
        • ScanEventArgs
        • ScanEventHandler
        • ScanMode
    • BingWallpaper
      • API
        • BingWallpaper
    • Brotli
      • API
        • Brotli
    • Bubbles
      • API
        • BubbleEventArgs
        • BubbleNotification
        • BubbleStyle
    • Camera
      • API
        • Camera
        • CameraErrorEventArgs
    • ChartJS
      • API
        • ChartClickEventArgs
        • ChartClickEventHandler
        • ChartJS
        • ChartType
        • DataLabelAlign
        • DataLabelAnchor
        • DataLabelTextAlignment
        • DataSet
        • DataSetCollection
        • OptionsAxisGridLines
        • OptionsBase
        • OptionsDataLabel
        • OptionsLegend
        • OptionsScales
        • OptionsTitle
        • OptionsTooltips
        • PointStyle
        • ScaleType
        • SteppedLine
    • Chat Control
      • API
    • CKEditor
      • API
        • CKEditor
        • CommandEventArgs
        • ExternalPlugin
        • LinkClickedEventArgs
    • ClearScript
      • API
        • ClearScript
        • EngineType
        • JScriptEngine
        • V8JavaScriptEngine
        • VBScriptEngine
    • ClientClipboard
      • API
    • ClientFileSystem
      • API
    • ColumnFilter
      • API
        • ColumnFilter
        • ColumnFilterPanel
        • SimpleColumnFilterPanel
        • WhereColumnFilterPanel
    • CoolClock
      • API
        • CoolClock
        • CoolClockSkin
        • CoolClockType
    • CountUp
      • API
        • CountUp
    • CustomWallpaper
      • API
        • CustomWallpaper
    • DataGridViewSummaryRow
      • API
        • DataGridViewSummaryRow
        • DataGridViewSummaryRowExtensions
        • SummaryType
    • FullCalendar
      • API
        • BusinessHours
        • ColumnHeaderFormats
        • DayClickEventArgs
        • Event
        • EventClickEventArgs
        • EventCollection
        • EventValueEventArgs
        • FullCalendar
        • ItemDropEventArgs
        • Resource
        • ResourceEventArgs
        • RetrieveVirtualEventEventArgs
        • ThemeSystem
        • ViewType
        • VirtualEventsNeededEventArgs
    • Geolocation
      • API
        • Geolocation
        • StatusCode
    • GoogleMaps
      • API
        • GeocoderLocationType
        • GeocoderResult
        • GoogleMap
        • LatLng
        • LatLngBounds
        • MapMouseEventArgs
        • MapPropertyChangedEventArgs
        • MarkerDragEventArgs
        • TravelMode
    • Html2Canvas
      • API
        • Html2Canvas
        • Html2CanvasOptions
    • jQueryKnob
      • API
        • Knob
        • KnobType
        • LineCapType
    • jSequence
      • API
        • ElementClickEventArgs
        • Sequence
    • JustGage
      • API
        • CustomSector
        • JustGage
    • NavigationBar
      • API
        • NavigationBar
        • NavigationBarItem
        • NavigationBarItemClickEventArgs
        • NavigationBarItemCollection
    • Notification
      • API
        • Notification
        • NotificationClickEventArgs
    • OfficeViewer
      • API
        • OfficeViewer
    • Pannellum
      • API
        • Pannellum
    • Polymer
      • API
        • PolymerComponent
        • PolymerWidget
    • ProgressCircle
      • API
        • ProgressCircle
    • RibbonBar
      • API
        • RibbonBar
        • RibbonBarAppButton
        • [RibbonBarCollectionBase<TOwner, TElement>](extensions/ribbonbar/api/wisej.web.ext.ribbonbar.ribbonb
        • RibbonBarGroup
        • RibbonBarGroupCollection
        • RibbonBarGroupEventArgs
        • RibbonBarItem
        • RibbonBarItemButton
        • RibbonBarItemButtonGroup
        • RibbonBarItemCheckBox
        • RibbonBarItemCollection
        • RibbonBarItemComboBox
        • RibbonBarItemControl
        • RibbonBarItemEventArgs
        • RibbonBarItemRadioButton
        • RibbonBarItemSeparator
        • RibbonBarItemSplitButton
        • RibbonBarItemTextBox
        • RibbonBarMenuItemEventArgs
        • RibbonBarPage
        • RibbonBarPageCollection
    • SideButton
      • API
        • SideButton
    • Signature
      • API
        • Signature
    • SmoothieChart
      • API
        • DataNeededEventArgs
        • InterpolationType
        • SmoothieChart
        • TimeSeries
        • TimeSeriesCollection
    • Speech
      • API
        • SpeechRecognition
        • SpeechRecognitionEventArgs
        • SpeechRecognitionResult
        • SpeechSynthesis
    • TaskBar
      • API
        • TaskBar
    • Tesseract
      • API
        • Tesseract
    • TinyEditor
      • API
        • TinyEditor
    • TinyMCE
      • API
        • TinyMCE
    • TourPanel
      • API
        • TourPanel
        • TourPanelEventArgs
        • TourStep
    • Translation
      • API
        • Translation
        • TranslationProviderBase
        • TranslationProviderYandex
        • TranslationResult
    • WebARIA
      • API
        • ARIA
        • Invalid
        • TriState
        • WebARIA
    • WebAuthn
      • API
        • Assertion
        • AttestationConveyancePreference
        • AuthenticatorAttachment
        • AuthenticatorData
        • AuthenticatorSelectionCriteria
        • AuthenticatorTransport
        • ClientData
        • COSEAlgorithmIdentifier
        • CredentialsResponse
        • PublicKey
        • PublicKeyCredentialDescriptor
        • PublicKeyCredentialParameters
        • PublicKeyCredentialUserEntity
        • RelyingParty
        • ResidentKeyRequirement
        • WebAuthn
    • WebShare
      • API
        • WebShare
    • XTerm
      • API
        • XTerm
  • Premium Extensions
    • Overview
    • Configuration
    • Webix
    • Syncfusion EJ1
    • Syncfusion EJ2
    • Telerik KendoUI
    • Infragistics IgniteUI
    • DevExpress DevExtreme
Powered by GitBook
On this page
  • Constructors
  • GoogleMap()
  • Properties
  • ApiKey
  • GoogleMapsURL
  • InitScript
  • Libraries
  • Options
  • Packages
  • Version
  • Methods
  • AddMarker(markerId, lat, lng, options, center)
  • AddMarker(markerId, location, options, center)
  • AddMarker(markerId, address, options, center)
  • AddRoute(origin, destination, travelMode)
  • AddRoute(origin, destination, travelMode)
  • CenterMap(lat, lng)
  • CenterMap(location)
  • CenterMap(address)
  • ClearMarkers()
  • ClearRoutes()
  • CloseInfoWindow(markerId)
  • FitBounds(coordinates)
  • GetGeocode(callback, address)
  • GetGeocode(callback, location)
  • GetGeocode(callback, lat, lng)
  • GetGeocodeAsync(address)
  • GetGeocodeAsync(location)
  • GetGeocodeAsync(lat, lng)
  • RemoveMarker(markerId)
  • ShowInfoWindow(markerId, html)
  • ShowInfoWindow(markerId, options)
  • Events
  • MapClick
  • MapDoubleClick
  • MapDragEnd
  • MapDragStart
  • MapPropertyChanged
  • MarkerDragEnd
  • MarkerDragStart

Was this helpful?

  1. Extensions
  2. GoogleMaps
  3. API

GoogleMap

Wisej.Web.Ext.GoogleMaps.GoogleMap

PreviousGeocoderResultNextLatLng

Last updated 1 year ago

Was this helpful?

Namespace: Wisej.Web.Ext.GoogleMaps

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

Represent an instance of the Google Maps widget.

public class GoogleMap : Widget
Public Class GoogleMap
    Inherits Widget

Constructors

GoogleMap()

Constructs a new control.

Properties

ApiKey

: Returns or sets the Google Maps API key.

GoogleMapsURL

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.

Methods

Adds a new marker to the map.

Parameter
Type
Description

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.

Parameter
Type
Description

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.

Parameter
Type
Description

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.

Parameter
Type
Description

origin

The latitude and longitude of the origin.

destination

The latitude and longitude of the destination.

travelMode

The type of routing requested.

Parameter
Type
Description

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.

Parameter
Type
Description

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.

Parameter
Type
Description

location

Centers the map at the specified address.

Parameter
Type
Description

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.

Parameter
Type
Description

markerId

The marker unique ID.

Centers the map around a set of coordinates.

Parameter
Type
Description

coordinates

Retrieves geocode information.

Parameter
Type
Description

callback

The callback method.

address

The address.

Retrieves geocode information.

Parameter
Type
Description

callback

The callback method.

location

The location (latitude/longitude)/.

Retrieves geocode information.

Parameter
Type
Description

callback

The callback method.

lat

The latitude.

lng

The longitude.

Asynchronously retrieves geocode information.

Parameter
Type
Description

address

The address.

Asynchronously retrieves geocode information.

Parameter
Type
Description

location

The location (latitude/longitude)/.

Asynchronously retrieves geocode information.

Parameter
Type
Description

lat

The latitude.

lng

The longitude.

Removes the marker.

Parameter
Type
Description

markerId

The unique ID of the marker to remove.

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

Parameter
Type
Description

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.

Parameter
Type
Description

markerId

The marker unique ID.

options

Events

: Returns or sets the default location of the Google Maps library. The default is //maps.googleapis.com/maps/api/js

InitScript

: Overridden to create our initialization script.

Libraries

: Gets or sets the Google Maps libraries to load. See: .

Options

: Returns or sets the specified MapOptions:

Packages

: Overridden to return our list of script resources.

Version

: The Google Maps version to load.

See: .

AddMarker(markerId, lat, lng, options, center)

An optional dynamic object that specifies the marker options: .

AddMarker(markerId, location, options, center)

An instance of than identifies the location of the marker.

An optional dynamic object that specifies the marker options: .

AddMarker(markerId, address, options, center)

An optional dynamic object that specifies the marker options: .

AddRoute(origin, destination, travelMode)

Uses GoogleMaps DirectionService to route and display a path between the origin and destination. See .

AddRoute(origin, destination, travelMode)

Uses GoogleMaps DirectionService to route and display a path between the origin and destination. See .

CenterMap(lat, lng)

CenterMap(location)

An instance of than identifies the center of the map.

CenterMap(address)

ClearMarkers()

ClearRoutes()

CloseInfoWindow(markerId)

FitBounds(coordinates)

GetGeocode(callback, address)

GetGeocode(callback, location)

GetGeocode(callback, lat, lng)

GetGeocodeAsync(address)

Returns: .

GetGeocodeAsync(location)

Returns: .

GetGeocodeAsync(lat, lng)

Returns: .

RemoveMarker(markerId)

ShowInfoWindow(markerId, html)

ShowInfoWindow(markerId, options)

Options for the creation of the InfoWindow. See .

MapClick

Fired when the user clicks on the map or a marker.

MapDoubleClick

Fired when the user double clicks on the map or a marker.

MapDragEnd

Fired when the user drags the map.

MapDragStart

Fired when the user starts dragging the map.

MapPropertyChanged

Fired when the user changes the map by zooming, tilting, or selecting a different map type.

MarkerDragEnd

Fired when the user drags a marker.

MarkerDragStart

Fired when the user begins dragging a marker.

String
String
String
libraries
Object
reference#MapOptions
List<Package>
String
versions
directions
directions
Task<GeocoderResult[]>
Task<GeocoderResult[]>
Task<GeocoderResult[]>
MapMouseEventHandler
MapMouseEventHandler
EventHandler
EventHandler
MapPropertyChangedEventHandler
MarkerDragEventHandler
MarkerDragEventHandler
String
Double
Double
Object
reference#MarkerOptions
Boolean
String
LatLng
LatLng
Object
reference#MarkerOptions
Boolean
String
String
Object
reference#MarkerOptions
Boolean
LatLng
LatLng
TravelMode
String
String
TravelMode
Double
Double
LatLng
LatLng
String
String
LatLng[]
Action<GeocoderResult[]>
String
Action<GeocoderResult[]>
LatLng
Action<GeocoderResult[]>
Double
Double
String
LatLng
Double
Double
String
String
String
String
Object
infowindows
Control
Widget
GoogleMap
GoogleMap
String