IModelMapSettings.Provider Property
Specifies the map provider.
Namespace: DevExpress.ExpressApp.Maps.Web.Helpers
Assembly: DevExpress.ExpressApp.Maps.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Maps.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
MapProvider | A MapProvider enumeration value specifying the map provider. |
Available values:
Name | Description |
---|---|
The map provider is Google. |
|
GoogleStatic | The map provider is Google - Maps Static API. |
Bing | The map provider is Bing. |
Azure | The map provider is Azure. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to Provider |
---|---|
IModelMaps |
|
Remarks
If you use Google as the maps provider, specify the MapsAspNetModule.GoogleApiKey property in the WebApplication.cs (WebApplication.vb) file to display a map. Refer to the Get API Key article to learn how to configure this key.
See Also