IModelMapSettings.Provider Property
In This Article
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
[DefaultValue(MapProvider.Google)]
MapProvider Provider { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Map |
A Map |
Available values:
Name | Description |
---|---|
The map provider is Google. |
|
Google |
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 |
---|---|
IModel |
|
#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