<?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: Heat Map on ArcGIS Viewer for Flex in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216171#M6596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After several tries, I got flex viewer heat map working for my own layer. I realized that I had to include the &amp;lt;defaultquery&amp;gt; 1=1 &amp;lt;/defaultquery&amp;gt; tag to be able to show all the points and refresh the browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also got some basic query done, thanks to Lloyd's guidance on query, many thanks, guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am going a little bit far now: Can I query based on two different fields (first is type, second is status, in my case). I think I would like to try and find out. Probably would need to add another query in the heatmap widgit or create another similar "widgit"? Are there better/easy ways to do multiple queries?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2011 17:20:25 GMT</pubDate>
    <dc:creator>DannyDong</dc:creator>
    <dc:date>2011-09-27T17:20:25Z</dc:date>
    <item>
      <title>Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216149#M6574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I'm trying to implement a heat map on my ArcGIS viewer using the code posted on the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://thunderhead.esri.com/readonlyurl/HeatMapNew/srcview/"&gt;http://thunderhead.esri.com/readonlyurl/HeatMapNew/srcview/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But still I'm not getting anything running yet as I'm not sure if it's compatible with the Viewer for Flex or not. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 20:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216149#M6574</guid>
      <dc:creator>MESHALALMASHAN</dc:creator>
      <dc:date>2011-03-07T20:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216150#M6575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=43daf0ffb1d34e31ad752da1340aeb40"&gt;http://www.arcgis.com/home/item.html?id=43daf0ffb1d34e31ad752da1340aeb40&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216150#M6575</guid>
      <dc:creator>xanderm</dc:creator>
      <dc:date>2011-06-08T14:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216151#M6576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;xander&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [INDENT]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.arcgis.com/home/item.html?id=43daf0ffb1d34e31ad752da1340aeb40"&gt;http://www.arcgis.com/home/item.html...752da1340aeb40&lt;/A&gt;&amp;nbsp;&amp;nbsp; [/INDENT]&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I had multiple issues with that link, I was able to implement this though...&lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=94c6b99f7b89496cb95f97394a023c6e"&gt;http://www.arcgis.com/home/item.html?id=94c6b99f7b89496cb95f97394a023c6e &lt;BR /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:30:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216151#M6576</guid>
      <dc:creator>LeeAllen</dc:creator>
      <dc:date>2011-06-08T15:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216152#M6577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hhhmmmm. I had no issue. I just downloaded and deployed this morning.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:59:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216152#M6577</guid>
      <dc:creator>xanderm</dc:creator>
      <dc:date>2011-06-08T15:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216153#M6578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone have luck implimenting the heatmap widget found here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=43daf0ffb1d34e31ad752da1340aeb40"&gt;http://www.arcgis.com/home/item.html?id=43daf0ffb1d34e31ad752da1340aeb40&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the new 2.4 viewer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 21:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216153#M6578</guid>
      <dc:creator>DanielOchoa</dc:creator>
      <dc:date>2011-08-10T21:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216154#M6579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sample updated to support ArcGIS Viewer for Flex 2.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=43daf0ffb1d34e31ad752da1340aeb40"&gt;ArcGIS Viewer for Flex HeatMapWidget&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry about that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 15:09:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216154#M6579</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2011-08-11T15:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216155#M6580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll plug this in ASAP.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 17:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216155#M6580</guid>
      <dc:creator>DanielOchoa</dc:creator>
      <dc:date>2011-08-11T17:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216156#M6581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-style:italic;"&gt;Lloyd,&lt;BR /&gt;&lt;BR /&gt;Got it working like a charm! Its a VERY nice widget.&lt;BR /&gt;&lt;BR /&gt;Just one question - the record set I have the widget pointing at has about 30,000 records, yet the widget reports "1000 features contained", even when zoomed out to the entire record set. However, the heat graphics produced seemingly covers the entire dataset and displays correct information, despite the "1000" number. Any explanation for this? Its probably me not understanding something, so any answer would be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;&lt;BR /&gt;~ D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Never mind, answered my own question - but to anyone else who may have the same question I did - remember to change the "Maximum Number of Records Returned By Server" value under "Map Service Properties" to match the amount of data you want this widget to measure.... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 23:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216156#M6581</guid>
      <dc:creator>DanielOchoa</dc:creator>
      <dc:date>2011-08-12T23:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216157#M6582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried updating my application, but got 2 errors:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri_stl:ArcGISHeatMapLayer id="heatMapLayer" url="{m_url}" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One for the heatmaptest and the other for the heatmaptime test mxml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 19:06:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216157#M6582</guid>
      <dc:creator>JeffreyUtter</dc:creator>
      <dc:date>2011-08-16T19:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216158#M6583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Question about the heat map time line function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The residual data does not leave the map as the slider is progressed through the date range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg, I have 10 various xy points for 1980, then another various 10 points for 1981, but as I move the slider from 1980 to 1981 I no longer have 10 points only I have a cumulative 20 points and thus the heat spot increases. Is this by design? or can it be changed to only reflect the data as requested by the given date range of the slider request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mick.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 21:04:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216158#M6583</guid>
      <dc:creator>MichaelHarvey</dc:creator>
      <dc:date>2011-08-16T21:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216159#M6584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I tried updating my application, but got 2 errors:&lt;BR /&gt;&amp;nbsp; &amp;lt;esri_stl:ArcGISHeatMapLayer id="heatMapLayer" url="{m_url}" &lt;BR /&gt;One for the heatmaptest and the other for the heatmaptime test mxml&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;BR /&gt;Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not sure what you are doing? Are you compiling the widget from the source code I posted?&amp;nbsp; The HeatMapTest.mxml and HeatMapTimeTest.mxml are just sample applications that illustrate the functionality of the ArcGISHeatMapLayer.as class.&amp;nbsp; They are not used in the widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you are using the source code, unless you are compiling your own library project with your namespace (which is what I use and a little more complex than can be explained here); you just need to reference the location where you placed the source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;You'll need to refactor the source code specifically you'll get errors for the package name (com.esri.stl.ags and any subpackages) as well as the namespace ( xmlns:esri_stl="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.esri.com/2010/stl" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.esri.com/2010/stl&lt;/A&gt;&lt;SPAN&gt;") that I used when compiling the library project.&amp;nbsp; If you put the source code into a package name com.mycustomsourcecode then in your app would look like this below.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:mx="library://ns.adobe.com/flex/mx" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minWidth="955" minHeight="600" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:my_custom_sourcecode="com.mycustomsourcecode"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; backgroundColor="0x8080C0"&amp;gt;
 &amp;lt;esri:Map id="map" wrapAround180="true" &amp;gt;
