mapboxgl-powerbi icon indicating copy to clipboard operation
mapboxgl-powerbi copied to clipboard

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

Open otravers opened this issue 6 years ago • 2 comments

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

otravers avatar Jun 10 '19 15:06 otravers

Great feature request @otravers - cc/ @samgehret

ryanbaumann avatar Jun 10 '19 15:06 ryanbaumann

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

  • https://ahorn.lima-city.de/owm/
  • https://owm-inc.github.io/VANE-intro/apps/leaflet-owm.html

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

otravers avatar Jun 10 '19 16:06 otravers