Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的浏览器应用程序中,我可以使用 shift 键执行此操作。但是有谁知道如何使用 ios 模拟器来做到这一点?
只需将适当的选项传递给DrawFeature控制处理程序 ( freehand):
DrawFeature
freehand
new OpenLayers.Control.DrawFeature(vectorLayer, OpenLayers.Handler.Path, { handlerOptions: { freehand: true } });
然后,您将始终处于徒手模式,无需使用 shift 键。