This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| manual:advanced:map_tools:theming [2015/05/06 10:03] – mstupka | manual:advanced:map_tools:theming [2022/04/20 14:53] (current) – [Possible values] mstupka | ||
|---|---|---|---|
| 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 |
| ==== 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 the generation of vector maps contains a 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 === | ||
| + | |||
| + | Adds possibility to draw line extrapolated as a curve. It helps in some situations to create " | ||
| - | ==== curve ==== | ||
| - | Add possibility to draw line extrapolated as curve. It helps in some situation to create " | ||
| * value: " | * value: " | ||
| * example: ''< | * example: ''< | ||
| - | ==== bg-rect-* | + | === bg-rect-* === |
| - | Background | + | A background |
| * bg-rect-fill | * bg-rect-fill | ||
| - | | + | |
| * bg-rect-stroke | * bg-rect-stroke | ||
| - | | + | |
| * bg-rect-over | * bg-rect-over | ||
| - | | + | |
| - | * value: decimal number | + | * value: decimal number |
| * bg-rect-stroke-width | * bg-rect-stroke-width | ||
| - | | + | |
| * bg-rect-rounded | * bg-rect-rounded | ||
| - | | + | |
| - | * value: decimal number | + | * value: decimal number |
| * used in: caption, pathText | * used in: caption, pathText | ||
| - | ==== fill ==== | + | === fill === |
| - | * Fill colours | + | * Fills colors |
| - | * value: | + | * value: |
| - | ==== force-draw | + | === force-draw === |
| - | * useful method | + | * useful method |
| * value: boolean | * value: boolean | ||
| - | ==== scale ==== | + | === rotate_up |
| + | |||
| + | * default value '' | ||
| + | |||
| + | === scale === | ||
| * Scale symbol for drawing | * Scale symbol for drawing | ||
| Line 164: | Line 159: | ||
| * value: decimal number | * value: decimal number | ||
| - | ==== scale-icon-size | + | === scale-icon-size === |
| - | * Allow to scale symbol based on current zoom level. | + | * Allows scaling a symbol based on the current zoom level. |
| * example: '' | * example: '' | ||
| - | | + | |
| - | * for zoom level 12, scale: 1.5 * 1.0 = **1.5** | + | * for zoom level 12, scale: 1.5 * 1.0 = **1.5** |
| - | * for zoom level 13, scale: | + | * for zoom level 13, scale: |
| - | * zoom level difference: 1 | + | * zoom level difference: 1 |
| - | * scale: 1.5 * 1.1 = **1.65** | + | * scale: 1.5 * 1.1 = **1.65** |
| - | * for zoom level 15, scale: | + | * for zoom level 15, scale: |
| - | * zoom level difference: 3 | + | * zoom level difference: 3 |
| - | * 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 | + | * Stroke |
| - | * value: | + | * value: |
| - | ==== stroke-width | + | === stroke-width === |
| - | * Width of stroke | + | * Width of the 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 ===== | ||
| - | ==== boolean | + | ==== Possible values |
| - | Boolean value may be written as text '' | + | === boolean === |
| - | ==== colour ==== | + | Boolean value may be written as text '' |
| - | Supported formats are Supported formats are: #RRGGBB #AARRGGBB ' | + | === colour === |
| - | ==== decimal number | + | Supported formats are: #RRGGBB #AARRGGBB ' |
| + | |||
| + | === decimal number === | ||
| Common decimal number | Common decimal number | ||
| + | <WRAP center round important> | ||
| + | Use only **UTF-8** charset for filenames and other texts. | ||
| + | </ | ||
| + | For more information about the custom map themes, **[[https:// | ||