Openlayers 3 multiple symbols in the same point

المشرف العام

Administrator
طاقم الإدارة
I have a point Vector layer. There are some cases when for one geographic location there are multiple points which should be designed with different symbols. E.g. in a certain building there are pharmacy, grocery store, book shop etc. and each of them has its own symbol.

What is the best practice in this case?

So far I have played with ol.style.Icon objects anchor property, as I have created a field in my db table where I manually set the anchor value of each of them, and use that in my style function. But it is not too efficient...

Does anyone have a good solution for this?



أكثر...
 
أعلى