I am trying to limit Flexviewer to pan only within a specified map extent. Does anyone know where to add this functionality in one of the widget's mxml or a config file?
There is no simple change to come config file or xml to do this it involves extending the map component and reworking a large part of the MapManager.mxml. Here is the code to do it in SFV 1.x
as always thanks for your help... I followed the instruction you have and I did not any error when I compiled.. The only issue is when I ran it, the map keeps moving up and down... I know the problem is with the extent... here what I have in my config. xml:
<map initialextent="-8986000 2944500 -8850000 2974700" fullextent="-8986000 2946500 -8850000 2974700" top="40" > what do you thinh I should put in the MapManagerSkin.. ?