Skip to main content
All docs
V25.1
  • DxMap.Type Property

    Specifies the type of a map to display.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [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

    <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