<layer label="Simple, same-sized circles (default color green)" type="feature" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer/0" popupconfig="popups/PopUp_311.xml" visible="true"> <clustering> <clustersymbol type="simple"/> </clustering> </layer>
<layer label="San Franscisco 311" type="feature" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer/0" popupconfig="popups/PopUp_311.xml" visible="true"> <clustering mingraphiccount="2" sizeinpixels="80"> <clustersymbol type="simple" alpha="1" alphas="0.7,0.8,1" bordercolor="0xFFFFFF" color="0xFF4242" colors="0xFF837E,0xFF4242,0xFF4242" flaremaxcount="10" size="90" sizes="30,60,90" textcolor="0x000000" textsize="14" weights="10,100,200"/> </clustering> </layer>
<clustering mingraphiccount="2" sizeinpixels="80"> <clustersymbol type="simple" alpha="1" alphas="0.7,0.8,1" bordercolor="0xFFFFFF" color="0xFF4242" colors="0xFF837E,0xFF4242,0xFF4242" flaremaxcount="10" size="90" sizes="30,60,90" textcolor="0x000000" textsize="14" weights="10,100,200"/> </clustering>
Thanks for a great new feature!!
I have three questions to clustering in flexviewer 2.4
1. When I zoom to max zoom level I still have some features clustered. Which parameter will I have to set to ensure that features will be displayed as single points when zoomed in?
2. Does flare working with clustering for flexviewer 2.4?
3. Does <linkfield> to images work for Popup window for clustered layer? When I mouse click on single points in the clustered layer for popups I only get the url displayed not the image.
Ivan Baehr
UNOSAT
Hi Ivan, I'm also working through this and have been able to figure out some of the properties.
1. Increasing the property minigraphcount (try 5 or more) should reveal those final few points when zoomed in.
2. Set clustersymbol type="flare" (this works, but is not currently supported because it has not yet been fully implemented)
3. You need to configure a custom popup.xml for the feature layer. Check the <medias> tag in the viewer documentation.
Hope this helps!
-Evan
<layer label="Test Clustering" type="feature" visible="true" popupconfig="popups/PopUp_SR_Ultrasoon.xml" url="http://gistest.railinfra.local/ArcGIS/rest/services/US_Data/MapServer/0"> <clustering mingraphiccount="2" sizeinpixels="80"> <clustersymbol type="flare" alpha="1" alphas="0.7,0.8,1" bordercolor="0x000000" color="0xFF4242" colors="0xFF837E,0xFF4242,0xFF4242" flaremaxcount="10" size="90" sizes="30,60,90" textcolor="0x000000" textsize="14" weights="10,100,200" /> </clustering> </layer>
I can't get a popup to work on flared points either, is there something i am doing wrong?