<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to restrict map to navigate other countries in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283294#M26164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surajit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;After the map has loaded you can disable the map navigation as outlined in the following reference guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jshelp/intro_navigation.html" title="https://developers.arcgis.com/javascript/3/jshelp/intro_navigation.html"&gt;Map navigation | Guide | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 15:25:06 GMT</pubDate>
    <dc:creator>JeffBigos</dc:creator>
    <dc:date>2017-06-15T15:25:06Z</dc:date>
    <item>
      <title>How to restrict map to navigate other countries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283292#M26162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My default location is UK. Client don't want to navigate map to other countries. Is it possible to restrict map to one country?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 08:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283292#M26162</guid>
      <dc:creator>Surajit_Kr_Saha</dc:creator>
      <dc:date>2017-06-15T08:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict map to navigate other countries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283293#M26163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. A similar question was answered here on &lt;A _jive_internal="true" href="https://community.esri.com/message/688472-re-how-to-restrict-map-panning-to-an-area?commentID=688472#comment-688472"&gt;geonet&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 10:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283293#M26163</guid>
      <dc:creator>MirHashmi</dc:creator>
      <dc:date>2017-06-15T10:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict map to navigate other countries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283294#M26164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surajit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;After the map has loaded you can disable the map navigation as outlined in the following reference guide:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jshelp/intro_navigation.html" title="https://developers.arcgis.com/javascript/3/jshelp/intro_navigation.html"&gt;Map navigation | Guide | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 15:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283294#M26164</guid>
      <dc:creator>JeffBigos</dc:creator>
      <dc:date>2017-06-15T15:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict map to navigate other countries</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283295#M26165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 19:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-restrict-map-to-navigate-other-countries/m-p/283295#M26165</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2017-06-15T19:17:44Z</dc:date>
    </item>
  </channel>
</rss>

