11.08.2010, 09:45
(10.08.2010, 13:21)kusmi Wrote: Your RouteConverter is just great.
Hi Michael,
thank you.
(10.08.2010, 13:21)kusmi Wrote: On thing I just found is about handling Google Map links. I know you state it's currently broken, but for my own purposes I provided a small fix, perhaps you would like to incorporate it in your own code as well.
The Google Maps link handling is not completely broken, it's just not perfect

I've changed RouteConverter to automatically append &output=kml to Google Maps URLs and parse the KML result. Please try the latest prerelease and report.
Two observations I've made while playing around with Google Maps URLs:
- the KML file contains a waypoint list and a track and no track
- the waypoint list is displayed first and I guess most users would expect the route view
- the last position of the Google Maps URL sometimes was some invalid position
Since a lot of people plan in Google Maps I guess this should be optimized to show just a route and omit the last position, shouldn't it?
--
Christian
Christian