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
Describe the bug
The type on features prop of OlSourceVector is wrong (or incomplete). Currently it accepts array / collection of Geometry but it should be Feature or even FeatureLike. This forces us to add nasty hacks like const realFeatures = computed(() => features.value as unknown as Geometry[]); and passing that instead.
Affected version(s)
Pretty sure all version up until now.
To Reproduce
N/A
Expected behavior
Above.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
I can create a pull request with the change but I'm not sure if it will become a breaking change or not. Would like to know if it was an oversight or an intentional implementation.
The text was updated successfully, but these errors were encountered:
Describe the bug
The type on
features
prop ofOlSourceVector
is wrong (or incomplete). Currently it accepts array / collection ofGeometry
but it should beFeature
or evenFeatureLike
. This forces us to add nasty hacks likeconst realFeatures = computed(() => features.value as unknown as Geometry[]);
and passing that instead.Affected version(s)
Pretty sure all version up until now.
To Reproduce
N/A
Expected behavior
Above.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
I can create a pull request with the change but I'm not sure if it will become a breaking change or not. Would like to know if it was an oversight or an intentional implementation.
The text was updated successfully, but these errors were encountered: