Hello, I want to draw a bus route in my map, but I don't like the normal way where I need to add all the GeoPoints. I have my route in a gpx and it exists drawn in OpenStreetMap too. Could I draw it the other easier way? Thanks a lot asked 08 Jan '14, 23:01 marioerro edited 09 Jan '14, 09:38 iii |
Did you already tried to parse the GPX and add the points to an overlay? https://stackoverflow.com/questions/16708071/draw-overlayways-with-mapsforge
Yes, but there are a lot of points, I'm looking for a easier way. Thanks for your response
Hmm but the amount of points shouldn't be a problem if Mapsforge itself uses spatial structures to organize the data you add to the layer. Also they should provide an begin/end update-methods so the redraw doesn't trigger while you add the data point by point ... (but I don't have any experience on this framework, sry)