我已经尝试找出一种方法,应用先进的填充风格的多边形在OpenLayers-3。我想找到一种在OL3中复制以下风格的方法:
Apply hash pattern to polygon in openlayers
http://dev.openlayers.org/sandbox/ossipoff/openlayers/examples/graphicfill.html
OL2解决方案使用SLD格式,这似乎不是在OL3中实现的。
我发现了一个伟大的文章,从无限地理讨论几何选项的ol.style.Style,允许提供高级样式。这个选项很好,但是使用这种技术对多边形应用哈希模式会严重影响性能。
http://boundlessgeo.com/2015/04/geometry-based-styling-openlayers-3/
有什么建议吗?谢谢!
发布于 2015-08-12 14:20:41
这还不被支持,但请参见https://github.com/openlayers/ol3/issues/2208的建议
https://stackoverflow.com/questions/31967175
复制相似问题