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 Map style error "Failed to reach the 'caches' property from 'Window' #73

Open ashamsuzzoha-esource opened 1 year ago

ashamsuzzoha-esource commented 1 year ago

Describe the bug Creating a map with a custom background layer from Mapbox Studio

To Reproduce I'm just adding a new mapbox tile to my power bi report and using a custom style

Expected behavior A map with the custom background layer to appear

Screenshots Screenshot.

DerekShain commented 1 year ago

I get the same error when I use a Satellite or Satellite Streets Map Style. Changing it any other style clears the error.

macmy034 commented 11 months ago

Okay! So after much testing, we've figured out you can fix this by rolling back to version 1.5 found here: https://github.com/mapbox/mapboxgl-powerbi/releases/tag/v1.5.0 You need to open the source file, going into the dist folder and side loading this as your mapbox visual. No idea why - but something broke between version 1.5 and 1.73 in the new repo - for the time being we're going to maintain this version.

ashamsuzzoha-esource commented 11 months ago

Appreciate your diligence, macmy!

Arefeen Shamsuzzoha Business Data Analyst


From: macmy034 @.> Sent: Thursday, November 30, 2023 9:07 PM To: starschema/mapboxgl-powerbi @.> Cc: Arefeen Shamsuzzoha @.>; Author @.> Subject: Re: [starschema/mapboxgl-powerbi] [BUG] - Custom Map style error "Failed to reach the 'caches' property from 'Window' (Issue #73)

Okay! So after much testing, we've figured out you can fix this by rolling back to version 1.5 found here: https://github.com/mapbox/mapboxgl-powerbi/releases/tag/v1.5.0 You need to open the source file, going into the dist folder and side loading this as your mapbox visual. No idea why - but something broke between version 1.5 and 1.73 in the new repo - for the time being we're going to maintain this version.

— Reply to this email directly, view it on GitHubhttps://github.com/starschema/mapboxgl-powerbi/issues/73#issuecomment-1835382903, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYHFIP7FKLCU6GWFS6BGHJLYHFCW3AVCNFSM6AAAAAA2NGZC6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZVGM4DEOJQGM. You are receiving this because you authored the thread.Message ID: @.***>

drakvuf commented 9 months ago

@ashamsuzzoha-esource @DerekShain Please check out the latest release that fixes this issue.