Frederic Junod
5a1921d7bd
Use a function to get the value of the gradient
2020-01-06 10:52:16 +01:00
Frederic Junod
88bbb8c1ae
Clamp the weight value between 0 and 1
2019-10-24 13:52:59 +02:00
Olivier Guyot
b44a6ab26a
Heatmap / add hit detection shaders
2019-10-08 13:27:31 +02:00
Olivier Guyot
109f9718f9
Webgl renderer / fix existing examples
...
The shaders were rewritten manually for those, althoughj eventually they
should use the shader builder utilities as well.
2019-09-25 11:09:07 +02:00
Olivier Guyot
167fa6b8a0
Add property to all layers api doc
2019-09-24 10:58:55 +02:00
ahocevar
ebfb20440a
Simplify events and store listeners only in one place
2019-09-04 16:48:43 +02:00
Frederic Junod
73032db345
Remove unused 'v_screenCoord' from fragment shader
2019-07-03 08:16:37 +02:00
Frederic Junod
bb35a03704
Don't rotate the points of the heatmap layer
2019-07-01 11:29:27 +02:00
Frederic Junod
ed340d7e2c
Remove unused 'resolution' uniform from fragment shader
2019-07-01 10:00:55 +02:00
Tim Schaub
deb00f20fe
Include full filename in import specifier
2019-05-29 08:51:10 -06:00
Frederic Junod
711dacf4b7
Remove unused private variables, remove trailing whitespaces
2019-04-15 11:31:18 +02:00
Olivier Guyot
c6a859d1ed
Webgl / clarify premultiplied alpha handling
...
By default, alpha premultiplying should be done by the initial rendering
(eg quads) and not the final post processing pass.
The default post processing pass expects premultiplied color values and
will not do this operation itself.
2019-04-02 22:12:47 +02:00
Olivier Guyot
2c4a959e55
Generally fixed the webgl heatmap layer
...
Things done:
- stay closer to the original rendering in canvas
- get rid of the intermediary blur step
- use the new callbacks in the webgl points renderer
- premultiply alpha in the last postprocessing step
2018-12-07 09:02:02 +01:00
jahow
78028893e2
Added missing attributes in PointsLayer
...
Attributes were used in the shader but not bound to a buffer, which made the
rendering failed in some implementations.
2018-12-01 00:01:55 +01:00
Olivier Guyot
1ae1b60308
Rename webgl-new to webgl
2018-11-16 14:05:06 +01:00
Olivier Guyot
a84559d1fb
Added documentation & fixed linting for WebGL classes
2018-11-16 14:02:10 +01:00
Olivier Guyot
874047a928
The heatmap layer now has a configurable blur
2018-11-16 14:02:10 +01:00
Olivier Guyot
716256e8f3
Cleaned up the heatmap layer & use dynamic radius
2018-11-16 14:02:10 +01:00
Olivier Guyot
fb8bf785dd
Use the gradient texture in the heatmap layer
2018-11-16 14:02:10 +01:00
Olivier Guyot
4a275c543a
Use post-processes in the heatmap example
2018-11-16 14:02:10 +01:00
Olivier Guyot
494b817f47
Use the new webgl renderer in the heatmap layer
2018-11-16 14:01:21 +01:00
Tim Schaub
2ec509fbca
Add an image vector layer for rendering vectors to an image
2018-11-12 14:54:11 +01:00
Frederic Junod
6a797e84ff
Simplify import path in ol/layer/
2018-11-05 16:26:45 +01:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
Frederic Junod
db04052b7a
Fix default zIndex value and documentation for layer options
2018-08-29 11:33:09 +02:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
b7b15eb7f0
Remove unused inherits
2018-07-18 00:13:43 -06:00
Tim Schaub
1a5cf52b61
Remove remaining use of inherits in src
2018-07-17 23:43:10 -06:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar
fe0f91cb29
Add renderMode property to Heatmap layer
2018-07-10 14:10:35 +02:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
e810387956
Fix some JSDoc issues
...
Also makes a few minor changes to the template, so it can be used until
we have a new doc generation process. JSDoc output is written to
build/apidoc.
2018-05-10 17:14:17 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
ahocevar
417dd85f83
Fix some jsdoc path types
2018-04-21 10:17:53 +02:00
Frederic Junod
ae5e24a6c3
Module type for ol.render.Event
2018-04-20 14:32:23 +02:00
Frederic Junod
3dbabb734b
Module type for ol.source.Vector
2018-04-19 15:39:26 +02:00
Frederic Junod
7cbc22fece
Module type for ol.style.*
2018-03-27 15:09:52 +02:00
Frederic Junod
1cad0c665f
Module type for ol.Extent
2018-03-26 10:38:55 +02:00
Roman Zoller
41ecc4a794
Move olx.layer.VectorOptions to ol/layer/Vector
2018-03-23 18:39:46 +01:00
Roman Zoller
aa57bc86e5
Move olx.layer.HeatmapOptions to ol/layer/Heatmap
2018-03-23 18:39:46 +01:00
Frederic Junod
ce726ed9dd
Module type for ol.layer.Vector
2018-03-23 08:44:21 +01:00
Tim Schaub
414792f707
Module type for BaseObject
2018-03-18 09:50:48 -06:00
Tim Schaub
4e6cf58de1
Remove static members from BaseObject
2018-02-25 08:49:28 -07:00
Frederic Junod
a8f4348add
Fix parens grouping in typecasts
2018-02-15 08:44:35 +01:00
Tim Schaub
7e7631c42a
Named exports from ol/events
2018-01-24 10:09:57 -07:00
Frederic Junod
039d4dc714
Better variables scoping
2018-01-17 16:07:36 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00