Thomas Chandelle
8a440b0c20
Listen only to change event triggered by the feature
...
ol.Feature catch change event from its geometry and trigger a change
event itself. ol.Feature will also trigger change event when its
geometryName has changed
2017-01-20 13:01:28 +01:00
Thomas Chandelle
395d833dd6
Constrain the center in zoomByDelta
2017-01-06 09:31:00 +01:00
Thomas Chandelle
8956a492eb
Remove unused map parameter from several interaction methods
2017-01-05 15:34:47 +01:00
Tim Schaub
c6c105b62f
Shared module for map browser event type enum
2016-12-27 13:48:50 -07:00
Tim Schaub
69d345171e
Private enum for mousewheel mode
2016-12-27 13:32:24 -07:00
Frederic Junod
c6fe60bcd7
Don't reset the css cursor if it's not needed
2016-12-16 15:57:41 +01:00
Frederic Junod
392cbcc138
Enforces spacing around commas
2016-12-14 13:42:47 +01: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
Tim Schaub
489d37d384
Use representative wheel delta values in the tests
2016-11-12 12:07:57 -07:00
Andreas Hocevar
2d711a59b5
Merge pull request #6099 from tchandelle/modify-test
...
Modify interaction tests : check for change events
2016-11-10 15:53:58 +01:00
Andreas Hocevar
61df657cfb
Merge pull request #6069 from tchandelle/translate-no-features
...
If there is no features option, all features will be translated.
2016-11-10 13:32:52 +01:00
Thomas Chandelle
5d214567ab
Add test for Translate interaction, without features option
2016-11-09 14:36:25 +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
Andreas Hocevar
fb1a8335ac
Do not draw circle when pointer not moved
2016-11-03 12:59:36 +01:00
Frederic Junod
e0a9910d4e
Add new timeout option to ol.interaction.MouseWheelZoom
...
And remove the `ol.MOUSEWHEELZOOM_TIMEOUT_DURATION` define.
2016-10-28 09:07:42 +02:00
Björn Harrtell
9d5453a927
Test to validate sketch polygon
2016-10-27 18:56:11 +02:00
Frederic Junod
e853f1ed2a
Remove the vertex on ol.interaction.Modify deactivation
2016-10-19 11:06:29 +02:00
Tim Schaub
9b12cac5c6
Convenience function for drawing box-shaped polygons
2016-10-16 15:54:15 -06:00
Tim Schaub
8f57ebd2c6
Finish drawing on pointerup when in freehand mode
2016-10-15 13:47:34 -06:00
Tim Schaub
1c8ed12b68
Assert that the freehand option properly sets the condition
2016-10-15 05:45:23 -06:00
simonseyock
7392db0f57
Fixed issue with multi option of ol.interaction.Select
2016-09-13 13:29:44 +02:00
Frederic Junod
c6a9bc66d6
Rename ol.interaction.ModifyEvent to ol.interaction.Modify.Event
2016-09-07 16:55:47 +02:00
Tim Schaub
651c6959ab
Remove ol.global
2016-09-01 23:13:00 -06:00
Bart van den Eijnden
fe6fe702b2
Merge pull request #5290 from tbarsballe/bboxinteraction
...
Add extent interaction
2016-08-27 09:08:28 +02:00
Torben Barsbsballe
7ed96f69f7
Add extent interaction
2016-08-25 17:41:39 +02:00
Frederic Junod
243f1061df
Accept feature without geometry in ol.interaction.Modify
2016-08-23 13:49:43 +02:00
Tim Schaub
5643d3ec77
Missing requires in tests
2016-08-12 10:53:49 -06:00
Tim Schaub
4a4872bbe5
Declare global
2016-08-12 10:53:48 -06:00
Tim Schaub
004cf15222
Add some missing test requires
2016-08-12 10:53:48 -06:00
Tim Schaub
c203f6a841
Remove unused requires from tests
2016-08-08 09:58:11 -06: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
Andreas Hocevar
34d5cc228e
Merge pull request #5429 from probins/testenums
...
Remove enums from tests
2016-07-15 09:12:58 +02:00
Frederic Junod
460ea4e809
Return if a vertex was removed in ol.interaction.Modify#removeVertex_
2016-07-04 17:09:01 +02:00
Frederic Junod
b562f4d68a
Don't dispatch select event if a selected feature is selected again
2016-06-29 15:03:42 +02:00
Frederic Junod
e7c2d9ab32
Don't dispatch select event if no feature is selected or deselected
2016-06-29 15:03:42 +02:00
Frederic Junod
4bf1f56405
Add missing semicolon
2016-06-09 15:39:46 +02:00
Peter Robins
06fd92353b
Remove enums from tests
2016-06-03 11:10:46 +00:00
Frederic Junod
b49546d2af
Add a 'condition' option to ol.interaction.Modify
2016-05-10 17:17:17 +02:00
giohappy
d49bcdeedc
Expose removeVertex_ as removePoint
2016-04-28 12:47:46 +02:00
Andreas Hocevar
c3217e8d30
Merge pull request #5044 from fblackburn/snapinteraction
...
Snap interaction now handle feature without geometry properly
2016-04-27 14:25:17 +02:00
Andreas Hocevar
c11e95099c
Fix feature-layer association on replaced selections
2016-04-27 08:13:45 +02:00
Francois Blackburn
9186d1fbda
Snap interaction now handle feature without geometry properly
2016-04-26 14:14:47 -04:00
giohappy
394ef94fd3
Fix finishCondition test
2016-04-22 23:17:21 +02:00
giohappy
ead6063170
make lint happy with drawinteraction.test.js
2016-04-22 15:16:11 +02:00
giohappy
2076ef02ca
Add test for finishCondition
2016-04-22 15:07:59 +02:00
Nicholas Latham
cd6494149b
Remove goog.global ( #5178 )
...
* Remove goog.global
* Correct externs location
* Use Function('return this')
* Remove global externs
2016-04-07 23:36:48 +02:00
Renaud Michaëlis
53a9341ef0
Allow to delete the starting or ending vertex
...
* Allow to delete the starting or ending vertex
* Test if starting and ending vertex are removed
2016-04-06 13:47:37 +02:00
drnextgis
d41bfde25d
snap to vertices or edges
2016-03-21 16:19:36 +06:00