How to prevent MapPinPoint from moving the map?

2 posts, 1 answers
  1. Vishal
    Vishal avatar
    16 posts
    Member since:
    Jan 2011

    Posted 10 Oct 2011 Link to this post

    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?
  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 12 Oct 2011 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top