<?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 Arcgis Api Javascript - This will sound such a simple question but I can't seem to restrict my search to the current shown extent of the map. in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/arcgis-api-javascript-this-will-sound-such-a/m-p/714140#M4880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arcgis Api Javascript - This will sound such a simple question but I can't seem to restrict my search to the current shown extent of the map. &amp;nbsp;Once the map is displayed and only the relevant area is shown by zooming in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.connect(featureLayer, "onUpdateEnd", function () {&lt;BR /&gt; var zoomExtent = esri.graphicsExtent(featureLayer.graphics);&lt;BR /&gt; map.setExtent(zoomExtent);&lt;BR /&gt; }); // now the zoom won't happen until map is updated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am now zoomed into the feature layer I want only results from within this to show. &amp;nbsp;I can't set the results to the feature layer as this doesn't contain the data for the searching (ie post codes, addresses)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Feb 2017 09:44:50 GMT</pubDate>
    <dc:creator>NeilMitchell</dc:creator>
    <dc:date>2017-02-03T09:44:50Z</dc:date>
    <item>
      <title>Arcgis Api Javascript - This will sound such a simple question but I can't seem to restrict my search to the current shown extent of the map.</title>
      <link>https://community.esri.com/t5/developers-questions/arcgis-api-javascript-this-will-sound-such-a/m-p/714140#M4880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arcgis Api Javascript - This will sound such a simple question but I can't seem to restrict my search to the current shown extent of the map. &amp;nbsp;Once the map is displayed and only the relevant area is shown by zooming in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.connect(featureLayer, "onUpdateEnd", function () {&lt;BR /&gt; var zoomExtent = esri.graphicsExtent(featureLayer.graphics);&lt;BR /&gt; map.setExtent(zoomExtent);&lt;BR /&gt; }); // now the zoom won't happen until map is updated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am now zoomed into the feature layer I want only results from within this to show. &amp;nbsp;I can't set the results to the feature layer as this doesn't contain the data for the searching (ie post codes, addresses)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 09:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/arcgis-api-javascript-this-will-sound-such-a/m-p/714140#M4880</guid>
      <dc:creator>NeilMitchell</dc:creator>
      <dc:date>2017-02-03T09:44:50Z</dc:date>
    </item>
  </channel>
</rss>

