<?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 Arcgis js api 4.8 - Heatmap renderer won't work on feature layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215361#M19931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey !&lt;/P&gt;&lt;P&gt;I'm using the new Arcgis js api 4.8, and try to use the new feature of the Heatmap layer.&lt;/P&gt;&lt;P&gt;I try it both on feature layer from url, and feature layer created from graphics array source.&lt;/P&gt;&lt;P&gt;All others renderers work on those feature layers (uniqueValue, classBreaks, simple..) and only the Heatmap renderer does not work.&lt;/P&gt;&lt;P&gt;I try use with with custom values on the renderer and without any custom options and both ways does not work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why ? In the examples of the heatmap, there&amp;nbsp; is only use in CSVlayer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2018 10:34:14 GMT</pubDate>
    <dc:creator>OrCohen</dc:creator>
    <dc:date>2018-08-01T10:34:14Z</dc:date>
    <item>
      <title>Arcgis js api 4.8 - Heatmap renderer won't work on feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215361#M19931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey !&lt;/P&gt;&lt;P&gt;I'm using the new Arcgis js api 4.8, and try to use the new feature of the Heatmap layer.&lt;/P&gt;&lt;P&gt;I try it both on feature layer from url, and feature layer created from graphics array source.&lt;/P&gt;&lt;P&gt;All others renderers work on those feature layers (uniqueValue, classBreaks, simple..) and only the Heatmap renderer does not work.&lt;/P&gt;&lt;P&gt;I try use with with custom values on the renderer and without any custom options and both ways does not work for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why ? In the examples of the heatmap, there&amp;nbsp; is only use in CSVlayer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 10:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215361#M19931</guid>
      <dc:creator>OrCohen</dc:creator>
      <dc:date>2018-08-01T10:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis js api 4.8 - Heatmap renderer won't work on feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215362#M19932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a sample of one not working? Make sure you have WebGL enabled, as that is required for Heatmap renderer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you need to define the stops manually, you can try creating it in the webmap and looking at the output renderer object like this sample.&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/odoe/pen/JvwOJK?editors=0010" title="https://codepen.io/odoe/pen/JvwOJK?editors=0010"&gt;heatmap&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 15:01:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215362#M19932</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2018-08-01T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis js api 4.8 - Heatmap renderer won't work on feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215363#M19933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;我这边也试了很多方法，确实没有看到4.8 API中支持的feature of the Heatmap layer，请问，楼主有方案了吗？可以分享吗？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 08:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215363#M19933</guid>
      <dc:creator>成磊司</dc:creator>
      <dc:date>2018-08-14T08:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis js api 4.8 - Heatmap renderer won't work on feature layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215364#M19934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;WebGL已经开启了，但是热力图渲染FeatureLayer还是没有效果。&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8"&amp;gt;&lt;BR /&gt; &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Data-driven continuous color - 4.8&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Farcgis_js_api%2Flibrary%2F4.8%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/4.8/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;lt;script&amp;gt;&lt;BR /&gt; var dojoConfig = {&lt;BR /&gt; has: {&lt;BR /&gt; "esri-featurelayer-webgl": 1&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Flocalhost%2Farcgis_js_api%2Flibrary%2F4.8%2Finit.js" rel="nofollow" target="_blank"&gt;http://localhost/arcgis_js_api/library/4.8/init.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;BR /&gt; html,&lt;BR /&gt; body,&lt;BR /&gt; #viewDiv {&lt;BR /&gt; padding: 0;&lt;BR /&gt; margin: 0;&lt;BR /&gt; height: 100%;&lt;BR /&gt; width: 100%;&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt; require([&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/layers/FeatureLayer",&lt;BR /&gt; "esri/widgets/Legend",&lt;BR /&gt; "esri/geometry/Point",&lt;BR /&gt; "esri/Graphic",&lt;BR /&gt; "esri/tasks/support/Query",&lt;BR /&gt; "esri/tasks/QueryTask",&lt;BR /&gt; "esri/renderers/HeatmapRenderer",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function (&lt;BR /&gt; Map, MapView, FeatureLayer, Legend, Point, Graphic, Query, QueryTask, HeatmapRenderer,&lt;BR /&gt; ) {&lt;BR /&gt; var map = new Map({&lt;BR /&gt; basemap: "streets"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;var view = new MapView({&lt;BR /&gt; container: "viewDiv",&lt;BR /&gt; map: map,&lt;BR /&gt; center: [-110.050200, 40.125524],&lt;BR /&gt; zoom: 4&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var renderer = {&lt;BR /&gt; type: "heatmap",&lt;BR /&gt; field: "Value",&lt;BR /&gt; colorStops: [&lt;BR /&gt; { ratio: 0, color: "rgba(255, 255, 255, 0)" },&lt;BR /&gt; { ratio: 0.2, color: "rgba(255, 255, 255, 1)" },&lt;BR /&gt; { ratio: 0.5, color: "rgba(255, 140, 0, 1)" },&lt;BR /&gt; { ratio: 0.8, color: "rgba(255, 140, 0, 1)" },&lt;BR /&gt; { ratio: 1, color: "rgba(255, 0, 0, 1)" }&lt;BR /&gt; ],&lt;BR /&gt; minPixelIntensity: 0,&lt;BR /&gt; maxPixelIntensity: 10&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;var featureLayer = new FeatureLayer({&lt;BR /&gt; fields: [{&lt;BR /&gt; name: "ObjectID",&lt;BR /&gt; alias: "ObjectID",&lt;BR /&gt; type: "oid"&lt;BR /&gt; }, {&lt;BR /&gt; name: "Value",&lt;BR /&gt; alias: "Value",&lt;BR /&gt; type: "double"&lt;BR /&gt; }],&lt;BR /&gt; objectIdField: "ObjectID",&lt;BR /&gt; geometryType: "point",&lt;BR /&gt; spatialReference: { wkid: 4326 },&lt;BR /&gt; renderer: &lt;SPAN&gt;renderer&amp;nbsp;&lt;/SPAN&gt;,&lt;BR /&gt; source: [{&lt;BR /&gt; geometry: new Point({&lt;BR /&gt; x: -120,&lt;BR /&gt; y: 40&lt;BR /&gt; }),&lt;BR /&gt; attributes: {&lt;BR /&gt; ObjectID: 1,&lt;BR /&gt; Value: 2&lt;BR /&gt; }&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; geometry: new Point({&lt;BR /&gt; x: -100,&lt;BR /&gt; y: 38&lt;BR /&gt; }),&lt;BR /&gt; attributes: {&lt;BR /&gt; ObjectID: 2,&lt;BR /&gt; Value: 3&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; ],&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;map.add(featureLayer);&lt;BR /&gt; });&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;BR /&gt; &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 01:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-8-heatmap-renderer-won-t-work-on/m-p/215364#M19934</guid>
      <dc:creator>成磊司</dc:creator>
      <dc:date>2018-08-21T01:37:46Z</dc:date>
    </item>
  </channel>
</rss>

