Openlayers 3 Offset RegularShape

المشرف العام

Administrator
طاقم الإدارة
For clustered features I would like to make the following style in OL3:

A square, and on top of it another smaller square at the right-top corner. The bigger square would hold the symbol, and the smaller square would hold the number of the clustered features.

Similar to this

Is it possible to achieve this? In the API I've seen that ol.style.Icon and ol.style.Text has anchor and offset properties, but not RegularShape...



أكثر...
 
أعلى