Andreas Hocevar
c9703cfacc
Merge pull request #13844 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.6.1
...
Bump clean-css-cli from 5.6.0 to 5.6.1
2022-07-18 13:54:02 +02:00
Andreas Hocevar
dfc5aee096
Merge pull request #13845 from openlayers/dependabot/npm_and_yarn/marked-4.0.18
...
Bump marked from 4.0.17 to 4.0.18
2022-07-18 13:53:42 +02:00
Andreas Hocevar
423ed7742c
Merge pull request #13846 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.9
...
Bump @babel/core from 7.18.6 to 7.18.9
2022-07-18 13:53:21 +02:00
Andreas Hocevar
93663309b0
Merge pull request #13847 from openlayers/dependabot/npm_and_yarn/puppeteer-15.4.0
...
Bump puppeteer from 15.3.2 to 15.4.0
2022-07-18 13:53:00 +02:00
Andreas Hocevar
cc2caf63eb
Merge pull request #13848 from openlayers/dependabot/npm_and_yarn/eslint-8.20.0
...
Bump eslint from 8.19.0 to 8.20.0
2022-07-18 13:52:36 +02:00
dependabot[bot]
97ee2d1b55
Bump eslint from 8.19.0 to 8.20.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.19.0 to 8.20.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.20.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:03:20 +00:00
dependabot[bot]
c64dc124dc
Bump puppeteer from 15.3.2 to 15.4.0
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 15.3.2 to 15.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v15.3.2...v15.4.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:03:00 +00:00
dependabot[bot]
82c59631c2
Bump @babel/core from 7.18.6 to 7.18.9
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-core )
---
updated-dependencies:
- dependency-name: "@babel/core"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:02:09 +00:00
dependabot[bot]
493bfa12dc
Bump marked from 4.0.17 to 4.0.18
...
Bumps [marked](https://github.com/markedjs/marked ) from 4.0.17 to 4.0.18.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json )
- [Commits](https://github.com/markedjs/marked/compare/v4.0.17...v4.0.18 )
---
updated-dependencies:
- dependency-name: marked
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:02:05 +00:00
dependabot[bot]
41f08d81ce
Bump clean-css-cli from 5.6.0 to 5.6.1
...
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli ) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/clean-css/clean-css-cli/releases )
- [Changelog](https://github.com/clean-css/clean-css-cli/blob/master/History.md )
- [Commits](https://github.com/clean-css/clean-css-cli/compare/v5.6.0...v5.6.1 )
---
updated-dependencies:
- dependency-name: clean-css-cli
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:01:51 +00:00
dependabot[bot]
ba6400bccf
Bump @babel/preset-env from 7.18.6 to 7.18.9
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:01:46 +00:00
dependabot[bot]
eb00f654c0
Bump @types/geojson from 7946.0.8 to 7946.0.10
...
Bumps [@types/geojson](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/geojson ) from 7946.0.8 to 7946.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/geojson )
---
updated-dependencies:
- dependency-name: "@types/geojson"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-18 10:01:30 +00:00
Andreas Hocevar
085fca6a9f
Merge pull request #13832 from mike-000/vector-tile-grids
...
Base vector tile render tile grid on the source grid
2022-07-18 10:07:52 +02:00
Andreas Hocevar
4fec8d4615
Recover from incorrect rebase after removal of string enums
2022-07-18 09:42:52 +02:00
Maximilian Krög
1df5afcdbf
Remove deprecated label cache
2022-07-17 04:15:24 +02:00
MoonE
0c2ba05195
Merge pull request #13834 from jipexu/scalebarcolors
...
ability to change the color of the scalebar
2022-07-16 19:01:59 +02:00
Maximilian Krög
d957bdeb86
Fix ScaleLine markup
2022-07-16 18:56:59 +02:00
jeanpierre
c8a28848dd
change class names
2022-07-16 16:57:14 +02:00
jeanpierre
4d2b2c9650
style for scalebar
...
with new class in css and remove the hardcoded background
Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com >
2022-07-16 15:53:27 +02:00
jipexu
cb5417e0b6
Merge branch 'openlayers:main' into scalebarcolors
2022-07-16 11:22:01 +02:00
mike-000
13f0eeb795
Fix tileSizes typedef
2022-07-16 10:07:54 +01:00
mike-000
8dcb78bcd9
Base render tile grid on the source grid
...
Use source zDirection for both grids
2022-07-16 10:06:42 +01:00
Olivier Guyot
998dc82592
fixes after rebase
2022-07-15 22:53:48 +02:00
Olivier Guyot
5d21e548ae
Webgl / add rendering tests for the vector layer renderer
2022-07-15 22:33:52 +02:00
Olivier Guyot
cd83424867
WebGL / improve doc for Helper and VectorLayerRenderer
...
Also created enums for attributes (like uniforms), in an attempt to clarify
what is accessible to the vertex shaders.
2022-07-15 22:33:52 +02:00
Olivier Guyot
52279967c4
WebGL / Reorganize VectorLayerRenderer options, update example
...
Now different attributes can be provided for each type of geometry.
Also updated the example to accomodate for this and use the default shaders.
2022-07-15 22:33:52 +02:00
Olivier Guyot
79c974d63d
WebGL / Add new module with default shaders for VectorLayer
2022-07-15 22:33:52 +02:00
Olivier Guyot
6848df97f8
WebGL / Address review comments
2022-07-15 22:33:52 +02:00
Olivier Guyot
f603ce7456
WebGL / Support DPR > 1 in linestring shader
...
A u_pixelRatio uniform was added to be used in the shaders. this is necessary
since we're relying on the builtin gl_FragCoord vector, which will be scaled
relative to the u_sizePx uniform in case of a device pixel ratio != 1.
Also added tests for computed uniform values, instead of just testing
that they were indeed set.
2022-07-15 22:33:52 +02:00
Olivier Guyot
9e35acaa0a
Adapt the batch renderers to trigger a repaint after buffer rebuild
2022-07-15 22:33:52 +02:00
burleight
8769ea519e
WebGL / render multiple worlds to wrap X in vector renderer
...
From https://github.com/jahow/openlayers/pull/1
Adds logic in WebGLVectorLayerRenderer to handle multiple worlds visible at once.
Co-authored-by: Tomas Burleigh <t.burleigh@gmail.com >
Co-authored-by: Olivier Guyot <olivier.guyot@camptocamp.com >
2022-07-15 22:33:52 +02:00
Olivier Guyot
7d2b1a9f48
Make the newWebGL vector example experimental
...
And do not mention hit detection for now
2022-07-15 22:33:52 +02:00
Olivier Guyot
c9f3665237
Remove @api on webgl vector layer renderer as well as utilities
...
This removes the WebGL vector layer renderer as well as the WebGL helper class
from the API.
2022-07-15 22:33:52 +02:00
Olivier Guyot
7e9c620914
Fix linting and typechecking errors
2022-07-15 22:33:52 +02:00
Olivier Guyot
a2ba7ecaa7
Make some adaptations to the PointsLayer renderer to make it work
2022-07-15 22:33:52 +02:00
Olivier Guyot
979dfd3a55
Add an example for the new webgl vector layer
...
This example accomodates for hit detection whih is not functional yet.
2022-07-15 22:33:52 +02:00
Olivier Guyot
c555315014
Add a new WebGLVectorLayer renderer
...
This relies on a mixed geometry batch and separate batch renderers (lines,
points and polygons). A different shader program is used for each of these
geometries, and three rendering passes are made.
2022-07-15 22:33:52 +02:00
Olivier Guyot
cfaf9a14e5
Rework a bit the webgl helper to allow having several programs
...
Without this, doing render passes with different programs using one
helper instance was not really doable
2022-07-15 22:33:52 +02:00
Olivier Guyot
7892c31715
Adapt the WebGL worker to use the new buffer generation utils
2022-07-15 22:33:52 +02:00
Olivier Guyot
143c19ca03
Add utils for generating webgl buffers from lines and polygons
...
Uses @mapbox/earcut for polygon (what else), and a home made logic for lines
2022-07-15 22:33:52 +02:00
Olivier Guyot
a18ffaed54
Move webgl utils out of ol/renderer/webgl/Layer module into their own module
2022-07-15 22:33:52 +02:00
Olivier Guyot
eb0db9e3df
Introduce batch renderers for each type of geometry
...
Batch renderers are responsible for generating render instructions and
interacting with the worker to obtain the final webgl buffers
2022-07-15 22:33:52 +02:00
Olivier Guyot
b5fbed5437
Introduce MixedGeometryBatch for webgl rendering
...
This class keeps an up-to-date list of line, polygon and point geometries
to render as well as vertices counts, geometries count, rings count etc.
2022-07-15 22:33:52 +02:00
Andreas Hocevar
aff4451fb1
Merge pull request #13823 from ahocevar/reduce-canvas-footprint
...
Reduce canvas memory footprint for better iOS stability
2022-07-15 20:35:09 +02:00
Andreas Hocevar
a02d6786cc
Merge pull request #12696 from ahocevar/source-state-union-type
...
Use union types instead of enums
2022-07-15 20:32:54 +02:00
Andreas Hocevar
96e2400c46
Fix alignment of rotated image layers
2022-07-15 20:30:38 +02:00
jeanpierre
d3861b0922
scaleBarColors a new option for scalebar colors
2022-07-15 19:14:46 +02:00
Andreas Hocevar
f720404559
Updates after rebase
2022-07-15 11:01:30 +02:00
Andreas Hocevar
884c0c6129
Resolve conflicts
2022-07-15 10:51:08 +02:00
Frederic Junod
252671108f
Use union type instead of WMTS request encoding
2022-07-15 10:51:08 +02:00