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.
Unfortunately, activation email could not send to your email. Please try again.

Markers overlapping

Thread ID:

Created:

Updated:

Platform:

Replies:

120676 Oct 2,2015 06:39 AM Oct 7,2015 12:07 AM WinRT 3
loading
Tags: SfMaps
Andrew Barlow
Asked On October 2, 2015 06:39 AM

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?

Mohana V [Syncfusion]
Replied On October 6, 2015 12:45 AM

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

Andrew Barlow
Replied On October 6, 2015 06:09 AM

Thank you very much - that sorted it.

Mohana V [Syncfusion]
Replied On October 7, 2015 12:07 AM

Hi Andrew,

Thanks for your update.

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

Regards,
Mohana V

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;