Commit Graph

23 Commits

Author SHA1 Message Date
Frederic Junod a9159ecac3 Rename ol.interaction.condition to ol.events.condition 2013-10-30 12:13:44 +01:00
Paul Spencer bada596b45 Add default stability level to docs of exported things. 2013-10-24 18:20:24 -04:00
Paul Spencer d7eee91195 Add exports for interactions. 2013-09-13 11:23:05 -04:00
Éric Lemoine ba3f97d50a Change the interaction condition signature 2013-09-12 18:08:01 +02:00
Frederic Junod 9e8d559c1b Don't react to keyboard events when the focus is on editable inputs 2013-08-20 14:44:40 +02:00
Éric Lemoine 6fc4aa68b6 Remove ol.MapBrowserEvent#stopOtherInteractions
and check for false/true in the return from handleMapBrowserEvent. Refs #791.
2013-06-27 14:43:00 +02:00
Tom Payne e5d6ccd6ba Use getView2DState instead of getResolution/getRotation in interactions 2013-06-25 12:18:31 +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
Tom Payne cc33727fad Configure ol.interaction.KeyboardPan with options 2013-04-23 15:31:16 +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 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 4be8c991f7 Add missing Closure Library requires 2013-04-06 14:28:12 +02:00
Tom Payne 02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02: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 e6eb401e36 Add missing goog.requires 2013-01-30 23:47:13 +01:00
Éric Lemoine 927cffb2b7 Add view abstraction 2013-01-09 14:03:16 +01:00
Tom Payne e52ec0f7a2 Fix non-view-related typecasts in interactions 2013-01-07 13:18:59 +01:00
Tom Payne e5d39724c9 Give each source file a unique name 2012-10-26 11:25:26 +02:00