Olivier Guyot
bcf7649b9a
Expressions / store the variables & attributes in the context
2019-10-25 14:55:44 +02:00
Olivier Guyot
7e4119d580
Expressions / restored the parsing logic with better type checking
...
Converting expressions to GLSL is now done in ol/style/expressions, with the
same logic as before in ol/webgl/ShaderBuilder.
2019-10-25 14:55:44 +02:00
Olivier Guyot
72903d6454
Expressions / added operator declarations & type checking logic
2019-10-25 14:55:44 +02:00
Olivier Guyot
35af80b433
Style / add an ol/style/expressions module
...
This module will contain the utilities and operator declarations
for literal style expressions, boh for type checking and parsing
2019-10-25 14:55:44 +02:00
mike-000
ad6d91b9ae
Treat hsl/hsla as named colors
...
hsl/hsla values produce an assertion error in fromStringInternal_ This simplest solution is to treat them as named colors.
2019-10-25 13:31:18 +01:00
Jakob Gerstmayer
37cbb8e43e
fixed spacing issues
2019-10-25 12:06:15 +02:00
Jakob Gerstmayer
e0329febc4
Added check to make sure extent array has four objects.
2019-10-25 11:43:18 +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
Andreas Hocevar
cc24ec1be6
Set touch-action to allow page scrolling
2019-10-24 16:18:40 +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
TigerShark
e60dc93e0e
Make ol/interaction/Select#handleEvent return always true.
...
Previously it was returning true only if the event was a pointerMove
which prevented multiple Select objects with other event types from
working.
2019-10-23 17:30:56 -03: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