Hi guys, sorry about the blank email, i hate touchpad :( Can someone tell me with my style is not working? It work fine when im using a static pointRadius (changing ${radius} by 4)
Im using a cluster strategy, and i want to make the circle size (style) dynamic (getting the number of features ) var style = new OpenLayers.Style({ pointRadius: "${radius}", fillColor: "#ffcc66", fillOpacity: 0.8, strokeColor: "#cc6633", strokeWidth: 2, strokeOpacity: 0.8 }, { context: { radius: function(feature) { return Math.min(feature.attributes.count, 7) + 3; } } }); Thank you. Fred
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users