Commit Graph

889 Commits

Author SHA1 Message Date
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
Tim Schaub f6e9c12161 Use view.animate() in the pan interaction 2016-11-05 18:26:24 -06:00
Tim Schaub 61ef7bf95d Use view.animate() after drag panning 2016-11-05 18:05:44 -06:00
Thomas Chandelle 5d61218134 Keep the other dim from the original segment when modifying vertex 2016-11-04 09:47:30 +01:00
Thomas Chandelle 2420ad56c1 If there is no features option, all features will be translated. 2016-11-03 14:03:11 +01:00
Andreas Hocevar fb1a8335ac Do not draw circle when pointer not moved 2016-11-03 12:59:36 +01:00
Andreas Hocevar c2aa18dcbf Make vertex candidate selection work better on rotated views 2016-11-02 19:21:45 +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 1bd11c1958 Close polygon sketch at all times 2016-10-25 22:36:40 +02:00
Frederic Junod e853f1ed2a Remove the vertex on ol.interaction.Modify deactivation 2016-10-19 11:06:29 +02:00