layout: default title: LayerViewCreateErrorEvent parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Events
LayerViewCreateErrorEvent Class
Fires when an error emits during the creation of a LayerView after a layer has been added to the map.
public class LayerViewCreateErrorEvent :
System.IEquatable<dymaptic.GeoBlazor.Core.Events.LayerViewCreateErrorEvent>
Inheritance System.Object 🡒 LayerViewCreateErrorEvent
Implements System.IEquatable<LayerViewCreateErrorEvent>
Constructors
LayerViewCreateErrorEvent(Layer, JavascriptError) Constructor
Fires when an error emits during the creation of a LayerView after a layer has been added to the map.
public LayerViewCreateErrorEvent(dymaptic.GeoBlazor.Core.Components.Layers.Layer Layer, dymaptic.GeoBlazor.Core.Exceptions.JavascriptError Error);
Parameters
Layer
Layer
The layer in the map for which the view emitting this event failed to create a layer view.
Error
JavascriptError
An error object describing why the layer view failed to create.
Properties
LayerViewCreateErrorEvent.Error Property
An error object describing why the layer view failed to create.
public dymaptic.GeoBlazor.Core.Exceptions.JavascriptError Error { get; set; }
Property Value
LayerViewCreateErrorEvent.Layer Property
The layer in the map for which the view emitting this event failed to create a layer view.
public dymaptic.GeoBlazor.Core.Components.Layers.Layer Layer { get; set; }