PolylineOptions
Properties
String to be shown in the attribution control, e.g. "© OpenStreetMap contributors". It describes the layer data and is often a legal obligation towards copyright holders and tile providers.
A string that defines the distance into the dash pattern to start the dash. Doesn't work on Canvas-powered layers in some old browsers.
Fill opacity.
If true, the popup/tooltip will listen to the mouse events.
By default, the layer will be added to the map's overlay pane. Overriding this option will cause the layer to be placed on another pane by default.
When true
, a mouse event on this path will trigger the same event on the map (unless L.DomEvent.stopPropagation
is used).
How much to simplify the polyline on each zoom level. More means better performance and smoother look, and less means more accurate representation.