ahocevar
6cabb9dd0b
Remove drag segments of removed features
2018-12-05 12:02:35 +01:00
ahocevar
8ab1589f9a
Add getOverlay method to access sketch and selection layers
2018-08-15 10:59:38 +02:00
ahocevar
c74b9c1d55
Do not prevent default on pointermove
...
Instead, only prevent default on handled pointerdown events. This makes
the `focus` condition work with interactions that involve dragging on
touch devices.
2018-07-31 08:33:15 +02:00
Tim Schaub
3f944ef76e
Remove static members from Modify
2018-02-25 09:18:44 -07:00
Marc Jansen
6e764a20b3
Import events conditions explicitly
2018-02-05 20:36:42 +01:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
8cba211ecd
Rename _ol_pointer_PointerEvent_ to PointerEvent
2018-01-11 13:44:45 -07:00
Tim Schaub
682b4402a0
Rename _ol_interaction_Modify_ to Modify
2018-01-11 12:10:54 -07:00
Tim Schaub
176021e188
Rename _ol_Collection_ to Collection
2018-01-11 12:06:58 -07:00
Tim Schaub
ca6ea355e6
Rename _ol_source_Vector_ to VectorSource
2018-01-10 09:36:28 -07:00
Tim Schaub
45c6e43b42
Rename _ol_layer_Vector_ to VectorLayer
2018-01-10 09:36:23 -07:00
Tim Schaub
1c1f008238
Rename _ol_View_ to View
2018-01-10 09:35:42 -07:00
Tim Schaub
22fce4f97b
Rename _ol_Feature_ to Feature
2018-01-10 09:35:35 -07:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Marc Jansen
ec64789940
Rename _ol_MapBrowserPointEvent_ to MapBrowserPointerEvent
2017-12-15 16:18:32 +01:00
Tim Schaub
ac7985a5ad
Rename _ol_geom_Circle_ to Circle
2017-12-14 08:57:52 -07:00
Tim Schaub
c502f016f7
Rename _ol_geom_Polygon_ to Polygon
2017-12-14 08:56:12 -07:00
Tim Schaub
f7b3876c1b
Rename _ol_geom_LineString_ to LineString
2017-12-14 08:54:53 -07:00
Tim Schaub
eadec38ae2
Rename _ol_geom_Point_ to Point
2017-12-14 08:49:10 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Tim Schaub
86eacefe19
Allow modify interaction to be configured with a source
2017-08-09 13:35:25 -06:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Frederic Junod
ff91974345
Add insertVertexCondition to ol.interaction.Modify options
2017-05-09 15:34:43 +02:00
Thomas Chandelle
0764be77c4
Failing test for "Circle Modification"
2017-02-15 09:46:51 +01:00
Andreas Hocevar
6a9cbf11f3
Add tests
2017-02-06 14:45:54 -05:00
Marc Jansen
f795019215
Merge pull request #6075 from tchandelle/modify_stride
...
Keep the other dim from the original segment when modifying vertex
2016-12-07 19:22:59 +01:00
Thomas Chandelle
af82f972da
Check for middle events
...
Most of the times, there is only 3 events. This loop is supposed to
check the middle one, but never does;
2016-11-09 14:25:33 +01:00
Thomas Chandelle
5d61218134
Keep the other dim from the original segment when modifying vertex
2016-11-04 09:47:30 +01:00
Frederic Junod
e853f1ed2a
Remove the vertex on ol.interaction.Modify deactivation
2016-10-19 11:06:29 +02:00
Frederic Junod
c6a9bc66d6
Rename ol.interaction.ModifyEvent to ol.interaction.Modify.Event
2016-09-07 16:55:47 +02:00
Frederic Junod
243f1061df
Accept feature without geometry in ol.interaction.Modify
2016-08-23 13:49:43 +02:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
035885c25d
Move interaction files so they are named like their provides
2016-08-07 10:49:10 -06:00