Commit Graph

898 Commits

Author SHA1 Message Date
Thomas Chandelle
dec39151a0 Consider pointerdown only if the last pointerup has been emitted 2017-01-11 10:21:21 +01:00
Thomas Chandelle
f5785549ae Constrain center in DragZoom interaction 2017-01-09 09:05:51 +01:00
Thomas Chandelle
7f1f3fd6fe Constraint center when using trackpad to zoom 2017-01-06 15:28:38 +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
e473671975 Ensure resolution stays in range when pinching 2017-01-03 18:11:21 -07:00
Tim Schaub
137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub
c9794b77db Shared module for vector event type enum 2016-12-27 14:13:45 -07:00
Tim Schaub
c6c105b62f Shared module for map browser event type enum 2016-12-27 13:48:50 -07:00
Tim Schaub
0e05b174fd Private enum for translate interaction event types 2016-12-27 13:34:03 -07:00
Tim Schaub
751c05b715 Private enum for select interaction event types 2016-12-27 13:33:18 -07:00
Tim Schaub
69d345171e Private enum for mousewheel mode 2016-12-27 13:32:24 -07:00
Tim Schaub
455be84cbd Private enum for modify interaction event types 2016-12-27 13:31:11 -07:00
Tim Schaub
4972e16867 Private enum for extent interaction event types 2016-12-27 13:30:21 -07:00
Tim Schaub
4d52dcda22 Private enum for draw event types 2016-12-27 13:29:29 -07:00
Tim Schaub
f21d5fcdb0 Private enum for draw mode 2016-12-27 13:28:45 -07:00
Tim Schaub
eede241e82 Private enum for drag box event types 2016-12-27 13:27:48 -07:00
Tim Schaub
ee833b0c2f Private enum for drag and drop event types 2016-12-27 13:26:57 -07:00
Tim Schaub
847efde217 Dedicated module for collection event type enum 2016-12-27 12:31:50 -07:00
Tim Schaub
3852c0da83 Remove hint enum from view constructor 2016-12-27 10:17:26 -07:00
Tim Schaub
50b9e598f6 Remove property enum from interaction constructor 2016-12-27 10:11:18 -07:00
Frédéric Junod
dd3dcde160 Merge pull request #6255 from fredj/translate_cursor
Don't reset the css cursor if it's not needed
2016-12-22 09:20:00 +01:00
Tim Schaub
ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07:00
Frederic Junod
c6fe60bcd7 Don't reset the css cursor if it's not needed 2016-12-16 15:57:41 +01:00
Tim Schaub
862152f9db Merge pull request #6192 from tchandelle/delete-vertex
Modify interaction: always stop event propagation when removing vertex
2016-12-10 11:18:37 -07:00
Tim Schaub
4ff87a0eef Merge pull request #6224 from aAXEe/pinZoom-allowFractionalZoom
Pinch zoom: allow fractional zoom
2016-12-09 10:22:05 -07:00
Axel Utech
321b1f72ad add an option to make the pinchZoom constrain zoom levels to integers
Changes the default behavior of ol.interaction.PinchZoom to keep
the fractional zoom level after the gesture.
The old behavior of zooming to the next whole-number level can be
enforced with the new parameter `constrainResolution`.
2016-12-09 18:02:36 +01:00
simonseyock
f10ae6c474 Adressed review.
Reusing transform
Changing either size of the canvas or clearing it
adding unit of hitTolerance to jsdoc
2016-12-08 10:14:36 +01:00
simonseyock
55ec0af072 Simplified api 2016-12-08 10:14:36 +01:00
simonseyock
8edc2be103 Added hitTolerance to TranslateInteraction 2016-12-08 10:14:09 +01:00
simonseyock
e0edefb4d7 Added hitTolerance to select interaction. Added hitTolerance to select interaction example. 2016-12-08 10:14:09 +01:00
simonseyock
80e392ea52 Satisfying linter, jsdoc & compiler 2016-12-08 10:14:09 +01:00
simonseyock
80188b2044 Change signature of api methods 2016-12-08 10:12:42 +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
Guillaume Beraudo
109e6a8324 Make modify interaction more robust
When the map has not been rendered yet, adding a feature should not
trigger coordinate related functions as they make use of the framestate.
2016-12-07 11:15:28 +01:00
Tim Schaub
37c445275f Require ol.MapBrowserEvent 2016-12-03 10:37:49 -08:00
Thomas Chandelle
510076290d Always stop event propagation when removing vertex 2016-12-01 10:27:47 +01:00
Tim Schaub
8401d22f28 Setting a view hint triggers change 2016-11-14 10:18:39 -07:00
Tim Schaub
0ac620c817 Set interacting hint during trackpad scroll 2016-11-13 10:25:45 -07:00
Tim Schaub
489d37d384 Use representative wheel delta values in the tests 2016-11-12 12:07:57 -07:00
Tim Schaub
e6f8288d36 Cancel and restart animation when wheel zooming 2016-11-12 11:34:54 -07:00
Tim Schaub
e2be8611ef Unconstrainted zooming 2016-11-12 11:27:41 -07:00
Tim Schaub
7dd7eb1b6f Adjust resolution then animate to next 2016-11-12 11:27:41 -07:00
Tim Schaub
94e6dc4e4e Keep track of scroll mode 2016-11-12 11:27:41 -07:00
Tim Schaub
25770e7ef4 Only zoom if not zooming 2016-11-10 06:25:03 -07: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
60e352fa09 Make Translate options optional 2016-11-09 13:54:10 +01:00
Tim Schaub
f16d1b06eb Use view.animation() when rotating 2016-11-06 09:12:18 -07:00
Tim Schaub
1147d51f2f Use view.animate() in drag zoom interaction 2016-11-06 07:59:48 -07:00
Tim Schaub
c95aa39dde Support anchor for resolution animations 2016-11-05 20:41:40 -06:00