Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

IModelMapSettings.Provider Property

Specifies the map provider.

Namespace: DevExpress.ExpressApp.Maps.Web.Helpers

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

NuGet Package: DevExpress.ExpressApp.Maps.Web

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) file to display a map. Refer to the Get API Key article to learn how to configure this key.

See Also