Skip to content
Discussion options

You must be logged in to vote

Thanks - good to know it should work. I've managed to make it work, by setting

<LineLayer
      id="route"
      sourceLayer={"route"}
      filter={$state.snapshot(idFilter)}
    ></LineLayer>

It did not work the first time (might have been a cache issue), but seems to work fine now.

It's a bit of black magic unfortunately for me...Also the example you've provided seems to work fine w/o requesting the static value - so I guess I need to start learning how rune, reactivity (and signal?) work under the hook...

Thanks for the feedback though.

I'll keep this post open in case I found out what's wrong on my end

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BenOnTrack
Comment options

Answer selected by BenOnTrack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants