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
Open Layers layer do not have a "type" attribute and thus it is not easily possible to check a layers type.
To simplify the layer type check, a new type (e.g. "WellKnownOlLayer") could be introduced. This type would represent all LayerTypes that are known to the Trails base packages.
Additionally, a helper function for getting a layers type should be introduced.
Open Layers layer do not have a "type" attribute and thus it is not easily possible to check a layers type.
To simplify the layer type check, a new type (e.g. "WellKnownOlLayer") could be introduced. This type would represent all LayerTypes that are known to the Trails base packages.
Additionally, a helper function for getting a layers type should be introduced.
Example:
(Maybe also think about introducing a type for Open Layer sources.)
The text was updated successfully, but these errors were encountered: