... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Google Map Links
#1
Hi

Your RouteConverter is just great. 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 trick is, that you just add "&output=kml" to the Google Maps URL. Now this currently does not work with RouteConverter, because you still have a "isGoogleMapsUrl" check inside NavigationFileParser.java. So your converter still tries to parse the URL as a standard google-maps link.

So there are two things you could do:
1.) Remove the "isGoogleMapsUrl" check in your code (line 200 or so in NavigationFileParser.java), so when I manually add "&output=kml" to the Google maps url, it will automatically choose the KML converter instead (This I'm currently doing)
2.) Add the "&output=kml" to the URL by yourself and convert it as normal KML, which already works fine with RouteConverter.

again, thanks your your great converter!
Michael
Reply


Messages In This Thread
Google Map Links - by kusmi - 10.08.2010, 13:21
RE: Google Map Links - by routeconverter - 11.08.2010, 09:45
RE: Google Map Links - by asp - 23.08.2010, 09:43
RE: Google Map Links - by routeconverter - 23.08.2010, 18:22

Forum Jump:


Users browsing this thread: 2 Guest(s)