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

Make it easier to switch between raster layers, custom tilesets using expression-based formatting #314

Closed otravers closed 1 year ago

otravers commented 5 years ago

I just tested raster layers using tiles from MapTiler and was impressed with the result.

Now, the UI for custom map styles and raster layers hard codes a single value for each of these two fields in the visualization's settings: image

image

Power BI is adding expression-based formatting into more and more visuals, to let authors use DAX formulas in visualization settings. My suggestion is to be able to use a DAX formula instead of a hard-coded value in the URL fields pictured above. Said DAX formula would let the author use a disconnected table with a list of URLs, and put these URLs in a slicer to let end users switch custom styles or raster layers.

image

Below is an example with a choropleth on top of a hillshades raster tileset, this looks real good so why not indulge a bit? image

ryanbaumann commented 5 years ago

Great feature request @otravers - cc/ @samgehret

otravers commented 5 years ago

Functional examples of what this means for the end user can be seen here:

image

Here's an example done by Hannah Judge with Tableau: https://public.tableau.com/profile/hannah.judge#!/vizhome/MapboxStyles/MapboxStyles

image

Also for reference, here's how Spotfire handles layers: https://youtu.be/uyywERGPn_A?t=285

image