I can only see
-getOverlays
-clearOverlays
-addOverlay
Thereby I can only create one at a time. I know with itemized you can delete certain ones but like I said I always want the route overlay to be visible and be able to draw the users current position with a cursor then when they move, remove that overlay and replace it where they are now all the while the route overlay exists.
Before I pour anymore time into this, can anyone let me know if it is even possible?
Looking for something like: (just pseudocode0
Using java Syntax Highlighting
- //REMEMBER JUST PSEUDOCODE
- MapOverlay mapper = new MapOverlay();
- CursorOverlay cursor = new CursorOverlay();
- add(mapper);
- add(cursor);
- invalidateMapview;
- Upon a location change{
- List overs = getListofOverlays();
- overs.remove(cursor);
- cursor=new CursorOverlay() <-based on current location
- overs.add(cursor);
- invalidateMapview;
- }
Parsed in 0.031 seconds, using GeSHi 1.0.8.4
THANKS IN ADVANCE, would love to find out if possible or not.


