Skip to main content
A newer version of this page is available. .

IModelMapSettings.Provider Property

Specifies the map provider.

Namespace: DevExpress.ExpressApp.Maps.Web.Helpers

Assembly: DevExpress.ExpressApp.Maps.Web.v18.2.dll

Declaration

[DefaultValue(MapProvider.Google)]
MapProvider Provider { get; set; }

Property Value

Type Default Description
MapProvider **Google**

A MapProvider enumeration value specifying the map provider.

Available values:

Name Description
Google

The map provider is Google.

Bing

The map provider is Bing.

Property Paths

You can access this nested property as listed below:

Object Type Path to Provider
IModelMaps
.MapSettings.Provider

Remarks

If you use Google as the maps provider, specify the MapsAspNetModule.GoogleApiKey property in the WebApplication.cs (WebApplication.vb) and MapsMobileModule.GoogleApiKey property - in the MobileApplication.cs (MobileApplication.vb) file to display a map. Refer to the Get API Key article to learn how to configure this key.

See Also