Hi, first I'd like to show you something, and then ask questions how to make it better.
---------- Google MyMaps --> OsmAnd
One of the best things about OsmAnd is that we're able to stay offline and navigate. A part of that should also be saved markers. Correct me if I'm wrong, but we don't have an online, collaborative way to do this with OsmAnd.
I did this simple solution needed for my project:
http://totalism.org/mapsIt uses Google MyMaps, and offers .GPX endpoints.
It does this via a .PHP script that converts the native .KMZ, a zipped .KML, to .GPX, , wrapping gpsbabel.
I'm able to open it in browser on my mobile device, and then "import" it as OsmAnd markers.
The whole thing is a few lines of PHP:
http://totalism.org/E2H/kmz2gpx.php?LINK=z2VTgpJjSQEo.kYW_4SV5qz-U&NAME=Bologna,%20ItalyI didn't put it on github yet but will if there's interest.
- "LINK" parameter is the google "mid",
- "NAME" is a suffix to the .GPX file.
---------- How to improve this by having typed markers?
The marker
types, however, are lost in the process.
- Does anyone here know .GPX enough to say it supports something like this (marker color / ico / type)?
- Could some of the developers give me some pointers where in the source to look for this? (.GPX file handling) I might take on it myself but would appreciate somebody to help me find my way in the code. Feel free to reach out to me ...
da...@middlemachine.com - Are there other good ways to have offline maps + offline markers (with OsmAnd)?
Thanks
David