API Reference
Class
LeafletPolyline
Fluent polyline builder for LeafletMap.
Inheritance
- Object
- LeafletPolyline
Methods
public LeafletPolyline AnimateDash(Boolean enable = true) #Returns:
LeafletPolylineEnables a simple animated dash effect (CSS-based, SVG renderer).
Parameters
- enable System.Boolean = true
public LeafletPolyline ClassName(String className) #Returns:
LeafletPolylineEditorBrowsable(2)Adds a CSS class name to the rendered SVG path.
Parameters
- className System.String
Color 2 overloads
public LeafletPolyline ColorHex(String colorHex) #Returns:
LeafletPolylineEditorBrowsable(2)Sets polyline color using a custom hex value.
Parameters
- colorHex System.String
public LeafletPolyline Dash(String dashArray, String dashOffset = null) #Returns:
LeafletPolylineSets a dash pattern for the polyline (e.g., "6 10").
Parameters
- dashArray System.String
- dashOffset System.String = null
public LeafletPolyline Group(String groupName) #Returns:
LeafletPolylineAssigns the polyline to an overlay group (used by the layer control).
Parameters
- groupName System.String
public LeafletPolyline Opacity(Double opacity) #Returns:
LeafletPolylineSets stroke opacity (0..1).
Parameters
- opacity System.Double
public LeafletPolyline Popup(String popup) #Returns:
LeafletPolylineSets popup text for the polyline.
Parameters
- popup System.String
public LeafletPolyline Tooltip(String tooltip) #Returns:
LeafletPolylineSets tooltip text for the polyline.
Parameters
- tooltip System.String
public LeafletPolyline Weight(Double weight) #Returns:
LeafletPolylineSets stroke weight (in pixels).
Parameters
- weight System.Double