Il 07/08/2011 09:32 AM, kapuch scrisse:

> So we have here two sets of diffrent styles with diffrent properties. How to
> enable one if feature is not the cluster (count=1) and how to enable second
> style if feature is cluster (count>1).

You don't need 2 styles, you just use externalgraphic or whatever if the
cluster is shown or stroke, fill and so on if a feature is shown.

If you use the code Arnd suggested, checking if the feature is a cluster
you can get what you want.

bye
  maxx
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to