Commit Graph

28386 Commits

Author SHA1 Message Date
Maximilian Krög
fb62e7928e Rename method used for lines. 2020-09-11 23:53:59 +02:00
Frédéric Junod
6b0471c2dc Merge pull request #11545 from fredj/webgl_className
Use the className param in ol.layer.Heatmap
2020-09-11 10:00:30 +02:00
Andreas Hocevar
f145082966 Merge pull request #11548 from ahocevar/bind-tileurlfunction
Bind tileUrlFunction before returning it from getTileUrlFunction
2020-09-11 09:43:07 +02:00
Andreas Hocevar
7957abd72d Merge pull request #11549 from ahocevar/no-root-node
Only use elementFromPoint with ShadowRoot
2020-09-11 09:41:52 +02:00
Frederic Junod
142fbc0811 Use the className param in ol.layer.Heatmap 2020-09-11 08:23:15 +02:00
Andreas Hocevar
fcf6072061 Merge pull request #11502 from jbelien/wmscapabilities/singlelayer
Fix issue with WMS Capabilities containing a single layer
2020-09-10 19:27:18 +02:00
Andreas Hocevar
feb88d1c0d Merge pull request #11540 from gberaudo/avoid_mvt_reprojection
Avoid unnecessary transform in the MVT format
2020-09-10 19:18:33 +02:00
Guillaume Beraudo
39fc6d7816 Avoid unnecessary transform in MVT format
When using ol.render.Feature there was a mandatory geometry transform.

With this change it is now easy to read features directly in the native tile projection.
Since there is no needed transform, there is no need either to define an extent and a world extent, for that use-case.
2020-09-10 17:13:30 +02:00
Andreas Hocevar
869206b33d Only use elementFromPoint with ShadowRoot 2020-09-10 11:22:33 +02:00
Andreas Hocevar
bff25f9ba4 Bind tileUrlFunction before returning it from getTileUrlFunction 2020-09-10 10:10:52 +02:00
Andreas Hocevar
0ec6674465 Merge pull request #11537 from mike-000/patch-16
Add rotation and rotateWithView to ol/style/Circle clone method and options
2020-09-09 18:00:08 +02:00
Andreas Hocevar
5b69af64e8 Merge pull request #11543 from sweco-dkjesh/main
wmts matrixset null pointer fix and improved handling of Identifier
2020-09-09 17:51:33 +02:00
sweco-dkjesh
df8da1158f Lint 2020-09-09 13:30:14 +02:00
sweco-dkjesh
d409168940 Lint 2020-09-09 13:22:38 +02:00
sweco-dkjesh
bf86bcbee4 Lint 2020-09-09 13:13:58 +02:00
sweco-dkjesh
6ae62c3e93 Lint 2020-09-09 12:49:04 +02:00
sweco-dkjesh
132ce172ed null pointer fix and improved handling of Identifier
Fix nullpointer error when a matrixSet is not found in the matrixsetobj when matrix limits exist.
Also check for match by prepending matrixSetObj.Identifier which is supported by some wmts services.
2020-09-09 12:29:43 +02:00
Andreas Hocevar
915bca5114 Merge pull request #11509 from fgravin/proj-4326-identifier
Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier
2020-09-09 10:22:34 +02:00
Florent gravin
5d8aa85caa Use regexp replacements in ol.proj.get
This avoids to have to many redundant identifier definitions for each projection and ensure to cover most of the existing srsNames
2020-09-08 17:33:07 +02:00
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