<?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: FlareClusterer : how to get the graphic clicked in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120574#M3003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So basically you want a maptip for each flare?&amp;nbsp; Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did something similiar where we created a custom maptip that worked with the flare cluster.&amp;nbsp; When you hover over the cluster it give you a datagrid will all the data in it.&amp;nbsp; Let me know if that may meet your needs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Feb 2011 19:20:07 GMT</pubDate>
    <dc:creator>Charles__Jamie_Phillips</dc:creator>
    <dc:date>2011-02-28T19:20:07Z</dc:date>
    <item>
      <title>FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120565#M2994</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;I have implemented FlareClusterer and I have a requirement in my project that if i click on the individual flare I should be able to find out which object has been clicked. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;graphicsLayer.FindGraphicsInHostCoordinates(transformScreenPnt) is not giving me the correct object which has been selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From the given collection of objects in flare cluster symbol , i want to identify which one is clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chitra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jan 2011 07:23:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120565#M2994</guid>
      <dc:creator>chitrasrivastava</dc:creator>
      <dc:date>2011-01-31T07:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120566#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have tried this workaround but it did not work? &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/18534-FlareClusterer-event-bug"&gt;http://forums.arcgis.com/threads/18534-FlareClusterer-event-bug&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 05:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120566#M2995</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-03T05:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120567#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same issue and FindGraphicsInHostCoordinates does not work.&amp;nbsp; I need to be able to identify the individual symbol clicked in the flare, and FindGraphicsInHostCoordinates returns all the Graphic objects within the cluster.&amp;nbsp; Is there a way to distinguish which one was actually clicked?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 17:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120567#M2996</guid>
      <dc:creator>KyleBunting</dc:creator>
      <dc:date>2011-02-03T17:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120568#M2997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At this point in time, you access the cluster graphic that represents group of features, and not the individual graphic that one of the "flares" represents. If the user needs to interact with the individual features, they will need to zoom into a level where they spread out to individual symbols.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is by design, but we are considering options for handling this use case in a future release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 22:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120568#M2997</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-02-03T22:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120569#M2998</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;This is our functional requirement that we should be able to access the attributes of individual objects behind the clusterer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope to get to know about the resolution of this issue soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chitra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 08:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120569#M2998</guid>
      <dc:creator>chitrasrivastava</dc:creator>
      <dc:date>2011-02-10T08:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120570#M2999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a functional requirement for my application as well.&amp;nbsp; I have cases where it is not possible to zoom down in order to separate the individual items in a cluster into separate graphics.&amp;nbsp; I am currently handling this by displaying a window panel with a list of the items at a given location, and allowing the user to select which item they want from the list.&amp;nbsp; However, when a user can mouse over the "flares" and get information about a specific item, it doesn't make the most sense for them to have to "reselect" the item in a list after clicking on it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would it be possible to capture the click event in an overridden GraphicsCluster class?&amp;nbsp; If so, could someone please provide a sample of how to go about doing that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Feb 2011 16:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120570#M2999</guid>
      <dc:creator>KyleBunting</dc:creator>
      <dc:date>2011-02-14T16:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120571#M3000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been unable to get any custom click events to work in a custom Clusterer class.&amp;nbsp; However, I was able to work around this problem by creating a CustomClusterer class that inherits from FlareClusterer.&amp;nbsp; Wihtin the overridden OnCreateGraphic method I looped through the GraphicCollection passed into the clusterer and assigned an ElementIndex attribute to each graphic in the collection.&amp;nbsp; The ElementIndex must start at 0, and increment by one for each element in the clusterer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clicking on one of the "flares" of a clusterer can then be handled using the Map_MouseLeftButtonDown.&amp;nbsp; The "flares" are represented by System.Windows.Shapes.Ellipse objects, which are named "elm0," "elm1," "elm2," etc.&amp;nbsp; The e.OriginalSource object can be cast to a System.Windows.Shapes.Ellipse object, and its name can them be compared to "elm" + the ElementIndex attribute of each Graphic item in the collection returned using GraphicsLayer.FindGraphicsInHostCoordinates().&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 15:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120571#M3000</guid>
      <dc:creator>KyleBunting</dc:creator>
      <dc:date>2011-02-15T15:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120572#M3001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kyle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even I had tried the custom event handling but it didn't work in the expected way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am capturing the flare graphics click event in map left button down and trying to get the graphics objects by findgraphicsinhostcoordinate method. This way I am able to &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some other stuff also which requires overriding oncreate graphics of flare clusture. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you share your code for that , it might help me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess you have already done that..Can you please share the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chitra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 07:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120572#M3001</guid>
      <dc:creator>chitrasrivastava</dc:creator>
      <dc:date>2011-02-28T07:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120573#M3002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Chitra,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code for my custom FlareClusterer class is below, as well a snippet of the code from my Map_MouseLeftButtonDown event handler.&amp;nbsp; To provide a bit of background on what I am doing in my project, I have a world map to which I am adding graphics that represent each member of the organization for which I work.&amp;nbsp; My goal was to be able to click on any of the "dots" on the map and from there display either a list of all the people at that location or if a single "dot" was clicked, then display the personal information for the person clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, I do not have a need to do any further manipulation of the FlareClusterer, so my CustomFlareClusterer is very simple, and is only used to add my "ElementIndex" attribute to each Graphic object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CustomFlareClusterer.cs&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
