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
Last revisionBoth sides next revision
manual:advanced:map_tools:theming [2015/05/06 10:03] mstupkamanual:advanced:map_tools:theming [2017/01/19 13:04] – [Supported tags] voldapet
Line 1: Line 1:
-====== Locus Maps Theming ======+====== LoMaps Theming ======
  
 ---- ----
-===== Locus Maps Content =====+===== LoMaps content =====
  
 ==== Basic information ==== ==== Basic information ====
  
-This page contains **mapping XML** fileused 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 map. It contains combination of OSM tag KEY-VALUE of elements that are rendered in Locus vector maps. 
-{{:manual:map_tools:tag-mapping-tourist_20150407.zip|tag-mapping.zip}} 
  
-==== Internal themes ====+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>
  
-Definition of five default themes 
-{{:manual:map_tools:locus_internal_theme_20150407.zip|}} 
-  
-====== Vector Maps - theme configuration ====== 
  
-<WRAP alert>+==== Internal themes ====
  
-**PAGE IN PREPARATION**+Definition of five default themes <WRAP center round download 60%> **{{:manual:advanced:map_tools:locus_internal_theme_20170119.zip|locus_internal_theme_20170119.zip}} ** </WRAP>
  
-</WRAP>+----
  
-<WRAP box left>  
-  * Locus type: <html><b><a href="https://play.google.com/store/apps/details?id=menion.android.locus&amp;referrer=utm_source%3Ddocs%26utm_medium%3Dheader%26utm_content%3Dvector_maps_theme_config" target="_blank">Free</a>/<a href="https://play.google.com/store/apps/details?id=menion.android.locus.pro&amp;referrer=utm_source%3Ddocs%26utm_medium%3Dheader%26utm_content%3Dvector_maps_theme_config" target="_blank">Pro</a></b></html>, **2.5.0+** 
-  * Last updated manual: **2.5.0** 
-</WRAP> 
  
-===== 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 about tags =====+==== Detailed information about tags ====
  
-==== curve ==== +=== curve === 
-Add possibility to draw line extrapolated as curve. It helps in some situation to create "smooth" lines+Adds possibility to draw line extrapolated as 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"/>''
  
-==== bg-rect-* ====+=== bg-rect-* ===
  
-Background rectangle is very useful method how to draw nice looking rectangle on background of texts.+Background rectangle is very useful method of drawing a nicely looking rectangle as a background of texts.
  
   * bg-rect-fill   * bg-rect-fill
Line 148: Line 137:
   * used in: caption, pathText   * used in: caption, pathText
  
-==== fill ====+=== fill ===
  
-  * Fill colours of items. +  * Fills colours of items. 
   * value: colour   * value: colour
  
-==== force-draw ====+=== force-draw ===
  
-  * useful method to draw icon no matter if other overlay it or not+  * useful method of drawing an icon no matter if others overlay it or not
   * value: boolean   * value: boolean
  
-==== scale ====+=== scale ===
  
   * Scale symbol for drawing   * Scale symbol for drawing
Line 164: Line 153:
   * value: decimal number   * value: decimal number
  
-==== scale-icon-size ====+=== scale-icon-size ===
  
-  * Allow to scale symbol based on current zoom level. Very useful method how to increase size of symbols on map when you change zoom level. Method is defined by two values separated by comma, where 1. value is base zoom level, 2. value is exponent. Base scale value is from attribute **scale**.+  * Allows to scale 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**.
  
   * example: ''scale="1.5" scale-icon-size="12,1.1"''   * example: ''scale="1.5" scale-icon-size="12,1.1"''
Line 178: Line 167:
       * 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 colours for items.   * Stroke colours for items.
   * value: colour   * value: colour
  
-==== stroke-width ====+=== stroke-width ===
  
-  * Width of stroke colour+  * Width of stroke color
   * value: decimal number   * value: decimal number
  
-==== symbol-width, symbol-height ==== +=== symbol-width, symbol-height === 
-enables to resize symbol icon to specific width or height+enables to resize the symbol icon to specific width or height
   * value: decimal number   * value: decimal number
  
-==== upper-case ====+=== upper-case ===
  
-  * allow to display texts in upper-case+  * allows to display texts in upper-case
   * used in: caption, pathText   * used in: caption, pathText
   * value: boolean   * value: boolean
  
-===== Possible values =====+==== Possible values ====
  
-==== boolean ====+=== boolean ===
  
-Boolean value may be written as text ''true'', ''false'' or as an number ''1'' (as ''true''), ''0'' (as ''false'')+Boolean value may be written as text ''true'', ''false'' or as number ''1'' (as ''true''), ''0'' (as ''false'')
  
-==== colour ====+=== colour ===
  
-Supported formats are Supported formats are: #RRGGBB #AARRGGBB 'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta', 'yellow', 'lightgray', 'darkgray'+Supported formats are: #RRGGBB #AARRGGBB 'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta', 'yellow', 'lightgray', 'darkgray'
  
-==== decimal number ====+=== decimal number ===
  
 Common decimal number Common decimal number
manual/advanced/map_tools/theming.txt · Last modified: 2017/01/19 13:09 by voldapet