Andreas Hocevar
e18d41b5e0
Remove gratuitous debug assertions
2016-08-04 11:29:54 +02:00
Andreas Hocevar
e0015b3d4e
Use goog.DEBUG instead of ol.DEBUG for now
2016-08-04 11:29:54 +02:00
Andreas Hocevar
6f5ed17fc5
Remove goog.asserts.*
...
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Peter Robins
f57065c412
Remove unneeded goog.provides/requires for typedefs
...
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Andreas Hocevar
1a6daa297e
Remove goog.events.KeyHandler
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Frédéric Junod
eb395894e1
Revert "Do not render in handleDownEvent"
2016-01-19 15:26:10 +01:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Andreas Hocevar
552063aeac
Do not render in handleDownEvent
2015-12-18 18:21:32 +01:00
Alexandre Dubé
b54bc6cd42
Fix KeyboardZoom interation duration option, allow 0 value.
2015-10-14 14:43:04 -04:00
Marc Jansen
be2e4a33ae
Remove goog.isNull in interaction classes
2015-10-01 09:17:14 +02:00
Marc Jansen
bd7ff16537
Remove goog.isDef from keyboardzoominteraction
2015-09-25 11:28:56 -06:00
Marc Jansen
f756246efc
Add basic docs for keyboardzoominteraction
2015-04-22 14:19:50 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
É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