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?
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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.