using ESRI.ArcGIS.Client;
using ESRI.ArcGIS.Client.Geometry;

namespace MySilverlightProject.Controls
{
 public class CustomFlareClusterer : FlareClusterer
 {
&amp;nbsp; protected override Graphic OnCreateGraphic(GraphicCollection cluster, MapPoint point, int maxClusterCount)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; int elementIndex = 0;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; // Loop through the Graphics in the cluster, and add an ElementIndex attribute to each item
&amp;nbsp;&amp;nbsp; foreach (Graphic g in cluster)
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; // First, check to see if the Graphic object already contains the ElementIndex attribute, and reset it if necessary.
&amp;nbsp;&amp;nbsp;&amp;nbsp; // This is necessary to handle cases where the Graphic object was part of a large collection of Graphics prior to 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // the user zooming in to get to the Flare Clusterer object on the map.
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (g.Attributes.ContainsKey("ElementIndex"))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.Attributes["ElementIndex"] = elementIndex;
&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.Attributes.Add("ElementIndex", elementIndex);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; elementIndex++;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; // Now pass our modified GraphicCollection object, "cluster," into the GraphicClusterer OnCreateGraphic method
&amp;nbsp;&amp;nbsp; return base.OnCreateGraphic(cluster, point, maxClusterCount);
&amp;nbsp; }
 }
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To handle the click event of any Graphics on the map, I have wrapped everything into the Map_MouseLeftButtonDown event handler.&amp;nbsp; This allows me to avoid having to handle Graphics in a Clusterer separately from stand-alone Graphics.&amp;nbsp; I've left a lot of my code out of the snippet below, but you should be able to discern how I am using the ElementIndex attribute on each Graphic object to figure out which element of a flare was clicked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Map_MouseLeftButtonDown event handler&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private void Map_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
 // Attempt to case the clicked object to an Ellipse object
 Ellipse ellipse = e.OriginalSource as Ellipse;
 
 // Get a reference to the map's GraphicsLayer
 GraphicsLayer graphicsLayer = Map.Layers["DynamicGraphicsLayer"] as GraphicsLayer;
 GeneralTransform generalTransform = Map.TransformToVisual(Application.Current.RootVisual);
 System.Windows.Point transformScreenPnt = generalTransform.Transform(e.GetPosition(this.Map));
 var graphics = graphicsLayer.FindGraphicsInHostCoordinates(transformScreenPnt);

 foreach (Graphic g in graphics)
 {
&amp;nbsp; // If the Graphic object clicked by the user is not part of a cluster...
&amp;nbsp; if (graphics.Count&amp;lt;Graphic&amp;gt;() == 1)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; // Add processing code here.&amp;nbsp; What I do is navigate to another page, and pass in the associated Id Attribute of the
&amp;nbsp;&amp;nbsp; // Graphic object that was clicked.
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; // Exit
&amp;nbsp;&amp;nbsp; break;
&amp;nbsp; }
&amp;nbsp; 
&amp;nbsp; // Check to see if the object clicked by the user was actually an Ellipse object.&amp;nbsp; The object will be an ellipse if 
&amp;nbsp; // the user clicked on one of the "flares," but that may or may not be the case if they clicked on the center Graphic
&amp;nbsp; // of a cluster, or if they click on a cluster that contains too many objects to be a FlareClusterer.
&amp;nbsp; if (ellipse != null)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; if (ellipse.Name.ToLower() == "mainsymbol")
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; // The Ellipse that represents the center of a cluster was clicked, so what I do here is create a list of 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // the "Ids" for each Graphic in cluster.&amp;nbsp; The Id is pulled from the Attributes.
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Add processing code here.&amp;nbsp; I display a panel on the side of the map with a list of people at the location clicked.
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; else if (ellipse.Name.ToLower().StartsWith("elm"))
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Each "flare" in a cluster is an Ellipse with a name that is "elm" + an index starting from the right-hand side
&amp;nbsp;&amp;nbsp;&amp;nbsp; // and going around clockwise.&amp;nbsp; The first "flare" will be named "elm0," the second "elm1," and so on.&amp;nbsp; Using that
&amp;nbsp;&amp;nbsp;&amp;nbsp; // information, we can match our ElementIndex up with the element clicked to figure out which "flare" within the 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // cluster was clicked.&amp;nbsp; All we need to do is prepend "elm" to our ElementIndex and compare it the name of the
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Ellipse that was clicked.
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((g.Attributes.ContainsKey("ElementIndex")) &amp;amp;&amp;amp; ("elm" + g.Attributes["ElementIndex"].ToString() == ellipse.Name))
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Add processing code here.&amp;nbsp; What I do is navigate to another page, and pass in the associated Id Attribute of the
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Graphic object that was clicked.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Exit, since we've found what we were looking for.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; // Add processing code here.&amp;nbsp; I display a panel on the side of the map with a list of people at the location clicked.
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
&amp;nbsp; else
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; // This should be used to handle the cases where the user clicked on a GraphicClusterer, but the actual click event
&amp;nbsp;&amp;nbsp; // was fired for a child of the Ellipse object, such as the text containing the number of items in the cluster.
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; // Add processing code here.&amp;nbsp; I display a panel on the side of the map with a list of people at the location clicked.
&amp;nbsp; }
 }
}
&lt;/PRE&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;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kyle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120573#M3002</guid>
      <dc:creator>KyleBunting</dc:creator>
      <dc:date>2021-12-11T07:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120574#M3003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So basically you want a maptip for each flare?&amp;nbsp; Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We did something similiar where we created a custom maptip that worked with the flare cluster.&amp;nbsp; When you hover over the cluster it give you a datagrid will all the data in it.&amp;nbsp; Let me know if that may meet your needs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 19:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120574#M3003</guid>
      <dc:creator>Charles__Jamie_Phillips</dc:creator>
      <dc:date>2011-02-28T19:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120575#M3004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;cphill11,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I am able to get MapTips for each "flare" without any coding.&amp;nbsp; The problem I was having and what my code addresses is a way to handle the click event for an individual "flare" within a cluster.&amp;nbsp; I needed a way to figure out which "flare" within a cluster was clicked, and currently, the ArcGIS Silverlight API does not provide any means with which to accomplish this.&amp;nbsp; None of the Graphic object mouse events (other then MouseLeave) work for objects contained within a GraphicsClusterer, so a workaround was necessary.&amp;nbsp; The Map_MouseLeftButtonDown event suggested by ESRI engineers earlier in this thread only results in a collection of Graphics at the point clicked being returned, but it did not provide a way to know which "flare" was clicked.&amp;nbsp; What I did was create a custom FlareClusterer so I could add attributes the the Graphics in the GraphicCollection that will allow me to match the "flare" clicked with its underlying Graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully this clarifies what problem I was addressing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kyle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 19:35:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120575#M3004</guid>
      <dc:creator>KyleBunting</dc:creator>
      <dc:date>2011-02-28T19:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120576#M3005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info.&amp;nbsp; Glad you got it solved.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 12:20:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120576#M3005</guid>
      <dc:creator>Charles__Jamie_Phillips</dc:creator>
      <dc:date>2011-03-01T12:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: FlareClusterer : how to get the graphic clicked</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120577#M3006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kyle&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your code. It really saved a lot of time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However i have two more queries, Please help me with the same:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. As custom Flareclusterer overrides the base clusterer therefore it also overrides its symbology. Is there any way I can define my symbols for the cluster when I am assigning the element Index.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. My Map Tip content is a datagrid, when i bind the grid in infoWindow, and try to increase the size of info window it behaves in a weired manner and only 50% of grid is displayed distorting the size of Infowindow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 03:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/flareclusterer-how-to-get-the-graphic-clicked/m-p/120577#M3006</guid>
      <dc:creator>komalagarwal</dc:creator>
      <dc:date>2011-03-10T03:59:53Z</dc:date>
    </item>
  </channel>
</rss>

