We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Markers overlapping

How can I stop my markers or pins from scaling up when the map is zoomed? They go ridiculously big when I zoom into a map?

3 Replies

MV Mohana V Syncfusion Team October 6, 2015 04:45 AM UTC

Hi Andrew,

Query :Stop markers or pins from scaling up when the map is zoomed

The above requirement can be achieved using MapView API in SfMaps which takes the enum values "NormalView" and "SmartView". In WinRT, MapViews is set as SmartView by default. While performing "zoom" in SmartView, the map elements such as pins, bubbles and annotations zoom along with the map control.
This behaviour can be restricted using NormalView in which only the map shapes will be zoomed whereas the map elements are static.

The MapViews can be switched using the below code:

map.MapView = MapViews.NormalView;

Please let us know in case of any concern.

Regards,
Mohana V


AB Andrew Barlow October 6, 2015 10:09 AM UTC

Thank you very much - that sorted it.


MV Mohana V Syncfusion Team October 7, 2015 04:07 AM UTC

Hi Andrew,

Thanks for your update.

Please let us know if you need any further assistance from us.

Regards,
Mohana V

Loader.
Up arrow icon