Class MarkerRenderingEventArgs
Specifies the event arguments in marker rendering event in maps.
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MarkerRenderingEventArgs : MapsBaseEventArgs
Constructors
MarkerRenderingEventArgs()
Declaration
public MarkerRenderingEventArgs()
Properties
ColorValuePath
Gets or sets the value path of marker color from the marker data source.
Declaration
public string ColorValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Data
Gets or sets the marker data from the marker data source in maps.
Declaration
public Dictionary<string, string> Data { get; set; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.String> |
Fill
Gets or sets the color for the marker in event argument.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Height
Gets or sets the height of the marker in event argument.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the double value. |
HeightValuePath
This property specifies the field name from the objects in the marker data source to adjust the height of each marker individually within the group.
Declaration
public string HeightValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value which represents the field name from the objects in the marker data source. |
Remarks
When a numeric or string value is provided in the specified field, that value is used to determine the height of the current marker. If a numeric value is provided, the default value of "0" will be applied. In this case, the marker will not be rendered if the field contains only the default value.To handle this, nullable numeric types should be used and the height will be taken from the
Height
property of MapsMarker
.
ImageUrl
Gets or sets the URL path for the marker when rendered as image.
Declaration
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
ImageUrlValuePath
Gets or sets the value path of marker image from the marker data source.
Declaration
public string ImageUrlValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Shape
Gets or sets the shape of the marker.
Declaration
public MarkerType Shape { get; set; }
Property Value
Type | Description |
---|---|
MarkerType | One of the MarkerType enumeration values that representing the shape of marker. |
ShapeValuePath
Gets or sets the value path of marker shape from the marker data source.
Declaration
public string ShapeValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Template
Gets or sets the template of the marker.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Width
Gets or sets the width of the marker.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Accepts the double value. |
WidthValuePath
This property specifies the field name from the objects in the marker data source to adjust the width of each marker individually within the group.
Declaration
public string WidthValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value which represents the field name from the objects in the marker data source. |
Remarks
When a numeric or string value is provided in the specified field, that value is used to determine the width of the current marker. If a numeric value is provided, the default value of "0" will be applied. In this case, the marker will not be rendered if the field contains only the default value.To handle this, nullable numeric types should be used and the width will be taken from the
Width
property of MapsMarker
.