Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

What is MKOverlayWrapper? It's breaking my map renderer...

$
0
0

After updating to the Unified API, I started seeing a MKOverlayWrapper being passed into a method in my custom MapRenderer:

public override MKOverlayRenderer OverlayRenderer(MKMapView mapView, IMKOverlay overlay)

The second parameter (IMKOverlay) is now of type MKOverlayWrapper, and there is no way to cast an MKOverlayWrapper to the type of my actual overlays, MKPolyline. Anyone have an idea how to fix this?


Viewing all articles
Browse latest Browse all 58056

Trending Articles