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/15 06:47] – [Locus Maps - theme configuration] mstupka | manual:advanced:map_tools:theming [2017/01/19 13:09] (current) – [Detailed information about tags] voldapet | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- | ---- | ||
- | ===== Locus Maps content ===== | + | ===== LoMaps |
==== 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 | + | |
- | {{: | + | The XML file used for generation of vector |
==== Internal themes ==== | ==== Internal themes ==== | ||
- | Definition of five default themes | + | Definition of five default themes |
- | {{: | + | |
---- | ---- | ||
- | |||
- | ===== Locus Maps - theme configuration ===== | ||
- | <WRAP todo round center 60%>This page is obsolete and will be reworked soon</ | + | |
+ | ===== LoMaps - theme configuration ===== | ||
==== Supported tags ==== | ==== Supported tags ==== | ||
Line 64: | Line 64: | ||
* curve | * curve | ||
- | * dy | + | * dy |
* src | * src | ||
* stroke | * stroke | ||
Line 92: | 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 111: | ||
- | ==== Details | + | ==== Detailed information |
=== curve === | === curve === | ||
- | Adds possibility to draw line extrapolated as 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 119: | Line 122: | ||
=== bg-rect-* === | === bg-rect-* === | ||
- | Background rectangle is very useful method | + | Background rectangle is very useful method |
* 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 138: | Line 141: | ||
=== fill === | === fill === | ||
- | * Fills colours of items. | + | * Fills colours of items. |
* value: colour | * value: colour | ||
=== force-draw === | === force-draw === | ||
- | * useful method | + | * useful method |
* value: boolean | * value: boolean | ||
+ | |||
+ | === rotate_up === | ||
+ | |||
+ | * default value '' | ||
=== scale === | === scale === | ||
Line 154: | Line 161: | ||
=== scale-icon-size === | === scale-icon-size === | ||
- | * Allows to scale symbol based on current zoom level. Very useful method | + | * Allows to scale a symbol based on current zoom level. Very useful method |
* 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 === | ||
Line 177: | Line 184: | ||
=== symbol-width, | === symbol-width, | ||
- | enables to resize symbol icon to specific width or height | + | |
+ | enables to resize | ||
* value: decimal number | * value: decimal number | ||
Line 185: | Line 194: | ||
* used in: caption, pathText | * used in: caption, pathText | ||
* value: boolean | * value: boolean | ||
+ | |||
==== Possible values ==== | ==== Possible values ==== |