I'm trying to add markers to a Google Maps activity. I tested some code examples - mostly the ones from Tomasz Cielecki. The code I'm playing around with is this basic example https://github.com/Cheesebaron/MonoDroid.SimpleOverlayItem.
It works as long as I do not try to set my own marker like this : <code> var test = new MyOverlayItem(new GeoPoint(53, 09), "test", "test test", new float[] { 121212 }); test.SetMarker(marker); myItemizedOverlay.OverlayItems.Add(test); </code> The app always crashes unexpected right after I hit this method. public override int Size() { return overlayItems.Count; } Can anybody point me in the right direction or can provide me with a working code example? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Add-a-marker-on-Google-Maps-activity-tp5082256p5082256.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid