]> git.street.me.uk Git - andy/viking.git/blob - doc/examples/routing.xml
Some spelling fixes in a comment
[andy/viking.git] / doc / examples / routing.xml
1 <objects>
2   <!-- Note that OSRM no longer supports GPX output, so this example no longer works -->
3   <object class="VikRoutingWebEngine">
4     <property name="id">osrm</property>
5     <property name="label">OSRM</property>
6     <property name="format">gpx</property>
7     <property name="url-base">http://router.project-osrm.org/viaroute?output=gpx</property>
8     <property name="url-start-ll">&amp;loc=%s,%s</property>
9     <property name="url-stop-ll">&amp;loc=%s,%s</property>
10     <property name="url-via-ll">&amp;loc=%s,%s</property>
11   </object>
12   <!-- Note this no longer works as Google format has changed and GPSBabel (at time of writing) doesn't understand it -->
13   <object class="VikRoutingWebEngine">
14     <property name="id">google</property>
15     <property name="label">Google</property>
16     <property name="format">google</property>
17     <property name="url-base">http://maps.google.com/maps?output=js&amp;q=</property>
18     <property name="url-start-ll">from:%s,%s</property>
19     <property name="url-stop-ll">+to:%s,%s</property>
20     <property name="url-via-ll"></property>
21     <property name="referer">http://maps.google.com/</property>
22   </object>
23 </objects>
24