Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxMap.Type Property

Specifies the type of a map to display.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(MapType.Roadmap)]
[Parameter]
public MapType Type { get; set; }

#Property Value

Type Default Description
MapType Roadmap

The type of a map.

Available values:

Name Description
Hybrid

A map displays a mixture of roadmap and satellite views.

Roadmap

A map displays the road map view.

Satellite

A map displays satellite images.

#Remarks

razor
<DxMap Zoom="14"
       Provider="MapProvider.Azure"
       Width="100%"
       Height="600px"
       Type="MapType.Satellite" >
    <DxMapApiKeys Azure="@MapApiKeyProvider.GetAzureProviderKey()" />
    <DxMapCenter GeoPosition="40.7061, -73.9969" />
</DxMap>
See Also