OverlayDrawFailedMapViewEventArgs¶
Namespace: ThinkGeo.UI.Maui
An overlay that could not draw itself, and the exception that stopped it.
Drawing is a loop over the overlays, and a failure used to end that loop: the basemap was often still waiting its turn, so one decoration throwing left the map blank with nothing said. The loop now carries on and reports here instead, which is the only place an application can learn that a layer is missing. The debug log says the same thing, but only to an application that asked for logging before the failure happened.
public class OverlayDrawFailedMapViewEventArgs : System.EventArgs
Inheritance object → EventArgs → OverlayDrawFailedMapViewEventArgs
Properties¶
Overlay¶
Gets the overlay that failed to draw.
public Overlay Overlay { get; }
Property Value¶
Error¶
Gets the exception that stopped it.
public Exception Error { get; }
Property Value¶
Constructors¶
OverlayDrawFailedMapViewEventArgs(Overlay, Exception)¶
Initializes a new instance of the OverlayDrawFailedMapViewEventArgs class.
public OverlayDrawFailedMapViewEventArgs(Overlay overlay, Exception error)
Parameters¶
overlay Overlay
The overlay that failed to draw.
error Exception
The exception it failed with.