<?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: Spatial Query Tool - Urgent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120020#M11170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no existing spatial query tool provided by JS API. You can use the draw toolbar to draw a graphic. Then use it to perform spatial query using either QueryTask or featureLayer.queryFeatures.&lt;BR /&gt;&lt;BR /&gt;Here are two samples you can refer to:&lt;BR /&gt;Draw toolbar: &lt;A href="http://developers.arcgis.com/en/javascript/samples/toolbar_draw/"&gt;http://developers.arcgis.com/en/javascript/samples/toolbar_draw/&lt;/A&gt;&lt;BR /&gt;Spatial Query sample: &lt;A href="https://developers.arcgis.com/en/javascript/jssamples/fl_selectfeatures.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/fl_selectfeatures.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, would you happen to have the source for a query tool that combines the above two samples?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I.e. sample code that draws rectangle, ellipse, polygon, freehand polygon, circle, and at the end of the drawing, clear the current features and query the feature layer to return the features within the geometry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be nice if the digit buttons are inside some sort of dropdown content control that drops from a spatial query tool icon, and each have some sort of icons associated with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, just urgent is why.&amp;nbsp; Why doesn't JavaScript API have better widgets library and sample codes like Silverlight...?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At any rate, I am working on decoding the sample codes above and merging them and creating the appropriate tool icons in the meanwhile and doing basically what I am asking (and I am sure I can get it done if I don't hear from you).&amp;nbsp; But thank you for pointing me!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Nov 2013 22:55:02 GMT</pubDate>
    <dc:creator>EdwardSohn1</dc:creator>
    <dc:date>2013-11-24T22:55:02Z</dc:date>
    <item>
      <title>Spatial Query Tool - Urgent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120018#M11168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a spatial query tool for Javascript avaiable somewhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like there is for Silverlight?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or Sample code snippet, etc.?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need is Javascript based query tool that allows user to draw:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rectangle&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;free polygon&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;freehand&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;circle/ellipse&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and then search the feature layer based on these shapes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 02:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120018#M11168</guid>
      <dc:creator>EdwardSohn1</dc:creator>
      <dc:date>2013-11-23T02:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query Tool - Urgent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120019#M11169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is no existing spatial query tool provided by JS API. You can use the draw toolbar to draw a graphic. Then use it to perform spatial query using either QueryTask or featureLayer.queryFeatures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are two samples you can refer to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Draw toolbar: &lt;/SPAN&gt;&lt;A href="http://developers.arcgis.com/en/javascript/samples/toolbar_draw/"&gt;http://developers.arcgis.com/en/javascript/samples/toolbar_draw/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Spatial Query sample: &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/fl_selectfeatures.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/fl_selectfeatures.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Nov 2013 03:01:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120019#M11169</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-11-23T03:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query Tool - Urgent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120020#M11170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There is no existing spatial query tool provided by JS API. You can use the draw toolbar to draw a graphic. Then use it to perform spatial query using either QueryTask or featureLayer.queryFeatures.&lt;BR /&gt;&lt;BR /&gt;Here are two samples you can refer to:&lt;BR /&gt;Draw toolbar: &lt;A href="http://developers.arcgis.com/en/javascript/samples/toolbar_draw/"&gt;http://developers.arcgis.com/en/javascript/samples/toolbar_draw/&lt;/A&gt;&lt;BR /&gt;Spatial Query sample: &lt;A href="https://developers.arcgis.com/en/javascript/jssamples/fl_selectfeatures.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/fl_selectfeatures.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, would you happen to have the source for a query tool that combines the above two samples?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I.e. sample code that draws rectangle, ellipse, polygon, freehand polygon, circle, and at the end of the drawing, clear the current features and query the feature layer to return the features within the geometry?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be nice if the digit buttons are inside some sort of dropdown content control that drops from a spatial query tool icon, and each have some sort of icons associated with it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, just urgent is why.&amp;nbsp; Why doesn't JavaScript API have better widgets library and sample codes like Silverlight...?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At any rate, I am working on decoding the sample codes above and merging them and creating the appropriate tool icons in the meanwhile and doing basically what I am asking (and I am sure I can get it done if I don't hear from you).&amp;nbsp; But thank you for pointing me!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2013 22:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120020#M11170</guid>
      <dc:creator>EdwardSohn1</dc:creator>
      <dc:date>2013-11-24T22:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Query Tool - Urgent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120021#M11171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry but if you want code that combines the two together you (or someone else) will have to write it (it doesnt already exist)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Javascript API sacrifices the the flashy drag and droppy style of silverlight/flex for more power and more customization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end, the product is better, but it takes more work from the developer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2013 13:00:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-query-tool-urgent/m-p/120021#M11171</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2013-11-25T13:00:54Z</dc:date>
    </item>
  </channel>
</rss>

