<?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: Restrict map panning to provided extent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276344#M80790</link>
    <description>&lt;P&gt;Works perfectly! Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 20:00:11 GMT</pubDate>
    <dc:creator>patryks</dc:creator>
    <dc:date>2023-04-06T20:00:11Z</dc:date>
    <item>
      <title>Restrict map panning to provided extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276322#M80788</link>
      <description>&lt;P&gt;Is there a way to block map panning to specified extent?&amp;nbsp;I already implemented solution mentioned here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-mapview-to-stay-within-bounds/td-p/350982" target="_blank"&gt;https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-mapview-to-stay-within-bounds/td-p/350982&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsfiddle.net/gh/gist/library/pure/6050806/" target="_blank"&gt;http://jsfiddle.net/gh/gist/library/pure/6050806/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but this solution allows to move outside extent and navigates back. I wonder if is there a way to block panning itself so it cannot move outside extent?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 19:26:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276322#M80788</guid>
      <dc:creator>patryks</dc:creator>
      <dc:date>2023-04-06T19:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict map panning to provided extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276326#M80789</link>
      <description>&lt;P&gt;Yes, you can use the View constraints&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#constraints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Demo:&amp;nbsp;&lt;A href="https://stackblitz.com/edit/vitejs-vite-arcgis-v1-view-constraints?file=src%2Fmain.ts" target="_blank"&gt;https://stackblitz.com/edit/vitejs-vite-arcgis-v1-view-constraints?file=src%2Fmain.ts&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Video:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=4A6xGWusgN4&amp;amp;ab_channel=ReneRubalcava" target="_blank"&gt;https://www.youtube.com/watch?v=4A6xGWusgN4&amp;amp;ab_channel=ReneRubalcava&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 19:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276326#M80789</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2023-04-06T19:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict map panning to provided extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276344#M80790</link>
      <description>&lt;P&gt;Works perfectly! Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 20:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/restrict-map-panning-to-provided-extent/m-p/1276344#M80790</guid>
      <dc:creator>patryks</dc:creator>
      <dc:date>2023-04-06T20:00:11Z</dc:date>
    </item>
  </channel>
</rss>

