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.
ブラウザの私のアプリでは、シフトキーでこれを行うことができます。しかし、iOSシミュレーターを使用してこれを行う方法を知っている人はいますか?
適切なオプションをDrawFeatureコントロールハンドラーに渡すだけです(freehand):
DrawFeature
freehand
new OpenLayers.Control.DrawFeature(vectorLayer, OpenLayers.Handler.Path, { handlerOptions: { freehand: true } });
そうすれば、Shiftキーを使わなくても、常にフリーハンドモードになります。