&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer url="{YourBasemapURL}" visible="true"/&amp;gt;
&amp;nbsp; &amp;lt;my_custom_sourcecode:ArcGISHeatMapLayer id="heatMapLayer" url="{YourHeatmapURL}" useAMF="true" outFields="&lt;LI&gt;" alpha="0.7"/&amp;gt;&lt;/LI&gt;
 &amp;lt;/esri:Map&amp;gt;
&amp;lt;/s:Application&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:35:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216159#M6584</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2021-12-11T10:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216160#M6585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Works great.&lt;BR /&gt;&lt;BR /&gt;Question about the heat map time line function.&lt;BR /&gt;&lt;BR /&gt;The residual data does not leave the map as the slider is progressed through the date range.&lt;BR /&gt;&lt;BR /&gt;eg, I have 10 various xy points for 1980, then another various 10 points for 1981, but as I move the slider from 1980 to 1981 I no longer have 10 points only I have a cumulative 20 points and thus the heat spot increases. Is this by design? or can it be changed to only reflect the data as requested by the given date range of the slider request.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Mick.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was simply a design decision, there is a property on the TimeSlider named thumbCount.&amp;nbsp; You can see how it works in this sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000004z000000.htm"&gt;&lt;STRONG&gt;Time Slider with 2 thumbs&lt;/STRONG&gt;&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; Unfortunately &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;you&lt;/SPAN&gt;&lt;SPAN&gt; would need to recompile the widget in order to make this change, maybe it is something I can do in the next version (whenever that would be) through the configuration file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 14:13:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216160#M6585</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2011-08-17T14:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216161#M6586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It was simply a design decision, there is a property on the TimeSlider named thumbCount.&amp;nbsp; You can see how it works in this sample &lt;A href="http://help.arcgis.com/en/webapi/flex/samples/01nq/01nq0000004z000000.htm"&gt;&lt;STRONG&gt;Time Slider with 2 thumbs&lt;/STRONG&gt;&lt;/A&gt;.&amp;nbsp; Unfortunately &lt;SPAN style="font-style:italic;"&gt;you&lt;/SPAN&gt; would need to recompile the widget in order to make this change, maybe it is something I can do in the next version (whenever that would be) through the configuration file.&lt;BR /&gt;&lt;BR /&gt;Lloyd&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you ever do, be sure to post it, that function would be great.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 21:09:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216161#M6586</guid>
      <dc:creator>MichaelHarvey</dc:creator>
      <dc:date>2011-08-17T21:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216162#M6587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lloyd, great widget! thanks for sharing it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to implement the source code in to my project, haven't made any customizations yet. Right now I just wanted to try it out, but for later projects I might want to use another data source than a mapservice from ArcGIS Server, lets say I get some point data somehow and put them into a graphiclayer for example. How much rewriting of the source code would I have to do to use that as an input instead? I haven't look at the code much yet but I'm guessing it will be really tricky for someone with limited knowledge of flex/actionscript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/Mattias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 12:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216162#M6587</guid>
      <dc:creator>MattiasEkström</dc:creator>
      <dc:date>2011-08-18T12:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216163#M6588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Lloyd, great widget! thanks for sharing it.&lt;BR /&gt;I managed to implement the source code in to my project, haven't made any customizations yet. Right now I just wanted to try it out, but for later projects I might want to use another data source than a mapservice from ArcGIS Server, lets say I get some point data somehow and put them into a graphiclayer for example. How much rewriting of the source code would I have to do to use that as an input instead? I haven't look at the code much yet but I'm guessing it will be really tricky for someone with limited knowledge of flex/actionscript.&lt;BR /&gt;/Mattias&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey Mattias,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should be able to use the HeatMapLayer class and version 1 of the widget to get you started.&amp;nbsp; You will need to modify the code to do what need, but it is pretty straightforward (assuming your are comfortable doing some coding [ActionScript+MXML]).&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt; Take a look at the function named &lt;STRONG style="text-decoration: underline;"&gt;heatmap_QueryTask_executeCompleteHandler&lt;/STRONG&gt; in &lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG&gt;HeatMapWidget.mxml&lt;/STRONG&gt;&lt;/SPAN&gt;, you can find this in the download under &lt;STRONG style="text-decoration: underline;"&gt;HeatMapWidgetCode\v1\HeatMapWidget\src\HeatMap&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you are wanting to accomplish by using a non-ArcGIS Server datasource is pretty easy to do with version 1 of the widget included in the download.&amp;nbsp; Here's how it works.&amp;nbsp; You'll need to fetch your points from some datasource, web service, etc.&amp;nbsp; You'll need to make sure that your points are in the same projection as the map you are using.&amp;nbsp; Create a new instance of the HeatMapLayer (also included in the source [version 1]). You then create an Array of HeatMapPoints where each item in the array is a HeatMapPoint.&amp;nbsp; Then set the HeatMapLayer.dataProvider = heatMapPointsArr; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, what I'm telling you is that there are two classes.&amp;nbsp; HeatMapLayer was the original class used in version 1 of the widget, it was more generic and not deeply integrated with an ArcGIS Server service.&amp;nbsp; This was the original source code that Mansour provided on his blog.&amp;nbsp; ArcGISHeatMapLayer is the version 2 class that I created that still uses the same source code from Mansour to generate the heatmap, but is deeply integrated with an ArcGIS Server service (TimeAware, Dynamic query functionality, etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 13:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216163#M6588</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2011-08-19T13:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216164#M6589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to use equal(=)and not &amp;amp;gt(&amp;gt;), and is there a way to use a field that is string and not an interger or double?&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 14:52:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216164#M6589</guid>
      <dc:creator>CarlAlexander</dc:creator>
      <dc:date>2011-08-24T14:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216165#M6590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is there a way to use equal(=)and not &amp;amp;gt(&amp;gt;), and is there a way to use a field that is string and not an integer or double?&amp;nbsp; Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You sure can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;querytemplate&amp;gt;FIELD_NAME = 'REPLACE_STR'&amp;lt;/querytemplate&amp;gt;
