janitheshan
janitheshan

Reputation: 325

Google maps kml file in android

In my android app when I try to get KML file using below URL it gives me wrong KML file which is having wrong coordinates. Starting coordinate also wrong. Please someone help me with this.

here is my url,

http://maps.google.com/maps?f=d&hl=en&saddr=6.842001,79.911102&daddr=7.145981,80.285752&ie=UTF8&0&om=0&output=kml

the kml file coordinates starts with "79.910970,6.842550"

Upvotes: 0

Views: 839

Answers (1)

Reno
Reno

Reputation: 33782

It takes 0 seconds to move from 6.842001,79.911102 to 6.842550, 79.910970

So what Google probably did is moved the starting point to the center of the road, as per its map matching algorithm

Upvotes: 1

Related Questions