【问题标题】:Apply hash pattern to polygon in openlayers 3在openlayers 3中将哈希模式应用于多边形
【发布时间】: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


    【解决方案1】:

    目前尚不支持此功能,但请参阅 https://github.com/openlayers/ol3/issues/2208 以获取建议

    【讨论】:

    • 不是我希望的答案,但感谢 Bart!
    猜你喜欢
    • 2012-03-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-19
    • 1970-01-01
    • 1970-01-01
    • 2016-05-15
    • 1970-01-01
    相关资源
    最近更新 更多