MapKit.MKOverlayView.CanDrawMapRect Method
Returns true if the MapKit.MKOverlayView has the data it needs to draw properly.

Syntax

[Foundation.Export("canDrawMapRect:zoomScale:")]
public virtual bool CanDrawMapRect (MKMapRect mapRect, nfloat zoomScale)

Parameters

mapRect
A MapKit.MKMapRect representing the area to potentially be drawn.
zoomScale
The current scale factor.

Returns

The default value is true.

Remarks

Application developers can override this method so that it returns false until the MapKit.MKOverlayView has all the data it needs in order to render properly. For instance, a weather overlay might return false until it has downloaded meteorological data.

If application developers return false from this method, they must subsequently call MKOverlayView.SetNeedsDisplay when they have received the data and performed the calculations needed to make this function return true.

Requirements

Namespace: MapKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0