Fail to render some layers while using MapLibre whithin a PowerBI custom visual #5064
Unanswered
ConnectedWanderer
asked this question in
Q&A
Replies: 2 comments 7 replies
-
I'm not familiar with powerBI, so I guess you'll need to debug this and see what's wrong inside it. As you can see from the docs it's very simple to show a map, even inside an iFrame. |
Beta Was this translation helpful? Give feedback.
6 replies
-
The issue seems to be that Power BI runs the iframe in sandbox mode - i.e. with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to create a custom PowerBI map visual based on MapLibre and I fail to load the world map using the quickstart example from the docs. I only get a blue background.
I tried various examples from the documentation and I notice that I can render markers or raster basemaps but I cannot render any 3D element like the 3D Terrain example. I only get the OSM basemap in such case.
I don't have any console error visible in the console and if I replace MapLibre GL by Mapbox GL, the layers are correctly shown. Does anyone succeeded to use MapLibre within a PowerBI visual ? How this difference with MapBox GL could be explained ?
maplibre-gl-js version: 4.7.1
browser: Chrome
Steps to Trigger Behavior
pbiviz start
visual.ts
fileExpected Behavior
Layers defined in "https://demotiles.maplibre.org/style.json" should be shown
Actual Behavior
Layers are not shown correctly.
Beta Was this translation helpful? Give feedback.
All reactions