mike-000
aaebab2831
Replace Bing layer with MapTiler
2019-12-02 16:40:16 +00:00
Andreas Hocevar
057650fe7d
Merge pull request #10309 from ahocevar/vectortile-rendermode-vector
...
Bring back vector render mode for vector tile layers
2019-11-29 11:51:38 +01:00
Andreas Hocevar
10a6284b0b
Merge pull request #10332 from ahocevar/no-touch-action-css
...
Conditional default prevention instead of touch-action: none
2019-11-29 09:52:29 +01:00
Andreas Hocevar
f0a32e11d5
Fix typo
...
Co-Authored-By: Frédéric Junod <frederic.junod@camptocamp.com >
2019-11-29 09:46:46 +01:00
mike-000
28818e5b4e
Replace Bing layers with MapTiler
2019-11-26 17:06:14 +00:00
Andreas Hocevar
88b8b2f7cb
Conditional default prevention instead of touch-action: none
2019-11-25 01:09:05 +01:00
Andreas Hocevar
cf6cd09f58
Bring back vector render mode for vector tile layers
2019-11-18 10:40:05 +01:00
Andreas Hocevar
643a3ad86b
tabindex without focux condition
2019-11-13 23:24:53 +01:00
mike-000
4fb301e3e5
Fix codesandbox error
...
src="" is not needed and causes an error when the example is opened in codesandbox
2019-11-12 16:38:14 +00:00
Frederic Junod
59faeff1bf
Update operators doc in WebGL points layer example
...
The text is a copy/paste from `ol/style/expressions`
2019-11-07 15:05:57 +01:00
Olivier Guyot
af15cfb815
Icon webgl example / avoid doing hit detection when view is moving
2019-11-04 09:31:38 +01:00
jahow
f7b0f6750b
Resolve memory leak when deleting a webgl layer
...
Various references were kept, preventing the layer and underlying
renderer and webgl context to be garbage collected.
Also, the Helper was simplified because it turns out deleting manually
all Webgl objects is useless: these objects will be released when
the context is garbage collected anyway.
Note: this touches the Layer and BaseLayer classes, as the following were
preventing the layer from being garbage collected:
* layer reference in the `state_` object in BaseLayer
* dangling listener for source change in Layer
2019-11-04 09:31:38 +01:00
Andreas Hocevar
3d0f7e4af8
Update the vector-tile-selection example
2019-10-30 14:39:54 +01:00
Andreas Hocevar
90e1819d76
Merge pull request #10214 from jahow/webgl-layer-boolean-operators
...
WebGL / Add 'case' operator for style expressions
2019-10-28 21:11:47 +01:00
Olivier Guyot
f84fae8f70
Merge pull request #10198 from jahow/fix-webgl-renderer-loading-extent
...
WebGL renderer / use the specified loading strategy for the vector data
2019-10-28 16:19:52 +01:00
Olivier Guyot
6c0dd6152d
Modified the icon-sprite-webgl example to allow filtering on a string attribute
2019-10-28 15:55:15 +01:00
Olivier Guyot
b96e70e952
Expressions / renamed mod to % to be more in line with MB style spec
2019-10-28 15:55:15 +01:00
Olivier Guyot
80b4473180
Simplify the heatmap example
...
Use a weight function instead of manually edditing the features.
2019-10-28 10:27:29 +01:00
Olivier Guyot
e63bb45e6f
Webgl points layer / allow disabling hit detection
...
Having hit detection enabled has an overhead as it means
continously generating additional render instructions and rendering
to an offscreen canvas
2019-10-25 15:11:37 +02:00
Olivier Guyot
ff3cc9b4d0
Expressions / renamed operator pow to ^
...
To be more in line with Mapbox style spec
2019-10-25 14:55:44 +02:00
Olivier Guyot
a844691d7b
Added new example styles in the webgl points layer example
2019-10-25 14:55:44 +02:00
Olivier Guyot
e843b2cfc0
Expressions / adaptation and cleanup after stretch operator removal
...
The examples have been fixed as well.
2019-10-25 14:55:44 +02:00
Olivier Guyot
9e010631c1
Expressions / refactor operators to avoid linting errors
...
Previously the utilities used the Operators dict before its definition.
2019-10-25 14:55:44 +02:00
Olivier Guyot
a64f2eb720
Update the icon-sprite-webgl example to use a WebGLPoints layer
2019-10-25 14:55:44 +02:00
Olivier Guyot
44347a9ed3
Adapt the icon-sprite-webgl example to the new expressions module
2019-10-25 14:55:44 +02: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
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
Andreas Hocevar
39012a58f8
Implement getFeatures() for ol/layer/VectorImage
2019-10-22 11:27:26 +02:00
Andreas Hocevar
54884314ee
Merge pull request #10094 from ahocevar/immediate-hitdetection
...
New Layer#getFeatures method with fast hit detection
2019-10-14 22:21:08 +02:00
Frédéric Junod
aba93e7b9c
Merge pull request #10104 from openlayers/attribution_font_size
...
Remove font sizing from the attribution control
2019-10-14 15:28:02 +02:00
Frederic Junod
a126702e95
Add back max-width for the attribution control in examples
2019-10-14 09:24:18 +02:00
mike-000
cbf0ecfd75
Update test for no features
2019-10-09 18:25:04 +01:00
Frederic Junod
97ded06ee4
Remove attribution control custom style in examples
2019-10-09 16:48:19 +02:00
Andreas Hocevar
3c243b0236
getFeature() for VectorTile layer
2019-10-08 08:23:38 +02:00
Andreas Hocevar
315695eeb8
New Layer#getFeatures method with fast hit detection for VectorLayer
2019-10-08 08:23:38 +02:00
Andreas Hocevar
057cc92716
Merge pull request #10087 from petrsloup/vector-tiles-4326-example
...
Add example showing vector tiles in EPSG:4326
2019-10-07 10:07:30 +02:00
Andreas Hocevar
fb9673465a
Simpler way to use EPSG:4326 as projection
2019-10-04 14:07:13 +02:00
Andreas Hocevar
babdce4819
Merge pull request #10086 from petrsloup/update-mapbox-style-example
...
Update mapbox-style example
2019-10-03 20:39:47 +02:00
Petr Sloup
684e305bc8
Minor mapbox-style example docs update
2019-10-03 19:16:19 +02:00
Maximilian Krög
db49842f63
Display error message instead of 'style not valid yet...'
2019-10-03 17:06:39 +02:00
Petr Sloup
db583be0f9
Add example showing vector tiles in EPSG:4326
2019-10-03 13:00:47 +02:00
Maximilian Krög
d0cd1064ff
Also check predefined styles for validity.
2019-10-03 03:02:58 +02:00
Maximilian Krög
b4a996e760
Catch errors in style definition
...
Do not replace the layer if the style is invalid.
Thrown errors are caught and the layer will not be changed.
2019-10-03 01:59:42 +02:00
Maximilian Krög
dee114d4c4
Guard against JSON.parse errors.
...
Also show successful style parse status after a style error was corrected
but it is the same style as previously.
2019-10-03 01:59:42 +02:00
Maximilian Krög
db34a338d6
Reset status message when selecting from select element.
2019-10-03 01:59:21 +02:00
Maximilian Krög
0eac5007e8
Reserve the height for the style parse messages.
2019-10-03 01:59:00 +02:00
Maximilian Krög
c1921a6b16
Preselect the 'circles' style in the select input
...
The text in the editor element already is from the circles style..
2019-10-03 01:57:49 +02:00