User Tools

Site Tools


manual:advanced:customization:online_maps

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:advanced:customization:online_maps [2015/11/12 12:33]
mstupka
manual:advanced:customization:online_maps [2016/10/04 14:49]
mstupka
Line 78: Line 78:
     * **{z}** - replaces zoom level after **zoomPart** computation is applied     * **{z}** - replaces zoom level after **zoomPart** computation is applied
     * **{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  that will be randomly set as {s} item. So for example <serverPart>0;1;2</serverPart> and url started as <url><![CDATA[http://tiles{s}.open ..... {z}/{x}/{y}.png]]></url> will set every call to be randomly http://tiles0.open..., or http://tiles1.open..., or http://tiles2.open...+  * **serverPart** - {s} item can be defined in the main url. In serverPart an array of items can then be defined  that will be randomly set as {s} item. So for example <serverPart>0;1;2</serverPart> and url started as <url><![CDATA[http://tiles{s}.open ..... {z}/{x}/{y}.png]]></url> will set every call to be randomly http://tiles0.open..., or http://tiles1.open..., or http://tiles2.open...\\ **ServerPart** parameter can be also defined by //x, y// and parameters in a simple mathematic formula:\\ <code> <serverPart>({x}+{y})%4</serverPart></code>
   * **zoomPart** - {z}-8 - syntax for recomputing correct zoom value for the request. This value is usually Zoom - minimum zoom, but can be different   * **zoomPart** - {z}-8 - syntax for recomputing correct zoom value for the request. This value is usually Zoom - minimum zoom, but can be different
   * **zoomMin** - minimum zoom   * **zoomMin** - minimum zoom
manual/advanced/customization/online_maps.txt · Last modified: 2019/07/03 16:33 by mstupka