Custom styling for cluster images in OpenLayers 3?

المشرف العام

Administrator
طاقم الإدارة
new with OpenLayers 3.

While it is possible to generate simple polygons and circles (like in the cluster example) I wish to generate a more complex Cluster style that varies depending on the features contained in the cluster.

For instance, I would like to generate a dynamic pie chart based on values. It is possible to render this client-side using HTML5 canvas function (arc()) and friends, but I cannot find a way to generate such a drawing using generic canvas primitives within OL3's styles.

Can anybody point me in the right direction? If impossible, I'll "enhance" OL3 with the missing functionality...



أكثر...
 
أعلى