I would like to set a max extent for a Flex Viewer application. I do not want the user to be able to pan on the map outside of an extent.
I have deleted the excess lod's. Can this be set in the config.xml any other way?
Solved! Go to Solution.
Christina,
Unfortunately no not via the config. There was a blog on this years ago with the sample code if you have the ability to amend the source code:
Thunderhead Explorer: Constraining Map Extent
Constrained Map Extent in Flex
Lock/Constrain Extents Flexviewer 3.1
Restrict View Port Bounds in Flex Viewer 2.x
Regards
Anthony
Christina,
Unfortunately no not via the config. There was a blog on this years ago with the sample code if you have the ability to amend the source code:
Thunderhead Explorer: Constraining Map Extent
Constrained Map Extent in Flex
Lock/Constrain Extents Flexviewer 3.1
Restrict View Port Bounds in Flex Viewer 2.x
Regards
Anthony
Thank you! This is a very helpful start.