This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
manual:advanced:map_tools:theming [2015/05/06 10:03] – mstupka | manual:advanced:map_tools:theming [2017/01/19 13:04] – [Supported tags] voldapet | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- | ---- | ||
- | ===== Locus Maps Content | + | ===== LoMaps content |
==== Basic information ==== | ==== Basic information ==== | ||
- | This page contains **mapping XML** file, used by Locus for generating OSM-based vector maps | + | This page contains **mapping XML** file used by Locus Map for generating OSM-based vector maps. |
==== TAG file ==== | ==== TAG file ==== | ||
- | XML file used for generation of vector map. It contains combination of OSM tag KEY-VALUE of elements that are rendered in Locus vector maps. | ||
- | {{: | ||
- | ==== Internal themes ==== | + | The XML file used for generation of vector maps contains combination of OSM tag KEY-VALUE of elements that are rendered in Locus vector maps. <WRAP center round download 60%> **{{: |
- | Definition of five default themes | ||
- | {{: | ||
- | |||
- | ====== Vector Maps - theme configuration ====== | ||
- | <WRAP alert> | + | ==== Internal themes ==== |
- | **PAGE IN PREPARATION** | + | Definition of five default themes <WRAP center round download 60%> |
- | </ | + | ---- |
- | <WRAP box left> | ||
- | * Locus type: < | ||
- | * Last updated manual: **2.5.0** | ||
- | </ | ||
- | ===== Basic information | + | ===== LoMaps - theme configuration |
- | some text ... | ||
- | ===== Supported tags ===== | + | ==== Supported tags ==== |
- | ==== area ==== | + | === area === |
* src | * src | ||
Line 43: | Line 32: | ||
* stroke-width | * stroke-width | ||
- | ==== caption | + | === caption === |
* k | * k | ||
Line 64: | Line 53: | ||
* force-draw | * force-draw | ||
- | ==== circle | + | === circle === |
* r | * r | ||
Line 72: | Line 61: | ||
* stroke-width | * stroke-width | ||
- | ==== line ==== | + | === line === |
* curve | * curve | ||
- | * dy | + | * dy |
* src | * src | ||
* stroke | * stroke | ||
Line 82: | Line 71: | ||
* stroke-linecap | * stroke-linecap | ||
- | ==== lineSymbol | + | === lineSymbol === |
* src | * src | ||
Line 91: | Line 80: | ||
* scale-icon-size | * scale-icon-size | ||
- | ==== pathText | + | === pathText === |
* k | * k | ||
Line 103: | Line 92: | ||
* dy | * dy | ||
* upper-case | * upper-case | ||
+ | * rotate_up | ||
* scale-font-size | * scale-font-size | ||
* bg-rect-fill | * bg-rect-fill | ||
Line 110: | Line 100: | ||
* bg-rect-rounded | * bg-rect-rounded | ||
- | ==== symbol | + | === symbol === |
* src | * src | ||
Line 120: | Line 110: | ||
* force-draw | * force-draw | ||
- | ---- | ||
- | ===== Details | + | ==== Detailed information |
- | ==== curve ==== | + | === curve === |
- | Add possibility to draw line extrapolated as curve. It helps in some situation | + | Adds possibility to draw line extrapolated as a curve. It helps in some situations |
* value: " | * value: " | ||
* example: ''< | * example: ''< | ||
- | ==== bg-rect-* | + | === bg-rect-* === |
- | Background rectangle is very useful method | + | Background rectangle is very useful method |
* bg-rect-fill | * bg-rect-fill | ||
Line 148: | Line 137: | ||
* used in: caption, pathText | * used in: caption, pathText | ||
- | ==== fill ==== | + | === fill === |
- | * Fill colours of items. | + | * Fills colours of items. |
* value: colour | * value: colour | ||
- | ==== force-draw | + | === force-draw === |
- | * useful method | + | * useful method |
* value: boolean | * value: boolean | ||
- | ==== scale ==== | + | === scale === |
* Scale symbol for drawing | * Scale symbol for drawing | ||
Line 164: | Line 153: | ||
* value: decimal number | * value: decimal number | ||
- | ==== scale-icon-size | + | === scale-icon-size === |
- | * Allow to scale symbol based on current zoom level. Very useful method | + | * Allows |
* example: '' | * example: '' | ||
Line 178: | Line 167: | ||
* scale: 1.5 * 1.1 * 1.1 * 1.1 = **2.00** | * scale: 1.5 * 1.1 * 1.1 * 1.1 = **2.00** | ||
- | ==== stroke | + | === stroke === |
* Stroke colours for items. | * Stroke colours for items. | ||
* value: colour | * value: colour | ||
- | ==== stroke-width | + | === stroke-width === |
- | * Width of stroke | + | * Width of stroke |
* value: decimal number | * value: decimal number | ||
- | ==== symbol-width, | + | === symbol-width, |
- | enables to resize symbol icon to specific width or height | + | enables to resize |
* value: decimal number | * value: decimal number | ||
- | ==== upper-case | + | === upper-case === |
- | * allow to display texts in upper-case | + | * allows |
* used in: caption, pathText | * used in: caption, pathText | ||
* value: boolean | * value: boolean | ||
- | ===== Possible values | + | ==== Possible values ==== |
- | ==== boolean | + | === boolean === |
- | Boolean value may be written as text '' | + | Boolean value may be written as text '' |
- | ==== colour | + | === colour === |
- | Supported formats are Supported formats are: #RRGGBB #AARRGGBB ' | + | Supported formats are: #RRGGBB #AARRGGBB ' |
- | ==== decimal number | + | === decimal number === |
Common decimal number | Common decimal number |