Simple question but I don't know the answer. I want to set my map extent such that users see the map only in map extent and they don't allow to see greater extent. How can I set the extent map?

Thanks in advance

1 Answer 1


You can limit the map extent to an envelope. The user cannot navigate outside the envelope defined in the behavior.

You are supposed to define a ConstrainExtentBehavior behaviour:

<esri:Map x:Name="MyMap" Extent="-120,30,-60,60">
  . . . 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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