This is a migrated thread and some comments may be shown as answers.

How to prevent MapPinPoint from moving the map?

1 Answer 88 Views
Map
This is a migrated thread and some comments may be shown as answers.
Ruhban
Top achievements
Rank 1
Ruhban asked on 10 Oct 2011, 07:46 AM
I'm adding MapPinPoint objects to the map but every time map tries to focus the newly added pinpoint and therefore pans the map.
I don't want this behavior so how we can prevent it from automatically panning to the newly added location?

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 12 Oct 2011, 02:41 PM
Hello Vishal,

It is very complicated and it is hard to reproduce the problem without your solution or code.
But it seems you handle the MapMouseClick to add MapPinPoint object on the map. If so, then you can prevent panning of the map with setting the RadMap.MouseClickMode property to "None". For more information please take a look at the following documentation topic:
http://www.telerik.com/help/wpf/radmap-features-click-modes.html

Best wishes,
Andrey Murzov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Map
Asked by
Ruhban
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or