tag:blogger.com,1999:blog-17211474.post4102965125627689865..comments2023-06-24T06:01:53.339-07:00Comments on Spinning the Web: iOS 4 and Map Kit Overlays with MonoTouchTron5000http://www.blogger.com/profile/02683169629309076666noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-17211474.post-52866374177247336042010-09-29T14:41:41.981-07:002010-09-29T14:41:41.981-07:00Thanks for the tip, Mike!Thanks for the tip, Mike!Tron5000https://www.blogger.com/profile/02683169629309076666noreply@blogger.comtag:blogger.com,1999:blog-17211474.post-29807436704639565632010-09-29T14:16:54.403-07:002010-09-29T14:16:54.403-07:00Nice post! FYI, you don't need to pass the MKC...Nice post! FYI, you don't need to pass the MKCircle to to your delegate via it's constructor. The second argument to the GetViewForOverlay method contains the MKOverlay; just cast it to your MKOverlay subclass (MKCircle in your case).<br /><br />Cheers,<br />MikeMikehttp://mikebluestein.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-17211474.post-41145466126079044142010-07-11T21:37:17.615-07:002010-07-11T21:37:17.615-07:00Good thoughts. For myself the MKMapView delegate ...Good thoughts. For myself the MKMapView delegate property ended up doing the job but I could see how using a C# delegate would be a much cleaner implementation.Tron5000https://www.blogger.com/profile/02683169629309076666noreply@blogger.comtag:blogger.com,1999:blog-17211474.post-44315533124369383432010-07-11T16:12:19.624-07:002010-07-11T16:12:19.624-07:00Thanks for the post - very interesting. I've r...Thanks for the post - very interesting. I've recently coded this type of functionality myself using overlaid custom views and annotations.<br /><br />One thing I've recently discovered is that MonoTouch doesn't seem to like the Delegate member any more - it seems more reliable to use the callback instead - e.g. mapKitView.GetViewForAnnotation = delegate...Slodgehttps://www.blogger.com/profile/17827379022934338119noreply@blogger.com