mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-02 20:52:49 +00:00
Adding stopClick to DrawOptions
This commit is contained in:
parent
ca809fa16f
commit
ac1898ff02
1
types/openlayers/index.d.ts
vendored
1
types/openlayers/index.d.ts
vendored
@ -11855,6 +11855,7 @@ export namespace olx {
|
||||
freehandCondition?: ol.EventsConditionType;
|
||||
freehand?: boolean;
|
||||
wrapX?: boolean;
|
||||
stopClick?: boolean;
|
||||
}
|
||||
|
||||
interface ExtentOptions {
|
||||
|
||||
@ -1002,7 +1002,8 @@ let draw: ol.interaction.Draw = new ol.interaction.Draw({
|
||||
geometryName: stringValue,
|
||||
condition: ol.events.condition.never,
|
||||
freehandCondition: ol.events.condition.never,
|
||||
wrapX: booleanValue
|
||||
wrapX: booleanValue,
|
||||
stopClick: booleanValue
|
||||
});
|
||||
draw = new ol.interaction.Draw({
|
||||
type: "Point",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user