Commit Graph

816 Commits

Author SHA1 Message Date
Maximilian Krög 2897f03ea5 Remove deprecated method PluggableMap#forEachLayerAtPixel 2022-07-26 00:57:21 +02:00
Maximilian Krög 185485b0f7 Replace GeometryLayout enum with typedef 2022-07-19 23:24:22 +02:00
Andreas Hocevar 884c0c6129 Resolve conflicts 2022-07-15 10:51:08 +02:00
Andreas Hocevar 57f147988d Use union type for source state 2022-07-15 10:46:44 +02:00
Andreas Hocevar 04ffcbfd08 Fix source band calculation when configured with multiple sources 2022-06-13 14:35:16 +02:00
Andreas Hocevar ffee2f727e Updates and example improvements for ol-mapbox-style v8 2022-04-10 21:41:00 +02:00
Tim Schaub b8c04ee7c5 Store rendererd source on the layer instead of the layer state 2022-03-26 10:18:49 -06:00
Andreas Hocevar d815c93bcf Add documentation for precompose and postcopose to ol/layer/WebGLTile 2022-03-14 22:10:13 +01:00
Andreas Hocevar 20e352111c Handle layers without renderer properly 2022-02-28 07:36:34 +01:00
mike-000 69f8a824ec Check for resolution change and fix unrotated size
Calculate unrotated width and height from frame size and resolution
Check for changes in resolution as well as extent when rendered extent fits inside frame
2022-02-24 10:53:32 +00:00
Maximilian Krög b29ab8f104 Link to class instead of module pages 2022-02-14 21:53:07 +01:00
Maximilian Krög a0dd0054a9 Fix jsdoc references 2022-02-13 13:39:06 +01:00
Andreas Hocevar 53239f7b1e Document difference between Vector and VectorImage layers 2022-02-12 12:57:19 +01:00
Tim Schaub 96de98bfbb Merge pull request #13301 from EvertEt/strictnullchecks-2
Improve some null types to prepare for strictNullChecks
2022-02-09 04:51:54 -07:00
Tim Schaub 2526a04f2a Merge pull request #13338 from tschaub/get-layer-data
Get pixel data
2022-02-08 20:46:18 -07:00
Tim Schaub 97a1c196cc Merge pull request #13334 from EvertEt/strictnullchecks-4
Improve some null types for strictNullChecks
2022-02-08 10:32:32 -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
Andreas Hocevar ec1eec829c Merge pull request #13328 from EvertEt/strictnullchecks-3
Improve some nullable map types
2022-02-07 21:12:08 +01:00
Maximilian Krög a10872baa4 No need to update the style when no source is set 2022-02-07 00:17:29 +01:00
EvertEt 25e1d6c5d6 Improve some null types for strictNullChecks 2022-02-06 19:36:30 +01:00
Tim Schaub adbbc05159 Avoid rendering outside WebGL layer and source extent 2022-02-05 21:02:22 -07:00
EvertEt 15de4bb5ab Improve some nullable map types
Closes #13326
2022-02-04 17:05:52 +01:00
Andreas Hocevar 770fcc870b Add updateStyleVariables method to WebGLPoints layer 2022-02-03 22:12:05 +01:00
EvertEt e3d3d24f05 Improve some null types to prepare for strictNullChecks 2022-01-31 19:35:25 +01:00
Andreas Hocevar 89c8c909dc Merge pull request #13298 from ahocevar/webglpoints-assert-point
Document geometry type
2022-01-30 18:42:44 +01:00
Andreas Hocevar 7819c180af Document point geometry type requirement 2022-01-30 08:22:09 +01:00
Andreas Hocevar 11e12ef94e Re-assign variables on setStyle() 2022-01-28 07:48:21 +01:00
Andreas Hocevar 94cc414ea2 Defaults for the Layer, Source and Feature generics 2022-01-26 22:40:27 +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 b5196a65a1 Describe use of className with declutter 2022-01-14 12:35:36 +00:00
Andreas Hocevar 0004b2594d Support multiple sources for layers 2022-01-13 17:42:52 +01:00
Andreas Hocevar f6496aa409 Fix base vector layer template generics 2022-01-04 18:04:53 +01:00
Tim Schaub 59186f2afd Support paletted rendering in WebGL 2021-12-22 11:14:46 -07:00
mike-000 4acb45dc78 include layer opacity in shader 2021-12-21 17:07:57 +00:00
Tim Schaub 34c84cf107 Allow WebGL tile layers to be constructed without a source 2021-12-19 09:58:40 -07: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 67c183958a Use applyBackground instead of custom code 2021-12-06 00:07:16 +01: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
Tim Schaub c2fc800fc1 Allow WebGL tile layer style to be updated 2021-12-02 16:32:00 -07:00
Andreas Hocevar 544e55fe1a Use source minzoom if not configured otherwise 2021-12-02 06:19:21 +01:00
Andreas Hocevar e00d005088 Fix tiles and background handling 2021-11-24 10:53:55 +01:00
Andreas Hocevar 332672ca1e Merge pull request #13026 from ahocevar/graticule-docs
Fix strokeStyle documentation
2021-11-20 21:04:46 +01:00
Andreas Hocevar b88a466601 Fix strokeStyle documentation 2021-11-20 17:25:14 +01:00
Andreas Hocevar 5ccea03e04 Merge pull request #13025 from ahocevar/mapboxvector-background
Add background to MapboxVector layer
2021-11-20 17:19:46 +01:00
Tim Schaub 6f80ba93c8 Add the renderer type to generic layer template variables 2021-11-19 10:56:37 -07:00
Andreas Hocevar d4cc76f3f1 Add background to MapboxVector layer 2021-11-19 18:17:55 +01:00