Tim Schaub
651c6959ab
Remove ol.global
2016-09-01 23:13:00 -06: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
bed95e3b5b
Change ol.ImageState to ol.Image.State
2016-08-29 10:53:09 +02:00
Andreas Hocevar
457de34485
Merge pull request #5708 from ahocevar/no-closepath
...
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +02:00
Tim Schaub
9d276982b5
Assorted missing requires
2016-08-12 10:53:50 -06:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Andreas Hocevar
30ed4a29c8
Fix winding order for raster reprojection triangles
...
On Firefox/Linux, calling clip() without closePath() requires this.
2016-08-11 15:56:52 +02:00
Andreas Hocevar
9d80116bf0
Remove closePath() where clip() is used
...
clip() does an implicit closePath(), see
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Compositing#Clipping_paths
2016-08-11 15:56:52 +02:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Tim Schaub
1b8310a6fe
Rename ol/objectutil.js to ol/obj.js
2016-08-07 10:49:12 -06:00
Tim Schaub
8d9398a965
Move ol/reproj/reproj.js to ol/reproj/index.js
2016-08-07 10:49:11 -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
3eea9d4558
Replace goog.isNumber
2016-07-01 09:35:54 +00:00
Peter Robins
eaa0d70289
Remove goog.global
2016-06-20 09:47:32 +00:00
Andreas Hocevar
6718fc982e
Merge pull request #5450 from probins/typedefs
...
Remove sub-namespaces from all remaining typedefs
2016-06-14 17:32:10 +02:00
Frederic Junod
4bf1f56405
Add missing semicolon
2016-06-09 15:39:46 +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
2117f2e3b1
Convert all typedefs to CamelCase
2016-05-18 19:44:45 +00:00
Peter Robins
176ddd3403
Rename non-api sub-namespace typedefs
2016-05-13 10:24:57 +00:00
Peter Robins
4f0b4dacbd
Move sub-namespace typedefs to typedefs.js
...
Here too there is one problem case.
2016-05-11 19:45:59 +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
Nicholas Latham
cd6494149b
Remove goog.global ( #5178 )
...
* Remove goog.global
* Correct externs location
* Use Function('return this')
* Remove global externs
2016-04-07 23:36:48 +02:00
Nicholas Latham
18e9ff98ee
Remove goog.labs.userAgent
...
* Remove goog.labs.*
* Change to function
* Change window to this
* Use goog.global
2016-04-06 11:05:49 +02:00
Nicholas Latham
2ee1969de7
Remove goog.math.modulo and goog.math.lerp
2016-04-04 09:43:24 +02:00
Frederic Junod
84288cd8bb
Remove use of goog.math.isFiniteNumber()
...
This replaces `goog.math.isFiniteNumber()` with `isFinite()`.
2016-02-23 10:03:44 +01:00
Petr Sloup
59574da74c
Fix reprojection of raster sources with gutter
2016-02-19 12:17:03 +01:00
Petr Sloup
83e251621a
Improve precision of ol.reproj.render
2016-02-18 16:25:12 +01:00
Tim Schaub
8aecb3270c
Replace goog.object.isEmpty() with ol.object.isEmpty()
2016-02-04 06:54:44 -07: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
Petr Sloup
a05c932973
Improve raster reprojection behavior when tiles fail to load
2016-01-27 14:56:18 +01:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Tim Schaub
e6f6dcc230
Partial valid-jsdoc corrections
2016-01-11 18:56:08 -08:00
Petr Sloup
9cdf7678bb
Make ol.reproj.Tile#load always async for consistency
2015-12-28 09:30:12 +01:00
Petr Sloup
9f5d85f2c6
Handle tile coordinate wrapping when reprojecting raster tiles
2015-12-11 16:35:23 +01:00
Andreas Hocevar
c5f4710b8d
Revert "Merge pull request #4344 from bartvde/issue-2844"
...
This reverts commit e5c44b37c9 , reversing
changes made to 7f4c6e3634 .
2015-11-12 19:17:07 +01:00
Bart van den Eijnden
979342091a
Support different resolutions in x and y direction for ol.source.ImageStatic
2015-10-30 19:27:31 +01:00
Petr Sloup
965b88d7c8
Save context state only when it's actually necessary
2015-10-16 16:30:16 +02:00
Petr Sloup
d950dada31
Minor type fix
2015-10-16 16:30:16 +02:00
Petr Sloup
e49f529fe6
Add typedefs for functions returning tiles/images
2015-10-16 16:30:16 +02:00
Petr Sloup
6f9fa4c12e
Minor documentation improvements
2015-10-16 16:30:04 +02:00
Petr Sloup
b816128728
Avoid assignment in return statement
2015-10-16 15:46:51 +02:00
Petr Sloup
a7cde96056
Simplified wrapX handling
...
"Unwrap" the coordinates obtained from transformations and utilize wrapX
capabilities of the sources to handle calculations of TileRanges and
unwrapped tile extents.
2015-10-16 09:28:43 +02:00