Skip to main content
.NET Framework 4.6.2+
  • The page you are viewing does not exist in the .NET 8.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.v24.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.

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
.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