Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
en:help:v2:maps:on-demand-create [2019/05/01 09:45] – alpinequest | en:help:v2:maps:on-demand-create [2019/06/12 15:33] – [WMTS server] alpinequest |
---|
| |
The ''"**set**"'' attribute defines the name of the custom variable, the ''"**type**"'' attribute tells how to display the variable (either ''"**int**"'', ''"**long**"'', ''"**float**"'' or ''"**double**"''). | The ''"**set**"'' attribute defines the name of the custom variable, the ''"**type**"'' attribute tells how to display the variable (either ''"**int**"'', ''"**long**"'', ''"**float**"'' or ''"**double**"''). |
| |
| Most common functions and operators can be used, for example ''"**abs(x)**"'', ''"**sqrt(x)**"'', ''"**hypot(x,y)**"'', ''"**cos(x)**"'', ''"**charat(str,index)**"'', ''"**replace(str,target,replace)**"'', ''"**deg_to_rad(x)**"'', ''"**dist_eucl(x1,y1,x2,y2)**"'', ''"**md5(str)**"'', ''"**rand_uni()**"'', ''"**quadtree(x,y,z)**"'', etc. |
| |
\\ | \\ |
<projection-offset-y>-800000.0</projection-offset-y><!-- optional, default is 0 --> | <projection-offset-y>-800000.0</projection-offset-y><!-- optional, default is 0 --> |
<tiles-size>256</tiles-size><!-- optional, default is 256 --> | <tiles-size>256</tiles-size><!-- optional, default is 256 --> |
<tiles-bounds>104,80,527,423</tiles-bounds><!-- optional --> | <tiles-bounds>104,80,527,423</tiles-bounds><!-- optional, expressed as "min x,min y,max x,max y" --> |
<referer>http://server.example.com/wmts/</referer><!-- optional, default is empty --> | <referer>http://server.example.com/wmts/</referer><!-- optional, default is empty --> |
<server>http://server.example.com/wmts/{$z}/{$y}/{$x}.png</server> | <server>http://server.example.com/wmts/{$z}/{$y}/{$x}.png</server> |