Andreas Hocevar
d1e4b33760
Rename goog.DEBUG to ol.DEBUG
2016-08-31 21:10:01 +02:00
Frederic Junod
d4ad9ad616
Add missing goog.require('ol')
2016-08-17 09:57:21 +02:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
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
Frédéric Junod
6d41e87ff5
Merge pull request #5475 from probins/enumprovide
...
Remove goog.provide from enums only used internally or in olx.js
2016-06-30 16:57:21 +02:00
nicholas
6b465902cd
Remove goog.dom
2016-06-23 22:06:35 +12:00
Nicholas L
0fef14137c
Remove unneeded comments and use ol.global
2016-06-20 21:41:20 +12:00
nicholas
ea1c7a6551
Remove goog.style.getPageOffset
2016-06-19 19:26:25 +12:00
nicholas
04c4b4efc1
Remove goog.style.setElementShown
2016-06-19 19:22:11 +12:00
nicholas
96a14e0515
Remove getSize
2016-06-19 19:22:11 +12:00
Peter Robins
bda673f389
Remove goog.provide from internal enums
2016-06-15 09:04:44 +00: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
Andreas Hocevar
2ec4969ac7
Remove api annotations from enums
2016-06-03 09:29:14 +02:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00
Peter Robins
2a44669e18
Add some goog.requires to keep compiler happy
2016-05-09 16:00:07 +00: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
Frederic Junod
80e984a9c3
Use Array.isArray instead of goog.isArray
2016-04-04 09:06:29 +02:00
Frederic Junod
268d6eda8f
Mark overlayContainer and overlayContainerStopEvent as non-nullable
...
And remove an unnecessary cast
2016-02-23 11:25:38 +01:00
Tim Schaub
f10c90bdba
Simpler type for ol.events.Key
...
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.
To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).
To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types. Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
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
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
59a66c7aaa
Remaining valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Frederic Junod
a186254e14
Remove use of goog.dom.createDom
2015-11-25 12:40:45 +01:00
Frederic Junod
a9cd2cd278
Use appendChild instead of goog.dom.append
2015-11-24 13:45:54 +01:00
jonataswalker
5dbaeb9ee5
Add method for retrieving ol.Overlay by id
2015-10-14 16:55:39 -03:00
jonataswalker
fce065e185
Add method for retrieving ol.Overlay by id
2015-10-14 16:01:48 -03:00
jonataswalker
d29e5eaef1
Add method for retrieving ol.Overlay by id
2015-10-14 12:15:53 -03:00
Marc Jansen
9386415633
Remove usage of goog.dom.TagName enum
2015-10-12 20:45:49 +02:00
Marc Jansen
2b84e0f245
Remove goog.isNull in overlay class
2015-10-01 09:18:53 +02:00
Tim Schaub
b48cabee28
Remove unnecessary goog.isDefAndNotNull() calls
2015-09-29 09:32:51 -06:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Tim Schaub
29a1ea9ae3
Remove remaining goog.isDef() calls
2015-09-27 11:13:58 -06:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
e3951fa3c6
Inline simple goog.isDef() calls
2015-09-27 10:34:44 -06:00
Tim Schaub
a86c270f6a
Inline simple !goog.isDef() calls
2015-09-27 10:31:16 -06:00
Tim Schaub
b36d697585
Inline goog.isDef() property checks
2015-09-27 10:21:50 -06:00
Guillaume Beraudo
e189667d20
Improve ol.Overlay extensibility
...
- make autoPan_ protected;
- split updatePixelPosition_() and make it protected;
- use a protected setVisible() function.
2015-08-24 16:15:26 +02:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Tim Schaub
29c3bc066d
Overlay docs
2015-04-04 17:36:48 +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
Frederic Junod
dcba9f2ff4
Add a 'ol-overlay-container' CSS class to the overlay element
2015-03-11 11:08:14 +01:00
Éric Lemoine
329edc4ec6
Make ol.Overlay autoPan default to false
2015-02-24 15:14:10 +01:00
tsauerwein
e46e0f85fb
Add autoPan option to ol.Overlay
2015-02-23 17:01:52 +01:00
Frederic Junod
d4ff5527c9
Set the position to undefined to hide the overlay
2015-01-06 09:26:00 +01:00
Éric Lemoine
a9f3367310
Rename handleMapPostrender to render (overlay)
2014-12-12 18:30:43 +01:00
Frederic Junod
6e3a5ca7ca
Remove unnecessary newlines
2014-09-29 09:05:22 +02:00