Forum Discussion
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!
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:
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.
7 Replies
- amitchandakSuper User
Anonymous , if it is custom visual, you need check with the developer
- AnonymousNot 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.
- AnonymousNot applicable
Hi Anonymous ,
See if this helps
https://community.powerbi.com/t5/Desktop/PowerBI-Desktop-and-leaflet/m-p/826005
https://community.powerbi.com/t5/Developer/Power-Bi-Leaflet-tiles-not-showing-properly/m-p/346215
Regards,
HN