Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:help:v2:maps:on-demand-create [2023/04/20 04:19] alpinequesten:help:v2:maps:on-demand-create [2025/05/01 13:48] (current) psyberia
Line 60: Line 60:
     <outline>2.54,49.49 2.54,51.51 6.41,51.51 6.41,49.49</outline>     <outline>2.54,49.49 2.54,51.51 6.41,51.51 6.41,49.49</outline>
     <preview-location>5.90,44.80,12</preview-location>     <preview-location>5.90,44.80,12</preview-location>
 +    <default-location>5.90,44.80</default-location>
  
     <zoom-levels z="1,3,5,7,8,9,10,11,12,13,14,15,16,17" insecure="true">     <zoom-levels z="1,3,5,7,8,9,10,11,12,13,14,15,16,17" insecure="true">
Line 86: Line 87:
 The ''**<preview-location>**'' tag (approximate longitude, latitude and OSM zoom id) allows the application to display the map with a preview background: The ''**<preview-location>**'' tag (approximate longitude, latitude and OSM zoom id) allows the application to display the map with a preview background:
 {{ :en:help:v2:maps:on-demand-create-preview-2.jpg?nolink }} {{ :en:help:v2:maps:on-demand-create-preview-2.jpg?nolink }}
 +
 +The ''**<default-location>**'' tag (longitude, latitude) defines the location to move on when this map is displayed over a location that is not covered.
  
 The ''"**insecure**"'' attribute tells the application to accepts all HTTPS certificates without checking them (usually fixes most SSL related issues). The ''"**insecure**"'' attribute tells the application to accepts all HTTPS certificates without checking them (usually fixes most SSL related issues).
Line 245: Line 248:
 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. 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.
  
-The usual operator precedence is followed.+The ''**<expression>**'' tag and custom variables can only be used inside the zoom levels definition (i.e. a ''**<zoom-level>**'' and ''**<zoom-levels>**'' tag). The usual operator precedence is followed.
  
 [[en:help:v2:maps:on-demand-create#inline_expressions|See here for more details on available operators and functions.]] [[en:help:v2:maps:on-demand-create#inline_expressions|See here for more details on available operators and functions.]]
Line 329: Line 332:
  
 ===== Appendices ===== ===== Appendices =====
- 
-==== AQX versions ==== 
-\\ 
-^  AQX file version  ^  Min. app version  ^  Notable changes  ^ 
-|  12  |  2.3.3  | Map resolution for geodetic CRS now expressed in deg/px instead of m/px. Default CRS for WMS BBOX is now EPSG:3857 (WGS 84 / Pseudo-Mercator). Added support for ''**sha1**'' and ''**hash**'' hash functions.  | 
-|  11  |  2.3.0  | Added support for ''**polar stereographic**'' projections.  | 
-|  10  |  2.2.5  | Added support for composite sources. Added support for ''**insecure**'' parameter. Added support for ''**unixtime**'' and ''**tostring(int,radix)**'' functions. Added support for ''**{$y!}**'' variable.  | 
-|  9  |  2.0.4  | Added support for ''**default-location**'' tag. Added support for ''**china-offset**'' and ''**clear-color**'' parameters. Added support for ''**md5**'' function. Sources parameter ''**opacity**'' expressed in percent (0-100) instead of 0-255.  | 
-|  8  |  2.0.0  | Added support for ''**zoom-level**'' and ''**zoom-levels**'' definitions. Added support for ''**replace**'' and ''**format**'' functions.  | 
- 
-\\ 
  
 ==== Inline expressions ==== ==== Inline expressions ====
Line 424: Line 416:
 <sup>1. Available from AQ 2.2.8c</sup> <sup>1. Available from AQ 2.2.8c</sup>
  
 +\\
 +
 +==== AQX versions ====
 +\\
 +^  AQX file version  ^  Min. app version  ^  Notable changes  ^
 +|  13  |  2.3.9b  | Added support for dynamic map parameters, including Yeti service input form.  |
 +|  12  |  2.3.3  | Map resolution for geodetic CRS now expressed in deg/px instead of m/px. Default CRS for WMS BBOX is now EPSG:3857 (WGS 84 / Pseudo-Mercator). Added support for ''**sha1**'' and ''**hash**'' hash functions.  |
 +|  11  |  2.3.0  | Added support for ''**polar stereographic**'' projections.  |
 +|  10  |  2.2.5  | Added support for composite sources. Added support for ''**insecure**'' parameter. Added support for ''**unixtime**'' and ''**tostring(int,radix)**'' functions. Added support for ''**{$y!}**'' variable.  |
 +|  9  |  2.0.4  | Added support for ''**default-location**'' tag. Added support for ''**china-offset**'' and ''**clear-color**'' parameters. Added support for ''**md5**'' function. Sources parameter ''**opacity**'' expressed in percent (0-100) instead of 0-255.  |
 +|  8  |  2.0.0  | Added support for ''**zoom-level**'' and ''**zoom-levels**'' definitions. Added support for ''**replace**'' and ''**format**'' functions.  |