Function PolylineWithSymbol.PolylineWithSymbol
Create a new polyline with symbol generator.
PolylineWithSymbol (
symbol | The symbol to use |
|
float | symbolSize | The size of the symbol. In case of a circle, this is the diameter. |
float | symbolPadding | The padding on both sides of the symbol between the symbol and the line. |
float | symbolSpacing | The spacing between symbols. This is the distance between the centers of the symbols. |
bool | reverseSymbols=false | If true, the symbols will be reversed. For cicles this has no effect, but arrowhead symbols will be reversed. |
float | offset=0 | Distance to shift all symbols forward along the line. Useful for animations. If offset=0, the first symbol's center is at symbolSpacing/2. |
Create a new polyline with symbol generator.
If symbolSize + 2*symbolPadding > symbolSpacing, the symbolSpacing parameter will be increased to accommodate the symbol and its padding. There will be no connecting lines between the symbols in this case, as there's no space for them.