AW: [OpenLayers-Users] Changing style based on feature attributes.
kapuch
kapusta.marcin at gmail.com
Fri Jul 8 03:32:27 EDT 2011
I read about this yesterday.
But in this example You don't switching the style.
Switching externalGraphic property based on attribute is not the problem at
all.
The problem I have is how to add to the style based on attributes in feature
this property dynamicly:
externalGraphic
graphicWidth
graphicHeight
But when I have feature with cluster property then remove the above
properties from the style and add those ones:
pointRadius
fillColor
fillOpacity
strokeColor
cursor
strokeWidth
strokeOpacity
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).
Thanks...
-----
eDojazd.pl
Niższe koszty dojazdów dla wszystkich i wszędzie!
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Changing-style-based-on-feature-attributes-tp6558275p6561602.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list