<?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 Hit Test - Transparent Polygons in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678869#M8545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I noticed today that some of our selection code (written using the 10.2.3 beta) was no longer working as expected for features on some of our layers. The issue occurred only on feature layers with transparent symbology defined when performing a hit test. This seemed strange, as it was working previously, so I headed over to look at the API, and found the below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"&gt;When performing a hittest on a FeatureLayer with polygon based features, make sure that a non-transparent FillSymbol style is applied to the Renderer of the FeatureLayer. If no FillSymbol is applied, meaning the polygon fill is considered transparent (even though there may me a polygon outline symbol applied), the hittest will not return an RowID values."&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ah. This sounds like the problem. This was not the case in any of the beta releases of the runtime. Is there no way of performing a hit test on a transparent feature anymore (despite it having a solid border)? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I presume I must be missing something obvious?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 13:58:03 GMT</pubDate>
    <dc:creator>JonDicken</dc:creator>
    <dc:date>2014-10-13T13:58:03Z</dc:date>
    <item>
      <title>Hit Test - Transparent Polygons</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678869#M8545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I noticed today that some of our selection code (written using the 10.2.3 beta) was no longer working as expected for features on some of our layers. The issue occurred only on feature layers with transparent symbology defined when performing a hit test. This seemed strange, as it was working previously, so I headed over to look at the API, and found the below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 11px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;"&gt;When performing a hittest on a FeatureLayer with polygon based features, make sure that a non-transparent FillSymbol style is applied to the Renderer of the FeatureLayer. If no FillSymbol is applied, meaning the polygon fill is considered transparent (even though there may me a polygon outline symbol applied), the hittest will not return an RowID values."&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Ah. This sounds like the problem. This was not the case in any of the beta releases of the runtime. Is there no way of performing a hit test on a transparent feature anymore (despite it having a solid border)? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I presume I must be missing something obvious?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Jon&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 13:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678869#M8545</guid>
      <dc:creator>JonDicken</dc:creator>
      <dc:date>2014-10-13T13:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hit Test - Transparent Polygons</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678870#M8546</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;Unfortunately this is a limitation in the 10.2.4 release which we intend to address for the next release. The suggested workaround is to set the polygon fill style to “null” and the symbol color to something non-transparent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:56:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678870#M8546</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-10-13T14:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hit Test - Transparent Polygons</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678871#M8547</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;Thanks for the prompt response, much appreciated. Is there any news on when the next release date may be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 15:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678871#M8547</guid>
      <dc:creator>JonDicken</dc:creator>
      <dc:date>2014-10-13T15:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hit Test - Transparent Polygons</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678872#M8548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to Mike's response, you may also use QueryAsync providing geometry in the SpatialFilter if working with ArcGISFeatureTable/ServiceFeatureTable or GeometryEngine.Intersects method. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 21:13:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/hit-test-transparent-polygons/m-p/678872#M8548</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2014-10-13T21:13:08Z</dc:date>
    </item>
  </channel>
</rss>

