<?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: Zoom To Query Issues in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588785#M13199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason why your query is not zooming to the feature is because your returned gemetry is a MapPoint and a MapPoint does not have an extent.&amp;nbsp; So the GraphicUtil.getGraphicsExtent(featureSet.features); method is returning null because its unable to calculate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cant say for sure but that method might return an extent if there is more than 1 MapPoint returned, but i think a single result (like you have) will always return null if its a map point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try searching "zoom to point" in the forums and I am sure you will stumble on some code similar to this thread.. &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/7847-Zoom-to-a-single-point!?highlight=zoom+point"&gt;http://forums.arcgis.com/threads/7847-Zoom-to-a-single-point!?highlight=zoom+point&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Nov 2010 00:42:41 GMT</pubDate>
    <dc:creator>Drew</dc:creator>
    <dc:date>2010-11-24T00:42:41Z</dc:date>
    <item>
      <title>Zoom To Query Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588783#M13197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have gotten a query results in a table to work, now I am moving on to zooming to a query result on a map. I am working with the Flash 4 samples and seem to have the query returning the correct results, however, I always seem to have a problem getting my map/layers to display. What am I missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 18:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588783#M13197</guid>
      <dc:creator>EmilyLaMunyon</dc:creator>
      <dc:date>2010-11-23T18:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Query Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588784#M13198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason why your map is not showing up is because &lt;/SPAN&gt;&lt;STRONG&gt;all &lt;/STRONG&gt;&lt;SPAN&gt;your layers have a min scale and the map being generated is probably outside the min scale of 1:100,000 as defined in &lt;/SPAN&gt;&lt;A href="http://gis.slco.org/wwwrest/services/public/Surveyor/MapServer/4"&gt;your township layer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adjust or remove the min scale on your township layer, refresh your map service and clear the rest cache. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That should fix your issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can test the current problem by zooming in on your map. You will notice the features eventually come into view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 23:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588784#M13198</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2010-11-23T23:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Query Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588785#M13199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The reason why your query is not zooming to the feature is because your returned gemetry is a MapPoint and a MapPoint does not have an extent.&amp;nbsp; So the GraphicUtil.getGraphicsExtent(featureSet.features); method is returning null because its unable to calculate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I cant say for sure but that method might return an extent if there is more than 1 MapPoint returned, but i think a single result (like you have) will always return null if its a map point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try searching "zoom to point" in the forums and I am sure you will stumble on some code similar to this thread.. &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/7847-Zoom-to-a-single-point!?highlight=zoom+point"&gt;http://forums.arcgis.com/threads/7847-Zoom-to-a-single-point!?highlight=zoom+point&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Drew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 00:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588785#M13199</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2010-11-24T00:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Zoom To Query Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588786#M13200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Drew!! You are right, the code does not work with a point, but does with a polygon feature. I appreciate your help:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 13:03:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/zoom-to-query-issues/m-p/588786#M13200</guid>
      <dc:creator>EmilyLaMunyon</dc:creator>
      <dc:date>2010-11-24T13:03:49Z</dc:date>
    </item>
  </channel>
</rss>

