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
manual:advanced:map_tools:theming [2017/01/19 13:04] – [Supported tags] voldapetmanual:advanced:map_tools:theming [2017/01/19 13:09] (current) – [Detailed information about tags] voldapet
Line 114: Line 114:
  
 === curve === === curve ===
 +
 Adds possibility to draw line extrapolated as a curve. It helps in some situations to create "smooth" lines: Adds possibility to draw line extrapolated as a curve. It helps in some situations to create "smooth" lines:
 +
   * value: "cubic"   * value: "cubic"
   * example: ''<line stroke="#A07F5F" stroke-width="0.08" curve="cubic"/>''   * example: ''<line stroke="#A07F5F" stroke-width="0.08" curve="cubic"/>''
Line 123: Line 125:
  
   * bg-rect-fill   * bg-rect-fill
-    * more in **fill** attribute+      * more in **fill**  attribute
   * bg-rect-stroke   * bg-rect-stroke
-    * more in **stroke** attribute+      * more in **stroke**  attribute
   * bg-rect-over   * bg-rect-over
-    * space between text and border +      * space between text and border 
-    * value: decimal number+      * value: decimal number
   * bg-rect-stroke-width   * bg-rect-stroke-width
-    * more in **stroke-width**+      * more in **stroke-width**
   * bg-rect-rounded   * bg-rect-rounded
-    * allow to round corners of bounding rectgangle +      * allow to round corners of bounding rectgangle 
-    * value: decimal number+      * value: decimal number
  
   * used in: caption, pathText   * used in: caption, pathText
Line 139: Line 141:
 === fill === === fill ===
  
-  * Fills colours of items. +  * Fills colours of items.
   * value: colour   * value: colour
  
Line 146: 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 ''rotate_up="true"''  automatically rotates text up. It mean that path text doesn't follow direction of the way but it's 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
  
 === scale === === scale ===
Line 158: Line 164:
  
   * example: ''scale="1.5" scale-icon-size="12,1.1"''   * example: ''scale="1.5" scale-icon-size="12,1.1"''
-    * for zoom levels 0 - 11, scale: **1.5** +      * for zoom levels 0 - 11, scale: **1.5** 
-    * 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 178: Line 184:
  
 === symbol-width, symbol-height === === symbol-width, symbol-height ===
 +
 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 186: Line 194:
   * used in: caption, pathText   * used in: caption, pathText
   * value: boolean   * value: boolean
 +
  
 ==== Possible values ==== ==== Possible values ====
manual/advanced/map_tools/theming.1484827489.txt.gz · Last modified: 2017/01/19 12:04 (external edit)