@@ -177,7 +177,7 @@ <h4 class="name">
177177
178178 < div class ="tag-source ">
179179 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
180- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L232 "> line 232 </ a >
180+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L240 "> line 240 </ a >
181181 </ div >
182182
183183 </ div >
@@ -267,7 +267,13 @@ <h4 class="name">
267267that takes a < a href ="module-ol_MapBrowserEvent-MapBrowserEvent.html "> < code > MapBrowserEvent</ code > </ a > and returns a
268268boolean to indicate whether that event should be handled. By default,
269269< a href ="module-ol_events_condition.html#.singleClick "> < code > singleClick</ code > </ a > with
270- < a href ="module-ol_events_condition.html#.altKeyOnly "> < code > altKeyOnly</ code > </ a > results in a vertex deletion.</ p > </ td >
270+ < a href ="module-ol_events_condition.html#.altKeyOnly "> < code > altKeyOnly</ code > </ a > results in a vertex deletion.
271+ This combination is handled by wrapping the two condition checks in a single function:</ p >
272+ < pre class ="prettyprint source lang-js "> < code > import { altKeyOnly, singleClick } from 'ol/events/condition.js';
273+
274+ function (event) {
275+ return altKeyOnly(event) && singleClick(event)
276+ }</ code > </ pre > </ td >
271277 </ tr >
272278
273279
@@ -761,7 +767,7 @@ <h4 class="name">
761767
762768 < div class ="tag-source ">
763769 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
764- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L2024 "> line 2024 </ a >
770+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L2032 "> line 2032 </ a >
765771 </ div >
766772
767773 </ div >
@@ -852,7 +858,7 @@ <h4 class="name">
852858
853859 < div class ="tag-source ">
854860 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
855- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L1832 "> line 1832 </ a >
861+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L1840 "> line 1840 </ a >
856862 </ div >
857863
858864 </ div >
@@ -1582,7 +1588,7 @@ <h4 class="name">
15821588
15831589 < div class ="tag-source ">
15841590 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
1585- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L632 "> line 632 </ a >
1591+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L640 "> line 640 </ a >
15861592 </ div >
15871593
15881594 </ div >
@@ -1950,7 +1956,7 @@ <h4 class="name">
19501956
19511957 < div class ="tag-source ">
19521958 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
1953- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L2057 "> line 2057 </ a >
1959+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L2065 "> line 2065 </ a >
19541960 </ div >
19551961
19561962 </ div >
@@ -2420,7 +2426,7 @@ <h4 class="name">
24202426
24212427 < div class ="tag-source ">
24222428 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
2423- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L1863 "> line 1863 </ a >
2429+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L1871 "> line 1871 </ a >
24242430 </ div >
24252431
24262432 </ div >
@@ -2734,7 +2740,7 @@ <h4 class="name">
27342740
27352741 < div class ="tag-source ">
27362742 < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js "> interaction/Modify.js</ a > ,
2737- < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L607 "> line 607 </ a >
2743+ < a href ="https://github.com/openlayers/openlayers/blob/main/src/ol/interaction/Modify.js#L615 "> line 615 </ a >
27382744 </ div >
27392745
27402746 </ div >
0 commit comments