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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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