You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently layer in the layer model do not have a attribute that can be used to determine the type of a layer (e.g. SimpleLayer, WMSLayer, ...). It would be helpful to introduce an attribute on the layer that specifies its type.
Additionally, it would be helpful to introduce a union type for layers that allows Typescript narrowing. Currently all layer types depend on a type, which is used in cases where multiple layer types (kinds) are allowed. However, it is not possible to narrow the layer type.
The text was updated successfully, but these errors were encountered:
Currently layer in the layer model do not have a attribute that can be used to determine the type of a layer (e.g. SimpleLayer, WMSLayer, ...). It would be helpful to introduce an attribute on the layer that specifies its type.
Additionally, it would be helpful to introduce a union type for layers that allows Typescript narrowing. Currently all layer types depend on a type, which is used in cases where multiple layer types (kinds) are allowed. However, it is not possible to narrow the layer type.
The text was updated successfully, but these errors were encountered: