]> git.street.me.uk Git - andy/viking.git/blame - doc/examples/routing.xml
Actually use the calculated scale factor in the viewport
[andy/viking.git] / doc / examples / routing.xml
CommitLineData
b44a5ac5 1<objects>
d475a88c 2 <!-- Note that OSRM no longer supports GPX output, so this example no longer works -->
b44a5ac5
GB
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>
d475a88c 12 <!-- Note this no longer works as Google format has changed and GPSBabel (at time of writing) doesn't understand it -->
b44a5ac5
GB
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