No ability to set the original map position and zoom level in Power BI
See original GitHub issueCurrently there is no ability to set the initial map position and zoom level in Power BI as is available with Mapbox GL. I have tried to manually position the map and save the workbook (hoping that the position would be retained) but the map just returns to its default.
There are fields within Power BI that look like they should do the job under the map control: Viz Settings (zoom, longitude, latitude) but fiddling with these didn’t have any effect.
In Mapbox GL this can be done when the map is instantiated:
var map = new mapboxgl.Map({
container: 'map',
style: 'mapbox://styles/mapbox/streets-v9',
center: [-73.9978, 40.7209],
zoom: 13
});
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Set map on zoom in position - Microsoft Power BI Community
Try zooming in and then turn off Auto zoom under Map controls in the Format pane for the visual. Alternatively, keep auto zoom...
Read more >Tips and tricks for Power BI Map visualizations - Microsoft Learn
Tips and Tricks for Power BI Map visualizations, visuals, locations, longitude and latitude, and how they work with Bing Maps.
Read more >Default zoom Mapbox when used in Power BI - Stack Overflow
Currently, when I deselect the location in a slicer connected to the map, it will zoom out to the very middle of the...
Read more >Power BI Visual Guide #14 - Maps - How to Set-Up ... - YouTube
Map visuals have the wow factor when you add them to your Power BI reports, but are they actually any use at displaying...
Read more >Downloads - Icon Map
Fixed bug where lines weren't correctly extending the map bounds for auto zoom. Improved tolerance to poorly formatted WKT objects. Added ability to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the quick reply Ryan.
I have done some further investigation and these fields do in fact work, but the control does not refresh (and apply the settings) until you select another sheet and then return to the original sheet containing the Mapbox map which causes it to re-render.
Happens with both custom and default styles.