top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to set different isolated icons while using AnimatedCluster strategy in openlayers?

+2 votes

To achive clustering I am using AnimatedCluster.js. For a feature I have given a style which includes an external image. I want to show different icon images for features having different value of one of their attributes. This can be easily achieved without using clustering strategy. But with clustering strategy , it is not able to read the perticular attribute if the image using style rules.

posted Aug 13, 2013 by Arpit Jain

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
Thanks for the help Nora, but I have achieved that thing, that is custom icon for a single feature. But my requirement is to show different icons based on the attribute of the feature while using the clustering strategy.

I can specify a single custom icon for features in style rule. But when I am specify multiple style rule which show different icons depending on the attribute value then it start showing the default icon for all features. I guess the attribute value of the feature is not found to the style rule.

Similar Questions
+1 vote

I need index file for importing Clutter map in Atoll

0 votes

Please describe the the meaning of each characters in the below table present in map specification

enter image description here


+1 vote

Hi friends i am developing windows phone application, i want to know how to set application Icon images in Visual studio 2012...........