Commit Graph

107 Commits

Author SHA1 Message Date
Tom Payne
8d29bf3c20 Add ol.interaction.condition.always 2013-04-23 15:31:15 +02:00
Tom Payne
d90f292c71 Initialize all properties in constructor 2013-04-23 15:31:15 +02:00
Tom Payne
003ac5536e Configure ol.interaction.DragRotate with options 2013-04-23 15:31:15 +02:00
Tom Payne
ef17d4f3b8 Rename DblClickZoom to DoubleClickZoom 2013-04-23 15:31:15 +02:00
Tom Payne
eb9f6c027b Avoid duplicate property lookup 2013-04-23 15:29:17 +02:00
Tom Payne
f2836ea111 Configure ol.interaction.DblClickZoom with options 2013-04-23 15:29:17 +02:00
Tom Payne
a4d8e1c4d8 Correct property in ol.interaction.DefaultsOptions 2013-04-23 15:29:17 +02:00
Tom Payne
72767f5d17 Merge pull request #555 from twpayne/extent-as-array
ol.Extent as Array.<number>
2013-04-19 08:41:19 -07:00
Tom Payne
a413f3046a Port interactions to new extents 2013-04-19 10:03:35 +02:00
Tom Payne
7d610bde7b Initialize all properties in constructor in interactions 2013-04-18 21:02:53 +02:00
Tom Payne
3867d0cd28 Give defaults.{js,exports} unique filenames 2013-04-16 19:18:14 +02:00
Frédéric Junod
4e911fc34b Merge pull request #550 from fredj/keyboard
Add a condition param to the KeyboardPan and KeyboardZoom interactions.
2013-04-15 22:48:03 -07:00
Frédéric Junod
52b4a8f71f Merge pull request #551 from fredj/ol.interaction.Keyboard
Remove ol.interaction.Keyboard
2013-04-15 22:47:28 -07:00
Éric Lemoine
7351ef038f Merge pull request #549 from elemoine/pan-interaction-fix
Pan interaction fix
2013-04-15 03:44:20 -07:00
Frederic Junod
a5e0f06a8e Remove ol.interaction.Keyboard 2013-04-15 12:33:09 +02:00
Frederic Junod
fd6f4a0622 Add a condition param to the KeyboardPan and KeyboardZoom interactions.
By default, the action is ignored if a modifier key is pressed.
2013-04-15 11:04:09 +02:00
Éric Lemoine
49bf204c13 pan interactions call requestRenderFrame on dragend 2013-04-15 10:46:55 +02:00
Éric Lemoine
74feabb4c4 Fix rotation anchor for touch rotate interation 2013-04-14 22:47:52 +02:00
Éric Lemoine
4b395c72fa Fix zoom anchor for touch zoom interaction 2013-04-14 22:47:05 +02:00
Éric Lemoine
b6a6ba95cc Touch zoom interaction requests render frames 2013-04-10 16:15:58 +02:00
Éric Lemoine
703842a021 Touch rotate interaction requests render frames 2013-04-10 16:15:58 +02:00
Éric Lemoine
1e3e7fb0c1 Touch pan interaction request render frames 2013-04-10 16:15:58 +02:00
Éric Lemoine
ce985ba272 Remove extra /** 2013-04-10 16:15:58 +02:00
Éric Lemoine
38914bc95b addPreRenderFunction calls requestRenderFrame
So there's no need to call requestRenderFrame prior to calling addPreRenderFunction.
2013-04-10 16:15:58 +02:00
Éric Lemoine
2d5381ae41 Move zoom from View2D to Interaction 2013-04-10 08:52:07 +02:00
Éric Lemoine
dbca68650c Move rotate from View2D to Interaction 2013-04-10 08:52:06 +02:00
Éric Lemoine
51094139a8 Move pan function from View2D to Interaction 2013-04-10 08:27:47 +02:00
Tom Payne
098bddb72f Use goog.asserts.assertInstanceof 2013-04-08 19:03:49 +02:00
Tom Payne
a4763e0b69 Fix whitespace errors in exports 2013-04-08 13:25:01 +02:00
Tom Payne
42c029be84 Be more consistent with interaction options 2013-04-06 20:44:23 +02:00
Tom Payne
4be8c991f7 Add missing Closure Library requires 2013-04-06 14:28:12 +02:00
Éric Lemoine
dd68afca5b Merge pull request #449 from elemoine/no-kinetic
Undesired pans after pinching
2013-04-05 10:04:41 -07:00
Tom Payne
02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02:00
Éric Lemoine
5f47ee9a9c Disable kinetic when multiple touches on screen 2013-04-05 09:23:05 +02:00
Marc Jansen
523506ef86 Rename *.exports to match their *.js counterparts. 2013-04-04 07:40:16 +02:00
Éric Lemoine
3c03c8beab Increase touch zoom anim duration 2013-03-27 11:52:42 +01:00
Éric Lemoine
de1575e457 One direction pinch zoom 2013-03-27 11:52:42 +01:00
Tom Payne
47f1b8cb0a Cope with rotation in keyboard pan 2013-03-07 20:13:38 +01:00
Tom Payne
cd37031456 Animate keyboard pan 2013-03-07 20:00:31 +01:00
Tom Payne
d4a5bfa015 Avoid creating an unecessary object 2013-03-07 19:39:24 +01:00
Tom Payne
af0bf21e8d Configure keyboard pan with an options object 2013-03-07 19:32:51 +01:00
Tom Payne
c46f1425a0 Make keyboard zoom delta configurable 2013-03-07 19:24:00 +01:00
Tom Payne
38eaa9cfb2 Use an array to specify additional interactions 2013-03-06 13:19:50 +01:00
Tom Payne
671ee79c74 Add ol.interaction.defaults 2013-03-06 12:36:49 +01:00
Éric Lemoine
b884f2f25d View2D NoConstraint methods renamed 2013-03-05 12:51:03 +01:00
Éric Lemoine
29e610b9f3 Animate double click/tap zoom 2013-03-05 10:08:01 +01:00
Éric Lemoine
e598e4b9b2 Animate zoom after pinch 2013-03-05 10:08:01 +01:00
Éric Lemoine
d42d88c198 Animate rotation when releasing mouse or fingers 2013-03-05 10:08:00 +01:00
Éric Lemoine
2f611529dd Do not apply rotation constraint while rotating
This is on par to what the TouchRotate interaction does.
2013-03-05 10:08:00 +01:00
Éric Lemoine
7d6d82519b Make TouchRotate interaction use rotateNoConstraint 2013-03-05 09:59:31 +01:00