4233 Commits

Author SHA1 Message Date
Andreas Hocevar
ffee2f727e Updates and example improvements for ol-mapbox-style v8 2022-04-10 21:41:00 +02:00
jipexu
6a35a20ff1 Update scaleline.test.js 2022-04-10 21:01:42 +02:00
jipexu
96cebca3b7 Update scaleline.test.js 2022-04-10 20:37:18 +02:00
Andreas Hocevar
ae00bf6c48 Merge pull request #13550 from ahocevar/background
Update backgrounds when function returns a different color
2022-04-10 01:25:49 +02:00
Andreas Hocevar
cbb18ab805 Update backgrounds when function returns a different color 2022-04-09 10:53:20 +02:00
mike-000
6ca44f6ffa add gutter option 2022-04-08 14:17:54 +01:00
Andreas Hocevar
c03f58fe5d Merge pull request #12936 from ejn/bugfix/gml-multiple-element-parsing
Bugfix for GML parsing with multiple property elements with XML attributes
2022-04-05 11:57:53 +02:00
Bart van den Eijnden
5742f0c068 Add tests 2022-04-01 14:29:01 +02:00
Tomas Burleigh
d524d46969 WebGLPointsLayer wrapX support - partially addressing #11131
WebGLPointsLayer renderFrame and renderHitDetection will now draw
multiple worlds if the source and projection support wrapX.

Hit detection needs additional improvement. It stops working after
more than one wrap around the world. If 0 is the middle world, then
the hit detection works for worlds -1, 0, and -1, but not for worlds
> 2 or < -2.

The example has hit detection enabled, demonstrated with a colour
change on hover for the circle styles. When moving the mouse, the hit
detection is unreliable and flickers on/off. This needs improvement.

The webgl-points renderer test has been updated.
2022-04-01 13:35:13 +13:00
mike-000
d2da88a3fd test gutter 2022-03-30 13:02:21 +01:00
Tim Schaub
b8c04ee7c5 Store rendererd source on the layer instead of the layer state 2022-03-26 10:18:49 -06:00
mike-000
c4bf3f1e1a Change imageSmoothing to interpolate 2022-03-25 08:53:59 -06:00
Andreas Hocevar
bf9472ac57 Add loadstart and loadend map events 2022-03-19 10:32:22 +01:00
Andreas Hocevar
373cf81fc0 Merge pull request #13464 from ahocevar/projection-warning
Do not warn about coordinates when view projection is configured
2022-03-10 20:13:33 +01:00
Andreas Hocevar
5c7b9124cc Do not warn about coordinates when view projection is configured 2022-03-10 16:52:49 +01:00
Andreas Hocevar
46ddbd7e0e Reset image when empty 2022-03-10 16:27:24 +01:00
Maximilian Krög
8b5b5db00f Add test for snap to vertex placed on line 2022-03-07 08:57:31 +01:00
Alan Moffat
87d87a155a Ensure FullScreen button has classname set on render.
When the FullScreen icon is first rendered, the button within it is not having the inactive classname set. The class name is set on toggling fullscreen on/off - just not being set on render.
2022-03-04 11:13:02 +00:00
Maximilian Kroeg
28b6026bc4 Test rendercomplete works with invisible layers 2022-03-02 11:03:42 +01:00
Andreas Hocevar
18f06b8b9a Rich text labels 2022-02-23 12:36:56 +01:00
Maximilian Krög
ab786cff73 Test setting resolution to undefined 2022-02-18 00:52:40 +01:00
MoonE
57e9a4d1a8 Merge pull request #13390 from MoonE/icon-clone
Fix clone of icon loses imgSize when cache is full
2022-02-17 20:04:32 +01:00
Maximilian Krög
c74d0a8957 Test cloning IconImage without cache 2022-02-17 00:58:35 +01:00
Andreas Hocevar
63fc00902f Warn once when suspicious coordinate are used 2022-02-15 08:50:05 +01:00
Maximilian Krög
9bfb0c1b9d Test VectorSource isEmtpty without spatial index 2022-02-13 00:06:26 +01:00
Tim Schaub
437b2a0fc2 Merge pull request #13357 from tschaub/preload
Preload tiles for WebGL tile layers
2022-02-10 14:36:31 -07:00
Tim Schaub
49fc16ef35 Merge pull request #13363 from mike-000/floor-round-ceil
Add floor, round and ceil to style expressions
2022-02-10 11:46:28 -07:00
mike-000
57db9a6a12 Add floor, round and ceil 2022-02-10 15:37:45 +00:00
mike-000
44136af99d test with interpolated WebGL layer 2022-02-10 12:29:36 +00:00
Tim Schaub
6f005e1f30 Preload tiles for WebGL tile layers 2022-02-09 14:01:14 -07:00
Tim Schaub
bd86639351 Keep track of when a layer is unrendered 2022-02-08 10:23:55 -07:00
Tim Schaub
eb4d5e0784 Get pixel data 2022-02-07 18:35:47 -07:00
MoonE
cd45663996 Merge pull request #13336 from MoonE/dispose-webgl
Dispose of webgl contexts
2022-02-07 22:38:36 +01:00
MoonE
27a5103f3f Merge pull request #13337 from MoonE/fix-rendering-test
Fix error when accessing ready property of renderer
2022-02-07 22:38:05 +01:00
Tim Schaub
d9a11195e0 Merge pull request #13269 from mike-000/TileTexture-tilePixelRatio-gutter
Pass tilePixelRatio and gutter to TileTexture
2022-02-07 13:45:22 -07:00
Maximilian Krög
eaa6146156 Fix error when accessing ready property of renderer 2022-02-07 00:26:53 +01:00
Maximilian Krög
700cdad1e2 Add missing dispose calls for webgl renderer tests 2022-02-07 00:17:32 +01:00
Tim Schaub
adbbc05159 Avoid rendering outside WebGL layer and source extent 2022-02-05 21:02:22 -07:00
Tim Schaub
f10ba5c1e3 Avoid duplicate imports 2022-02-05 11:46:26 -07:00
Andreas Hocevar
770fcc870b Add updateStyleVariables method to WebGLPoints layer 2022-02-03 22:12:05 +01:00
Maximilian Krög
613d083e46 Test points layer ready state 2022-02-02 22:54:16 +01:00
Andreas Hocevar
7c3c1ac354 Fix rendercomplete for WebGLPoints layer and subclasses 2022-02-01 17:13:37 +01:00
Maximilian Krög
f0e768bb9a Remove case of MulitPolygon RenderFeature 2022-01-29 21:51:29 +01:00
Maximilian Krög
856f239280 Add function to convert RenderFeature to Feature 2022-01-29 17:52:07 +01:00
Andreas Hocevar
11e12ef94e Re-assign variables on setStyle() 2022-01-28 07:48:21 +01:00
mike-000
6a26e6a274 test gutter 2022-01-20 17:51:17 +00:00
mike-000
2a421b9362 test tilePixelRatio 2022-01-20 17:51:05 +00:00
Andreas Hocevar
30d27a1d59 Merge pull request #13212 from ahocevar/multisource-webgl
Support multiple sources for WebGL tile layers
2022-01-19 08:43:22 +01:00
mike-000
1c81f60fec re-enable image smoothing after rendering 2022-01-14 10:31:17 +00:00
Andreas Hocevar
0004b2594d Support multiple sources for layers 2022-01-13 17:42:52 +01:00