Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
en:help:maps:stored:custom [2019/05/01 09:55] – alpinequest | en:help:maps:stored:custom [2021/05/03 18:02] – [Basic example] psyberia |
---|
====== How to create a custom map? ====== | ====== How to create a custom map? ====== |
\\ | \\ |
The application uses an XML based format for its maps configuration. Files must have an ''"**.aqx**"'' extention and be placed in the ''"**[application folder]/cache/custom-maps/**"'' folder. | The application uses an XML based format for its maps configuration. Files must have an ''"**.aqx**"'' extension and be placed in the ''"**[application folder]/datastore/custom-maps/**"'' folder (you may need to create the ''"**custom-maps**"'' sub-folder if it doesn't exist). |
| |
See [[en:help:settings:storage#how_to_locate_the_application_folder|how to locate the application folder here]]. | See [[en:help:settings:storage#how_to_locate_the_application_folder|how to locate the application folder here]]. |
Note that the application will recognize the ''**{$x}**'', ''**{$y}**'' and ''**{$z}**'' variable and replace them with correct values. | Note that the application will recognize the ''**{$x}**'', ''**{$y}**'' and ''**{$z}**'' variable and replace them with correct values. |
| |
The source ''"**id**"'' field must be unique in the file, and contains only characters and numbers. It is used internally by the application to identify the data storage of the map. | The source ''"**id**"'' field must be unique in the file, and should only contain characters and numbers. It is used internally by the application to identify the data storage of the map. |
| |
\\ | \\ |
<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> |