Commit Graph

143 Commits

Author SHA1 Message Date
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
Maximilian Krög ab786cff73 Test setting resolution to undefined 2022-02-18 00:52:40 +01:00
Maximilian Krög c74d0a8957 Test cloning IconImage without cache 2022-02-17 00:58:35 +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
mike-000 57db9a6a12 Add floor, round and ceil 2022-02-10 15:37:45 +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
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
Andreas Hocevar 11e12ef94e Re-assign variables on setStyle() 2022-01-28 07:48:21 +01: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
Tim Schaub e71a8b65e1 Default CORS request mode for tiles used in WebGL rendering 2022-01-11 14:21:48 -07:00
Andreas Hocevar 48ce451f53 Do not fire modifyend event when nothing was modified 2022-01-11 12:45:08 +01:00
mike-000 d85be48da2 Test getDataAtPixel() method for WebGL 2022-01-03 13:00:55 +00:00
mike-000 37f117b782 Test scalebar text in EPSG:4326 2021-12-29 23:55:50 +00:00
Tim Schaub e2883fb658 Deprecate the imageSmoothing option for sources 2021-12-27 15:30:48 -07:00
Andreas Hocevar 4f7cadd17d Add layer also for programmatically selected features 2021-12-21 08:25:57 +01:00
Tim Schaub 34c84cf107 Allow WebGL tile layers to be constructed without a source 2021-12-19 09:58:40 -07:00
Tim Schaub 0cc3bae8fe Preserve the drawing buffer by default for WebGL layers 2021-12-18 12:25:03 -07:00
Andreas Hocevar ae637bf683 Merge pull request #13120 from ahocevar/view-properties
Populate view's object properties
2021-12-16 22:09:08 +01:00
Andreas Hocevar 628e5c1c90 Also update zoom property 2021-12-16 12:32:57 +01:00
Tim Schaub 68ea485e69 Dispatch precompose and postcompose events for WebGL layers 2021-12-15 16:59:51 -07:00
Andreas Hocevar f6cb4c296d Populate view's object properties 2021-12-16 00:11:15 +01:00
Tim Schaub 78bf0a3679 Assume limited precision when rounding 2021-12-11 15:57:42 -07:00
Maximilian Kroeg e79d9d386b Add test for setting center to undefined 2021-12-09 15:41:15 +01:00
Andreas Hocevar 238695a107 Merge pull request #13085 from ahocevar/layer-background
Add layer background
2021-12-06 20:39:19 +01:00
Tim Schaub f5803ad6ca Support expressions for band arguments 2021-12-05 17:04:50 -07:00
Andreas Hocevar 3638df90f8 Add layer background 2021-12-06 00:07:15 +01:00
Andreas Hocevar 60c4268569 Normalize relative urls for style url 2021-12-04 14:36:08 +01:00
Andreas Hocevar 544e55fe1a Use source minzoom if not configured otherwise 2021-12-02 06:19:21 +01:00
Tim Schaub 3ef40f8e22 Allow wrapX to be set on GeoTIFF sources 2021-11-30 16:49:21 -07:00
Tim Schaub 3bf1aef8e2 Avoid loading tiles outside the grid extent 2021-11-30 16:30:51 -07:00
Andreas Hocevar e00d005088 Fix tiles and background handling 2021-11-24 10:53:55 +01:00
Tim Schaub f6f34f82e5 Allow data tile source loader to return a value or a promise 2021-11-20 13:55:33 -07:00
Andreas Hocevar d4cc76f3f1 Add background to MapboxVector layer 2021-11-19 18:17:55 +01:00
Tim Schaub f336cf30b0 Additional types for WebGL renderer, sources, and tiles 2021-11-16 11:24:41 -07:00
Tim Schaub a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00
Tim Schaub 0dfbedb099 Lazily create the WebGL helper 2021-11-13 11:37:09 -07:00
Tim Schaub 371bb85350 Add a map property to layers 2021-11-12 17:54:10 -07:00