Select to view content in your preferred language

FeatureLayer Clusterer using PictureMarkerSymbol

523
1
02-23-2012 07:14 PM
GaryBushek
Deactivated User
Looking for an example of a clusterer that uses pictureMarkerSymbols for a feature layer.  What I tried produced a green circular cluster graphic with my picture symbol on top of it.  I just want to see my picture symbol only. Any ideas?
Tags (2)
0 Kudos
1 Reply
DasaPaddock
Esri Regular Contributor
In this example the clusters are draw with a PictureMarkerSymbol and the features outside of the clusters are drawn with a SimpleMarkerSymbol:

    <esri:Map>
        <esri:FeatureLayer url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/FeatureServer/0">
            <esri:clusterer>
                <esri:WeightedClusterer>
                    <esri:symbol>
                        <esri:PictureMarkerSymbol/>
                    </esri:symbol>
                </esri:WeightedClusterer>
            </esri:clusterer>
            <esri:symbol>
                <esri:SimpleMarkerSymbol color="red"
                                         size="15"
                                         style="triangle"/>
            </esri:symbol>
        </esri:FeatureLayer>
    </esri:Map>
0 Kudos