Most excellent, thanks Miguel! Looks like @Gusman was on the right track,
just needed to apply the thinking to both params.

That got me past the error I reported. I then had to apply the good thinking
on  this discussion
<http://stackoverflow.com/questions/11655354/getting-an-objective-c-class-name-without-having-a-monotouch-managed-class>
  
to get the "real" class name underneath the UIView (although it was
interesting to see all my UIViews suddenly stop drawing briefly ;-) I used
the GetClassName function given in that post instead of simply calling
"vkmapCanvas.GetType ()" (from the DisableBaseMap method).

It "looked" like I might be done at this point. But unfortunately now the
callback is NOT being executed and there is no visible change in the
map/app. Given that the callback seemed to work when I accidentally passed
in UIView for the class, I must either still have the wrong view type...or
the drawing method used is different now. All the posts I found were
pre-ios6 which I am running on now. Will continue to poke at this...

Dennis






--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Disable-mapkit-basemap-tp4657590p4657610.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