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

How to prevent it from moving in the map ?

1 Answer 135 Views
Map
This is a migrated thread and some comments may be shown as answers.
Mehdi
Top achievements
Rank 1
Mehdi asked on 30 May 2016, 12:51 PM

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

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 01 Jun 2016, 03:44 PM
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">
    ...
</telerik:RadMap>

I hope this helps.

Regards,
Vessy
Telerik
Tags
Map
Asked by
Mehdi
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or