【发布时间】:2015-08-12 13:49:32
【问题描述】:
我试图想办法在 OpenLayers-3 中将高级填充样式应用于多边形。我想找到一种用OL3重现以下样式的方法:
Apply hash pattern to polygon in openlayers
http://dev.openlayers.org/sandbox/ossipoff/openlayers/examples/graphicfill.html
OL2方案使用的是SLD格式,在OL3中好像没有实现。
我从 boundless geo 找到了一篇很棒的文章,讨论了 ol.style.Style 的几何选项,它允许提供高级样式。此选项很棒,但使用此技术将哈希模式应用于多边形会严重影响性能。
http://boundlessgeo.com/2015/04/geometry-based-styling-openlayers-3/
有什么建议吗? 谢谢!
【问题讨论】:
标签: openlayers-3