How to prevent it from moving in the map ?

2 posts, 0 answers
  1. Mehdi
    Mehdi avatar
    17 posts
    Member since:
    Jun 2012

    Posted 30 May Link to this post

    I wanted to know if we can disable the ability to move in the map?

    I just want to display the map with some tooltip, but i don't want the user can move Inside. I find we can disable "zoomable" and "pinable" but how to disable "move" ?

    I really hope we can, or have some issue to do it .


    Thank you in advance

  2. Vessy
    Vessy avatar
    1349 posts

    Posted 01 Jun Link to this post

    H Mehdi,

    The moving of the map is handled by its panning functionality, which can be controlled though the Pannable property of the control. Set to false it will always bring the map back to its initial position once the user release the mouse:
    <telerik:RadMap RenderMode="Lightweight" runat="server" ID="RadMap1" Pannable="false">

    I hope this helps.

  3. DevCraft R3 2016 release webinar banner
Back to Top