Select to view content in your preferred language

Viewer 2.5 Clustering and Popups

865
2
12-06-2011 09:33 AM
MichaelMorgan
Deactivated User
Hi:

I upgraded a project to 2.5 to take advantage of the clustering improvements, but it's not working as anticipated. When clicking single unclustered points on my target layer I get popups, so I think there's no error in the popup xml, but when clicking a flared point the popup doesn't appear.

This is the same behavior as 2.4. Do popups work with clustered points? What am I missing?

-Mike

details...

Here's the layer in config.xml:

            <layer label="Units" type="feature"
                   url="http://xx.x.x.xx/ArcGIS/rest/services/project/MapServer/11"
                   popupconfig="popups/PopUp_Units.xml"
                   alpha="0.5"
                   visible="true">
                   <clustering sizeinpixels="80">
                       <clustersymbol type="flare"/>
                   </clustering>
             </layer>

and here's the popup xml:

<?xml version="1.0" ?>
<configuration>
    <title>{UIC}: {Unit}</title>
    <description>
        <![CDATA[{Address} {RdType}
{City}, {State}  {Zip}
{Office_Ph}]]>
    </description>

    <fields>
        <field name="UIC" alias="UIC" visible="false"/>
        <field name="Unit" alias="Unit" visible="false"/>
        <field name="location" alias="location" visible="false"/>
        <field name="Address" alias="Address" visible="true"/>
        <field name="RdType" alias="RdType" visible="true"/>
        <field name="City" alias="City" visible="true"/>
        <field name="State" alias="State" visible="true"/>
        <field name="Zip" alias="Zip" visible="true"/>
        <field name="Office_Ph" alias="Office_Ph" visible="true"/>
    </fields>
</configuration>
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Michael,

   The only improvement that the team said that was made for clustering is:

In the API whats new:
Flare symbol for clusters shows actual symbol of the individual features.


In the Flex Viewer whats new:
Clustering with flare symbols


Nothing is mentioned about supporting popups for the flare symbols...
0 Kudos
MichaelMorgan
Deactivated User
Robert:

Thanks for the quick reply. I did see "Clustering with flare symbols" in the what's new, found it a little vague, and was hoping that the popup functionality was improved. On to the next thing...

Mike
0 Kudos