Commit Graph

828 Commits

Author SHA1 Message Date
Tim Schaub
e566868a5b Allow short name to be extracted 2022-08-15 16:58:42 -06:00
Tim Schaub
99612e7f9a Remove opt_ prefix 2022-08-11 20:14:35 -06:00
Maximilian Krög
5b8d810f80 Use const in more places 2022-08-09 00:25:30 +02:00
Tim Schaub
85ef563ba8 Remove PluggableMap 2022-07-31 10:08:13 -06:00
MoonE
37aaf8ed4b Merge pull request #13902 from MoonE/type-safe-collection
Improve Collection type-safety
2022-07-30 21:38:48 +02:00
Maximilian Krög
75c17e55b1 Improve Collection type-safety 2022-07-30 21:30:35 +02:00
MoonE
e17640c95a Merge pull request #13905 from MoonE/replace-enums
Replace enums with typedefs
2022-07-30 18:12:34 +02:00
Tim Schaub
ab48290bd7 Accept an object literal for static layer styling 2022-07-30 09:48:10 -06:00
Maximilian Krög
361f1ab837 Replace VectorTileRenderType enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög
7f2f789d7f Remove deprecated 'image' render mode option 2022-07-30 15:06:12 +02:00
mike-000
aaed855740 Align default intervals to minutes and seconds 2022-07-29 11:26:54 +01:00
Tim Schaub
25d47ed752 Use Object.assign 2022-07-28 13:23:16 -06:00
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