<?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 Unsupported query error in a FeatureLayer created with client side graphics in SceneView in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unsupported-query-error-in-a-featurelayer-created/m-p/676004#M62966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;The sample code here: &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/index.html"&gt;Create a FeatureLayer with client side graphics | ArcGIS API for JavaScript 4.0&lt;/A&gt; shows how to create a featurelayer with client side geojson data. It works fine if I click somewhere on the map that&amp;nbsp; does not have any feature. It will not do anything, which is reasonable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I change MapView into SceneView in this sample (sample code attached, you can copy and paste into the sandbox),&amp;nbsp; when I click somewhere on the globe that does not have any feature, the console will show me an error, and it has an message "Unsupported query" (see image below)&lt;IMG __jive_id="208594" alt="err.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/208594_err.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering how to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you look closely on the SceneView globe, you will notice that each feature (point circle) has a white dot in the center (see image below)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="208649" alt="Untitled.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/208649_Untitled.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed this by adding&lt;/P&gt;&lt;P&gt;"elevationInfo: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: "on-the-ground"}"&lt;/P&gt;&lt;P&gt;in the FeatureLayer. This code can be found in the attachment "sampleCodeWelevationinfo.txt". But the problem is, after adding it, the popup does not work any more and wherever you click on the globe, it will show the same error as in the first image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to fix these problems? thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw, in this sample code: &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=visualization-multivariate-2d" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=visualization-multivariate-2d"&gt;ArcGIS API for JavaScript Sandbox&amp;nbsp; &lt;/A&gt; , change "onTheGround" to "on-the-ground", it has no problem for the popup and if you click somewhere on the globe that does not have any feature, it will tell you no feature is found. The only different between this one and the problem one is that in this one the FeatureLayer reference a service URL while the problem one uses an array of client-side graphics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use my own data, how to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 22:00:33 GMT</pubDate>
    <dc:creator>BoYan1</dc:creator>
    <dc:date>2016-06-22T22:00:33Z</dc:date>
    <item>
      <title>Unsupported query error in a FeatureLayer created with client side graphics in SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unsupported-query-error-in-a-featurelayer-created/m-p/676004#M62966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;The sample code here: &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/index.html"&gt;Create a FeatureLayer with client side graphics | ArcGIS API for JavaScript 4.0&lt;/A&gt; shows how to create a featurelayer with client side geojson data. It works fine if I click somewhere on the map that&amp;nbsp; does not have any feature. It will not do anything, which is reasonable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if I change MapView into SceneView in this sample (sample code attached, you can copy and paste into the sandbox),&amp;nbsp; when I click somewhere on the globe that does not have any feature, the console will show me an error, and it has an message "Unsupported query" (see image below)&lt;IMG __jive_id="208594" alt="err.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/208594_err.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering how to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if you look closely on the SceneView globe, you will notice that each feature (point circle) has a white dot in the center (see image below)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="208649" alt="Untitled.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/208649_Untitled.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed this by adding&lt;/P&gt;&lt;P&gt;"elevationInfo: {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: "on-the-ground"}"&lt;/P&gt;&lt;P&gt;in the FeatureLayer. This code can be found in the attachment "sampleCodeWelevationinfo.txt". But the problem is, after adding it, the popup does not work any more and wherever you click on the globe, it will show the same error as in the first image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to fix these problems? thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw, in this sample code: &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=visualization-multivariate-2d" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/sandbox.html?sample=visualization-multivariate-2d"&gt;ArcGIS API for JavaScript Sandbox&amp;nbsp; &lt;/A&gt; , change "onTheGround" to "on-the-ground", it has no problem for the popup and if you click somewhere on the globe that does not have any feature, it will tell you no feature is found. The only different between this one and the problem one is that in this one the FeatureLayer reference a service URL while the problem one uses an array of client-side graphics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use my own data, how to fix it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 22:00:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unsupported-query-error-in-a-featurelayer-created/m-p/676004#M62966</guid>
      <dc:creator>BoYan1</dc:creator>
      <dc:date>2016-06-22T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Unsupported query error in a FeatureLayer created with client side graphics in SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unsupported-query-error-in-a-featurelayer-created/m-p/676005#M62967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These appear to be API bugs. We're taking a look at them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/unsupported-query-error-in-a-featurelayer-created/m-p/676005#M62967</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2016-06-24T16:32:11Z</dc:date>
    </item>
  </channel>
</rss>

