【发布时间】:2015-08-17 11:50:51
【问题描述】:
旧版本的 OpenLayers 支持将孔切割成多边形。见donut example。
我无法找到 examples 或 documentation 请注意 OpenLayers3 的此功能。
如何在 OpenLayers3 多边形中切割孔?
【问题讨论】:
标签: openlayers-3 polygons
旧版本的 OpenLayers 支持将孔切割成多边形。见donut example。
我无法找到 examples 或 documentation 请注意 OpenLayers3 的此功能。
如何在 OpenLayers3 多边形中切割孔?
【问题讨论】:
标签: openlayers-3 polygons
使用 appendLinearRing(linearRing) 函数。 http://openlayers.org/en/v3.3.0/apidoc/ol.geom.Polygon.html#appendLinearRing
【讨论】: