User Tools

Site Tools


manual:advanced:customization:config

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
manual:advanced:customization:config [2015/05/15 07:13]
mstupka created
manual:advanced:customization:config [2019/02/12 12:06]
mstupka [Activation]
Line 1: Line 1:
-====== ​Configuration File ======+====== ​Custom settings ​======
  
 ---- ----
-<WRAP todo round center 60%>This page is obsolete and will be reworked soon</​WRAP>​ +===== Expert settings ​===== 
-<WRAP box left>  +FIXME IN DEVELOPMENT... FIXME
-  * 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%3Dconfiguration_file"​ 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%3Dconfiguration_file"​ target="​_blank">​Pro</​a></​b></​html>,​ **2.3.2+** +
-  * Last updated manual: **2.3.2** +
-</​WRAP>​+
  
-===== Description =====+----
  
-  * Since version 2.3.2Locus offer advanced ​configuration possibilities through //config.cfg// file placed into **root directory of Locus** ​on your **card/memory**+Settings that are not essential for running of the app and overall user experienceSome of these settings were removed from the main settings because of weak usagesome were found redundant and some have purpose only for advanced ​Locus users. 
 +==== Activation ==== 
 +  ​long press Locus **main menu button** 
 +  ​tap **Expert settings** 
 +  * Expert settings appears in Locus Map settings ​
  
-  * This file is manually created when Locus starts for first (if not exist)Data are loaded at start and flushed in the end back to fileso if this file allow changing some settings that are also changeable in the application,​ settings will not be lost.+==== UI/UX ==== 
 +=== Open main menu by dragging === 
 +Turning this on enables you to open Locus main menu by swiping your device screen left edge to right. 
 +=== Confirm on exit === 
 +Turn this on if you need confirmation of Locus terminantion after double tapping hardware **back** button. 
 +==== Tracks ==== 
 +=== Fill color of chart with... === 
 +Custom settings of track/route chart line colors. 
 +==== Tools ==== 
 +  * **Scroll ​to zoom** 
 +  * **Record sensors data** 
 +==== Tweaks ==== 
 +  * **Map hardware acceleration** 
 +  * **Allow login over Google Play Services** - when switched offonly an e-mail login to Locus Store or Live Tracking is possible.
  
-===== Explanations of some parameters =====+FIXME TO BE CONTINUED... FIXME
  
-==== guiding_path_map_symbol ​====+===== Configuration file =====
  
-This parameter allows to define very precisely, shape and size of guiding lineBest is to explain it on default parameter.+  * Since version 2.3.2 Locus Map offers advanced configuration options through //​config.cfg//​ file stored in **Locus Map root directory** in your phone **memory**
  
-Baisc values are: **-8.0|-2.0|7.0|0.0|-8.0|2.0**+  ​This file is automatically created during Locus Map first start (if it does not exist from its previous installation)Data are loaded at start and stored back to file in the end, so even if this file allows changing some settings that are also changeable in the application,​ settings will not be lost.
  
-Imagine squared paper. Every two numbersmeans X and Y coordinates. So draw them. Result will be as on screen below. With same way, you may draw whatever symbol you want.+<WRAP center round info> 
 +As this method has become obsolete and is quite user unfriendlysettings included in this configuration file are going to be moved gradually to the **Expert settings** section above. 
 +</​WRAP>​
  
-{{ :​manual:​customization:​config_file_guiding_arrow.png |}}+==== Examples of some parameters ====
  
-===== Examples of some settings ​=====+=== guiding_path_map_symbol === 
 + 
 +This parameter allows to define very precisely the shape and size of the guiding line. Best is to explain it on the default parameter. 
 + 
 +Basic values are: **-8.0|-2.0|7.0|0.0|-8.0|2.0** 
 + 
 +Imagine squared paper. Each two numbers mean X and Y coordinates. So draw them. Result will be as in the picture below. The same way you may draw whatever symbol you want. 
 + 
 +{{ :​manual:​advanced:​customization:​config_file_guiding_arrow.png?​nolink |}} 
 + 
 +==== Examples of some settings ====
  
 ---- ----
