Is this the only/best/quickest way to remove all annotations from a MapView
(except for the one for the user's location)?

foreach (NSObject annotation in map.Annotations) {
        if (!(annotation is MKUserLocation)) {
                mvMap.RemoveAnnotation (annotation);
        }
}

I've been having trouble with adding annotations to maps, but I got there in
the end. It's more work than I was expecting tbh.


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Removing-all-annotations-from-a-MapView-tp3986809p3986809.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to