Commit Graph

13523 Commits

Author SHA1 Message Date
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
bf199bbe38 handle WebGL layers 2022-02-10 11:40:44 +00: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
093f64c07d Deprecate map.forEachLayerAtPixel() 2022-02-08 18:30:45 -07:00
Maximilian Krög
725729344c Remove warning for @type annotation by jsdoc 2022-02-08 21:38:41 +01: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
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
Andreas Hocevar
ec1eec829c Merge pull request #13328 from EvertEt/strictnullchecks-3
Improve some nullable map types
2022-02-07 21:12:08 +01:00
EvertEt
7b6afcd1e9 Change map variables from undefined to null for consistency 2022-02-07 08:06:46 +01:00
Maximilian Krög
a86f0704f3 Fix error when disposing ol/renderer/webgl/TileLayer
- helper may not exist
- tileTextureCache not cleared when canvasCacheKey changes
2022-02-07 00:17:32 +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
Tim Schaub
f10ba5c1e3 Avoid duplicate imports 2022-02-05 11:46:26 -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
Maximilian Krög
93c08784af Only set renderer to ready when all messages are received 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
EvertEt
e3d3d24f05 Improve some null types to prepare for strictNullChecks 2022-01-31 19:35:25 +01:00
Andreas Hocevar
0df65d59e2 Merge pull request #13319 from OSHistory/fixZIndexNotation
fix: fix casing for z-index
2022-01-31 13:23:49 +01:00
Andreas Hocevar
7e44b3e515 Merge pull request #13313 from openlayers/dependabot/npm_and_yarn/geotiff-2.0.3
Bump geotiff from 2.0.2 to 2.0.3
2022-01-31 13:23:24 +01:00
Andreas Hocevar
528589b163 Update import 2022-01-31 13:14:59 +01:00
OSHistory
bce14074ae fix: fix casing for z-index
The CSS-property z-index had some faulty casings. Only occurs in src/ol/ol.css
2022-01-31 13:09:08 +01:00
Frederic Junod
a008d5696b Fix typo CSS class name for the expanded attributions button
See #11403
2022-01-31 11:11:14 +01:00
Andreas Hocevar
12f8bae261 Merge pull request #13299 from ahocevar/tile-types
Improve types for tile layers
2022-01-30 18:43:15 +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
c92e1ec9ab Improve types for tile layers 2022-01-30 09:10:29 +01:00
Andreas Hocevar
7819c180af Document point geometry type requirement 2022-01-30 08:22:09 +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
Maximilian Krög
f2d65ba0ab Only set id if it is defined when creating feature 2022-01-29 16:06:01 +01:00
Andreas Hocevar
9e4d943239 Merge pull request #13292 from ahocevar/geotiff-2
Update to geotiff@2
2022-01-28 15:57:40 +01:00
Andreas Hocevar
fd779c1311 Merge pull request #13293 from ahocevar/setstyle-reset-variables
Re-assign style variables on setStyle()
2022-01-28 15:53:34 +01:00
Andreas Hocevar
2c87fcb4f9 Merge pull request #13261 from XiaofengZeng/ToFixAPIDoc
add @api comment on getAllLayers method
2022-01-28 11:44:50 +01:00
Andreas Hocevar
11e12ef94e Re-assign variables on setStyle() 2022-01-28 07:48:21 +01:00
Andreas Hocevar
59600a0d68 Merge pull request #13290 from constantinius/geotiff-source-options
Allowing to pass additional options to the geotiff.js source
2022-01-28 07:44:35 +01:00
Andreas Hocevar
b5c91b8f05 Update to geotiff@2 2022-01-27 22:31:51 +01:00
Fabian Schindler
441cce8dc7 Update src/ol/source/GeoTIFF.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-27 14:45:25 +01:00
Fabian Schindler
aea62119b2 Update src/ol/source/GeoTIFF.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-27 14:44:59 +01:00
Andreas Hocevar
94cc414ea2 Defaults for the Layer, Source and Feature generics 2022-01-26 22:40:27 +01:00
Andreas Hocevar
2e5c1f2af9 Updates for TypeScript v4.6.0-beta 2022-01-26 22:40:27 +01:00
Fabian Schindler
1b71d39292 Adding typedef to declare all possible options for
geotiff.js sources
2022-01-26 16:46:47 +01:00
Fabian Schindler
f062b15bd5 Allowing to pass additional options to the
geotiff.js source
2022-01-25 21:52:27 +01:00
mike-000
7af366586f Pass tilePixelRatio and gutter to TileTexture 2022-01-20 17:50:49 +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