Profete162 wrote:Hi there.
I feel stupid to ask that, but how is that possible to remove an overlay from the map??
Because if i need to compute 2 or 3 directions, the old one still shows on the map!
Profete162 wrote:Hi Mathias,
The solution you gave mapView.getOverlays().remove(object/int) was what i was working with. It worked perfectly with the index. But as the index has to be calculated is there a simple way to say this: ?
"remove if mMapView01.getOverlays().get(pos).getClass()== blabla.blabla.MyOverLay" or something like that?
For your question, i just copied the code given on your link and all worked perfectly at the first try. I feel really happy with this code but i only tried it for a few minuts and worked 100%
plusminus wrote:I have posted another tutorial that gets the DrivingDirections via an URL-Call and parses the JSON response.
mirathis wrote:plusminus wrote::arrow: http://href.to/jNe
Is this where you "the DrivingDirections via an URL-Call and parses the JSON response?"
I followed your above link, but could not find the tutorial. What is the name of the post?
Users browsing this forum: No registered users and 2 guests