-==== guiding_path_symbol ​====+=== guiding_path_symbol ===
  
-{{:manual:settings:​cfg_exmpl_guideline.png|}}+{{:manual:advanced:​customization:​cfg_exmpl_guideline.png?nolink|}}
 guiding_path_symbol=-20|0|-20|-10|0|-10|0|-20|20|0|0|20|0|10|-20|10 guiding_path_symbol=-20|0|-20|-10|0|-10|0|-20|20|0|0|20|0|10|-20|10
  
  
-{{:manual:settings:​cfg_exmpl_guideline2.png|}} ​+{{:manual:advanced:​customization:​cfg_exmpl_guideline2.png?nolink|}} 
 guiding_path_symbol=-11|0|-14|-5|5|0|-14|5 guiding_path_symbol=-11|0|-14|-5|5|0|-14|5
  
-<​html><​hr></​html>​ +\\  
-==== map items ==== +=== # MAP ITEMS STYLES ​===
 <​html>​ <​html>​
 <table border="​1"​ cellpadding="​0"​ cellspacing="​0">​ <table border="​1"​ cellpadding="​0"​ cellspacing="​0">​
Line 46: Line 71:
  
 <tr> <tr>
-<td style="​width: ​250px; background-color:​ rgb(230, 230, 230); font-weight:​ bold;">​keyword</​td>​+<td style="​width: ​285px; background-color:​ rgb(230, 230, 230); font-weight:​ bold;">​keyword</​td>​
 <td style="​width:​ 80px; text-align: center; background-color:​ rgb(230, 230, 230); font-weight:​ bold;">​default</​td>​ <td style="​width:​ 80px; text-align: center; background-color:​ rgb(230, 230, 230); font-weight:​ bold;">​default</​td>​
 </tr> </tr>
  
 <tr> <tr>
-<​td>​map_items_accuracy_circle_color</​td><​td style="​text-align:​ center; background-color:​ #0000FF;"><​font color=white>#0000FF</​font>​</td>+<​td>​map_items_accuracy_circle_color</​td><​td style="​text-align:​ center; background-color:​ #D0D0E0;">#​0000FF</​td>​
 </tr> </tr>
  
 <tr> <tr>
-<​td>​map_items_dynamic_altitude_font_size</​td><​td style="​text-align:​ center;">​14.0</​td>​+<​td>​map_items_dynamic_altitude_font_size</​td><​td style="​text-align:​ center;"​><b>14.0</b></td>
 </tr> </tr>
 <tr> <tr>
Line 65: Line 90:
  
 <tr> <tr>
-<​td>​map_items_time_rings_font_size</​td><​td style="​text-align:​ center;">​14.0</​td>​+<​td>​map_items_time_rings_font_size</​td><​td style="​text-align:​ center;"​><b>14.0</b></td>
 </tr> </tr>
 <tr> <tr>
Line 75: Line 100:
  
 <tr> <tr>
-<​td>​map_items_distance_rings_font_size</​td><​td style="​text-align:​ center;">​14.0</​td>​+<​td>​map_items_distance_rings_font_size</​td><​td style="​text-align:​ center;"​><b>14.0</b></td>
 </tr> </tr>
 <tr> <tr>
-<​td>​map_items_distance_rings_color</​td><​td style="​text-align:​ center; background-color:​ #C86400;">#​C86400</td>+<​td>​map_items_distance_rings_color</​td><​td style="​text-align:​ center; background-color:​ #3034D0;"><​font color=white>#C80000C8</​font>​</td>
 </tr> </tr>
 <tr> <tr>
 <​td>​map_items_distance_rings_color_bg</​td><​td style="​text-align:​ center; background-color:​ #​FFFFFF;">#​FFFFFF</​td>​ <​td>​map_items_distance_rings_color_bg</​td><​td style="​text-align:​ center; background-color:​ #​FFFFFF;">#​FFFFFF</​td>​
 +</tr>
 +
 +<tr>
 +<​td>​map_items_distance_rings_no_gps_color</​td><​td style="​text-align:​ center; background-color:​ #​9898E8;"><​font color=white>#​640000C8</​font></​td>​
 +</tr>
 +<tr>
 +<​td>​map_items_distance_rings_no_gps_color_bg</​td><​td style="​text-align:​ center; background-color:​ #​FFFFFF;">#​FFFFFF</​td>​
 </tr> </tr>
  
