Andreas Hocevar
edc02dbde2
Restore node v8 compatibility
2019-10-25 15:11:11 +02:00
Andreas Hocevar
cff00f1c3b
Merge pull request #10188 from ahocevar/renderevent-docs
...
Document that map render events do not have a context set
2019-10-24 17:14:40 +02:00
Andreas Hocevar
61c4fa8cd6
Document that map render events do not have a context set
2019-10-24 16:32:04 +02:00
Frédéric Junod
2b0256140e
Merge pull request #10184 from fredj/heatmap_weight
...
Clamp the weight value between 0 and 1
2019-10-24 15:34:17 +02:00
Frederic Junod
88bbb8c1ae
Clamp the weight value between 0 and 1
2019-10-24 13:52:59 +02:00
Tim Schaub
599835e818
Merge pull request #10175 from tschaub/untagged
...
Remove description from type tag
2019-10-23 13:57:15 -06:00
Tim Schaub
afa688273b
Merge pull request #10176 from tschaub/toggle
...
Avoid toggling when clicking the title
2019-10-23 13:56:58 -06:00
Tim Schaub
6b4e00e6ac
Remove description from type tag
2019-10-23 10:27:56 -06:00
Tim Schaub
10379920d2
Avoid toggling when clicking the title
2019-10-23 10:26:21 -06:00
Andreas Hocevar
ebae0386bd
Merge pull request #10172 from ahocevar/apidoc-geometry-inherited
...
Ensure inherited docs are shown
2019-10-23 15:40:08 +02:00
Andreas Hocevar
bf7af07657
Ensure inherited docs are shown
2019-10-23 14:40:27 +02:00
Andreas Hocevar
327fe11344
Merge pull request #10171 from mike-000/patch-1
...
Open default attributions links in a new tab or window
2019-10-23 13:48:05 +02:00
Andreas Hocevar
319efedb14
Merge pull request #10047 from KaiVolland/apidoc-changes
...
Apidoc changes
2019-10-23 13:41:03 +02:00
Andreas Hocevar
4fe16d0281
Tidy up navigation
2019-10-23 13:26:56 +02:00
mike-000
ce8b63a67e
Open default attributions links in new tab/window
2019-10-23 12:10:55 +01:00
mike-000
6b25f713cd
Open default attributions links in new tab/window
2019-10-23 12:08:40 +01:00
mike-000
4b79818797
Open default attributions links in new tab/window
2019-10-23 12:03:01 +01:00
Andreas Hocevar
062614388c
Merge pull request #10161 from ahocevar/vectorimage-getfeatures
...
Implement getFeatures() for ol/layer/VectorImage
2019-10-23 11:26:08 +02:00
Olivier Guyot
8c5be52462
Merge pull request #10168 from jahow/webgl-style-add-filter
...
Webgl / Add support for filtering and color interpolation in style expressions
2019-10-23 09:45:16 +02:00
Frédéric Junod
b6d694050e
Merge pull request #10170 from openlayers/select-feature_html
...
Add back html from select-features example
2019-10-23 09:24:43 +02:00
Olivier Guyot
fc555241ea
ShaderBuilder / simplify check/parse code a bit
2019-10-23 09:22:12 +02:00
Frederic Junod
33b0f88771
Add back html from select-features example
...
The example was removed and added back in 38124d770b but the html file was missing
2019-10-23 09:03:19 +02:00
Olivier Guyot
1fe5a68e16
Fix the triangles style in the wbegl-points-layer example
2019-10-22 23:27:26 +02:00
Olivier Guyot
948003ff27
Rewrite to filter-points-webgl example to use a Webgl points layer
...
The demonstrated features have been recreated using a literal
style (filtering, pulse animation).
2019-10-22 23:17:00 +02:00
Olivier Guyot
d837166a1b
Literal Style / add new math operators
2019-10-22 23:17:00 +02:00
Olivier Guyot
c659c05de8
ShaderBuilder / fix stretch operator GLSL expression
2019-10-22 23:17:00 +02:00
Olivier Guyot
485ade42b5
Literal Style / add support for color interpolation
2019-10-22 23:17:00 +02:00
Olivier Guyot
85c3aae454
ShaderBuilder / add support for color interpolation in parse
2019-10-22 23:17:00 +02:00
Olivier Guyot
a29fc016f5
ShaderBuilder / formatColor/Array utilities now output vecX(...)
2019-10-22 23:17:00 +02:00
Olivier Guyot
19eadaea24
Shader Builder / add type checking in expressions parsing
...
All expressions will now be type checked before actually being parsed.
2019-10-22 23:17:00 +02:00
Olivier Guyot
b8e8d30df0
Shader Builder / add utilities for checking an expression type
...
Type checking is done either against a literal value (number, string...)
or against the operator in case of an expression.
Sometimes it is not possible to infer only one type, for example
the value 'transparent' could either be a color or a string. This
is covered by the fact that all operators expect exactly one type
for their arguments.
2019-10-22 23:17:00 +02:00
Olivier Guyot
f43637cc33
Shader Builder / support strings in formatColor
2019-10-22 23:17:00 +02:00
Olivier Guyot
56faf4c3ad
Color / add an isStringColor utility function
2019-10-22 23:17:30 +02:00
Olivier Guyot
a0b271a812
Literal Style / add support for variables in the style
...
These variables are accessed using the `var` operator, and are meant
to be mutated directly in the style object. When doing so,
the new value will always be used for the render.
This is intended to be used for modifying the style through external
parameters such as an input field, a slider, mouse position etc.
2019-10-22 23:17:00 +02:00
Olivier Guyot
a1c00744d1
Webgl points renderer / throw if shader compilation fails
...
This should only happen if providing handcrafted shaders to the renderer.
2019-10-22 23:17:00 +02:00
Olivier Guyot
94b8cf6af3
Webgl / add support for a time operator in literal styles
...
This required adding `u_time` as one of the default uniforms provided by the
webgl helper.
2019-10-22 23:17:23 +02:00
Olivier Guyot
0c0c8c5d56
Literal Style / add support for a filter property
2019-10-22 23:17:00 +02:00
Andreas Hocevar
fef4d4e9b7
Merge pull request #10093 from mike-000/patch-3
...
Set label text for Graticule option styles
2019-10-22 15:23:01 +02:00
Tim Schaub
8e4fbe3e74
Merge pull request #10160 from ejn/minor/improve-test-10158
...
Improve test in case of async call
2019-10-22 07:06:36 -06:00
mike-000
110c17cf9e
Remove label style caches
2019-10-22 12:04:06 +01:00
Olivier Guyot
e38250ee14
ShaderBuilder / add fragment discard expression in shader params
2019-10-22 11:39:30 +02:00
Andreas Hocevar
39012a58f8
Implement getFeatures() for ol/layer/VectorImage
2019-10-22 11:27:26 +02:00
Olivier Guyot
7b66b294a8
ShaderBuilder / attempt to clarify the way attributes are handled in parseSymbolStyle
2019-10-22 11:18:39 +02:00
Olivier Guyot
9ee93cd2cf
ShaderBuilder / refactoring to use an actual builder pattern
...
There is now a ShaderBuilder class with chainable methods
to specify more easily the contents of the final shaders.
This is to avoid passing around large objects to different functions,
and allow for a richer API.
The documentation has also been corrected and clarified.
2019-10-22 11:12:06 +02:00
Edward Nash
ed18310136
Improve test in case of async call
2019-10-22 10:21:52 +02:00
Andreas Hocevar
a3c137cff1
Merge pull request #10159 from ejn/bugfix/10158-target-name-collision
...
Fix target name collision in event.Target and Control
2019-10-22 09:53:19 +02:00
Edward Nash
9eb4816b27
Fix property name collision target_ with Control
...
* As described in #10158 , Control uses the property target_ for
a custom parent HTMLElement, leading to Events on the Control being
dispatched with that as the target and not the Control itself.
* Solved by renaming the target_ property on Target to eventTarget_
2019-10-22 09:37:05 +02:00
Edward Nash
ee653a8e0d
Add regression test for event target on Control
...
* Check possible name collision of target element with EventTarget
2019-10-22 09:37:05 +02:00
mike-000
7edd10d66f
Test that label text is set in styles
2019-10-21 16:00:54 +01:00
Frédéric Junod
e0cab3d3ba
Merge pull request #10157 from openlayers/dependabot/npm_and_yarn/karma-coverage-istanbul-reporter-2.1.0
...
Bump karma-coverage-istanbul-reporter from 2.0.5 to 2.1.0
2019-10-21 16:01:30 +02:00