문제

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.

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top