Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is there a way to disable panning when using the ArcGIS Silverlight API? Other than enabling a Draw object.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

myMap.IsEnabled = true;

According to this ESRI forum thread.

share|improve this answer
    
I haven't tested it, but I have to think that that should be false, not true. Unless they misnamed the property. –  Michael Todd Sep 28 '10 at 14:53

You can also set Map.IsHitTestVisible = false. This disables mouse events on the map. Can be used for any UIElement in Silverlight.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.