My default location is UK. Client don't want to navigate map to other countries. Is it possible to restrict map to one country?
Hi. A similar question was answered here on geonet.
If you are using the 3.x version of the api you can set the starting extent of the map using the extent property when creating the instance of the map.
After the map has loaded you can disable the map navigation as outlined in the following reference guide:
Hope this helps.
I had situation what i have to control my map display with a certain area (D.C for example). my approach is watch the view's extend against your restricted extent ( in API 3.1 it will be map's extent-change event). if the new extent is out, move view (or map in 3.x) back to its previous center. Let me know...
Retrieving data ...