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

Mapbox specific formatting values (of those controllable in Power BI Desktop) not controllable via JSON theme file #365

Closed DM-PBI closed 1 year ago

DM-PBI commented 4 years ago

In Power BI desktop, I've been able to discern the correct name for the Mapbox visual (and what appear to be the relevant formatting settings), however outside of the generic formatting values (i.e. title properties etc.) it's not currently possible to affect any of the Mapbox specific properties. Some examples for review/consideration follow:

A simple/stripped down test JSON theme code which should (in theory) control/determine the default formatting values of the Gecoder formatting options once applied within Power BI follows:

{ 
    "name":"DLF_Mapbox_PowerBI_theme_1.0",
    "visualStyles":{        
        "PBI_CV_EB3A4088_75C5_4746_9D8B_255A7B7ECD6C":{
            "*":{
                "geocoder":[{
                    "show":false,
                    "dropPin":false,
                    "zoom":20
                }],
                "title":[{
                    "show":false
                }]
            }
        }
    }
}

And a screenshot of the relevant menu's from within the Format tab/pane in Power BI desktop (note that the Title is responsive to the code, as the standard default value is for the Title to be switched on): image

If the full range of formatting settings (in line with those present in Power BI Desktop interface) could be controlled via the JSON theme file, that would be most helpful, thanks.