Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
en:help:v2:maps:on-demand-create [2023/04/26 15:36] alpinequesten:help:v2:maps:on-demand-create [2023/04/26 15:37] – [Custom variables] alpinequest
Line 245: Line 245:
 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 ''**<expression>**'' tag and custom variables can only be used inside the zoom levels definition (i.e. the ''**<zoom-levels>**'' tag). 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.]]