I’m creating a Maps applicition on Android. I had my location in an ItemizedOverlay, displaying a man-icon (similar to the yellow streetview marker). Then I wanted to add a layer with markers, so I created another ItemizedOverlay. But I can’t seem to add that to my MapView. As soon as I do that, I get a Forced Close.

Changing the first ItemizedOverlay to a MyLocationOverlay does not do the trick, the FC still kicks in as soon as I try to add the second overlay. I must be doing something wrong…….

Update: the initial code was created very late at night. And then things get mixed up. Don’t use before instantiate….DUH. Needless to say, it works now 😉