Commit Graph

134 Commits

Author SHA1 Message Date
Tom Payne
79e0c81301 Use view2DState in ol.interaction.DragRotate 2013-06-27 12:25:50 +02:00
Tom Payne
ec4110ee54 Use view2DState in ol.interaction.DragRotateAndZoom 2013-06-27 12:20:48 +02:00
Tom Payne
8565201c74 Use view2DState in ol.interaction.DragPan 2013-06-27 12:20:46 +02:00
Tom Payne
b555c52013 Use view2DState in ol.interaction.Drag 2013-06-27 12:19:16 +02:00
Tom Payne
a4e8e529c4 Make View2D-only comments more consistent 2013-06-27 12:19:15 +02:00
Frederic Junod
87dda95b18 Handle ol.ViewHint.INTERACTING in ol.interaction.Touch 2013-06-26 09:27:44 +02:00
Frederic Junod
ae7b342ee9 Handle ol.ViewHint.INTERACTING in ol.interaction.Drag 2013-06-26 09:27:44 +02:00
Tom Payne
23e54e4543 Stop other interactions when dragging 2013-06-25 15:46:00 +02:00
Tom Payne
e5d6ccd6ba Use getView2DState instead of getResolution/getRotation in interactions 2013-06-25 12:18:31 +02:00
Frederic Junod
6adedacaf8 Only pan the map when the mouse action button is pressed 2013-06-18 16:53:03 +02:00
Frederic Junod
bed44dd82c Add ol.MapBrowserEvent.stopOtherInteractions
When called, stops the interaction chain.
2013-06-18 13:02:17 +02:00
Frederic Junod
2bd87313cd ol.MapBrowserEvent: call browserEvent.{preventDefault|stopPropagation} 2013-06-18 11:31:44 +02:00
Frederic Junod
4f0e09c00e Fix viewportPosition attributes access (closes #758) 2013-06-03 10:40:13 +02:00
Frederic Junod
a1a7e21f92 Redefine ol.Size to be Array.<number> 2013-06-01 10:22:06 +02:00
Frederic Junod
be081fd44e Redefine ol.Pixel to be Array.<number> 2013-05-31 15:53:04 +02:00
Tom Payne
11672db967 Use === and !== for comparisons with 0 2013-05-28 16:07:48 +02:00
Tom Payne
42b6ed5d2a Remove unused variables in interactions 2013-05-28 16:01:33 +02:00
Tom Payne
4da61e8ae9 Configure ol.interaction.TouchRotate with options 2013-04-23 15:31:16 +02:00
Tom Payne
9e8d20aee4 Re-use ol.Kinetic object 2013-04-23 15:31:16 +02:00
Tom Payne
2dff59a4d4 Configure ol.interaction.TouchPan with options 2013-04-23 15:31:16 +02:00
Tom Payne
a36b4a0466 Configure ol.interaction.DragPan with options 2013-04-23 15:31:16 +02:00
Tom Payne
3b9699fbc8 Configure ol.interaction.DragZoom with options 2013-04-23 15:31:16 +02:00
Tom Payne
48d4554317 Configure ol.interaction.KeyboardZoom with options 2013-04-23 15:31:16 +02:00
Tom Payne
cc33727fad Configure ol.interaction.KeyboardPan with options 2013-04-23 15:31:16 +02:00
Tom Payne
808de79d16 Export ol.interaction.DragRotateAndZoom 2013-04-23 15:31:15 +02:00
Tom Payne
76a9f80545 Update ol.interaction.DragRotateAndZoom 2013-04-23 15:31:15 +02:00
Tom Payne
75ac8a4847 Export ol.interaction.condition.* 2013-04-23 15:31:15 +02:00
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