Siirry sisältöön

Ero sivun ”Journeys API” versioiden välillä

517 merkkiä lisätty ,  6. lokakuuta 2014 kello 00.56
Rivi 255: Rivi 255:
</pre>
</pre>


a client would decode the field by following procedure:
a client would decode the field by substracting delta lon2 from lon1 as well as substracting delta lat2 from lat1 and dividing result with 1e5. This would result in a coordinate pair from which delta lat3 and delta lon3 could again be substracted and so on. First lat1 and lon1 should be just divided with 1e5. For example:


First : separated value is 6131429,2375268. First pair of coordinates can be obtained by dividing comma separated values with 1e5. Therefore first coordinate pair would be
<pre>
lat: 6131429 / 10000
lon: 2375268 / 10000


==> 61.31429,23.75268
</pre>


A client can search ROUTES by issuing following requests:<br>
A client can search ROUTES by issuing following requests:<br>
0

muokkausta