Andreas Hocevar
3c806f924e
Address review comments
2017-11-27 17:54:16 +01:00
Andreas Hocevar
dde81d8585
Add renderMode option to ol.layer.Vector
...
This also deprecates ol.source.ImageVector.
2017-11-27 09:48:52 +01:00
Tim Schaub
2dd8fdb5b7
Reworked attribution handling
2017-10-08 20:29:02 -06:00
Tim Schaub
5e6a4e8cb7
Avoid unnecessary calls to tileGrid.getZForResolution()
2017-09-02 14:34:08 -06:00
Andreas Hocevar
cf8c72c992
Fix provide/require structure for autogenerated shader files
2017-08-29 23:11:24 +02:00
Andreas Hocevar
5161a99925
Remove ol.ENABLE_WEBGL condition from webgl files
2017-08-17 13:21:53 -04:00
Tim Schaub
8a08ab6463
Correct types
2017-08-15 15:37:37 -04:00
Tim Schaub
8e90976bf2
Indentation fix
2017-08-15 15:37:37 -04:00
Tim Schaub
cada78459f
Only use WebGL renderer if ol.has.WEBGL
2017-08-15 15:37:37 -04:00
Tim Schaub
9271df7e1d
Pluggable renderers
2017-08-15 15:37:37 -04:00
Marc Jansen
feabb6440d
Add reindented shader sources
2017-06-20 11:45:48 +02:00
Marc Jansen
7d6929c710
Manual adjustment of indentation
2017-06-20 10:41:03 +02:00
Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Tim Schaub
479d98212b
Disable no-missing-requires rule in generated shader code
2017-05-02 15:04:20 -06:00
Andreas Hocevar
ca23c7337f
Merge pull request #6361 from tchandelle/canvas-margin
...
Remove "margin" at the bottom of the canvas
2017-02-06 14:47:16 +01:00
Thomas Chandelle
ade0b7898b
Remove "margin" at the bottom of the canvas
2017-02-03 16:54:29 +01:00
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