Retrieve geometry type (point/line/polygon) from OL3 feature

المشرف العام

Administrator
طاقم الإدارة
How do I tell whether an OL3 feature is a point, line, or polygon? I need to highlight features on mouseover, and the style required is different for points, so I need to be able to tell which geometry type a feature is, so that I can apply the correct style.



أكثر...
 
أعلى