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
Last revisionBoth sides next revision
en:help:1.4:maps:stored-create [2014/07/20 11:51] alpinequesten:help:1.4:maps:stored-create [2015/01/19 16:04] alpinequest
Line 6: Line 6:
  
 Stored maps are defined using an XML based file format offering a powerful configuration flexibility. Files must have an "''**.aqx**''" extension to be recognized by the application. These AQX files must be placed on the device memory like an on-board map, and selected be added to the stored map list. Stored maps are defined using an XML based file format offering a powerful configuration flexibility. Files must have an "''**.aqx**''" extension to be recognized by the application. These AQX files must be placed on the device memory like an on-board map, and selected be added to the stored map list.
 +
 +{{:icon_help.png?nolink}} Be sure to use the last application version.
  
  
Line 16: Line 18:
 <aqx version="3"> <aqx version="3">
  
-  <name>Map Examples</name>+  <name>Basic Map Examples</name>
  
   <source id="ID1">   <source id="ID1">
-    <name>Map Example</name> +    <name>Basic Map Example</name> 
-    <level type="rest">+    <level>
       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>
       <servers>       <servers>
Line 32: Line 34:
 </aqx> </aqx>
 </file> </file>
-\\ + 
-\\ +This example is composed of the following required elements:
-This example is composed of the following required elements:\\ +
-\\+
  
   * The generic XML and AQX declarations:   * The generic XML and AQX declarations:
Line 45: Line 45:
  
   * The name of the AQX file maps set:   * The name of the AQX file maps set:
-<code xml><name>Map Examples</name></code>+<code xml><name>Basic Map Examples</name></code>
 \\ \\
  
Line 56: Line 56:
  
   * The name of the map:   * The name of the map:
-<code xml><name>Map Example</name></code>+<code xml><name>Basic Map Example</name></code>
 \\ \\
  
   * The definition of the zoom levels of the map:   * The definition of the zoom levels of the map:
-<code xml><level type="rest"></code>+<code xml><level></code>
 The "''**type**''" attribute specify type of the tile server being accessed. Use "''**rest**''" for OSM-like server.\\ The "''**type**''" attribute specify type of the tile server being accessed. Use "''**rest**''" for OSM-like server.\\
 \\ \\
Line 89: Line 89:
 <aqx version="3"> <aqx version="3">
  
-  <name>Map Examples</name>+  <name>Advanced Map Examples</name>
  
   <source id="ID1_1">   <source id="ID1_1">
-    <name>Map Example 1</name>+    <name>Advanced Map Example 1</name>
     <description>Description</description>     <description>Description</description>
     <data-source>http://www.example.com/viewer/</data-source>     <data-source>http://www.example.com/viewer/</data-source>
Line 98: Line 98:
     <copyright>2014 Example</copyright>     <copyright>2014 Example</copyright>
     <icon-data>(base 64 encoded 69*69px icon data)</icon-data>     <icon-data>(base 64 encoded 69*69px icon data)</icon-data>
-    <level type="rest">+    <key-url>http://url-of-map-key</key-url> 
 +    <level>
       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>
       <tiles-size>256</tiles-size>       <tiles-size>256</tiles-size>
Line 113: Line 114:
      
   <source id="ID1_2" layer="true">   <source id="ID1_2" layer="true">
-    <name>Map Example 2</name>+    <name>Advanced Map Example 2</name>
     <description><![CDATA[<html>HTML description...</html>]]></description>     <description><![CDATA[<html>HTML description...</html>]]></description>
-    <level type="rest">+    <level>
       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>
       <server>http://server.example.com/tiles/{$z}/{$x}/{$y}.png</server>       <server>http://server.example.com/tiles/{$z}/{$x}/{$y}.png</server>
Line 132: Line 133:
   <source id="ID2">   <source id="ID2">
     <name>Quadtree Map Example</name>     <name>Quadtree Map Example</name>
-    <level type="rest">+    <level>
       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>
       <servers>       <servers>
Line 175: Line 176:
   <source id="ID4">   <source id="ID4">
     <name>WMS Map Example</name>     <name>WMS Map Example</name>
-    <level type="wms">+    <level>
       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>       <zoom-values>5,7,9,11,12,13,14,15,16,17</zoom-values>
       <servers>       <servers>
Line 232: Line 233:
     <name>Mixed Map Example</name>     <name>Mixed Map Example</name>
          
-    <level type="rest">+    <level>
       <zoom-values>5,7,9,11,12</zoom-values>       <zoom-values>5,7,9,11,12</zoom-values>
       <servers>       <servers>
Line 241: Line 242:
     </level>     </level>
          
-    <level type="wms">+    <level>
       <zoom-values>13,14,15,16,17</zoom-values>       <zoom-values>13,14,15,16,17</zoom-values>
       <servers>       <servers>