]> git.street.me.uk Git - andy/viking.git/blame - doc/examples/maps.xml
Enable boolean map configuration 'switch-xy' property to swap X,Y parts of the URL.
[andy/viking.git] / doc / examples / maps.xml
CommitLineData
29f1598c 1<!-- This file is an example for map source definitions. -->
df82a41c 2<objects>
29f1598c 3 <!-- The VikSlippyMapSource allows to declare any map's source working like OpenStreetMap. -->
1e824bca
GB
4 <object class="VikSlippyMapSource">
5 <property name="label">OpenStreetMap (Mapnik)</property>
6 <property name="hostname">tile.openstreetmap.org</property>
7 <property name="url">/%d/%d/%d.png</property>
8 <property name="id">13</property>
82aa018d 9 <property name="copyright">© OpenStreetMap contributors</property>
53ac8302
GB
10 <property name="license">CC-BY-SA</property>
11 <property name="license-url">http://www.openstreetmap.org/copyright</property>
1e824bca 12 </object>
29f1598c 13 <!-- The VikTmsMapSource allows to declare any TMS service. -->
dd84b6d1
GB
14 <object class="VikTmsMapSource">
15 <property name="id">50</property>
16 <property name="label">SPOTMaps</property>
17 <property name="hostname">spotmaps.youmapps.org</property>
18 <property name="url">/spotmaps4osm/1.0.0/spotmaps4osm/%d/%d/%d.jpg</property>
19 <property name="check-file-server-time">FALSE</property>
20 <property name="copyright">© Cnes/Spot Image</property>
21 <property name="license">CC-by-SA 2.0 / ODBl</property>
22 <property name="license-url">http://www.youmapps.org/licenses/EULA-OSM-en.html</property>
23 </object>
df82a41c 24</objects>