how to get coordinates of a polygon in OpenLayers

前端 未结 1 1355
鱼传尺愫
鱼传尺愫 2020-12-30 11:19

I have been looking for how to determine coordinates of the points which consist a polygon(feature) in OpenLayers.

Let\'s say I have created a polygon like the one i

相关标签:
1条回答
  • 2020-12-30 11:48

    Found it finally!

    vectors.features[0].geometry.getVertices()
    
    0 讨论(0)
提交回复
热议问题