Commit Graph

28529 Commits

Author SHA1 Message Date
mike-000
685040347b Add rotation and rotateWithView
Add rotation and rotateWithView to options and clone

Add rotation and rotateWithView to clone test
Also check that scale and displacement arrays are cloned
2020-09-08 16:23:45 +01:00
Andreas Hocevar
3d5f375d52 Merge pull request #11521 from ahocevar/integer-pixel-ratio-only
Do not use fractional pixel ratio for rendering vector tiles
2020-09-07 12:40:01 +02:00
Andreas Hocevar
7301259043 Merge pull request #11531 from openlayers/dependabot/npm_and_yarn/rollup-2.26.10
Bump rollup from 2.26.8 to 2.26.10
2020-09-07 11:08:53 +02:00
dependabot-preview[bot]
27dce8a4d9 Bump rollup from 2.26.8 to 2.26.10
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.8 to 2.26.10.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.8...v2.26.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 09:03:25 +00:00
Andreas Hocevar
da5e4ffbb6 Merge pull request #11530 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.11.5
Bump @babel/preset-env from 7.11.0 to 7.11.5
2020-09-07 11:01:43 +02:00
Andreas Hocevar
e429b16cb8 Merge pull request #11529 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-7.0.2
Bump rollup-plugin-terser from 7.0.1 to 7.0.2
2020-09-07 11:01:11 +02:00
Andreas Hocevar
503af27b2c Merge pull request #11528 from openlayers/dependabot/npm_and_yarn/babel/core-7.11.6
Bump @babel/core from 7.11.4 to 7.11.6
2020-09-07 11:00:42 +02:00
Andreas Hocevar
7b022f2d30 Merge pull request #11526 from openlayers/dependabot/npm_and_yarn/eslint-7.8.1
Bump eslint from 7.7.0 to 7.8.1
2020-09-07 10:59:46 +02:00
Andreas Hocevar
8fa9f53db9 Merge pull request #11527 from openlayers/dependabot/npm_and_yarn/karma-5.2.1
Bump karma from 5.1.1 to 5.2.1
2020-09-07 10:59:24 +02:00
Andreas Hocevar
e4c0f95b11 Merge pull request #11525 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.1.0
Bump copy-webpack-plugin from 6.0.4 to 6.1.0
2020-09-07 10:57:28 +02:00
dependabot-preview[bot]
567cfa16f3 Bump @babel/preset-env from 7.11.0 to 7.11.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.0 to 7.11.5.
- [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.11.5/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:29:50 +00:00
dependabot-preview[bot]
1d9f5fdc09 Bump rollup-plugin-terser from 7.0.1 to 7.0.2
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v7.0.1...v7.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:28:41 +00:00
dependabot-preview[bot]
6eaf1dab2b Bump @babel/core from 7.11.4 to 7.11.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.4 to 7.11.6.
- [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.11.6/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:27:55 +00:00
dependabot-preview[bot]
45f5eb4be8 Bump karma from 5.1.1 to 5.2.1
Bumps [karma](https://github.com/karma-runner/karma) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.1.1...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:27:01 +00:00
dependabot-preview[bot]
9495b3ba06 Bump eslint from 7.7.0 to 7.8.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.7.0...v7.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:25:41 +00:00
dependabot-preview[bot]
87370a3952 Bump copy-webpack-plugin from 6.0.4 to 6.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.0.4 to 6.1.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.4...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:24:35 +00:00
Andreas Hocevar
3c7fa9a586 Do not use fractional pixel ratio for rendering vector tiles 2020-09-06 17:08:13 +02:00
Andreas Hocevar
4ddf5c0c3e Merge pull request #11517 from ahocevar/fix-clockwise-algorithm
Make clockwise check work when coordinates are duplicated
2020-09-05 18:26:09 +02:00
Andreas Hocevar
a9e51d85ec Fix Index adjustment at the beginning of the ring 2020-09-05 16:21:01 +02:00
Andreas Hocevar
82f1349dcf Merge pull request #11515 from openlayers/dependabot/npm_and_yarn/http-proxy-1.18.1
[Security] Bump http-proxy from 1.17.0 to 1.18.1
2020-09-04 22:05:07 +02:00
Andreas Hocevar
f2b790adf1 Make clockwise check work when coordinates are duplicated 2020-09-04 20:47:15 +02:00
dependabot-preview[bot]
04a7b66975 [Security] Bump http-proxy from 1.17.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1. **This update includes a security fix.**
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 18:29:51 +00:00
Florent gravin
8eb5ac900d Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier 2020-09-03 15:42:56 +02:00
Andreas Hocevar
3a01e083c6 Merge pull request #11504 from openlayers/dependabot/npm_and_yarn/bl-4.0.3
[Security] Bump bl from 4.0.2 to 4.0.3
2020-09-02 18:57:43 +02:00
dependabot-preview[bot]
3108818267 [Security] Bump bl from 4.0.2 to 4.0.3
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3. **This update includes a security fix.**
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 15:30:16 +00:00
Andreas Hocevar
9d742e7782 Merge pull request #11501 from mike-000/patch-15
Empty this.canvas_ for all pixel ratios when render() is called
2020-09-01 22:54:56 +02:00
Jonathan Beliën
eec4b46ac1 Update WMSCapabilities.js 2020-09-01 12:06:22 +00:00
Jonathan Beliën
6a811ef767 Update WMS Capabilities tests
Add test for WMS service with one single layer.
2020-09-01 11:53:49 +00:00
Jonathan Beliën
9a021c8aa4 Update WMSCapabilities.js
Fix issue when there only one single layer.
2020-09-01 11:53:11 +00:00
mike-000
6cc063241a Use pixelRatio 2 2020-09-01 09:29:42 +01:00
mike-000
0807b44722 Clear this.canvas_ whenever render() is called 2020-09-01 09:27:17 +01:00
Olivier Guyot
2dd59b3536 Merge pull request #11471 from MichaelLangbein/WebGL-pre-and-postrender
Feature: added preRender and postRender methods to WebGLLayerRenderer…
2020-08-31 10:39:45 +02:00
Langbein, Michael
301e083dea Refactor unittest for WebGLPointsLayerRenderer
The test for the prerender and postrender events now uses a WebGLPointsLayer instead of a VectorLayer.
This is less confusing and probably closer to practical usage, too.
2020-08-31 10:29:42 +02:00
Andreas Hocevar
84097bf023 Merge pull request #11496 from openlayers/dependabot/npm_and_yarn/mocha-8.1.3
Bump mocha from 8.1.1 to 8.1.3
2020-08-31 10:07:03 +02:00
Andreas Hocevar
7649682680 Merge pull request #11495 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-7.0.1
Bump rollup-plugin-terser from 7.0.0 to 7.0.1
2020-08-31 10:06:20 +02:00
Andreas Hocevar
116bb7b597 Merge pull request #11494 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.0.4
Bump copy-webpack-plugin from 6.0.3 to 6.0.4
2020-08-31 10:05:43 +02:00
Andreas Hocevar
108bf63ca6 Merge pull request #11493 from openlayers/dependabot/npm_and_yarn/rollup-2.26.8
Bump rollup from 2.26.5 to 2.26.8
2020-08-31 10:05:06 +02:00
dependabot-preview[bot]
fb9f2b0069 Bump mocha from 8.1.1 to 8.1.3
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.1 to 8.1.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.1.1...v8.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:20:57 +00:00
dependabot-preview[bot]
669e0776b4 Bump rollup-plugin-terser from 7.0.0 to 7.0.1
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:19:19 +00:00
dependabot-preview[bot]
a2f9c83a39 Bump copy-webpack-plugin from 6.0.3 to 6.0.4
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.3...v6.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:18:03 +00:00
dependabot-preview[bot]
ad978c6667 Bump rollup from 2.26.5 to 2.26.8
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.5 to 2.26.8.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.26.5...v2.26.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:17:27 +00:00
Langbein, Michael
7808a8cb9a Implement unit-tests for WebGLLayerRenderer's new preRender and postRender methods.
The test only checks if the event is fired. It does not check for the properties of the RenderEvent object.
2020-08-30 13:20:18 +02:00
Langbein, Michael
a70ce2ca06 Implement preRender and postRender methods for WebGLLayerRenderer
This is required so that Renderers like WebGLPointsLayerRenderer can fire prerender and postrender events.
Problem described in [issue 11463](https://github.com/openlayers/openlayers/issues/11463).
2020-08-30 13:20:18 +02:00
Marc Jansen
17a5015750 Merge pull request #11491 from mike-000/patch-14
Cosmetic fix to doc (missing closing quote)
2020-08-28 23:47:27 +02:00
mike-000
f897503e10 Cosmetic fix to doc (missing closing quote) 2020-08-28 22:27:33 +01:00
Andreas Hocevar
6582f87383 Merge pull request #11488 from michalzielanski/z-index-example-bug
"Layer Z-Index" example bugfix
2020-08-28 10:51:53 +02:00
Andreas Hocevar
a568aab309 Merge pull request #11486 from davidiamaf/davidiamaf-pixel-null-guard
guard for null
2020-08-28 10:22:02 +02:00
Michał Zielański
3ef02fd19d The star layer should not be assigned the z-index 2020-08-28 08:38:28 +02:00
davidiamaf
ce0d744a10 guard for null
against map.getPixelFromCoordinateInternal() returning null

Per https://github.com/openlayers/openlayers/issues/11478
2020-08-27 16:15:09 -04:00
Tim Schaub
218335d0c8 Merge pull request #11481 from michalzielanski/additional-props-in-cloned-geom
Adding original properties to cloned geometry
2020-08-27 08:23:46 -06:00