Commit Graph

104 Commits

Author SHA1 Message Date
Tim Schaub 2dd8fdb5b7 Reworked attribution handling 2017-10-08 20:29:02 -06:00
Tim Schaub 16e6d13700 Make tile transitions configurable 2017-09-27 11:55:45 -06:00
Andreas Hocevar 73e88fc465 Remove unused context handling for ol.Image 2017-09-06 21:13:11 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Andreas Hocevar 785e7135a7 Decouple source and rendered tile grid of vector tile sources 2017-05-09 14:04:04 +02: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
Tim Schaub 63a8a5a2cc Dedicated module for image state enum 2016-12-27 10:11:12 -07:00
Tim Schaub ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07:00
Tim Schaub 08569d4eb3 Dedicated module for ol.proj.Projection 2016-12-04 12:41:04 -08:00
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