Frederic Junod
d59224f5eb
Add missing override and inheritDoc jsdoc tags
2017-01-30 17:16:01 +01:00
Tim Schaub
137cdc04c8
Remove ol.DEBUG
2017-01-01 20:37:52 -07:00
Tim Schaub
895a506025
Remove state enum from tile constructor
2016-12-27 10:17:26 -07:00
Frederic Junod
1deedd5b7a
Remove unused imageByContext_ in ol.ImageTile
...
Leftover from #5815
2016-09-05 09:07:21 +02:00
Tim Schaub
bd89d1f227
Remove unused context arg for tile.getImage()
2016-09-01 07:30:29 -06:00
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
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Tim Schaub
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -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
Peter Robins
f8f2cd11d5
Replace goog.getUid with ol.getUid
2016-07-20 11:01:00 +00:00
Peter Robins
2c29512c80
Remove sub-namespaces from all remaining typedefs
2016-06-09 10:01:52 +00:00
Frédéric Junod
e63b4d1f48
Merge pull request #5270 from fredj/load_error
...
Load erroneous image in ol.Image#load and ol.ImageTile#load
2016-06-08 09:25:57 +02:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Frederic Junod
1f48198e95
Allow tiles in ol.ImageState.ERROR state to be loaded.
2016-06-08 08:36:58 +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
Frederic Junod
c30ecace75
Handle aborted tiles in ol.TileQueue
2016-03-16 14:21:20 +01:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07: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
Andreas Hocevar
749dacc749
Allow '' for crossOrigin (as Anonymous alias)
...
This fixes a regression introduced by the goog.isDef removal.
From the HTML 5 spec: "The empty string is also a valid keyword, and
maps to the Anonymous state"
2015-11-17 12:55:48 +01:00
Éric Lemoine
132861e175
Use interim tiles when changing dynamic parameters
2015-11-12 14:40:35 +01:00
Marc Jansen
30e2f44825
Remove goog.isNull in image classes
2015-10-01 09:17:14 +02:00
Frederic Junod
496cece074
Remove use of goog.array.forEach
2015-09-29 10:55:17 +02:00
Frederic Junod
e877a21b8e
Remove legacy IE support
2015-09-28 15:36:49 +02:00
Tim Schaub
b3b31ea16d
Inline various goog.isDef() calls
2015-09-27 10:51:03 -06:00
Tim Schaub
7659e47e07
Inline simple goog.isDef() checks
2015-09-27 10:18:44 -06:00
Tim Schaub
9f5d8d3901
Missing ol.ImageTile#getImage description
2015-09-06 07:56:15 -06: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
f474e7ccd9
Don't unlisten image twice when disposing an ol.ImageTile
...
Fixes #3325
2015-03-18 10:33:41 +01:00
Frederic Junod
e2f8c01c42
Fix jsdoc type for arrays of listening keys
2015-02-26 11:45:15 +01:00
Tim Schaub
199fcb05e3
Unregister image listeners when disposing of a tile
2015-02-18 15:45:14 -07:00
Tim Schaub
bf35b40b11
Fire change event every time state changes
2015-02-17 11:09:16 -07:00
Andreas Hocevar
b431487435
Merge pull request #2684 from ahocevar/notify-change
...
Rename ol.Observable#dispatchChangeEvent() to #changed()
2014-09-11 15:51:22 -07:00
Frederic Junod
23745cd043
Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
...
See #1605
2014-09-06 17:52:13 +02:00
Andreas Hocevar
ebe3b48e0a
Rename ol.Observable#dispatchChangeEvent() to #changed()
...
Since dispatchChangeEvent does not only dispatch a change event, but
also increases the revision counter, the method name should reflect
this.
2014-09-04 19:30:48 -06:00
Frederic Junod
0f4e56978b
Remove unnecessary newlines
2014-08-19 11:58:25 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -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
Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Austin Hyde
0e05cd2263
If naturalWidth/Height properties aren't available, mimic them
2014-02-05 10:29:16 -05:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
Tom Payne
6896e920f9
Allow tile load function to be overridden
2013-09-18 13:39:42 +01:00
Tom Payne
c576b2a34e
Treat image tiles with a zero dimension as empty
2013-04-25 15:17:24 +02:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00