Commit Graph

470 Commits

Author SHA1 Message Date
Frederic Junod d59224f5eb Add missing override and inheritDoc jsdoc tags 2017-01-30 17:16:01 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
Tim Schaub fcb9dafc33 Use the ol.DEBUG_WEBGL flag to debug shader sources 2017-01-16 16:57:37 -07:00
Andreas Hocevar dcbf3a97e8 Wrap WebGL shader code in define condition 2017-01-02 22:01:58 +01:00
Andreas Hocevar fd92982661 Wrap ol.renderer.webgl code in define condition 2017-01-02 21:40:22 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub afefe66af8 Make layers responsible for creating layer renderers 2016-12-28 14:09:13 -07:00
Tim Schaub 895a506025 Remove state enum from tile constructor 2016-12-27 10:17:26 -07:00
Tim Schaub 3852c0da83 Remove hint enum from view constructor 2016-12-27 10:17:26 -07:00
Tim Schaub 7a95947dbb Dedicated module for render event type enum 2016-12-27 10:17:17 -07:00
simonseyock 2ea41afe6e Added hitTolerance to hasFeatureAtPixel. Corrected JsDoc problems. 2016-12-08 10:14:09 +01:00
simonseyock 80e392ea52 Satisfying linter, jsdoc & compiler 2016-12-08 10:14:09 +01:00
simonseyock 5ce0d8aa2a changed signature of internal methods 2016-12-08 10:13:47 +01:00
Andreas Hocevar 2aa4f0c01c Fix forEachLayerAtPixel for the canvas renderer 2016-12-06 08:47:41 +01:00
GaborFarkas 3e56dba1b4 Do not draw vectors outside viewport 2016-11-23 09:51:37 +01:00
GaborFarkas 697cbf16f0 Fix some rendering issues with complex styling 2016-11-23 09:51:37 +01:00
GaborFarkas c966e21e40 Fix black canvas when image is missing 2016-11-23 09:49:47 +01:00
GaborFarkas 9d6a860cd1 Fix overdraw issue with Firefox
As usual, Firefox is the good guy here, too, and this is an issue with Chrome
2016-11-23 09:49:47 +01:00
Frederic Junod 0345055cfb Use tile pixel ratio for gutter calculation (webgl and tests) 2016-10-20 13:15:06 +02:00
Frederic Junod ed677cec4e Rename ol.render.EventType to ol.render.Event.Type 2016-10-13 12:02:51 +02:00
Andreas Hocevar 3026fda02b Use pixel rounded center for the WebGL renderer transform 2016-09-26 13:28:09 +02:00
Tim Schaub f61a43b3c6 Keep ol.Color as Array<number> 2016-09-10 11:12:10 -06:00
Frederic Junod db2b8666b6 Rename ol.RendererType to ol.renderer.Type 2016-09-07 08:57:23 +02:00
Thomas Moelhave 69fc9edb4d Render older loaded tiles while waiting for new tiles 2016-09-02 15:28:28 +02:00
Andreas Hocevar d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Frédéric Junod ef07dc6eff Merge pull request #5727 from fredj/add_missing_goog_require
Add missing goog require
2016-08-22 08:35:06 +02:00
Frederic Junod 2fb5e544c2 Take the pixelRatio into account when computing the gutter 2016-08-17 13:33:03 +02:00
Frederic Junod d4ad9ad616 Add missing goog.require('ol') 2016-08-17 09:57:21 +02:00
Tim Schaub f25fd07a5e Merge pull request #5702 from tschaub/no-missing-requires
Add rule to identify missing requires
2016-08-13 10:32:41 -06:00
Tim Schaub 9d276982b5 Assorted missing requires 2016-08-12 10:53:50 -06:00
Tim Schaub 3afb42828f Add Hint and Property as ol.View properties 2016-08-12 10:53:50 -06:00
Tim Schaub 0b3c320540 Rename ol.webgl.WebGLContextEventType to ol.webgl.ContextEventType 2016-08-12 10:53:50 -06:00
Tim Schaub 9e4d80b459 Move State to ol.Tile 2016-08-12 10:53:49 -06:00
Benjamin f73ee14e3c Added image data value to 'forEachLayerAtPixel' method callback
The update has been added to the docs for all 'forEachLayerAtPixel' definitions
and currently returns null for non-supporting definitions. ol.Color typeDef
was also updated to support Uint8Arrays & Uint8ClampedArrays as it is the
reference type for the addded argument #5586
2016-08-12 12:13:11 -04:00
Frederic Junod fbb585c5d8 Remove goog.addSingletonGetter function 2016-08-09 11:28:02 +02:00
Tim Schaub 907a65ab83 Remove unused goog.require() calls in the source 2016-08-08 09:58:10 -06:00
Tim Schaub 12e81e5487 Clean up WebGL provides 2016-08-07 10:49:12 -06:00
Tim Schaub 424f3e5577 Move renderer files so they are named like their provides 2016-08-07 10:49:11 -06:00
Peter Robins 52afa50eec Remove unneeded requires in renderers 2016-08-07 09:01:07 +00: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 0713e680e1 Replace goog.abstractMethod 2016-07-19 09:08:23 +00:00
Andreas Hocevar ccf15b8be3 Remove useless target argument from ol.Event and subclass constructors 2016-07-05 09:40:00 +02:00
Peter Robins 294a129083 Replace goog.webgl 2016-07-02 10:40:55 +00:00
Andreas Hocevar 3e928718f4 ol.vec.Mat4 improvements
* Rename ol.vec.Mat4.fromMatrix to ol.vec.Mat4.fromTransform
* Make result from ol.vec.Mat4.fromTransform immutable by adding result
  matrix as argument.
2016-06-23 15:52:25 +02:00
Andreas Hocevar 6b4ee42c90 Refactor to a more convenient internal API 2016-06-23 13:10:41 +02:00
Andreas Hocevar cf7ff841a7 Remove use of goog.vec.* 2016-06-23 13:10:41 +02:00
nicholas 6b465902cd Remove goog.dom 2016-06-23 22:06:35 +12:00