Select to view content in your preferred language

Cluster PictureMarkerSymbol

1226
6
03-22-2011 07:00 AM
Drew
by
Frequent Contributor
Anyone know if you can cluster PictureMarkerSymbols?
I am able to cluster using the FlareSymbol, but the PictureMarkerSymbol  does not work.

Here is what I would like to do, but I am afraid this is not supported.
<esri:PictureMarkerSymbol id="markerSymbol" source="images/star.png" height="25" width="25"/>
<esri:WeightedClusterer id="clusterer" symbol="{markerSymbol}"/>


According to the docs the WeightedClusterer.symbol property accepts any com.esri.ags.symbols


Thoughts?

Drew
Tags (2)
0 Kudos
6 Replies
DasaPaddock
Esri Regular Contributor
Yes, that should work. The cluster would be represented by the star. What's happening when you try this?
0 Kudos
Drew
by
Frequent Contributor
Yes, that should work. The cluster would be represented by the star. What's happening when you try this?


I am just seeing a single star and no clustering. The star is positioned on the map as a cluster, but when i mouseover nothing seems to happen.

I will try and post some sample code when I am back at my desk.

Thanks,

Drew
0 Kudos
DasaPaddock
Esri Regular Contributor
It's actually working as expected. The cluster is turned into a single Graphic and it's being drawn using the given symbol. Any other behavior depends on the symbol that is used.
0 Kudos
Drew
by
Frequent Contributor
It's actually working as expected. The cluster is turned into a single Graphic and it's being drawn using the given symbol. Any other behavior depends on the symbol that is used.


Makes sense now.. For some reason I thought it would flair too.. But I guess that's what a FlareSymbol is for : ) doh!

I guess what I am looking for is a FlarePictureMarkerSymbol, but that does not yet exist.

Thanks for your help.

Drew
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
Drew
by
Frequent Contributor
Drew,

  Actually it does.

http://thunderheadxpler.blogspot.com/2010/08/image-flare-symbol-for-clustered.html


Awsome!
Thanks for the assistance guys!
0 Kudos