&amp;lt;types&amp;gt;VAL1,VAL2,VAL3,VAL4&amp;lt;/types&amp;gt;
&amp;lt;type_descs&amp;gt;Name = 1,Name = 2,Name = 3,Name = 4&amp;lt;/type_descs&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The type_descs are what show up as the label in the dropdown list, and the types are the values associated with the label.&amp;nbsp; When you select one of the options from the list the query template takes the text REPLACE_STR and replaces it with the value you selected from the option list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example: if you selected "Name = 1" from the dropdown, then the query executed would be FIELD_NAME = 'VAL1'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:35:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216165#M6590</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2021-12-11T10:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216166#M6591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This widget is Excellent!, unfortunately I haven't been able to make it work with table-based dynamic (Event) map services; when running the widget I get the right number of records from the database but all of them are clustered in the (0,0) coordinates (My data is all in WGS84); however if in the MXD I export the temporary event layer to a feature class and then republish my service, it works perfectly. My operational layers are dynamic by nature so I can't afford the task of being regularly saving to feature classes. I was wondering if there is any workaround for this? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Much appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oscar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:18:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216166#M6591</guid>
      <dc:creator>OscarCastaneda1</dc:creator>
      <dc:date>2011-09-09T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216167#M6592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; This widget is Excellent!, unfortunately I haven't been able to make it work with table-based dynamic (Event) map services; when running the widget I get the right number of records from the database but all of them are clustered in the (0,0) coordinates (My data is all in WGS84); however if in the MXD I export the temporary event layer to a feature class and then republish my service, it works perfectly. My operational layers are dynamic by nature so I can't afford the task of being regularly saving to feature classes. I was wondering if there is any workaround for this?&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Much appreciated.&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Oscar&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey Oscar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested this using an Event based layer through ArcGIS Server, and it works. I've attached a &lt;/SPAN&gt;&lt;STRONG style=": ; font-style: italic; text-decoration: underline;"&gt;&lt;A href="http://forums.arcgis.com/attachment.php?attachmentid=8923&amp;amp;stc=1&amp;amp;d=1315866595" rel="nofollow"&gt;document&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt; with some info on this. FYI, you &lt;/SPAN&gt;&lt;STRONG style="color: &amp;quot;DarkRed&amp;quot;;"&gt;WILL NOT&lt;/STRONG&gt;&lt;SPAN&gt; get the best performance publishing this way; but it does work. It also most likely only works with mxd based services [that is what I tested], not optimized (msd) based services. Since it is not optimized it is likely that you might not be able to publish event layers as services in the future, but I don't know that for sure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lloyd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know all of the details of your workflow, but here are some other possible suggestions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt; &lt;BR /&gt; &lt;LI&gt;You could use the Feature Service in ArcGIS Server to keep your featureclass updated dynamically. Send all your edits through the feature service, and use the feature service as input to the HeatMap widget.&lt;/LI&gt; &lt;BR /&gt; &lt;LI&gt;You might possibly be able to use the capabilities of using a QueryLayer to support the dynamic nature of your data, and serve that QueryLayer through a map service in ArcGIS Server.&lt;/LI&gt; &lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 21:42:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216167#M6592</guid>
      <dc:creator>LloydHeberlie</dc:creator>
      <dc:date>2011-09-12T21:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Heat Map on ArcGIS Viewer for Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216168#M6593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; Hey Oscar,&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I tested this using an Event based layer through ArcGIS Server, and it works. I've attached a&amp;nbsp;&amp;nbsp; &lt;STRONG style=": ; font-style: italic; text-decoration: underline;"&gt;&lt;A href="http://forums.arcgis.com/attachment.php?attachmentid=8923&amp;amp;stc=1&amp;amp;d=1315866595" rel="nofollow"&gt;document&lt;/A&gt;&lt;/STRONG&gt; with some info on this. FYI, you&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: &amp;quot;DarkRed&amp;quot;;"&gt;WILL NOT&lt;/STRONG&gt; get the best performance publishing this way; but it does work. It also most likely only works with mxd based services [that is what I tested], not optimized (msd) based services. Since it is not optimized it is likely that you might not be able to publish event layers as services in the future, but I don't know that for sure.&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Good Luck,&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;Lloyd&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt;I don't know all of the details of your workflow, but here are some other possible suggestions:&amp;nbsp; &lt;BR /&gt; &lt;UL&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;LI&gt;You could use the Feature Service in ArcGIS Server to keep your featureclass updated dynamically. Send all your edits through the feature service, and use the feature service as input to the HeatMap widget.&lt;/LI&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &lt;LI&gt;You might possibly be able to use the capabilities of using a QueryLayer to support the dynamic nature of your data, and serve that QueryLayer through a map service in ArcGIS Server.&lt;/LI&gt;&amp;nbsp; &lt;BR /&gt; &lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Lloyd for your response and taking the time to come up with all related documentation. It's got to be something in my environment because after trying the MXD you provided I'm getting the same results (all points clustered at 0,0). I do agree with you I'm better off if I change my workflow (and using a QueryLayer may be the way to go).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, I really appreciate your help at this respect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oscar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:11:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/heat-map-on-arcgis-viewer-for-flex/m-p/216168#M6593</guid>
      <dc:creator>OscarCastaneda1</dc:creator>
      <dc:date>2011-09-15T12:11:41Z</dc:date>
    </item>
  </channel>
</rss>

