Error Zoom changes MapsPolygon BorderWidth

I am trying to put a polygon on the Maps control, and find the zoom level affects the BorderWidth. When zooming in, the BorderWidth is changed and the border becomes thinner. Below are 2 screenshots of the same polygon, at different zoom levels. Or not: inout too long... :-( Can I avoid this or is this a bug? If so, can you please fix it?

I tried reporting this in the feedback section; but that keeps complaining about " Please fill out all the required fields." although everything is filled in.




1 Reply

DG Durga Gopalakrishnan Syncfusion Team February 18, 2025 01:49 PM UTC

Greetings from Syncfusion!


Thank you for reaching out to us. We’ve reviewed the scenario you’ve shared along with the attached screenshot. By default, when zooming in on maps, the scaling of the map causes the polygon border width to change. This behavior is intentional as it helps ensure that maintaining a constant border width across various zoom levels doesn't obscure surrounding regions, which could make them harder to view. As a result, the border width adjusts dynamically based on the zoom level.


Initial Rendering


After zooming



In the screenshot you’ve provided, the border appears thinner than expected, but we were unable to replicate this issue on our end. To better assist you, could you kindly provide the following details for further investigation:


  • The complete code snippet with the full configuration.
  • The MaxZoom value used in your application.
  • The steps to reproduce the issue or a video demonstration.
  • Any customizations that have been applied to the map.



Attachment: MapsPolygon_2433c275.zip

Loader.
Up arrow icon