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 path to locate color values for markers from the data source.
Declaration
public string ColorValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the path to the color field in the data source. |
Remarks
Specify a path to dynamically apply colors based on data-driven attributes for markers on the map.
Data
Gets or sets the marker data from the data source.
Declaration
public Dictionary<string, string> Data { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | A System.Collections.Generic.Dictionary<, > containing the marker data. |
Remarks
Data context for rendering markers on the map, containing relevant display attributes.
Fill
Gets or sets the fill color for the marker in event arguments.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the marker's fill color. |
Remarks
Set the fill color to visually differentiate markers based on underlying data.
Height
Gets or sets the height of the marker.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value indicating the marker's height in pixels. |
Remarks
Adjust the height to resize markers based on data or visual preferences.
HeightValuePath
Gets or sets the field name from the objects in the marker data source to adjust marker height.
Declaration
public string HeightValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the field for dynamic height adjustments. |
Remarks
Use a field name to dictate the marker's height, allowing for size variations based on data attributes. Nullable types are recommended if default values might lead to invisible markers.
ImageUrl
Gets or sets the URL path for the marker when rendered as an image.
Declaration
public string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string containing the URL to the marker image resource. |
Remarks
Use this to render markers as custom images using web paths or local URIs.
ImageUrlValuePath
Gets or sets the value path for a marker's image from the data source.
Declaration
public string ImageUrlValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the path to the image field in the data source. |
Remarks
Define a path to dynamically assign image resources to markers based on data attributes.
Shape
Gets or sets the shape of the marker.
Declaration
public MarkerType Shape { get; set; }
Property Value
Type | Description |
---|---|
MarkerType | A value from the MarkerType enumeration that defines the marker's shape. |
Remarks
Choose from predefined shape types to represent markers distinctly on the map.
ShapeValuePath
Gets or sets the value path for a marker's shape from the data source.
Declaration
public string ShapeValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the path to the shape field in the data source. |
Remarks
Specify this path to dynamically set marker shapes based on data-driven settings.
Template
Gets or sets the template for the marker.
Declaration
public string Template { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string containing the markup or path for a custom marker template. |
Remarks
Use templates for advanced marker customization and to display additional visuals or data.
Width
Gets or sets the width of the marker.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value indicating the marker's width in pixels. |
Remarks
Set the width to adjust marker sizes for enhanced visibility or to represent data metrics.
WidthValuePath
Gets or sets the field name from the objects in the marker data source to adjust marker width.
Declaration
public string WidthValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the field for dynamic width adjustments. |
Remarks
Use a field name to dictate the marker's width, allowing for size variations based on data attributes. Nullable types are recommended if default values might lead to invisible markers.