mapbox / mapboxgl-powerbi

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards. This version of Mapbox Visual for Microsoft Power BI is no longer maintained. You can find the live and maintained version of the plugin at: https://github.com/starschema/mapboxgl-powerbi.
MIT License
127 stars 52 forks source link

Give control over layer visibility in Power BI #316

Closed otravers closed 1 year ago

otravers commented 5 years ago

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).

image

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

image

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.

image

image

ryanbaumann commented 5 years ago

cc/ @samgehret

nimamaleki commented 4 years ago

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.

nnikolasn commented 3 years ago

Is there any update on this feature request please?

hauge404 commented 2 years ago

Has there been any updates on this?