I'm trying to get the following working.
When the app starts it locates your position...based on that position it adds markers on the map.
All objects (including your own location marker) are overlays.
On the location changed action your marker should move...but the other markers should remain on that position.
The problem lies in this piece of code:
It either removes all the overlays and redraw them on a new location (which is good for YOUR location, but not for the static markers which should be static after the starting position)
Or, when this is removed...it never removes a marker and keeps adding more overlays.
Static markers are made like this:
So it should get the first position from where you are standing and use that once.
Or...the remove function should just remove the dynamic overlay...but how?