cannot draw path on Android GoogleMaps
I'm using the algorithm provided here J2ME/Android/BlackBerry - driving directions, route between two locations for drawing a route on the map. But some times, even if i have all the point to be drawn, the path displayed on the map isn't complete.
开发者_运维技巧Can somebody tell me why? Thanks!
finnally I found the answer: on the KML file tag "coordinates" apears more that once when the route is a long one. The alghoritm uses an array to store coordinates, that is initialized every time the tag coordinates apear in the KML file. All you have to do is to store cordinates in an ArrayList.
精彩评论