gpt4 book ai didi

openlayers-3 - openlayers 3 中的捕捉控制

转载 作者:行者123 更新时间:2023-12-03 07:46:22 25 4
gpt4 key购买 nike

我想在我的项目中使用捕捉控件。我看到很多关于如何在 openlayers 2 中使用它的示例。在我的项目中我使用的是 openlayers 3。openlayers 3 中有捕捉控件吗?

最佳答案

没有。它被标记为一个 Unresolved 问题,https://github.com/openlayers/ol3/issues/1164 。如果您查看https://github.com/openlayers/ol3/blob/master/src/ol/interaction/modifyinteraction.js中modifyinteraction和drawinteraction的源代码和 https://github.com/openlayers/ol3/blob/master/src/ol/interaction/drawinteraction.js您将看到一些捕捉机制已经就位,但没有捕捉控制。 OL3 仍处于测试阶段(编辑,gamma)并且预算有限,因此我们要么必须等待,要么自己编写并在 github 上发出拉取请求:D。

关于openlayers-3 - openlayers 3 中的捕捉控制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23682683/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com