Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Custom leaflet map, control zoom level

Hi,

I have created a custom visualisation using the R leaflet plugin. I have issues making the interaction between the map and the other Power BI visualisations work nicely. If I filter my data by clicking a graph, the zoom level of my map is reset. 

Any suggestions on how I can prevent this?

Any help is much appreciated!

Thanks!

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

You may use "Edit interactions" feature to choose which visuals to be filtered by one special visual, just select on the graph, go to Format ->Edit  interactions, then choose the "no impact" icon for the map visual.

 

For example:

edit interactions 2.png

Reference:

 

https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions .

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
amitchandak
Super User
Super User

@Anonymous , if it is custom visual, you need check with the developer

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi,

I developed it myself with this plugin:

https://github.com/microsoft/PowerBI-visuals

I think I need to edit the visual.ts somehow - but don't know exactly what to change.

Anonymous
Not applicable

Thanks for sharing, but unforturantly, this does not solve my problem.

Mayby this explains my problem better.

ezgif-2-702236c00144.gif

Hi @Anonymous ,

 

Would you like the custom leaflet map interact with the graph, or not?

 

Best Regards,

Amy 

Anonymous
Not applicable

Hi @v-xicai 

I would like that it is only the dataset the updates, but not the zoom level of the map. For an example, if I click a graph that filters the data based on a year, I would like that only that dataset updates, but not the zoom level of the map. 

 

Hi @Anonymous ,

 

You may use "Edit interactions" feature to choose which visuals to be filtered by one special visual, just select on the graph, go to Format ->Edit  interactions, then choose the "no impact" icon for the map visual.

 

For example:

edit interactions 2.png

Reference:

 

https://docs.microsoft.com/en-us/power-bi/service-reports-visual-interactions .

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.