Skip to content

Instantly share code, notes, and snippets.

@christopherhouse
Created May 10, 2013 00:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christopherhouse/5551553 to your computer and use it in GitHub Desktop.
Save christopherhouse/5551553 to your computer and use it in GitHub Desktop.
public class MapDelegate : MKMapViewDelegate
{
public override MonoTouch.MapKit.MKOverlayView GetViewForOverlay (MKMapView mapView, NSObject overlay)
{
MKPolygon polygon = overlay as MKPolygon;
MKPolygonView polygonView = new MKPolygonView(polygon);
polygonView.FillColor = UIColor.Purple;
return polygonView;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment