This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| manual:advanced:customization:online_maps [2016/10/04 14:49] – 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 114: | Line 119: | ||
| Another sample of custom online map can be Strava Global Heatmap XML file that we prepared together with our users. It contains cycling and running layers and can be downloaded {{: | Another sample of custom online map can be Strava Global Heatmap XML file that we prepared together with our users. It contains cycling and running layers and can be downloaded {{: | ||
| </ | </ | ||
| + | ===== Own Open Map Tile Server ===== | ||
| + | ==== 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: | ||
| + | - **Enable mod_headers**: | ||
| + | - **Edit the Apache configuration file** (/ | ||