Replies: 1 comment
-
|
What you want is #18, which isn't implemented yet.
Anchor.Replace("some-base-layer-id") {
LineLayer(...) // or any other kind of layer
}The other workaround is to get the map style as a JSON string and edit it before passing it to the map. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thank you very much for your work - providing a variant of Compose MapLibre. It works well, but I have a question for you.
In my application I need to change filter of layer, which is defined in the base map style .json, to show different data. I found some discussions/issues on this topic, but I don't understand much. You said something about Anchor.replace(), but I don't know how to do it.. can you please provide some code to change the filter?
Is that even possible? Also, is it possible to read other properties of the base layer?
Thank you for the answer.
Regards,
Jakub
Beta Was this translation helpful? Give feedback.
All reactions