This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
manual:advanced:customization:online_maps [2017/08/14 15:44] – mstupka | manual:advanced:customization:online_maps [2019/07/03 16:33] (current) – mstupka | ||
---|---|---|---|
Line 24: | Line 24: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
< | < | ||
< | < | ||
+ | < | ||
< | < | ||
</ | </ | ||
Line 34: | Line 35: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
< | < | ||
< | < | ||
+ | < | ||
< | < | ||
</ | </ | ||
Line 44: | Line 46: | ||
< | < | ||
< | < | ||
- | < | + | < |
< | < | ||
< | < | ||
< | < | ||
< | < | ||
+ | < | ||
< | < | ||
< | < | ||
Line 77: | Line 80: | ||
* **{y}** - replaces | * **{y}** - replaces | ||
* **{z}** - replaces zoom level after **zoomPart** computation is applied | * **{z}** - replaces zoom level after **zoomPart** computation is applied | ||
+ | * **{ts}** - tileScale replaces value | ||
* **{s}** (optional) - replaces the server text | * **{s}** (optional) - replaces the server text | ||
* **serverPart** - {s} item can be defined in the main url. In serverPart an array of items can then be defined | * **serverPart** - {s} item can be defined in the main url. In serverPart an array of items can then be defined | ||
Line 83: | Line 87: | ||
* **zoomMax** - maximum zoom | * **zoomMax** - maximum zoom | ||
* **tileSize** - size of tiles in pixels | * **tileSize** - size of tiles in pixels | ||
+ | * **tileScale** - defines scaling factor (multi) to be 2x, DPI to which to apply (dpi, 0 = all devices) and value that will be replaced in url (// | ||
* **countries** - list of countries (separated by commas) relevant for the map. These values are used for separating maps in " | * **countries** - list of countries (separated by commas) relevant for the map. These values are used for separating maps in " | ||
* **usage** - list of possible usages of this map (separated by commas). Current options are: //aero, city, cycle, hiking, nautical, overlay, photo, road, ski, transport// | * **usage** - list of possible usages of this map (separated by commas). Current options are: //aero, city, cycle, hiking, nautical, overlay, photo, road, ski, transport// | ||
Line 117: | Line 122: | ||
==== Disabling map downloading limit ==== | ==== Disabling map downloading limit ==== | ||
If you operate your own map tile server you may need to **cancel tile downloading limit** that is set in Locus by default in order to maintain decent downloading traffic per application: | If you operate your own map tile server you may need to **cancel tile downloading limit** that is set in Locus by default in order to maintain decent downloading traffic per application: | ||
- | - Enable mod_headers: | + | - **Enable mod_headers**: sudo a2enmod headers |
- | - Edit the Apache configuration file (/ | + | - **Edit the Apache configuration file** (/ |