Lennie
Lennie

Reputation: 2069

Where's MKMapPointForCoordinate in MonoTouch

Am implementing a class that extend MKOverlay, I can't find the MKMapPointForCoordinate function to do:

public override MKMapRect BoundingMapRect() {
    MKMapPoint upperLeft = MKMapPointForCoordinate(CLLocationCoordinate2DMake(Coordinate));
    return new MKMapRect();
}

Please advise where this method is?

My end result is that I want to place a image as a overlay on a map.

Upvotes: 2

Views: 477

Answers (1)

poupou
poupou

Reputation: 43553

In Xamarin.iOS the native function MKMapPointForCoordinate is exposed as MKMapPoint.FromCoordinate.

Upvotes: 9

Related Questions