Éric Lemoine
d07185e8f2
Add an "handleEvent" interaction option
2014-12-12 18:30:31 +01:00
Éric Lemoine
cb8b896230
Make ol.Map#setView do not accept undefined
...
With this change map.setView(null) is permitted, but map.setView(undefined) is not. map.getView now always returns a defined value, which may be null is setView was called with null.
2014-09-17 11:47:24 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
tsauerwein
b8ab6fd771
Add stable tags to interactions
2014-07-03 14:19:16 +02:00
Tim Schaub
b88d2aebc9
Remove view.getView2D() method
2014-06-27 09:52:19 -04:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Marc Jansen
8b538d765a
Correct documentation for keyboardEventTarget.
2014-03-31 10:23:39 +02:00
Tom Payne
a8f932fa07
Rename ol.Map#requestRenderFrame to ol.Map#render
2014-02-20 16:54:20 +01:00
Tom Payne
3436c7e6f9
Fix capitalisation of ol.Map in docs
2014-02-05 17:12:35 +01:00
Éric Lemoine
40276ab6ba
Merge pull request #1216 from probins/keyboard
...
Clarify keyboard events and focus in docs
2014-02-05 16:14:04 +01:00
Éric Lemoine
315c42f0a7
Use olx namespace for options types in source code
...
sed command used: find src/ol -name '*.js' -exec sed -ri 's/\{ol(\.(\w|\.)+Options\=?\})/{olx\1/' \{\} \;
2013-12-12 15:02:03 +01:00
Peter Robins
ef42744c66
Clarify keyboard events and focus in docs
2013-11-03 05:24:02 -05:00
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
Tom Payne
1863109ac8
Make keyboard zoom animation duration configurable
2013-10-07 15:41:00 +02:00
Tom Payne
0e4c5d10c5
Merge pull request #1024 from pagameba/doc-interactions
...
Documentation for Interactions
2013-09-18 08:05:46 -07:00
Frederic Junod
7de0e79c62
Remove unused goog.requires
2013-09-17 09:41:22 +02:00
Éric Lemoine
b81a4e875b
Remove noModifierKeys condition for keyboad zoom
...
Refs #917 . With the key hanler now attached to the map target by default we can remove the noModifierKeys condition for the keyboard zoom interaction. This will prevent the back button shortcut (alt + <back arrow>) to work, but it's ok, the map is focused so it's the one with the highest priority.
2013-09-16 22:51:44 +02: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
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
48d4554317
Configure ol.interaction.KeyboardZoom 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
2d5381ae41
Move zoom from View2D to Interaction
2013-04-10 08:52:07 +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
c46f1425a0
Make keyboard zoom delta configurable
2013-03-07 19:24:00 +01:00
Éric Lemoine
03ae41a68c
Change View2D function names
...
Also make the TouchZoom interaction no longer use a private View2D function.
2013-03-05 09:59:31 +01:00
Tom Payne
b6f856f962
Remove unused goog.requires
2013-01-30 22:48:03 +01:00
Tom Payne
9428a94968
Add animated zoom to keyboard zoom interaction
2013-01-17 16:21:53 +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