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/09/10 08:48] – mstupka | manual:advanced:map_tools:theming [2022/04/20 14:52] – mstupka | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== Basic information ==== | ==== Basic information ==== | ||
- | This page contains **mapping XML** file used by Locus Map for generating OSM-based vector maps. | + | This page contains |
==== TAG file ==== | ==== TAG file ==== | ||
- | 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%> | + | The XML file used for the generation of vector maps contains |
- | **{{: | + | |
- | </ | + | |
==== Internal themes ==== | ==== Internal themes ==== | ||
- | Definition of five default themes | + | Definition of five default themes <WRAP center round download 60%> **{{: |
- | <WRAP center round download 60%> | + | |
- | **{{: | + | |
- | </ | + | |
---- | ---- | ||
- | + | ||
===== LoMaps - theme configuration ===== | ===== LoMaps - theme configuration ===== | ||
Line 69: | Line 64: | ||
* curve | * curve | ||
- | * dy | + | * dy |
* src | * src | ||
* stroke | * stroke | ||
Line 97: | Line 92: | ||
* dy | * dy | ||
* upper-case | * upper-case | ||
+ | * rotate_up | ||
* scale-font-size | * scale-font-size | ||
* bg-rect-fill | * bg-rect-fill | ||
Line 118: | Line 114: | ||
=== curve === | === curve === | ||
+ | |||
Adds possibility to draw line extrapolated as a curve. It helps in some situations to create " | Adds possibility to draw line extrapolated as a curve. It helps in some situations to create " | ||
+ | |||
* value: " | * value: " | ||
* example: ''< | * example: ''< | ||
Line 124: | Line 122: | ||
=== 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 | ||
Line 143: | Line 141: | ||
=== fill === | === fill === | ||
- | * Fills colours | + | * Fills colors |
- | * value: | + | * value: |
=== force-draw === | === force-draw === | ||
Line 150: | Line 148: | ||
* useful method of drawing an icon no matter if others overlay it or not | * useful method of drawing an icon no matter if others overlay it or not | ||
* value: boolean | * value: boolean | ||
+ | |||
+ | === rotate_up === | ||
+ | |||
+ | * default value '' | ||
=== scale === | === scale === | ||
Line 159: | Line 161: | ||
=== scale-icon-size === | === scale-icon-size === | ||
- | * Allows | + | * Allows |
* 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 color | + | * Width of the stroke color |
* value: decimal number | * value: decimal number | ||
=== symbol-width, | === symbol-width, | ||
+ | |||
enables to resize the symbol icon to specific width or height | enables to resize the symbol icon to specific width or height | ||
+ | |||
* value: decimal number | * value: decimal number | ||
Line 190: | Line 194: | ||
* used in: caption, pathText | * used in: caption, pathText | ||
* value: boolean | * value: boolean | ||
+ | |||
==== Possible values ==== | ==== Possible values ==== | ||
Line 204: | Line 209: | ||
Common decimal number | Common decimal number | ||
+ | <WRAP center round important 60%> | ||
+ | Use only **UTF-8** charset for filenames and other texts. | ||
+ | </ | ||
+ | For more information about the custom map themes, **[[https:// |