Line 99: Line 131:
  
 <tr> <tr>
-<​td>​map_items_line_to_gps_font_size</​td><​td style="​text-align:​ center;">​14.0</​td>​+<​td>​map_items_line_to_gps_font_size</​td><​td style="​text-align:​ center;"​><b>14.0</b></td>
 </tr> </tr>
 <tr> <tr>
Line 109: Line 141:
  
 <tr> <tr>
-<​td>​map_items_guiding_font_size</​td><​td style="​text-align:​ center;">​14.0</​td>​+<​td>​map_items_guiding_font_size</​td><​td style="​text-align:​ center;"​><b>14.0</b></td>
 </tr> </tr>
 <tr> <tr>
Line 121: Line 153:
 </​table>​ </​table>​
 </​html>​ </​html>​
 +
 +=== # MAP ITEMS ===
 +<​html>​
 +<table border="​1"​ cellpadding="​0"​ cellspacing="​0">​
 +<​tbody>​
 +<tr>
 +<td style="​width:​ 285px; background-color:​ rgb(230, 230, 230); font-weight:​ bold;">​keyword</​td>​
 +<td style="​width:​ 80px; text-align: center; background-color:​ rgb(230, 230, 230); font-weight:​ bold;">​default</​td>​
 +</tr>
 +<tr>
 +<​td>​map_items_labels_color_text</​td><​td style="​text-align:​ center; background-color:​ #​0A0A0A;"><​font color=white>#​0A0A0A</​font></​td>​
 +</tr>
 +<tr>
 +<​td>​map_items_labels_color_bg_normal</​td><​td style="​text-align:​ center; background-color:​ #​F0F0F0;">#​DCF0F0F0</​td>​
 +</tr>
 +<tr>
 +<​td>​map_items_labels_color_border_normal</​td><​td style="​text-align:​ center; background-color:​ #​383838;"><​font color=white>#​DC0A0A0A</​font></​td>​
 +</tr>
 +<tr>
 +<​td>​map_items_labels_color_bg_highlight</​td><​td style="​text-align:​ center; background-color:​ #​F0F0F0;">#​DCF0F0F0</​td>​
 +</tr>
 +<tr>
 +<​td>​map_items_labels_color_border_highlight</​td><​td style="​text-align:​ center; background-color:​ #​A02420;"><​font color=white>#​DC960A0A</​font></​td>​
 +</tr>
 +</​tbody>​
 +</​table>​
 +</​html>​
 +example of transparent label background:
 +
 +map_items_labels_color_text=#​0A0A0A\\
 +map_items_labels_color_bg_normal=#​4CF0F0F0\\
 +map_items_labels_color_border_normal=#​19F0F0F0\\
 +map_items_labels_color_bg_highlight=#​4CF0F0F0\\
 +map_items_labels_color_border_highlight=#​19F0F0F0\\
 +
 +see difference (default and customized) ​
 +
 +{{:​manual:​advanced:​customization:​cfg_item_label_default.png?​nolink&​150|}} {{:​manual:​advanced:​customization:​cfg_item_label_custom.png?​nolink&​150|}}
 +----
  
 [[http://​www.w3schools.com/​tags/​ref_colorpicker.asp|Colorpicker]] [[http://​www.w3schools.com/​tags/​ref_colorpicker.asp|Colorpicker]]
-<​html><​hr></​html>​+----
manual/advanced/customization/config.txt · Last modified: 2019/08/07 13:58 by mstupka