declutterMode
and other props not available on ol-style-text
?
#411
Labels
bug
Something isn't working
declutterMode
and other props not available on ol-style-text
?
#411
Describe the bug
Here's some pseudo code of what I'm working on
Note the text styles. The docs for the component are missing several options from the Open Layers constructor, such as
declutterMode
(which I really need to turn off),keepUpright
, etc.Now looking at the demo docs page, I see I can use
overrideStyleFunction
, but then I'd have to more verbosely redfine everything that's within myStyles.OlStyle
attributes, which imo is defeating the purpose of using the library.Perhaps more importantly, looking at the source code, it appears like it's intended that all extraneous props are passed through to the constructor, though I could be reading it wrong:
vue3-openlayers/src/components/styles/OlStyleText.vue
Line 69 in e888c23
vue3-openlayers/src/components/styles/OlStyleText.vue
Line 47 in e888c23
Maybe something in that
usePropsAsObjectProperties
util func is preventing it from working? I've also tried different casings, e.g.declutter-mode
, with no luck.Affected version(s)
The text was updated successfully, but these errors were encountered: