<?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: changing the extent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321502#M29598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nice just what I needed thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 14:58:05 GMT</pubDate>
    <dc:creator>TonyRopson</dc:creator>
    <dc:date>2011-11-04T14:58:05Z</dc:date>
    <item>
      <title>changing the extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321500#M29596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am doing a buffer query this piece of code is zooming into the feature.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;if (featholding.length &amp;gt; 0 &amp;amp;&amp;amp; featholding.length == parnums.length - 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setExtent(esri.graphicsExtent(featholding[0].features),true);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to change the extent a bit so the end user can see more of the area surrounding this feature.&amp;nbsp; How would I go about changing the extent to do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 14:42:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321500#M29596</guid>
      <dc:creator>TonyRopson</dc:creator>
      <dc:date>2011-11-04T14:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: changing the extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321501#M29597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi,&lt;BR /&gt;I am doing a buffer query this piece of code is zooming into the feature.&amp;nbsp; &lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (featholding.length &amp;gt; 0 &amp;amp;&amp;amp; featholding.length == parnums.length - 1) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.setExtent(esri.graphicsExtent(featholding[0].features),true);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;BR /&gt;I would like to change the extent a bit so the end user can see more of the area surrounding this feature.&amp;nbsp; How would I go about changing the extent to do this?&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; map.setExtent(esri.graphicsExtent(featholding[0].features).expand(1.2),true);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:15:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321501#M29597</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T15:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: changing the extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321502#M29598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;nice just what I needed thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 14:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changing-the-extent/m-p/321502#M29598</guid>
      <dc:creator>TonyRopson</dc:creator>
      <dc:date>2011-11-04T14:58:05Z</dc:date>
    </item>
  </channel>
</rss>

