Maps GLLayer Error
data class MapsGLLayerError(val reason: MapsGLLayerError.Reason, val layerCode: String?, val layerId: String?, val message: String, val cause: Throwable? = null)
A layer that could not be added, or could not draw, reported on MapController.onLayerError (and MapController.onLayerErrorValue for flow collectors).
A weather layer failing never takes the host app down - see MapController.reportLayerError - but until this callback existed the app had no way to learn it happened, so a missing layer was indistinguishable from one that simply had no data. Observe this to fall back to another product, drop the entry from a layer menu, or attach the driver's own words to a bug report.
Constructors
Link copied to clipboard
constructor(reason: MapsGLLayerError.Reason, layerCode: String?, layerId: String?, message: String, cause: Throwable? = null)
Properties
Link copied to clipboard
The weather layer code (e.g. "wind-particles"), when the failure is attributable to one; empty or null for layers added outside MapController.addWeatherLayer.
Link copied to clipboard
What kind of failure this is; see Reason.