<?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: Check Feature visibility state in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1687442#M6302</link>
    <description>&lt;P&gt;Have there been any changes on this topic? I am also trying to check if a given feature is visible. I am changing the visibility from the layer using&amp;nbsp;&lt;STRONG&gt;FeatureLayer.setFeaturesVisible()&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;but there is no matching get function to check if that was modified and it is not represented in the feature layer's definition expression either. As far as I can tell there is no way to programmatically check which features have been hidden on a feature layer.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Feb 2026 20:31:20 GMT</pubDate>
    <dc:creator>MichaelReese</dc:creator>
    <dc:date>2026-02-27T20:31:20Z</dc:date>
    <item>
      <title>Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1066855#M5519</link>
      <description>&lt;P&gt;Hello! I have *.mmpk files on my Map and use&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;featureLayer.setFeaturesVisible()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;method for making my features visible or hidden.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in case if I click on the map and try to find feature by coordinates, I receive a hidden feature. I need to avoid such clicks. How can I determine the visibility of a feature?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 13:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1066855#M5519</guid>
      <dc:creator>AleksandrGorshkov</dc:creator>
      <dc:date>2021-06-10T13:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1068693#M5530</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;"click on the map and try to find feature by coordinates"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you provide more info (or code snippet) on how you are finding features by coordinates?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/mapping/view/GeoView.html#identifyLayersAsync(android.graphics.Point,double,boolean)" target="_self"&gt;GeoView.identifyLayersAsync&amp;nbsp;&lt;/A&gt;&amp;nbsp; usually does a hit test on the layers based on features visibility which should avoid returning invisible features.&lt;BR /&gt;&lt;BR /&gt;Here is a sample on that perform identify on layers,&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/identify-layers" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-android/tree/main/java/identify-layers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 23:45:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1068693#M5530</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-06-15T23:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1068821#M5531</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17660"&gt;@RamaChintapalli&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;I use this code to get features. I can't use your method, because I need to use query for my feature&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;private fun getFeaturesByQuery(
        query: QueryParameters,
        doneCallback: (FeatureLayer, List&amp;lt;Feature&amp;gt;?) -&amp;gt; Unit
    ) {
        if (mapView.map == null || mapView.map.operationalLayers.isNullOrEmpty()) {
            return
        }
        val topLayer = mapView.map.operationalLayers[0] as FeatureLayer
        val future = topLayer.featureTable.queryFeaturesAsync(query)
        future.addDoneListener {
            val result = future.get()
            val resultIterator = result.iterator()
            if (resultIterator.hasNext()) {
                doneCallback.invoke(topLayer, result.toList())
            } else {
                doneCallback.invoke(topLayer, null)
            }
        }
    }&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Jun 2021 11:44:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1068821#M5531</guid>
      <dc:creator>AleksandrGorshkov</dc:creator>
      <dc:date>2021-06-16T11:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069163#M5533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you are performing query and the query is returning features from the GeodatabaseFeatureTable that are not visibly rendered by FeatureLayer, then likely that your FeatureLayer has a definition expression defined on it. If so, can you apply the same filter on the query parameters whereClause while querying the features from the GeodatabaseFeatureTable which can restrict the features returned.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 23:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069163#M5533</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-06-16T23:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069469#M5534</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17660"&gt;@RamaChintapalli&lt;/a&gt;&amp;nbsp;could you tell me, how can I do it? Because I didn't find any info in QueryParams for visibility of Features&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 16:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069469#M5534</guid>
      <dc:creator>AleksandrGorshkov</dc:creator>
      <dc:date>2021-06-17T16:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069481#M5535</link>
      <description>&lt;P&gt;The visibility of Features is controlled by FeatureLayer. GeodatabaseFeatureTable table on the other hand has all the features in the table as authored. And the individual features doesn't provide any information of its Visible state.&lt;/P&gt;&lt;P&gt;From what I understood from your issue - my suggestion was, if FeatureLayer is already filtering the visible features (either by &lt;STRONG&gt;definitionExpression&lt;/STRONG&gt; or &lt;STRONG&gt;FeatureLayer.setFeaturesVisible()&lt;/STRONG&gt; method) , then we should be able to apply the same filtering while querying the features from GeodatabaseFeatureTable using whereClause.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 16:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069481#M5535</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-06-17T16:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069556#M5536</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/17660"&gt;@RamaChintapalli&lt;/a&gt;&amp;nbsp;it sounds pretty strange. Yes, you can control the visibility of Features with&amp;nbsp;&lt;SPAN&gt;FeatureLayer, but what is the reason not to add the getter for an exact Feature?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For now, I can't add an additional query to&amp;nbsp;&lt;STRONG&gt;whereClause&lt;/STRONG&gt;, because I don't store the previous filter. So... If there are no solutions, I need to add a workaround to check the visibility.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I need to check the visibility of Feature when I click on the Map. I use this method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;private fun getFeatureByPoint(
        screenPoint: Point,
        doneCallback: (FeatureLayer, Feature?) -&amp;gt; Unit
    ) {
        val mapPoint = mapView.screenToLocation(screenPoint)

        val query = QueryParameters()
        query.geometry = mapPoint
        getFeatureByQuery(query, doneCallback)
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, I get invisible Feature. So I need somehow put additional&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;whereClause&amp;nbsp;&lt;/STRONG&gt;from the previous query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Maybe is better to add a getter, sounds pretty logical for me.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 19:29:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069556#M5536</guid>
      <dc:creator>AleksandrGorshkov</dc:creator>
      <dc:date>2021-06-17T19:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069648#M5538</link>
      <description>&lt;P&gt;As I see it, your method `getFeatureByPoint` is pretty much doing what an identify would do. Additionally identify would also perform hit test to make sure the feature is visible.&lt;BR /&gt;&lt;BR /&gt;I will also take it to the team on providing an option to know the visibility state of feature in a feature layer. As far having a property on the feature itself will be discussed further. From the way API is designed features can work independent of rendering of the layer for applications that do not have any rendering needs. So it may be weighed in further in the discussion.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rama&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 23:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1069648#M5538</guid>
      <dc:creator>RamaChintapalli</dc:creator>
      <dc:date>2021-06-17T23:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Check Feature visibility state</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1687442#M6302</link>
      <description>&lt;P&gt;Have there been any changes on this topic? I am also trying to check if a given feature is visible. I am changing the visibility from the layer using&amp;nbsp;&lt;STRONG&gt;FeatureLayer.setFeaturesVisible()&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;but there is no matching get function to check if that was modified and it is not represented in the feature layer's definition expression either. As far as I can tell there is no way to programmatically check which features have been hidden on a feature layer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2026 20:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/check-feature-visibility-state/m-p/1687442#M6302</guid>
      <dc:creator>MichaelReese</dc:creator>
      <dc:date>2026-02-27T20:31:20Z</dc:date>
    </item>
  </channel>
</rss>

