]> git.street.me.uk Git - andy/viking.git/blob - doc/examples/routing.xml
Generalize routing engine
[andy/viking.git] / doc / examples / routing.xml
1 <objects>
2   <object class="VikRoutingWebEngine">
3     <property name="id">osrm</property>
4     <property name="label">OSRM</property>
5     <property name="format">gpx</property>
6     <property name="url-base">http://router.project-osrm.org/viaroute?output=gpx</property>
7     <property name="url-start-ll">&amp;loc=%s,%s</property>
8     <property name="url-stop-ll">&amp;loc=%s,%s</property>
9     <property name="url-via-ll">&amp;loc=%s,%s</property>
10   </object>
11   <object class="VikRoutingWebEngine">
12     <property name="id">google</property>
13     <property name="label">Google</property>
14     <property name="format">google</property>
15     <property name="url-base">http://maps.google.com/maps?output=js&amp;q=</property>
16     <property name="url-start-ll">from:%s,%s</property>
17     <property name="url-stop-ll">+to:%s,%s</property>
18     <property name="url-via-ll"></property>
19     <property name="referer">http://maps.google.com/</property>
20   </object>
21 </objects>
22