<?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: Export image from query in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349876#M32384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Using rest api I need the bbox values from a query in order to export an image.&amp;nbsp; What is the easiest way from rest to query a field from a MapService and return the extent to then export that image?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.graphicsExtent(featureSet.features).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2011 16:09:40 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2011-10-25T16:09:40Z</dc:date>
    <item>
      <title>Export image from query</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349875#M32383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using rest api I need the bbox values from a query in order to export an image.&amp;nbsp; What is the easiest way from rest to query a field from a MapService and return the extent to then export that image?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 16:02:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349875#M32383</guid>
      <dc:creator>spencermartin</dc:creator>
      <dc:date>2011-10-25T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export image from query</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349876#M32384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Using rest api I need the bbox values from a query in order to export an image.&amp;nbsp; What is the easiest way from rest to query a field from a MapService and return the extent to then export that image?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.graphicsExtent(featureSet.features).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 16:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349876#M32384</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-10-25T16:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Export image from query</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349877#M32385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, that was helpful. Using the find feature I've retrieved the graphic and passed it to graphicsExtent.&amp;nbsp; Question I have now is how to make graphic extent zoom to extent of the found object.&amp;nbsp; This is without a map since I only want min max to create export image.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2011 20:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349877#M32385</guid>
      <dc:creator>spencermartin</dc:creator>
      <dc:date>2011-10-25T20:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Export image from query</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349878#M32386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ok, that was helpful. Using the find feature I've retrieved the graphic and passed it to graphicsExtent.&amp;nbsp; Question I have now is how to make graphic extent zoom to extent of the found object.&amp;nbsp; This is without a map since I only want min max to create export image.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extent =esri.graphicsExtent(featureSet.features). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;var src ="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://yourMapService/export?bbox=" rel="nofollow" target="_blank"&gt;http://yourMapService/export?bbox=&lt;/A&gt;&lt;SPAN&gt;"+extent.xmin+","+extent.ymin+","+extent.xmax+","+extent.ymax+"&amp;amp;f=image"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 13:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349878#M32386</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-10-26T13:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Export image from query</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349879#M32387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your quick and helpful solutions. Works perfectly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 18:53:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/export-image-from-query/m-p/349879#M32387</guid>
      <dc:creator>spencermartin</dc:creator>
      <dc:date>2011-10-26T18:53:20Z</dc:date>
    </item>
  </channel>
</rss>

