Tools: Difference between revisions
Jump to navigation
Jump to search
(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...") |
No edit summary |
||
| Line 2: | Line 2: | ||
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. | 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. | ||
=== Tool Properties === | |||
{| class="wikitable" | {| class="wikitable" | ||
!width="26%"| Name | !width="26%"| Name | ||
| Line 26: | Line 27: | ||
| '''SelectedInstance''' | | '''SelectedInstance''' | ||
| The selected measuring line instance. | | The selected measuring line instance. | ||
|- | |||
| '''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. | |||
|} | |||
=== Tool Style Properties === | |||
{| class="wikitable" | |||
!width="26%"| Name | |||
!width="73%"| Description | |||
|- | |- | ||
| '''VertexLineThickness''' | | '''VertexLineThickness''' | ||
| Line 98: | Line 117: | ||
| '''VertexSize''' | | '''VertexSize''' | ||
| The vertex radius. | | The vertex radius. | ||
|} | |} | ||
Revision as of 13:15, 15 May 2024
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.
Tool Properties
| 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. |
| 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. |
Tool Style Properties
| Name | Description |
|---|---|
| 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. |