-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setLayerVisibility specified in documentation but not available in library #151
Comments
This feature was merged in #138, and is not yet in a release. You need to use the main branch from this repo, are you doing that? |
Yes, I found this, I wasn't using the |
Yes, if those layers exist you should be able to hide/show them. |
How about getting a layer object and modifying it's properties? For example, I am adding a layer with id
|
No this does not exist, yet. The challenge here is that maplibre on iOS does not support retrieving the JSON representation of a source or layer. I have some ideas how to implement this (updating is probably easier than retrieving), but I can't promise you when this will be ready. If someone is interested in working on this, please let me know and I can give you some more details. |
The
setLayerVisibility
is documented in the API Documentation here.However, it's not available in the codes. I need to configure the visibility of certain map layers, such as
contour
,summit
,carparks
, etc. Is there another way to do this via the map controller?The text was updated successfully, but these errors were encountered: