Tools
Revision as of 12:06, 15 May 2024 by Tmd (talk | contribs) (Created page with "== Distance Tool == With the DistanceTool the user can create one or more measuring lines with multiple positions. A measuring line can be edited, e.g. add, insert, remove or move positions. {| class="wikitable" !width="26%"| Name !width="73%"| Description |- | '''IsPannningEnabled''' | Set if map can be panned when not adding or editing a distance line. When true the IsAddInstanceEnabled property must be set to true before a new distance line can be drawn. |- | '''IsIn...")
Distance Tool
With the DistanceTool the user can create one or more measuring lines with multiple positions. A measuring line can be edited, e.g. add, insert, remove or move positions.
Name | Description |
---|---|
IsPannningEnabled | Set if map can be panned when not adding or editing a distance line. When true the IsAddInstanceEnabled property must be set to true before a new distance line can be drawn. |
IsInsertPointEnabled | Enable or disable if inserting a vertex is allowed. |
IsAddPointEnabled | Enable or disable if adding a vertex at start or end is allowed. |
IsMultiLine | Set if tool supports multiple lines. |
Positions | Returns a list of all the positions defined by the distance tool legs. Can also be used to set the positions of the measuring line. |
SelectedIndex | The selected vertex/position of the active measuring line instance. |
SelectedInstance | The selected measuring line instance. |
VertexLineThickness | The vertex line thickness. |
VertexOutlineThickness | The vertex outline thickness. |
LineThickness | The line thickness. |
OutlineThickness | The outline thickness of the line. |
HighlightColor | The highlight distance vertex color. |
OutlineDashStyle | The outline dash style of the line. |
OutlineColor | The outline color of the line. |
SelectedLineColor | The selected line color. |
SelectedVertexLineColor | The selected vertex line color. |
LineColor | The line color. |
LineDashStyle | The line dash style. |
InsertVertexLineColor | The insert vertex line color. |
InsertVertexOutlineColor | The insert vertex outline color. |
VertexOutlineColor | The vertex outline color. |
VertexLineColor | The vertex line color. |
VertexFillColor | The vertex fill color. |
InsertVertexFillColor | The insert vertex fill color. |
AreaFillColor | The area fill color. |
ForegroundColor | The text foreground color. |
BackgroundColor | The text background color. |
OutlineFontColor | The outline font color. |
FontTypeface | The text typeface. |
FontSize | The text size. |
VertexSize | The vertex radius. |
SnapsToPoint | When set the tool snaps to track or draw object points. |
SnapsToPointDistance | The distance in pixels when the tool snaps to a point. |
CalculationPath | Set how the measure line is calculated: Geodesics or Loxodrome. |
OverrideVertexRenderer | Renderer for overriding how distance line vertices are rendered. |