Skip to main content

MapBuilder.MarkerIconSrc(String) Method

A URL pointing to the custom icon to be used for map markers. Mirrors the client-side markerIconSrc option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public MapBuilder MarkerIconSrc(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
MapBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Map()
    .MarkerIconSrc("your-URL")
)
See Also