<?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 HeatMapLayer based on points from FeatureLayer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663996#M17034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a HeatMapLayer from points in a FeatureLayer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do i get the geometry from the FeatureLayer (e.g. 'MapPoints') so i can add them to the 'HeatMapPoints' point collection for the HeatMapLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a query task set up on the FeatureLayer (which works) and i have 'returnGeometry' set to true. But I can't seem to figure out how to actually access that geometry information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can offer!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2011 14:45:16 GMT</pubDate>
    <dc:creator>AaronWeier</dc:creator>
    <dc:date>2011-07-14T14:45:16Z</dc:date>
    <item>
      <title>HeatMapLayer based on points from FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663996#M17034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to create a HeatMapLayer from points in a FeatureLayer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do i get the geometry from the FeatureLayer (e.g. 'MapPoints') so i can add them to the 'HeatMapPoints' point collection for the HeatMapLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a query task set up on the FeatureLayer (which works) and i have 'returnGeometry' set to true. But I can't seem to figure out how to actually access that geometry information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help you can offer!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 14:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663996#M17034</guid>
      <dc:creator>AaronWeier</dc:creator>
      <dc:date>2011-07-14T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: HeatMapLayer based on points from FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663997#M17035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since you are using FeatureLayer, you need not run a QueryTask to get the geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can simply iterate through the graphics after UpdateCompleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var featureLayer = sender as FeatureLayer;
var heatLayer = MyMap.Layers["MyHeatMapLayer"] as HeatMapLayer;
foreach (var g in featureLayer.Graphics)
{
 var mp = Geometry.Clone(g.Geometry) as MapPoint;
 heatLayer .HeatMapPoints.Add(mp);
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:04:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663997#M17035</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T04:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: HeatMapLayer based on points from FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663998#M17036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fantastic!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Jennifer!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 13:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663998#M17036</guid>
      <dc:creator>AaronWeier</dc:creator>
      <dc:date>2011-07-18T13:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: HeatMapLayer based on points from FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663999#M17037</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;SPAN&gt;This one helped me too, additionally i am wondering if we could add heat map for one of the attribute of data points instead of its density over a subsidiary. For e.g. drawing heat map for revenue from customer instead of number of customer distributed over the subsidiary.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 10:47:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/663999#M17037</guid>
      <dc:creator>SureshMali</dc:creator>
      <dc:date>2012-02-23T10:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: HeatMapLayer based on points from FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/664000#M17038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;This one helped me too, additionally i am wondering if we could add heat map for one of the attribute of data points instead of its density over a subsidiary. For e.g. drawing heat map for revenue from customer instead of number of customer distributed over the subsidiary.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think you can do that out of the box but you can tweak the HeatMapLayer code which is &lt;/SPAN&gt;&lt;A href="http://esrisilverlight.codeplex.com/"&gt;public&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2012 07:05:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/heatmaplayer-based-on-points-from-featurelayer/m-p/664000#M17038</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-02-27T07:05:08Z</dc:date>
    </item>
  </channel>
</rss>

