Skip to main content
All docs
V24.1

DxMap.MarkerIconUrl Property

Specifies the URL for map marker icons.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public string MarkerIconUrl { get; set; }

Property Value

Type Description
String

The icon URL.

Remarks

Use the MarkerIconUrl property to specify a common icon for every marker on the map. You can use the IconUrl property to define a custom icon for a particular marker.

<DxMap Zoom="14" Provider="MapProvider.Bing" Width="950px" Height="400px" 
    MarkerIconUrl="https://js.devexpress.com/Demos/WidgetsGallery/JSDemos/images/maps/map-marker.png" >
    <DxMapApiKeys Bing="@MapApiKeyProvider.GetBingProviderKey()" />
    <DxMapMarkers>
        @* ...*@
    </DxMapMarkers>
</DxMap>

Map - Change Marker Icon

See Also