User Tools

Site Tools


manual:advanced:map_tools:theming

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manual:advanced:map_tools:theming [2017/01/19 14:09] – external edit 127.0.0.1manual:advanced:map_tools:theming [2022/04/20 14:53] (current) – [Possible values] 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 the **mapping XML** file used by Locus Map for generating OSM-based vector maps.
  
 ==== 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%> **{{:manual:advanced:map_tools:tag-mapping_20170119.zip|tag-mapping_20170119.zip}}  ** </WRAP>+The XML file used for the 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%> **{{:manual:advanced:map_tools:tag-mapping_20170119.zip|tag-mapping_20170119.zip}}  ** </WRAP>
  
  
Line 122: Line 122:
 === bg-rect-* === === bg-rect-* ===
  
-Background rectangle is very useful method of drawing a nicely looking rectangle as a background of texts.+A background rectangle is very useful method of drawing a nicely looking rectangle as a background for texts.
  
   * bg-rect-fill   * bg-rect-fill
Line 141: Line 141:
 === fill === === fill ===
  
-  * Fills colours of items. +  * Fills colors of items. 
-  * value: colour+  * value: color
  
 === force-draw === === force-draw ===
Line 151: Line 151:
 === rotate_up === === rotate_up ===
  
-  * default value ''rotate_up="true"''  automatically rotates text up. It mean that path text doesn't follow direction of the way but it'automatically rotate to the readable direction. This is not ideal for contour lines where text should follow the gradient. Set to ''rotate_up="true"''  and next will be in the same direction as direction of the way+  * default value ''rotate_up="true"''  automatically rotates text up. It means that path text doesn't follow the direction of the way but it automatically rotates to the readable direction. This is not ideal for contour lines where text should follow the gradient. Set to ''rotate_up="true"''  and next will be in the same direction as the direction of the way
  
 === scale === === scale ===
Line 161: Line 161:
 === scale-icon-size === === scale-icon-size ===
  
-  * Allows to scale a symbol based on current zoom level. Very useful method of increasing the size of symbols on map when you change the zoom level. Method is defined by two values separated by comma, where 1st value is base zoom level, 2nd value is exponent. Base scale value is from attribute **scale**.+  * Allows scaling a symbol based on the current zoom level. A very useful method of increasing the size of symbols on the map when you change the zoom level. The method is defined by two values separated by comma, where 1st value is the base zoom level, and the 2nd value is the exponent. The base scale value is from attribute **scale**.
  
   * example: ''scale="1.5" scale-icon-size="12,1.1"''   * example: ''scale="1.5" scale-icon-size="12,1.1"''
Line 175: Line 175:
 === stroke === === stroke ===
  
-  * Stroke colours for items. +  * Stroke colors for items. 
-  * value: colour+  * value: color
  
 === stroke-width === === stroke-width ===
  
-  * Width of stroke color+  * Width of the stroke color
   * value: decimal number   * value: decimal number
  
Line 209: Line 209:
  
 Common decimal number Common decimal number
 +<WRAP center round important>
 +Use only **UTF-8** charset for filenames and other texts.
 +</WRAP>
 +For more information about the custom map themes, **[[https://medium.com/@menion.asamm/custom-map-themes-in-locus-map-203aead34ccb|please visit >>]]**
manual/advanced/map_tools/theming.1484831364.txt.gz · Last modified: 2017/01/19 14:09 by 127.0.0.1