API Reference
Class
LeafletPolyline
Fluent polyline builder for LeafletMap.
Inheritance
- Object
- LeafletPolyline
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method LeafletMap.Polyline
- Method LeafletPolyline.AnimateDash
- Method LeafletPolyline.ClassName
- Method LeafletPolyline.Color
- Method LeafletPolyline.ColorHex
- Method LeafletPolyline.Dash
- Method LeafletPolyline.Group
- Method LeafletPolyline.Opacity
- Method LeafletPolyline.Popup
- Method LeafletPolyline.Tooltip
- Method LeafletPolyline.Weight
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