Home » c# » c# – How can I prevent repeating the Bing map on WPF?-Exceptionshub

c# – How can I prevent repeating the Bing map on WPF?-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

enter image description hereI’m using this map control for WPF – Microsoft.Maps.MapControl.WPF, version 1.0.0.3 (the latest and the greatest from 2015). I cannot change it with with UWP Maps due to various technical and business reasons.

The problem is that when I am resizing the window, I am seeing the countries multiple times. I am attaching two images to get the idea.

One solution is to set a MaxWidth. Any other suggestions, because if I go with this solution that would mean that I had too guess precisely what is this MaxWidth … I must wave the whole maps but without duplicates.

How to&Answers: