Closed otravers closed 1 year ago
cc/ @samgehret
Has there been any update on this feature request? I would like to experiment with the implementation, but I don't have much experience with PBI viz projects. If anyone could give me the general idea of how to do this, I would really appreciate it.
Is there any update on this feature request please?
Has there been any updates on this?
In Mapbox Studio we have control over the visibility of each layer, but that's baked in once the custom map style is loaded in Power BI. It would be great to surface this up and make it user-selectable in PBI.
The example below shows that maps can get fairly busy, in this case by displaying bus and metro stops (each in their own layer). I'd want Power BI users to elect which layers to show/hide, though I'd want this to be restricted to the layers of my choosing, (most I'd still want to lock so as not to overwhelm the user with pointless options).
This request is in the same spirit as https://github.com/mapbox/mapboxgl-powerbi/issues/313 (for data). The overall idea is that things should not be locked in Mapbox Studio, but rather exposed as dynamic properties that remain under the author (and sometimes the reader)'s control once within Power BI.
This is a good illustration of what I mean (I like the grouping idea too): https://github.com/reyemtm/mapbox-layer-control
I like how it's implemented behind an expandable-on-hover button to reduce clutter on https://openinframap.org/, they also do this for the legend https://github.com/mapbox/mapboxgl-powerbi/issues/301#issuecomment-549137421.