Forum Discussion
Azure Maps: ability to reset zoom level
I have an Azure map at the census tract level, data has to be displayed as a reference layer. Auto-zoom is turned off as desired behavior is to NOT reset the map when slicers change. This works great.
However, the zoom level of the map does not reset even after navigating to a different page and back. I have also tried changing the map visibility off and on again (does not work) and of course a bookmark, with no luck. The only way to reset the zoom level seems to be reloading the entire dashboard or manually zooming out.
Ideally, I would like a bookmark or 'reset' function (even if it clears slicers) as a way for a user to get back to default zoom. Is there no way to reset zoom other than refreshing the entire dashboard? What hacks have people found?
Hi skrape ,
This is a known limitation of the Azure Maps visual in Power BI. When Auto Zoom is turned OFF, Power BI preserves the map state (zoom + position) even if:
-
You navigate to another page and return
-
You toggle visibility
-
You apply bookmarks
Because the map viewport state is cached in the visual session, bookmarks typically do not reset the zoom level.
You can try the below workaround to achive the same -
Bookmark + Reset ButtonAlthough bookmarks don't always reset zoom directly, you can try this reliable setup.
Steps
-
Set the map to your desired default zoom and position.
-
Open Bookmarks Pane.
-
Create a bookmark called Reset Map.
-
In bookmark settings:
-
Turn Data = ON
-
Turn Display = ON
-
-
Add a Reset Button and assign the bookmark.
๐ I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
๐ก Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
๐ As a proud SuperUser and Microsoft Partner, weโre here to empower your data journey and the Power BI Community at large.
๐ Curious to explore more? [Discover here].
Letโs keep building smarter solutions together!
-
3 Replies
- grazitti_sapna
Super User
Hi skrape ,
This is a known limitation of the Azure Maps visual in Power BI. When Auto Zoom is turned OFF, Power BI preserves the map state (zoom + position) even if:
-
You navigate to another page and return
-
You toggle visibility
-
You apply bookmarks
Because the map viewport state is cached in the visual session, bookmarks typically do not reset the zoom level.
You can try the below workaround to achive the same -
Bookmark + Reset ButtonAlthough bookmarks don't always reset zoom directly, you can try this reliable setup.
Steps
-
Set the map to your desired default zoom and position.
-
Open Bookmarks Pane.
-
Create a bookmark called Reset Map.
-
In bookmark settings:
-
Turn Data = ON
-
Turn Display = ON
-
-
Add a Reset Button and assign the bookmark.
๐ I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
๐ก Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
๐ As a proud SuperUser and Microsoft Partner, weโre here to empower your data journey and the Power BI Community at large.
๐ Curious to explore more? [Discover here].
Letโs keep building smarter solutions together!
-
- v-prasare
Community Support
Hi skrape,
We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
grazitti_sapna ,Thanks for your prompt responseThank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support - v-prasare
Community Support
Hi @skrape,
We would like to confirm if our community members answer resolves your query or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are happy to help you.
Thank you for your patience and look forward to hearing from you.
Best Regards,
Prashanth Are
MS Fabric community support