starschema / mapboxgl-powerbi

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381472?tab=Overview
MIT License
34 stars 9 forks source link

[BUG] - Custom layer is not showing in custom map #82

Open apanizza opened 1 year ago

apanizza commented 1 year ago

Hi,

I can't manage to get a custom layer to be displayed when accessed via PowerBI. The data is displayed properly on the map and the map is displayed properly (except the custom layer). The custom layer is visible in the MapBox creation maps tools.

There is one error I can see in the dev console which may be the cause of my problem ?

image

drakvuf commented 9 months ago

The plugin currently using mapbox-gl 2.10 and the pitch expression you are trying to use is available from version 2.16. So, we currently not support this feature.

apanizza commented 9 months ago

Thanks for your reply. Is there any workaround to get the mapbox layer to work in PowerBI ? I used it few years ago without any issue. Not sure what to change to get it to work again.

drakvuf commented 9 months ago

You are right, it should be working with this version, I misread the documentation. Can you share your custom map style to help us resolve this issue?

apanizza commented 9 months ago

Thanks for your help.

You can access the custom map in Mapbox here: mapbox://styles/apanizza/clny208fq003k01rfa1px92if

The tileset ID: apanizza.awyzwjef

I use a shapefile (Maritime Boundaries) from Marine Regions (https://www.marineregions.org/downloads.php)

Thanks again