<?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 How do I make Featurelayer SelectFeaturesAsync work with a triangle ? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306760#M3563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is a bug.&amp;nbsp; If not, &lt;EM&gt;How can I select with a triangle?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified the &lt;A href="https://developers.arcgis.com/net/latest/wpf/sample-code/featurelayerselection.htm"&gt;Feature layer Selection sample&lt;/A&gt; to call SelectFeaturesAsync with a triangle created from half the current mapextent.&lt;/P&gt;&lt;P&gt;It appears to be using the Extent of the triangle instead of the actual triangle. I would not expect it to select anything outside of the hatched triangle.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="447817" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447817_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/447824_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 May 2019 19:30:34 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-05-16T19:30:34Z</dc:date>
    <item>
      <title>How do I make Featurelayer SelectFeaturesAsync work with a triangle ?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306760#M3563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this is a bug.&amp;nbsp; If not, &lt;EM&gt;How can I select with a triangle?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified the &lt;A href="https://developers.arcgis.com/net/latest/wpf/sample-code/featurelayerselection.htm"&gt;Feature layer Selection sample&lt;/A&gt; to call SelectFeaturesAsync with a triangle created from half the current mapextent.&lt;/P&gt;&lt;P&gt;It appears to be using the Extent of the triangle instead of the actual triangle. I would not expect it to select anything outside of the hatched triangle.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="447817" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447817_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/447824_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2019 19:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306760#M3563</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-05-16T19:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Featurelayer SelectFeaturesAsync work with a triangle ?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306761#M3564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to reproduce this issue from GeoViewTapped Event Listener with specific points. The funny thing is if you run the same exact code where its not in an Event Listener/Button it will select the features just fine within the triangle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outside button/event listener:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="447922" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/447922_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside button/event listener:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="447935" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/447935_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also seen some sporadic behavior on this where if you click while zoomed in partly over this triangle it will again select correctly.&amp;nbsp;You likely won't see that sporadic behavior when using the MapView's extent to create the triangle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will get started on logging a bug for this issue. If you let me know your customer number I can create a case and attach your organization to it so it will be trackable in My Esri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 22:55:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306761#M3564</guid>
      <dc:creator>KimberlySaballett</dc:creator>
      <dc:date>2019-05-17T22:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Featurelayer SelectFeaturesAsync work with a triangle ?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306762#M3565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kimberly -&lt;/P&gt;&lt;P&gt;That's some strange behavior.&amp;nbsp; I'm able to consistently reproduce it by using the polygon I get from SketchEditor.&amp;nbsp; I am calling sketcheditor StartAsync from a command tied to a button though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, thanks for reproducing this!&lt;/P&gt;&lt;P&gt;Kirk&lt;/P&gt;&lt;P&gt;Cust# 139276&lt;/P&gt;&lt;P&gt;Futura Systems Inc.&lt;/P&gt;&lt;H4 class="" style="color: #4c4c4c; background-color: #ffffff; font-weight: 300; font-size: 1.414rem; margin: 0rem 0px;"&gt;&lt;/H4&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 May 2019 21:24:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306762#M3565</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-05-18T21:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I make Featurelayer SelectFeaturesAsync work with a triangle ?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306763#M3566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kirk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I sent you an email but here are the details for the bug in case you missed it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG data-aura-rendered-by="442:16888;a" style="color: #3e3e3c; background-color: #ffffff; font-weight: bold;"&gt;BUG-000122510:&amp;nbsp;In the ArcGIS Runtime SDK, selecting features on a feature layer using featureLayer.SelectFeaturesAsync() uses the geometry of the polygon extent rather than the geometry of the polygon itself when querying from an event listener.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should now be able to track it from the Support &amp;gt; Bugs tab from your organization's My Esri page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 18:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-do-i-make-featurelayer-selectfeaturesasync/m-p/306763#M3566</guid>
      <dc:creator>KimberlySaballett</dc:creator>
      <dc:date>2019-05-21T18:42:15Z</dc:date>
    </item>
  </channel>
</rss>

