Compare commits

...

1126 Commits

Author SHA1 Message Date
Tim Schaub
b64b8af2ea Changes for v6.7.0 2021-09-09 11:24:29 -06:00
Tim Schaub
be312c1616 Merge pull request #12727 from simonseyock/patch-3
Add missing 'boxstart' event to OnSignature
2021-09-09 09:54:08 -06:00
Simon Seyock
c27974b3da Add missing 'boxstart' event to OnSignature
Fixes #12725
2021-09-09 16:48:23 +02:00
Tim Schaub
d7f7cbbc75 Merge pull request #12718 from tschaub/wms-caps
Rename function to avoid minification failure
2021-09-07 14:40:49 -06:00
Tim Schaub
c0546c5f07 Rename function to avoid minification failure 2021-09-07 14:18:52 -06:00
Andreas Hocevar
1f3e3efe5d Merge pull request #12712 from ahocevar/read-rgb
Add convertToRGB option to GeoTIFF source
2021-09-07 17:23:32 +02:00
Andreas Hocevar
cde6417d62 Add convertToRGB option to GeoTIFF source 2021-09-07 17:19:34 +02:00
Frédéric Junod
4c673ce846 Merge pull request #12716 from fredj/spelling
Spelling fix
2021-09-07 14:15:50 +02:00
Tim Schaub
3a869ba7f6 Merge pull request #12715 from tschaub/proj-units
Try harder to get the projection from GeoTIFF headers
2021-09-07 06:12:19 -06:00
Frederic Junod
5c212008de Spelling fix 2021-09-07 09:47:47 +02:00
Tim Schaub
be51d0480c Try harder to get the projection from GeoTIFF headers 2021-09-06 16:55:16 -06:00
Tim Schaub
e89b6c0a3f Merge pull request #12714 from tschaub/simpler-examples
Avoid creating duplicate projections in COG examples
2021-09-06 16:54:16 -06:00
Tim Schaub
4b340fc9bc Avoid creating duplicate projections in COG examples 2021-09-06 16:08:10 -06:00
Tim Schaub
81fdcd5a38 Merge pull request #12713 from tschaub/geotiff-crs
Check for GeoTIFF CRS starting with last image
2021-09-06 16:05:02 -06:00
Tim Schaub
cbfbe08aaa Merge pull request #12709 from tschaub/unreferenced-geotiff
Support rendering of GeoTIFF images in pixel coordinates
2021-09-06 15:30:35 -06:00
Tim Schaub
fce42dc80f Check for crs starting with last image 2021-09-06 15:26:19 -06:00
Tim Schaub
9ddca3739b Merge pull request #12711 from tschaub/band-number
Use band numbers starting with one
2021-09-06 12:50:17 -06:00
Tim Schaub
83375e735c Merge pull request #12710 from tschaub/doc-typo
Spelling fix in GeoTIFF docs
2021-09-06 12:00:48 -06:00
Tim Schaub
0e4c40e315 Use band numbers starting with one 2021-09-06 11:31:08 -06:00
Tim Schaub
39f62f1fa2 Spelling fix 2021-09-06 11:06:46 -06:00
Tim Schaub
eab8dcf7ba Support rendering of GeoTIFF images in pixel coordinates 2021-09-06 09:14:50 -06:00
Andreas Hocevar
8a67c5dbe6 Merge pull request #12703 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-5.2.3
Bump terser-webpack-plugin from 5.1.4 to 5.2.3
2021-09-06 12:45:22 +02:00
Andreas Hocevar
72ad10887e Merge pull request #12704 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.15.4
Bump @babel/eslint-parser from 7.15.0 to 7.15.4
2021-09-06 12:45:01 +02:00
Andreas Hocevar
8c96fc8120 Merge pull request #12705 from openlayers/dependabot/npm_and_yarn/webpack-5.52.0
Bump webpack from 5.51.1 to 5.52.0
2021-09-06 12:44:22 +02:00
Andreas Hocevar
348a1d1a13 Merge pull request #12706 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.1.0
Bump webpack-dev-server from 4.0.0 to 4.1.0
2021-09-06 12:44:01 +02:00
Andreas Hocevar
0b0d6ba637 Merge pull request #12707 from openlayers/dependabot/npm_and_yarn/babel/core-7.15.5
Bump @babel/core from 7.15.0 to 7.15.5
2021-09-06 12:43:34 +02:00
Andreas Hocevar
6173b3259d Merge pull request #12702 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.15.4
Bump @babel/preset-env from 7.15.0 to 7.15.4
2021-09-06 12:43:14 +02:00
dependabot[bot]
02f2cb8a65 Bump @babel/core from 7.15.0 to 7.15.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.15.0 to 7.15.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.15.5/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>
2021-09-06 10:02:38 +00:00
dependabot[bot]
3a4fdbdf6b Bump webpack-dev-server from 4.0.0 to 4.1.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 10:02:15 +00:00
dependabot[bot]
593ea6706a Bump webpack from 5.51.1 to 5.52.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.51.1 to 5.52.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.51.1...v5.52.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 10:02:04 +00:00
dependabot[bot]
0ac661bed1 Bump @babel/eslint-parser from 7.15.0 to 7.15.4
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.15.0 to 7.15.4.
- [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.15.4/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 10:01:51 +00:00
dependabot[bot]
aa7ab1ba65 Bump terser-webpack-plugin from 5.1.4 to 5.2.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.1.4 to 5.2.3.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.1.4...v5.2.3)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 10:01:30 +00:00
dependabot[bot]
d63728d3d4 Bump @babel/preset-env from 7.15.0 to 7.15.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.0 to 7.15.4.
- [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.15.4/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>
2021-09-06 10:01:14 +00:00
Tim Schaub
c9ec6138ba Merge pull request #12697 from tschaub/doc-warning
Move description above type tag
2021-09-05 12:27:48 -06:00
Tim Schaub
c0bfcfb7ba Move description above type tag 2021-09-05 11:29:15 -06:00
Tim Schaub
69ec9871e2 Merge pull request #12695 from mike-000/KML
Update Google KML icon anchors and correct icon scaling
2021-09-05 08:51:06 -06:00
Andreas Hocevar
1f40bcd633 Merge pull request #12642 from ahocevar/mapbox-style-fullscreen
Fix fullscreen in mapbox-style example
2021-09-05 09:30:33 +02:00
Andreas Hocevar
5901751f43 Merge pull request #12624 from ahocevar/apidoc-undefined
Improve API docs for optional properties
2021-09-05 09:30:04 +02:00
mike-000
7b8d6c817b Ensure scale used in calculations is numeric 2021-09-05 00:04:14 +01:00
mike-000
0c912b6c29 Test load icon image and reset the scale 2021-09-04 23:12:40 +01:00
Tim Schaub
3004f5707f Merge pull request #10963 from tschaub/ogc-tiles
OGC map and vector tile sources
2021-09-04 11:20:42 -06:00
Tim Schaub
c8067bebbb Add supported media type list to feature formats 2021-09-04 11:17:41 -06:00
mike-000
35ed7d4358 Update expected scales 2021-09-04 18:10:01 +01:00
mike-000
c76e78d0b3 Update Google default icon hotspot anchors
Update Google default icon hotspot anchors
Correct icon scaling
Include icon anchor in textOffset calculation
2021-09-04 17:38:36 +01:00
Tim Schaub
ac4e472353 Use union type for corner of origin 2021-09-04 10:31:36 -06:00
Tim Schaub
7168a26cab Use union types
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-09-04 10:21:36 -06:00
Tim Schaub
12795e3923 Slightly smaller functions 2021-09-03 14:21:22 -06:00
Tim Schaub
d8baa87e25 Respect tile matrix set limits 2021-09-03 14:13:06 -06:00
Tim Schaub
58cf9f5f6d Leave as experimental until spec is finalized 2021-09-03 12:28:27 -06:00
Tim Schaub
4099f60779 OGC vector tile source 2021-09-03 12:28:27 -06:00
Tim Schaub
791add0d73 OGC map tile source 2021-09-03 12:28:27 -06:00
Andreas Hocevar
d7af546ad3 Merge pull request #12690 from ahocevar/foreachsegment-stride
Fix return stride of forEachSegment
2021-09-02 16:20:23 +02:00
Andreas Hocevar
d17c7ad31e Fix return stride of forEachSegment 2021-09-02 09:44:33 +02:00
Andreas Hocevar
95bfe85dd5 Merge pull request #12684 from mike-000/patch-12
Fix view resolutions in example
2021-08-31 13:11:02 +02:00
mike-000
167d852e02 Fix view resolutions 2021-08-31 11:27:18 +01:00
Andreas Hocevar
7bb5211fc0 Merge pull request #12683 from ahocevar/icon-sprite-offset-pixelratio
Fix sprite offset for pixel ratio !== 1
2021-08-31 09:47:47 +02:00
Tim Schaub
04da7d568f Merge pull request #12677 from openlayers/dependabot/npm_and_yarn/marked-3.0.2
Bump marked from 3.0.0 to 3.0.2
2021-08-30 16:50:23 -06:00
Andreas Hocevar
df493725c6 Fix sprite offset for pixel ratio !== 1 2021-08-30 22:05:34 +02:00
dependabot[bot]
25c1fe7d57 Bump marked from 3.0.0 to 3.0.2
Bumps [marked](https://github.com/markedjs/marked) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 15:48:50 +00:00
Tim Schaub
706955dfd9 Merge pull request #12678 from openlayers/dependabot/npm_and_yarn/globby-12.0.2
Bump globby from 12.0.1 to 12.0.2
2021-08-30 09:48:23 -06:00
Tim Schaub
611c0e5d6b Merge pull request #12679 from openlayers/dependabot/npm_and_yarn/mocha-9.1.1
Bump mocha from 9.1.0 to 9.1.1
2021-08-30 09:47:58 -06:00
dependabot[bot]
ae38ef32df Bump mocha from 9.1.0 to 9.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.0 to 9.1.1.
- [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/v9.1.0...v9.1.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 10:01:33 +00:00
dependabot[bot]
f5fc891ae0 Bump globby from 12.0.1 to 12.0.2
Bumps [globby](https://github.com/sindresorhus/globby) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v12.0.1...v12.0.2)

---
updated-dependencies:
- dependency-name: globby
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 10:01:17 +00:00
Tim Schaub
1601d6b859 Merge pull request #12671 from tschaub/cacheless
Configure cache on the layer instead of the source
2021-08-28 15:01:01 -06:00
Andreas Hocevar
9c5d0b54e3 Merge pull request #12669 from ahocevar/geotiff-options
Add opaque and transition options to GeoTIFF source
2021-08-28 19:54:12 +02:00
Tim Schaub
d37e3e3134 Configure cache on the layer instead of the source 2021-08-27 18:04:00 -06:00
Andreas Hocevar
14371a5462 Add opaque and transition options to GeoTIFF source 2021-08-27 19:46:49 +02:00
Tim Schaub
5e6e2f0fb6 Merge pull request #12667 from tschaub/raster-updates
Additional docs and type checking for raster source
2021-08-26 16:44:21 -06:00
Andreas Hocevar
64ea2a56da Merge pull request #12666 from ahocevar/pluggablemap-events
Re-add accidently removed events
2021-08-26 19:29:20 +02:00
Andreas Hocevar
b588ec8c7f Re-add accidently removed events 2021-08-26 19:05:27 +02:00
Tim Schaub
de9ff20f65 Additional docs and type checking for raster source 2021-08-26 11:04:07 -06:00
Andreas Hocevar
3b6bf14cdc Merge pull request #12657 from openlayers/dependabot/npm_and_yarn/mocha-9.1.0
Bump mocha from 9.0.3 to 9.1.0
2021-08-23 14:06:32 +02:00
dependabot[bot]
d58a1b7d09 Bump mocha from 9.0.3 to 9.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.3 to 9.1.0.
- [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/v9.0.3...v9.1.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 10:01:11 +00:00
Andreas Hocevar
0fcaad321c Merge pull request #12650 from openlayers/dependabot/npm_and_yarn/webpack-5.51.1
Bump webpack from 5.50.0 to 5.51.1
2021-08-23 10:42:25 +02:00
dependabot[bot]
fe9a8d2c74 Bump webpack from 5.50.0 to 5.51.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.50.0 to 5.51.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.50.0...v5.51.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:34:09 +00:00
Andreas Hocevar
64fff348fd Merge pull request #12654 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.0.0
Bump webpack-dev-server from 4.0.0-rc.0 to 4.0.0
2021-08-23 10:32:49 +02:00
Andreas Hocevar
88810afac6 Merge pull request #12653 from openlayers/dependabot/npm_and_yarn/globby-12.0.1
Bump globby from 12.0.0 to 12.0.1
2021-08-23 10:29:01 +02:00
Andreas Hocevar
1723bea12c Merge pull request #12652 from openlayers/dependabot/npm_and_yarn/loglevelnext-5.0.6
Bump loglevelnext from 5.0.5 to 5.0.6
2021-08-23 10:22:29 +02:00
Andreas Hocevar
fbded2a504 Merge pull request #12651 from openlayers/dependabot/npm_and_yarn/rollup-2.56.3
Bump rollup from 2.56.2 to 2.56.3
2021-08-23 10:18:09 +02:00
dependabot[bot]
9ea56cf9c7 Bump webpack-dev-server from 4.0.0-rc.0 to 4.0.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0-rc.0 to 4.0.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-rc.0...v4.0.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:14:04 +00:00
dependabot[bot]
674ed45888 Bump globby from 12.0.0 to 12.0.1
Bumps [globby](https://github.com/sindresorhus/globby) from 12.0.0 to 12.0.1.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v12.0.0...v12.0.1)

---
updated-dependencies:
- dependency-name: globby
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:13:04 +00:00
dependabot[bot]
8674c46899 Bump loglevelnext from 5.0.5 to 5.0.6
Bumps [loglevelnext](https://github.com/shellscape/loglevelnext) from 5.0.5 to 5.0.6.
- [Release notes](https://github.com/shellscape/loglevelnext/releases)
- [Commits](https://github.com/shellscape/loglevelnext/compare/v5.0.5...v5.0.6)

---
updated-dependencies:
- dependency-name: loglevelnext
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:12:33 +00:00
dependabot[bot]
0a7c90acdd Bump rollup from 2.56.2 to 2.56.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.56.2 to 2.56.3.
- [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.56.2...v2.56.3)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 08:12:01 +00:00
Andreas Hocevar
b71667c386 Merge pull request #12647 from mike-000/patch-11
Remove Translate option conflicts and update documentation
2021-08-22 12:29:27 +02:00
mike-000
d85990436d fix typo 2021-08-21 15:13:38 +01:00
mike-000
3c1e3dcfd5 Document (existing) multiple feature behaviour 2021-08-21 15:11:57 +01:00
mike-000
207fc99295 Remove option conflicts and update documentation 2021-08-21 14:57:11 +01:00
Tim Schaub
72d153696a Merge pull request #12008 from tschaub/gl
Rendering raster tiles with WebGL
2021-08-20 10:14:48 -06:00
Andreas Hocevar
a0b75268ee Fix fullscreen in mapbox-style example 2021-08-20 09:28:22 +02:00
Tim Schaub
42970915ea Extract nodata values from metadata when possible 2021-08-19 10:40:59 -06:00
Tim Schaub
8954f001fa Modify the source extent 2021-08-19 09:19:53 -06:00
Tim Schaub
b8c52b4298 Update aspect calculation for GLSL atan implementation 2021-08-18 18:25:38 -06:00
Andreas Hocevar
10989f96bf Fix aspect calculation in shaded-relief example 2021-08-18 21:30:53 +02:00
Andreas Hocevar
814d70b1cc Add more tests 2021-08-18 17:54:48 +02:00
Andreas Hocevar
7acd5338c9 Allow sampling data from neighboring pixels 2021-08-18 11:24:37 +02:00
Andreas Hocevar
324148c606 Add more docs 2021-08-18 11:24:37 +02:00
Andreas Hocevar
7a8c1f309b Use geotiff v1.0.4 2021-08-18 11:24:36 +02:00
Andreas Hocevar
011c14c7df Load layers for pyramid on demand 2021-08-18 11:24:35 +02:00
Andreas Hocevar
283aed2dc9 Better docs 2021-08-18 11:24:34 +02:00
Andreas Hocevar
4526f2ef34 Properly handle alt tiles of transparent images 2021-08-18 11:24:34 +02:00
Andreas Hocevar
efae01e71f Add COG tile pyramid example 2021-08-18 11:24:33 +02:00
Andreas Hocevar
394873013c Do not render layer when outside extent 2021-08-18 11:24:32 +02:00
Andreas Hocevar
e7dfcc77ae Fix source key handling for interim tiles 2021-08-18 11:24:32 +02:00
Andreas Hocevar
e8ead306ff Remove multi-source restrictions and fix alpha 2021-08-18 11:24:31 +02:00
Tim Schaub
7f3f4e6cdd Set tile after creating helper
Co-authored-by: MoonE <maxi_kroeg@web.de>
2021-08-18 11:24:30 +02:00
Andreas Hocevar
79b3bc4244 Add multi-source cog example 2021-08-18 11:24:29 +02:00
Andreas Hocevar
05e0fb1bf7 Mix Geotiffs with arbitrary bands and resolutions 2021-08-18 11:24:29 +02:00
Andreas Hocevar
f0cac76718 Add expression for Math.abs 2021-08-18 11:24:28 +02:00
Andreas Hocevar
05eac3e384 Use worker for GeoTIFF decoding 2021-08-18 11:24:27 +02:00
Andreas Hocevar
311247265b Add interim tiles handling 2021-08-18 11:24:26 +02:00
Andreas Hocevar
fd43b00118 Premultiply alpha for transparent tile sources 2021-08-18 11:24:25 +02:00
Andreas Hocevar
976f1b694a Fix legacy build to work with geotiff 2021-08-18 11:24:24 +02:00
Andreas Hocevar
429a8fbc1a Remove lint after dependency updates 2021-08-18 11:24:24 +02:00
Tim Schaub
af80477c1d Rendering raster tiles with WebGL 2021-08-18 11:24:23 +02:00
Andreas Hocevar
2dd212cdac Merge pull request #12627 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.8.0
Bump webpack-cli from 4.7.2 to 4.8.0
2021-08-17 11:48:33 +02:00
Andreas Hocevar
6df5ff8d2b Merge pull request #12632 from mike-000/patch-10
Only warn of zero size when map should be visible
2021-08-17 10:27:35 +02:00
mike-000
0f56eed272 only warn of zero size when map should be visible 2021-08-16 23:43:43 +01:00
Andreas Hocevar
b41abcb08e Merge pull request #12631 from openlayers/dependabot/npm_and_yarn/marked-3.0.0
Bump marked from 2.1.3 to 3.0.0
2021-08-16 14:03:47 +02:00
Andreas Hocevar
e9607acacb Merge pull request #12630 from openlayers/dependabot/npm_and_yarn/webpack-5.50.0
Bump webpack from 5.49.0 to 5.50.0
2021-08-16 14:02:55 +02:00
Andreas Hocevar
c155850395 Merge pull request #12629 from openlayers/dependabot/npm_and_yarn/yargs-17.1.1
Bump yargs from 17.1.0 to 17.1.1
2021-08-16 14:02:15 +02:00
Andreas Hocevar
b068284d8f Merge pull request #12628 from openlayers/dependabot/npm_and_yarn/rollup-2.56.2
Bump rollup from 2.56.1 to 2.56.2
2021-08-16 14:01:47 +02:00
Andreas Hocevar
2332acc4e4 Merge pull request #12626 from mike-000/patch-9
Set canvas style to override problem 3rd party css
2021-08-16 12:15:07 +02:00
dependabot[bot]
d6a1f83b0e Bump marked from 2.1.3 to 3.0.0
Bumps [marked](https://github.com/markedjs/marked) from 2.1.3 to 3.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.1.3...v3.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:02:10 +00:00
dependabot[bot]
492fa3d9f7 Bump webpack from 5.49.0 to 5.50.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.49.0 to 5.50.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.49.0...v5.50.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:01:56 +00:00
dependabot[bot]
2c0fc5eded Bump yargs from 17.1.0 to 17.1.1
Bumps [yargs](https://github.com/yargs/yargs) from 17.1.0 to 17.1.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.1.0...v17.1.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:01:25 +00:00
dependabot[bot]
82e17ca11b Bump rollup from 2.56.1 to 2.56.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.56.1 to 2.56.2.
- [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.56.1...v2.56.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:01:13 +00:00
dependabot[bot]
f5fd052aee Bump webpack-cli from 4.7.2 to 4.8.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.2 to 4.8.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.7.2...webpack-cli@4.8.0)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 10:00:59 +00:00
mike-000
d824475305 set initial style after document.createElement 2021-08-16 10:27:41 +01:00
mike-000
78c105e838 set canvas style to override problem 3rd party css
move typecast for simplicity
2021-08-15 23:14:41 +01:00
Andreas Hocevar
000461993b Add undefined as type when optional and no default 2021-08-12 12:18:51 +02:00
Andreas Hocevar
44ec78749f Merge pull request #12616 from openlayers/dependabot/npm_and_yarn/webpack-5.49.0
Bump webpack from 5.47.1 to 5.49.0
2021-08-09 14:22:51 +02:00
Andreas Hocevar
0649f613ad Merge pull request #12617 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.15.0
Bump @babel/eslint-parser from 7.14.9 to 7.15.0
2021-08-09 14:22:18 +02:00
Andreas Hocevar
6ee0da2d76 Merge pull request #12615 from openlayers/dependabot/npm_and_yarn/rollup-2.56.1
Bump rollup from 2.56.0 to 2.56.1
2021-08-09 14:21:45 +02:00
Andreas Hocevar
d86cc70e46 Merge pull request #12614 from openlayers/dependabot/npm_and_yarn/puppeteer-10.2.0
Bump puppeteer from 10.1.0 to 10.2.0
2021-08-09 14:21:16 +02:00
Andreas Hocevar
91a24d45bd Merge pull request #12613 from openlayers/dependabot/npm_and_yarn/yargs-17.1.0
Bump yargs from 17.0.1 to 17.1.0
2021-08-09 14:18:44 +02:00
Andreas Hocevar
99fe1d1f8b Merge pull request #12612 from openlayers/dependabot/npm_and_yarn/babel/core-7.15.0
Bump @babel/core from 7.14.8 to 7.15.0
2021-08-09 14:18:13 +02:00
dependabot[bot]
5e50a23bc7 Bump webpack from 5.47.1 to 5.49.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.47.1 to 5.49.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.47.1...v5.49.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 12:12:37 +00:00
dependabot[bot]
9f7b8b955f Bump @babel/core from 7.14.8 to 7.15.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.8 to 7.15.0.
- [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.15.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 12:12:35 +00:00
Andreas Hocevar
c328d47074 Merge pull request #12611 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.15.0
Bump @babel/preset-env from 7.14.9 to 7.15.0
2021-08-09 14:11:43 +02:00
Andreas Hocevar
3420eeca1c Merge pull request #12610 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.3.3
Bump clean-css-cli from 5.3.2 to 5.3.3
2021-08-09 14:11:09 +02:00
dependabot[bot]
1eb2f36deb Bump @babel/eslint-parser from 7.14.9 to 7.15.0
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.9 to 7.15.0.
- [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.15.0/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 10:02:31 +00:00
dependabot[bot]
1feae26489 Bump rollup from 2.56.0 to 2.56.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.56.0 to 2.56.1.
- [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.56.0...v2.56.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 10:01:59 +00:00
dependabot[bot]
3ad04d09cc Bump puppeteer from 10.1.0 to 10.2.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.1.0 to 10.2.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/v10.1.0...v10.2.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 10:01:40 +00:00
dependabot[bot]
acd6f9b5d7 Bump yargs from 17.0.1 to 17.1.0
Bumps [yargs](https://github.com/yargs/yargs) from 17.0.1 to 17.1.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.0.1...v17.1.0)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 10:01:26 +00:00
dependabot[bot]
f166629dd5 Bump @babel/preset-env from 7.14.9 to 7.15.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.9 to 7.15.0.
- [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.15.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 10:01:00 +00:00
dependabot[bot]
0d3526976d Bump clean-css-cli from 5.3.2 to 5.3.3
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.3.2 to 5.3.3.
- [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.3.2...v5.3.3)

---
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>
2021-08-09 10:00:43 +00:00
Tim Schaub
3bff0f23ca Merge pull request #12608 from tschaub/more-proj-ids
Support more OGC CRS identifiers
2021-08-08 15:58:07 -06:00
Tim Schaub
08583b4a41 Add more alternative identifiers for EPSG:4326 2021-08-08 12:15:52 -06:00
Tim Schaub
73bb89f196 Add another alternative identifier for EPSG:3857 2021-08-08 12:13:19 -06:00
MoonE
22a48fe939 Merge pull request #12607 from MoonE/expression-no-color-equal-operator
Don't add color as possible type if it was not set
2021-08-08 15:40:55 +02:00
Maximilian Krög
2bcd57193d Don't add color as possible type if it was not set 2021-08-08 15:30:57 +02:00
Tim Schaub
c1f4749e4d Merge pull request #12605 from simonseyock/typings
Some typing improvements
2021-08-06 11:57:34 -06:00
Tim Schaub
687219a089 Merge pull request #12600 from simonseyock/attributions-public
Make attribution getters public.
2021-08-06 11:50:12 -06:00
Simon Seyock
f636d68cce Fix typing errors. 2021-08-06 17:14:17 +02:00
Simon Seyock
d6e0eb75fa Use Source as default parameter for Layer. 2021-08-06 17:14:17 +02:00
Simon Seyock
d7b443bf44 Make constructor pick up geometry type from properties object. 2021-08-06 17:14:17 +02:00
Simon Seyock
cebaa546b7 Feature.clone returns correct type. 2021-08-06 17:14:17 +02:00
Andreas Hocevar
f8ac74fa1b Merge pull request #12597 from mwerlitz/12596_rastersource_does_not_end_tile_transition
#12596 fix RasterSource does not end Tile transition
2021-08-05 15:19:16 +02:00
mwerlitz
aea11b773c fix whitespace error
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-08-05 13:02:26 +02:00
Andreas Hocevar
022928eaa1 Merge pull request #12602 from openlayers/dependabot/npm_and_yarn/rollup-2.56.0
Bump rollup from 2.54.0 to 2.56.0
2021-08-05 12:40:17 +02:00
dependabot[bot]
dbcb5d1582 Bump rollup from 2.54.0 to 2.56.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.54.0 to 2.56.0.
- [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.54.0...v2.56.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 10:18:03 +00:00
Simon Seyock
6ce7b58020 Make attribution getters public. 2021-08-05 11:04:33 +02:00
Andreas Hocevar
7a2b0cd2d9 Merge pull request #12583 from openlayers/dependabot/npm_and_yarn/webpack-sources-3.2.0
Bump webpack-sources from 2.3.1 to 3.2.0
2021-08-05 10:23:24 +02:00
dependabot[bot]
d938a75b53 Bump webpack-sources from 2.3.1 to 3.2.0
Bumps [webpack-sources](https://github.com/webpack/webpack-sources) from 2.3.1 to 3.2.0.
- [Release notes](https://github.com/webpack/webpack-sources/releases)
- [Commits](https://github.com/webpack/webpack-sources/compare/v2.3.1...v3.2.0)

---
updated-dependencies:
- dependency-name: webpack-sources
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 07:26:17 +00:00
Andreas Hocevar
7bb35422a0 Merge pull request #12599 from ahocevar/reference-image-again
Replace reference image to match that of the CI
2021-08-05 09:24:59 +02:00
Andreas Hocevar
27d915aefa Replace reference image to match that of the CI 2021-08-05 09:17:29 +02:00
Andreas Hocevar
4f38dd2c66 Merge pull request #12595 from ahocevar/null-types
Generate correct type definitions with null
2021-08-05 07:57:28 +02:00
Andreas Hocevar
e9791cf4d3 Generate correct type definitions with null 2021-08-04 14:32:36 +02:00
Andreas Hocevar
40f7140348 Merge pull request #12578 from ahocevar/update-reference-image
Update rendering test reference image
2021-08-04 13:47:04 +02:00
Mathias Werlitz
c72a31a226 #12596 fix RasterSource does not end Tile transition 2021-08-04 12:20:42 +02:00
Tim Schaub
f0bbe366f5 Merge pull request #12581 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-20.0.0
Bump @rollup/plugin-commonjs from 19.0.1 to 20.0.0
2021-08-02 22:30:22 -06:00
Tim Schaub
68871eae86 Merge pull request #12582 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.9
Bump @babel/preset-env from 7.14.8 to 7.14.9
2021-08-02 22:24:05 -06:00
Tim Schaub
632053a4f4 Merge pull request #12585 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.3.2
Bump clean-css-cli from 5.3.0 to 5.3.2
2021-08-02 22:23:32 -06:00
Tim Schaub
c197e80bd4 Merge pull request #12584 from openlayers/dependabot/npm_and_yarn/webpack-5.47.1
Bump webpack from 5.46.0 to 5.47.1
2021-08-02 22:22:22 -06:00
Tim Schaub
470b0df16a Merge pull request #12586 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.9
Bump @babel/eslint-parser from 7.14.7 to 7.14.9
2021-08-02 22:21:17 -06:00
Tim Schaub
43a2ae29f0 Merge pull request #12588 from openlayers/dependabot/npm_and_yarn/sinon-11.1.2
Bump sinon from 11.1.1 to 11.1.2
2021-08-02 22:20:30 -06:00
Tim Schaub
e3777edac2 Merge pull request #12589 from openlayers/dependabot/npm_and_yarn/eslint-7.32.0
Bump eslint from 7.31.0 to 7.32.0
2021-08-02 22:19:56 -06:00
dependabot[bot]
7fd51b3195 Bump eslint from 7.31.0 to 7.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.31.0 to 7.32.0.
- [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.31.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 10:02:55 +00:00
dependabot[bot]
444da4ab39 Bump sinon from 11.1.1 to 11.1.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 11.1.1 to 11.1.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 10:02:40 +00:00
dependabot[bot]
4bdd40b7e1 Bump @babel/eslint-parser from 7.14.7 to 7.14.9
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.7 to 7.14.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.14.9/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 10:02:13 +00:00
dependabot[bot]
8dc9ecd4b5 Bump clean-css-cli from 5.3.0 to 5.3.2
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.3.0 to 5.3.2.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/clean-css/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/commits)

---
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>
2021-08-02 10:01:51 +00:00
dependabot[bot]
0c919784ae Bump webpack from 5.46.0 to 5.47.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.46.0 to 5.47.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.46.0...v5.47.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 10:01:34 +00:00
dependabot[bot]
a8e890ca3f Bump @babel/preset-env from 7.14.8 to 7.14.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.8 to 7.14.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.14.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>
2021-08-02 10:01:09 +00:00
dependabot[bot]
9f92628212 Bump @rollup/plugin-commonjs from 19.0.1 to 20.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 19.0.1 to 20.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v20.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 10:00:52 +00:00
Andreas Hocevar
36fc2c042a Update rendering test reference image 2021-08-01 11:03:47 +02:00
MoonE
f701f20eae Merge pull request #12577 from MoonE/fix-buid-site-on-windows-cmd
Use shx for the build-site script, clean before run
2021-08-01 10:36:53 +02:00
Andreas Hocevar
6bc60f9911 Merge pull request #12575 from ahocevar/raster-events
Add on(), un() and once() signatures for ol/source/Raster
2021-08-01 10:33:19 +02:00
Andreas Hocevar
ea9b2c4c41 Merge pull request #12565 from sebakerckhof/fix/12564
Handle named colors as string in equal operator
2021-08-01 10:32:06 +02:00
Andreas Hocevar
2038a93880 Add on(), un() and once() signatures for ol/source/Raster 2021-08-01 10:28:02 +02:00
Maximilian Krög
0f894a28df Use shx for the build-site script, clean before run 2021-08-01 09:55:30 +02:00
MoonE
0cc533e5d8 Merge pull request #12576 from MoonE/fix-example-and-legacy-build-with-nodejs-16-6
Fix example and legacy build with nodejs 16.6
2021-08-01 09:51:25 +02:00
Maximilian Krög
687b131714 Fix example and legacy build with nodejs 16.6 2021-08-01 01:13:26 +02:00
Seba Kerckhof
fec6fee83c Remove color from value type in equal operator 2021-07-28 09:26:29 +02:00
Seba Kerckhof
25af938a83 Update test/browser/spec/ol/style/expressions.test.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-07-28 09:17:10 +02:00
Seba Kerckhof
db57d9bf89 Handle named colors as string in equal operator 2021-07-27 18:54:08 +02:00
Andreas Hocevar
1dc336e459 Merge pull request #12559 from openlayers/dependabot/npm_and_yarn/rollup-2.54.0
Bump rollup from 2.53.2 to 2.54.0
2021-07-26 13:26:02 +02:00
Andreas Hocevar
7749eaf953 Merge pull request #12560 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.8
Bump @babel/core from 7.14.6 to 7.14.8
2021-07-26 13:25:35 +02:00
Andreas Hocevar
f9362a0825 Merge pull request #12558 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.0.0-rc.0
Bump webpack-dev-server from 4.0.0-beta.3 to 4.0.0-rc.0
2021-07-26 13:25:00 +02:00
Andreas Hocevar
9a38a91816 Merge pull request #12556 from openlayers/dependabot/npm_and_yarn/globby-12.0.0
Bump globby from 11.0.4 to 12.0.0
2021-07-26 13:18:19 +02:00
Andreas Hocevar
de460cfb09 Change import 2021-07-26 13:13:54 +02:00
Andreas Hocevar
20240c549f Merge pull request #12555 from openlayers/dependabot/npm_and_yarn/webpack-5.46.0
Bump webpack from 5.45.1 to 5.46.0
2021-07-26 13:10:59 +02:00
dependabot[bot]
9986e6d0c0 Bump webpack from 5.45.1 to 5.46.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.45.1 to 5.46.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.45.1...v5.46.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:19:25 +00:00
dependabot[bot]
310eeea207 Bump rollup from 2.53.2 to 2.54.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.53.2 to 2.54.0.
- [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.53.2...v2.54.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:18:44 +00:00
Andreas Hocevar
498721ff57 Merge pull request #12554 from openlayers/dependabot/npm_and_yarn/mocha-9.0.3
Bump mocha from 9.0.2 to 9.0.3
2021-07-26 12:12:54 +02:00
Andreas Hocevar
a86cfcc3be Merge pull request #12553 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.8
Bump @babel/preset-env from 7.14.7 to 7.14.8
2021-07-26 12:12:23 +02:00
Andreas Hocevar
2c3851b541 Merge pull request #12552 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.4
Bump @rollup/plugin-node-resolve from 13.0.2 to 13.0.4
2021-07-26 12:11:53 +02:00
Andreas Hocevar
55fb897f88 Merge pull request #12551 from M393/add-wkb-to-ol-format
Add WKB to the exports of ol/format
2021-07-26 12:10:46 +02:00
dependabot[bot]
8baba070d5 Bump @babel/core from 7.14.6 to 7.14.8
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.6 to 7.14.8.
- [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.14.8/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>
2021-07-26 10:03:08 +00:00
dependabot[bot]
14eaaac976 Bump webpack-dev-server from 4.0.0-beta.3 to 4.0.0-rc.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0-beta.3 to 4.0.0-rc.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-beta.3...v4.0.0-rc.0)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:02:18 +00:00
dependabot[bot]
16f8e1be7a Bump globby from 11.0.4 to 12.0.0
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.4 to 12.0.0.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.4...v12.0.0)

---
updated-dependencies:
- dependency-name: globby
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:01:41 +00:00
dependabot[bot]
9a883f5a73 Bump mocha from 9.0.2 to 9.0.3
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.2 to 9.0.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/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:01:12 +00:00
dependabot[bot]
a9b9bb34fa Bump @babel/preset-env from 7.14.7 to 7.14.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.7 to 7.14.8.
- [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.14.8/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>
2021-07-26 10:01:00 +00:00
dependabot[bot]
b05d4d9cad Bump @rollup/plugin-node-resolve from 13.0.2 to 13.0.4
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.2 to 13.0.4.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.4/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:00:45 +00:00
Maximilian Krög
e50d5a2197 Add WKB to the exports of ol/format 2021-07-26 09:24:52 +02:00
Andreas Hocevar
0b941e01d9 Merge pull request #12550 from simonseyock/example-grid-tag
Add `grid` tag to examples.
2021-07-23 14:13:42 +02:00
Andreas Hocevar
65742a22f9 Merge pull request #12549 from simonseyock/group-layer-event
Add `change:layers` event.
2021-07-23 14:12:52 +02:00
Simon Seyock
2e054aea4d Add grid tag to examples. 2021-07-23 13:15:51 +02:00
Simon Seyock
bf9ca7f3d1 Add change:layers event. 2021-07-23 13:03:57 +02:00
Andreas Hocevar
82956aaf5e Merge pull request #12545 from ahocevar/proj4-axis
Restore simple axis order handling with fixed proj4
2021-07-22 18:46:20 +02:00
Andreas Hocevar
eb39f59713 Merge pull request #12544 from ahocevar/raster-image-generics
Make Raster source work as generics type for Image layer
2021-07-22 18:45:36 +02:00
Andreas Hocevar
a5a156525f Restore simple axis order handling with fixed proj4 2021-07-22 14:20:55 +02:00
Andreas Hocevar
a26fe5f31b Make Raster source work as generics type for Image layer 2021-07-22 12:57:39 +02:00
Andreas Hocevar
8004e0faad Merge pull request #12527 from mike-000/patch-1
Treat custom loaders without success/fail handling as if they were a void loader
2021-07-22 12:39:21 +02:00
Tim Schaub
c640457501 Merge pull request #12538 from tschaub/lazy-doc
Avoid creating context until needed
2021-07-21 07:41:26 -06:00
Tim Schaub
adff6f0e77 Avoid creating context until needed 2021-07-19 09:08:21 -06:00
Tim Schaub
58b7faed55 Merge pull request #12536 from openlayers/dependabot/npm_and_yarn/rollup-2.53.2
Bump rollup from 2.53.1 to 2.53.2
2021-07-19 09:08:10 -06:00
dependabot[bot]
48321a47d7 Bump rollup from 2.53.1 to 2.53.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.53.1 to 2.53.2.
- [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.53.1...v2.53.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 14:59:00 +00:00
Tim Schaub
dc93933973 Merge pull request #12537 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.2
Bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.2
2021-07-19 08:58:14 -06:00
Tim Schaub
695fee9d3c Merge pull request #12535 from openlayers/dependabot/npm_and_yarn/webpack-5.45.1
Bump webpack from 5.44.0 to 5.45.1
2021-07-19 08:57:40 -06:00
Tim Schaub
9c2852bb7c Merge pull request #12534 from openlayers/dependabot/npm_and_yarn/eslint-7.31.0
Bump eslint from 7.30.0 to 7.31.0
2021-07-19 08:56:46 -06:00
Tim Schaub
408dace5c9 Merge pull request #12533 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-19.0.1
Bump @rollup/plugin-commonjs from 19.0.0 to 19.0.1
2021-07-19 08:55:38 -06:00
dependabot[bot]
a32113afbf Bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.2
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.0 to 13.0.2.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.2/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 10:02:13 +00:00
dependabot[bot]
a81a2120e3 Bump webpack from 5.44.0 to 5.45.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.44.0 to 5.45.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.44.0...v5.45.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 10:01:31 +00:00
dependabot[bot]
8b3494a585 Bump eslint from 7.30.0 to 7.31.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.31.0.
- [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.30.0...v7.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 10:01:14 +00:00
dependabot[bot]
822b967a9c Bump @rollup/plugin-commonjs from 19.0.0 to 19.0.1
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 19.0.0 to 19.0.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.1/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 10:00:50 +00:00
MoonE
f1530364dd Merge pull request #12528 from MoonE/hit-detect-priority-test
Convert the hit tolerance priority example into a test
2021-07-17 17:49:21 +02:00
Maximilian Krög
19fb51183e Convert hit detect priority example to test 2021-07-17 15:09:38 +02:00
mike-000
6c862df03f include custom loader in rendercomplete test
include a VectorSource with custom loader (no success/fail handling) in rendercomplete test
2021-07-17 12:56:33 +01:00
mike-000
431beed45f Handle custom loaders without success/fail
Treat custom loaders without success/fail handling as if the were VOID
2021-07-16 20:44:03 +01:00
Tim Schaub
e8047f6d08 Merge pull request #12522 from tschaub/create-cluster
Shorter name for the option to create a custom cluster
2021-07-16 10:47:31 -06:00
Tim Schaub
1b9329ea91 Shorter name for the option to create a custom cluster 2021-07-15 21:35:59 -06:00
Andreas Hocevar
a617ef3caf Merge pull request #12506 from M393/fix-ol-ext-bar
Fix adding controls with map config
2021-07-15 18:33:26 +02:00
Maximilian Krög
8f8027c33a Fix adding controls with map config
If a control like ol.control.Bar adds sub controls when added to a map
it fails during map creating because the listeners are added after the control
was added to the map.
2021-07-15 14:19:08 +02:00
Maximilian Krög
5d7f7dbf51 Add test for subcontrol added during map contruction 2021-07-15 14:19:08 +02:00
Andreas Hocevar
10e38947cc Merge pull request #12487 from Razi91/cluster-feature-fn
Custom cluster feature creation function
2021-07-15 11:30:46 +02:00
Andreas Hocevar
94d0b85fde Merge pull request #12520 from ahocevar/release-notes-typo
Fix typo in changelog
2021-07-15 11:25:11 +02:00
Andreas Hocevar
5dd9836546 Fix typo in changelog 2021-07-15 11:24:32 +02:00
Andreas Hocevar
9f5da8cd76 Merge pull request #12519 from openlayers/release-v6.6.1
Release v6.6.1
2021-07-15 11:21:52 +02:00
Andreas Hocevar
1b2512d013 Develop on 6.6.2-dev 2021-07-15 11:16:58 +02:00
Andreas Hocevar
a8b949a802 Update package version to 6.6.1 2021-07-15 11:10:48 +02:00
Andreas Hocevar
61566f79e6 Changelog for v6.6.1 2021-07-15 10:45:26 +02:00
Andreas Hocevar
b1385e4175 Merge pull request #12498 from bryantevans00/canvaslayerrenderer-type-parameter
CanvasLayerRenderer: Forward LayerType type parameter to LayerRenderer
2021-07-15 10:34:35 +02:00
jkonieczny
e1b161bbbe remove setter/getter 2021-07-15 09:06:13 +02:00
Andreas Hocevar
50b3756424 Merge pull request #12518 from DaniEll-AT/patch-1
VectorEventType: Add 'changefeature' in @typedef
2021-07-14 19:59:00 +02:00
Daniel Ellmerer
2eb1bf479b VectorEventType: Add 'changefeature' in @typedef
'changefeature' is missing in @typedef - Add it.
2021-07-14 16:35:55 +02:00
Tim Schaub
f18eaf12c5 Merge pull request #12517 from ela-compil/update-sponsors
Update ela-compil sponsors section of README
2021-07-14 06:54:01 -06:00
Jakub Bartkowiak
9a61f9cc40 Update ela-compil sponsors section of README 2021-07-14 11:24:54 +02:00
Andreas Hocevar
917918e3ae Merge pull request #12511 from ahocevar/ela-compil-sponsor
Add ela-compil to sponsors section of README
2021-07-13 22:58:32 +02:00
Andreas Hocevar
8c0ba8abae Merge pull request #12513 from ahocevar/draw-sketch-point
Draw a sketch point when adding a vertex programmatically
2021-07-13 22:45:31 +02:00
MoonE
f87abdb612 Merge pull request #12507 from MoonE/fix-regular-shape-hit-detect-transparent-fill
Fix regular shape hit detect transparent fill
2021-07-13 17:54:41 +02:00
jkonieczny
a8f7d955af rename to createClusterFeature 2021-07-13 17:27:32 +02:00
Andreas Hocevar
93de780671 Draw a sketch point when adding a vertex programmatically 2021-07-13 16:07:59 +02:00
Andreas Hocevar
5fc89f5bbe Add ela-compil to sponsors section of README 2021-07-13 09:37:47 +02:00
Andreas Hocevar
7edc016e02 Merge pull request #12509 from ahocevar/listener-return-type
Allow any return type from listener functions
2021-07-13 08:18:25 +02:00
Andreas Hocevar
98e63c4bf1 Allow any return type from listener functions 2021-07-12 23:18:21 +02:00
Maximilian Krög
58e2e57638 Fix hit detection of RegularShape with transparent fill 2021-07-12 19:33:17 +02:00
Maximilian Krög
5f3b22bf7f Remove lineCap, it is useless on closed paths 2021-07-12 19:32:42 +02:00
jkonieczny
9fd25dddbf allow hydrating clustered features 2021-07-12 19:28:00 +02:00
Andreas Hocevar
e791bf4e33 Merge pull request #12505 from ahocevar/fix-settarget-type
Fix type of PluggableMap#setTarget() argument
2021-07-12 17:26:53 +02:00
Andreas Hocevar
146d41dfca Merge pull request #12503 from openlayers/dependabot/npm_and_yarn/webpack-5.44.0
Bump webpack from 5.42.0 to 5.44.0
2021-07-12 14:37:52 +02:00
Andreas Hocevar
f26e60dc50 Merge pull request #12502 from openlayers/dependabot/npm_and_yarn/types/geojson-7946.0.8
Bump @types/geojson from 7946.0.7 to 7946.0.8
2021-07-12 14:37:04 +02:00
Andreas Hocevar
171ce67aee Merge pull request #12501 from openlayers/dependabot/npm_and_yarn/rollup-2.53.1
Bump rollup from 2.52.7 to 2.53.1
2021-07-12 14:36:29 +02:00
Andreas Hocevar
d5e2a43755 Merge pull request #12500 from openlayers/dependabot/npm_and_yarn/types/arcgis-rest-api-10.4.5
Bump @types/arcgis-rest-api from 10.4.4 to 10.4.5
2021-07-12 14:31:00 +02:00
Andreas Hocevar
d7e9cc5285 Fix type of PluggableMap#setTarget() argument 2021-07-12 13:20:10 +02:00
dependabot[bot]
8203b4cf39 Bump webpack from 5.42.0 to 5.44.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.42.0 to 5.44.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.42.0...v5.44.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 10:01:41 +00:00
dependabot[bot]
b18b4e5f2a Bump @types/geojson from 7946.0.7 to 7946.0.8
Bumps [@types/geojson](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/geojson) from 7946.0.7 to 7946.0.8.
- [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>
2021-07-12 10:01:22 +00:00
dependabot[bot]
f7476409f1 Bump rollup from 2.52.7 to 2.53.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.7 to 2.53.1.
- [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.52.7...v2.53.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 10:01:05 +00:00
dependabot[bot]
b1c4c88ae8 Bump @types/arcgis-rest-api from 10.4.4 to 10.4.5
Bumps [@types/arcgis-rest-api](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/arcgis-rest-api) from 10.4.4 to 10.4.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/arcgis-rest-api)

---
updated-dependencies:
- dependency-name: "@types/arcgis-rest-api"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 10:00:53 +00:00
Bryant Evans
709e933799 Forward LayerType type parameter to LayerRenderer 2021-07-12 09:00:20 +00:00
Tim Schaub
4c33b106ed Merge pull request #12495 from tschaub/tpyos
Edits to the changelog
2021-07-11 14:26:36 -06:00
Tim Schaub
0e7b9b9a08 Edits to the changelog 2021-07-11 14:21:29 -06:00
Andreas Hocevar
ec38b39f2e Merge pull request #12494 from openlayers/release-v6.6.0
Release v6.6.0
2021-07-11 22:12:06 +02:00
Andreas Hocevar
d9c50a31da Develop on 6.6.1-dev 2021-07-11 22:07:58 +02:00
Andreas Hocevar
a59c80ff76 Update package version to 6.6.0 2021-07-11 22:04:14 +02:00
Andreas Hocevar
f9d4805c40 Changelog for v6.6.0 2021-07-11 22:03:22 +02:00
Andreas Hocevar
4defa429cb Merge pull request #12493 from ahocevar/cleanup-readme
Remove obsolete section from README
2021-07-11 20:44:01 +02:00
Andreas Hocevar
bf090f44fd Remove obsolete section from README 2021-07-11 20:31:02 +02:00
MoonE
7adaf7c1b5 Merge pull request #12442 from MoonE/fix-layer-extent
Fix layer render extent when it is not at all in view
2021-07-11 20:04:45 +02:00
Maximilian Krög
83226cc79a Fix layer render extent when it is not at all in view 2021-07-11 18:27:48 +02:00
Maximilian Krög
f57413fc04 add tests for layer extent config 2021-07-11 18:27:48 +02:00
Tim Schaub
f6ed6eb1c1 Merge pull request #12492 from tschaub/tutorial
Use create-ol-app to create a new app
2021-07-11 09:18:52 -06:00
MoonE
bb0ea08d17 Merge pull request #12467 from MoonE/fixes-regular-shape
Fixes / improvements for RegularShape
2021-07-11 15:47:15 +02:00
Andreas Hocevar
94537e331f Update renderring test reference images 2021-07-11 14:20:20 +02:00
Maximilian Krög
ad37baf351 Remove redundant size properties / getter 2021-07-11 12:32:04 +02:00
Maximilian Krög
bee28d61ea cache render options object 2021-07-11 12:32:03 +02:00
Maximilian Krög
53cf5bb282 Lazily create Regular shape canvases
Creating the cached canvases is expensive and they may never be used.
E. g. the hit detect canvas is not needed with the Immediate renderer
and if a feature is never in the viewport the image is not needed either.
2021-07-11 12:32:03 +02:00
Maximilian Krög
f1ecc87425 High resolution image style for immediate renderer 2021-07-11 12:32:03 +02:00
Maximilian Krög
87f215939c Fix some RegularShape bugs related to canvsa size
- remove jitter when using RegularShape size in animation, size should
always be an integer
- canvas may have been too small for miter line join
- canvas was at least one stroke width too large for round line join
- reduce canvas size even more for bevel line join

Canvas now precisely fits the shape including stroke, The angle of the
shape is ignored for the calculation.
2021-07-11 12:32:03 +02:00
Maximilian Krög
f21513ab5a Consistent behaviour if two radii are provided
Always double the points event when two radii of same size are provided.
2021-07-11 12:32:03 +02:00
Maximilian Krög
28c40fe93e getImage is always called with valid pixelRatio 2021-07-11 12:32:03 +02:00
Maximilian Krög
5716c614a8 Cleanup drawing of RegularShape
Fixes missing miter/bevel line join because path was not closed before
stroking.
Reduce canvas context calls, skip beginPath, and instead of drawing the
last point use closePath
2021-07-11 12:31:55 +02:00
Maximilian Krög
82265ef031 No unnecessary canvas with transparent fill
With pixelRatio != 1 and a transparent fill a unnecessary image was created.
2021-07-11 12:30:18 +02:00
Tim Schaub
f10210aaf4 Use create-ol-app to create a new app 2021-07-10 09:41:27 -06:00
Tim Schaub
7e33c41697 Merge pull request #12491 from tschaub/mouse-position-placeholder
Add a new placeholder option and deprecate undefinedHTML for the mouse position control
2021-07-10 09:19:20 -06:00
Tim Schaub
53156ab936 Add a new placeholder option and deprecate undefinedHTML 2021-07-10 09:12:31 -06:00
Andreas Hocevar
8585b067dc Merge pull request #12430 from simonseyock/event-listener-typing
Event listener typing
2021-07-10 11:39:06 +02:00
Andreas Hocevar
9e88134286 Opt-out instead of opt-in for included types 2021-07-10 11:33:01 +02:00
Andreas Hocevar
cb4d5a7107 Update types info in README 2021-07-10 11:28:51 +02:00
Andreas Hocevar
b9a1d6663b Replace typescript dependency with npx calls 2021-07-10 11:28:51 +02:00
Andreas Hocevar
f5cc9a585a Do not error on /*** comments 2021-07-10 11:28:51 +02:00
Simon Seyock
0641bd47ce Add DragAndDropInteraction. 2021-07-10 11:28:50 +02:00
Andreas Hocevar
e9e664f3c9 Add typed signature for Observable#un() 2021-07-10 11:28:50 +02:00
Simon Seyock
3a73af842d Remove comments after jsdoc. 2021-07-10 11:28:49 +02:00
Simon Seyock
87830c6959 Fix Observable signatures. 2021-07-10 11:28:49 +02:00
Simon Seyock
d914006d51 Add signatures for once. 2021-07-10 11:28:49 +02:00
Simon Seyock
1870a64984 Add CombinedOnSignature. 2021-07-10 11:28:49 +02:00
Simon Seyock
25a095e489 Observable workaround for on. 2021-07-10 11:28:49 +02:00
Simon Seyock
ba9bfca9d5 Geolocation, Overlay, View 2021-07-10 11:28:48 +02:00
Simon Seyock
7fc664c3fe sources and layers. 2021-07-10 11:28:48 +02:00
Simon Seyock
e9a161740a controls and interactions. 2021-07-10 11:28:48 +02:00
Simon Seyock
3365576548 Add PluggableMap. 2021-07-10 11:28:47 +02:00
Simon Seyock
ff42d03f31 Add Collection and Feature. 2021-07-10 11:28:47 +02:00
Simon Seyock
baf9ee6a93 Add on signatures for BaseObject and Observable. 2021-07-10 11:28:47 +02:00
Simon Seyock
7701ab932b Add auxiliary type for the on signatures. 2021-07-10 11:28:47 +02:00
Simon Seyock
c8f43050c4 Revert "Merge pull request #12416 from ahocevar/eventtype-generics"
This reverts commit b6c143deb2, reversing
changes made to 7777821df5.
2021-07-10 11:28:46 +02:00
Tim Schaub
a2f441715b Merge pull request #12488 from JakobMiksch/fix-mouse-control-white-space
MousePosition: allow rendering of empty string
2021-07-09 15:54:22 -06:00
Andreas Hocevar
aacf12b392 Merge pull request #12464 from mike-000/zDirection
Make zDirection option available for all tile sources
2021-07-09 23:04:42 +02:00
Tim Schaub
9e7f5a9b40 Test empty string rendering for mouse control 2021-07-09 14:44:09 -06:00
Andreas Hocevar
87d3209497 Merge pull request #12489 from ahocevar/ol-mapbox-stlye-module
Update ol-mapbox-style to v6.4.0
2021-07-09 12:52:43 +02:00
Andreas Hocevar
9f90726906 Update ol-mapbox-style to v6.4.0 2021-07-09 12:48:34 +02:00
mike-000
13ec72bcf4 Add NearestDirectionFunction to zDirection typedef 2021-07-09 11:32:27 +01:00
mike-000
ddf7ac6e42 Add zDirection to options 2021-07-09 11:32:27 +01:00
mike-000
07ea4ac1c8 Update description for zDirection 2021-07-09 11:32:26 +01:00
mike-000
b0fa916571 Test with NearestDirectionFunction 2021-07-09 11:32:26 +01:00
mike-000
cb34b30e4b Update description for getZForResolution direction 2021-07-09 11:32:25 +01:00
mike-000
90598156b6 Handle NearestDirectionFunction 2021-07-09 11:31:41 +01:00
Jakob Miksch
bfe5afe069 MousePosition: allow rendering of empty string 2021-07-08 20:54:45 +02:00
Tim Schaub
7a54eafdcd Merge pull request #12484 from tschaub/geosolutions-sponsor
Add GeoSolutions as a monthly sponsor
2021-07-07 15:35:28 -06:00
Tim Schaub
6b13d9e851 Add GeoSolutions as a monthly sponsor 2021-07-07 12:47:48 -06:00
MoonE
9c25b5936a Merge pull request #12480 from MoonE/fix-tile-drawing
Fix gap in tiles due to floating point math
2021-07-06 23:14:25 +02:00
Maximilian Krög
7f088c2eb8 Fix gap in tiles due to floating point math 2021-07-06 21:55:24 +02:00
Andreas Hocevar
53f089888c Merge pull request #12470 from openlayers/dependabot/npm_and_yarn/loglevelnext-5.0.5
Bump loglevelnext from 4.0.1 to 5.0.5
2021-07-06 09:30:11 +02:00
Andreas Hocevar
ba2f5c83ee Update loglevel instantiation 2021-07-06 09:24:41 +02:00
Tim Schaub
c613ed14f7 Merge pull request #12472 from openlayers/dependabot/npm_and_yarn/eslint-7.30.0
Bump eslint from 7.29.0 to 7.30.0
2021-07-05 23:14:28 -06:00
dependabot[bot]
0ca3ce4ab6 Bump eslint from 7.29.0 to 7.30.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [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.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-06 04:48:09 +00:00
dependabot[bot]
18be8b9f4f Bump loglevelnext from 4.0.1 to 5.0.5
Bumps [loglevelnext](https://github.com/shellscape/loglevelnext) from 4.0.1 to 5.0.5.
- [Release notes](https://github.com/shellscape/loglevelnext/releases)
- [Commits](https://github.com/shellscape/loglevelnext/commits)

---
updated-dependencies:
- dependency-name: loglevelnext
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-06 04:47:26 +00:00
Tim Schaub
aa40252fa4 Merge pull request #12471 from openlayers/dependabot/npm_and_yarn/coveralls-3.1.1
Bump coveralls from 3.1.0 to 3.1.1
2021-07-05 22:47:24 -06:00
Tim Schaub
d35c28fa13 Merge pull request #12473 from openlayers/dependabot/npm_and_yarn/mocha-9.0.2
Bump mocha from 9.0.1 to 9.0.2
2021-07-05 22:46:38 -06:00
Tim Schaub
d70dff4484 Merge pull request #12476 from openlayers/dependabot/npm_and_yarn/types/topojson-specification-1.0.2
Bump @types/topojson-specification from 1.0.1 to 1.0.2
2021-07-05 22:45:43 -06:00
Tim Schaub
28fed37390 Merge pull request #12469 from openlayers/dependabot/npm_and_yarn/puppeteer-10.1.0
Bump puppeteer from 10.0.0 to 10.1.0
2021-07-05 22:45:00 -06:00
Tim Schaub
661eb840f3 Merge pull request #12474 from openlayers/dependabot/npm_and_yarn/typescript-4.3.5
Bump typescript from 4.3.4 to 4.3.5
2021-07-05 22:44:19 -06:00
Tim Schaub
3e27b693cf Merge pull request #12475 from openlayers/dependabot/npm_and_yarn/rollup-2.52.7
Bump rollup from 2.52.3 to 2.52.7
2021-07-05 22:43:21 -06:00
Tim Schaub
c6eea6b879 Merge pull request #12468 from openlayers/dependabot/npm_and_yarn/webpack-5.42.0
Bump webpack from 5.40.0 to 5.42.0
2021-07-05 22:42:34 -06:00
MoonE
2779ea1849 Merge pull request #12453 from MoonE/kml-multiple-linear-rings
Allow multiple LinearRings per innerBoundaryIs
2021-07-06 00:05:50 +02:00
dependabot[bot]
d1bbdc3260 Bump @types/topojson-specification from 1.0.1 to 1.0.2
Bumps [@types/topojson-specification](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/topojson-specification) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/topojson-specification)

---
updated-dependencies:
- dependency-name: "@types/topojson-specification"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:02:43 +00:00
dependabot[bot]
046ee73a5f Bump rollup from 2.52.3 to 2.52.7
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.3 to 2.52.7.
- [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.52.3...v2.52.7)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:02:29 +00:00
dependabot[bot]
ca2f9c6574 Bump typescript from 4.3.4 to 4.3.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:02:13 +00:00
dependabot[bot]
52c10b4710 Bump mocha from 9.0.1 to 9.0.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.1 to 9.0.2.
- [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/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:01:52 +00:00
dependabot[bot]
c72f96e6ee Bump coveralls from 3.1.0 to 3.1.1
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/compare/v3.1.0...3.1.1)

---
updated-dependencies:
- dependency-name: coveralls
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:01:26 +00:00
dependabot[bot]
0dd5037eb5 Bump puppeteer from 10.0.0 to 10.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.0.0 to 10.1.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/v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:01:00 +00:00
dependabot[bot]
fed8eb1324 Bump webpack from 5.40.0 to 5.42.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.40.0 to 5.42.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.40.0...v5.42.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:00:45 +00:00
MoonE
9af9c0b974 Merge pull request #12466 from MoonE/get-vector-context-tile-layer
Fix getVectorContext on TileLayer with pixelRatio != 1
2021-07-04 23:30:34 +02:00
Maximilian Krög
c97bf3432f Fix transform for immediate rendering on canvas
If the canvas css transform does not match the frameState pixelRatio the drawing
is at the wrong size.
2021-07-04 18:33:43 +02:00
Maximilian Krög
0bad083056 Test getVectorContext with pixelRatio 2 and TileLayer 2021-07-04 18:33:40 +02:00
MoonE
43f374e547 Merge pull request #12463 from MoonE/feature-animation-example
Improve animation examples
2021-07-04 15:39:31 +02:00
Andreas Hocevar
8a96268f10 Merge pull request #12459 from simonseyock/gml-fix
Fix documentation for GML class.
2021-07-04 15:22:30 +02:00
Maximilian Krög
a6d86ce0dd Update marker animation example
Continually animate between start and end position
Allow changing speed during animation
Stay at current position when animation stops
2021-07-03 20:10:09 +02:00
Maximilian Krög
d7d0eeb7c7 Prefer Date.now() when possible 2021-07-02 23:01:11 +02:00
Maximilian Krög
f506f4bdc9 Improve feature-animation example
Keep features within tile bounds
Skip drawing fully transparent style
Don't clone the geometry each frame
2021-07-02 22:55:13 +02:00
Simon Seyock
20d1b907bd Fix documentation for GML class. 2021-07-02 10:53:01 +02:00
Andreas Hocevar
15f32544e9 Merge pull request #12455 from mike-000/patch-1
Consistent use of quotes in example description
2021-07-01 16:04:53 +02:00
mike-000
212a6ae7ce consistent use of quotes 2021-06-30 00:35:53 +01:00
Maximilian Krög
4c346353fa Allow multiple LinearRings per innerBoundaryIs 2021-06-29 20:48:29 +02:00
Andreas Hocevar
6aeed0ff96 Merge pull request #12373 from mike-000/patch-1
Rework TileDebug to allow TMS coordinates and to fix reprojection
2021-06-29 14:28:09 +02:00
Andreas Hocevar
be6c757ff6 Don't add setImage to the API 2021-06-29 14:19:58 +02:00
mike-000
f7bd8102c5 Add Show tile coordinates option 2021-06-29 11:08:19 +01:00
mike-000
d8a5b91ad5 Make setImage() synchronous 2021-06-29 10:53:46 +01:00
mike-000
44319cf233 handle synchronous loading correctly 2021-06-29 10:53:46 +01:00
mike-000
db1fa9b659 New test 2021-06-29 10:53:45 +01:00
mike-000
6304b56501 New example 2021-06-29 10:53:45 +01:00
mike-000
ee5553debb Rework TileDebug to fix reprojection issue and allow {-y}
Add setImage method to ol/ImageTile
2021-06-29 10:53:44 +01:00
Andreas Hocevar
3291733ab3 Merge pull request #12441 from mike-000/patch-8
Style-based measure example
2021-06-28 18:37:00 +02:00
Andreas Hocevar
e1ffaa9df4 Merge pull request #12443 from openlayers/dependabot/npm_and_yarn/marked-2.1.3
Bump marked from 2.1.2 to 2.1.3
2021-06-28 18:18:05 +02:00
Andreas Hocevar
3c88785a59 Merge pull request #12444 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-5.1.4
Bump terser-webpack-plugin from 5.1.3 to 5.1.4
2021-06-28 18:17:28 +02:00
Andreas Hocevar
324d88e331 Merge pull request #12445 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.7
Bump @babel/preset-env from 7.14.5 to 7.14.7
2021-06-28 18:16:51 +02:00
Andreas Hocevar
44dc0bd640 Merge pull request #12446 from openlayers/dependabot/npm_and_yarn/rollup-2.52.3
Bump rollup from 2.52.2 to 2.52.3
2021-06-28 18:16:17 +02:00
Andreas Hocevar
f0402817bf Merge pull request #12447 from openlayers/dependabot/npm_and_yarn/eslint-config-openlayers-15.1.0
Bump eslint-config-openlayers from 15.0.0 to 15.1.0
2021-06-28 18:15:40 +02:00
Andreas Hocevar
79f5f46d27 Remove lint 2021-06-28 18:10:51 +02:00
Andreas Hocevar
a3e67b8287 Merge pull request #12448 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-9.0.1
Bump copy-webpack-plugin from 9.0.0 to 9.0.1
2021-06-28 18:02:39 +02:00
Andreas Hocevar
c38b8e2e8c Merge pull request #12449 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.7
Bump @babel/eslint-parser from 7.14.5 to 7.14.7
2021-06-28 18:02:14 +02:00
dependabot[bot]
644a51cf6a Bump @babel/eslint-parser from 7.14.5 to 7.14.7
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.5 to 7.14.7.
- [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.14.7/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:02:19 +00:00
dependabot[bot]
8835b41a57 Bump copy-webpack-plugin from 9.0.0 to 9.0.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 9.0.0 to 9.0.1.
- [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/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: copy-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:02:00 +00:00
dependabot[bot]
b5bb9382e2 Bump eslint-config-openlayers from 15.0.0 to 15.1.0
Bumps [eslint-config-openlayers](https://github.com/openlayers/eslint-config-openlayers) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/openlayers/eslint-config-openlayers/releases)
- [Commits](https://github.com/openlayers/eslint-config-openlayers/compare/v15.0.0...v15.1.0)

---
updated-dependencies:
- dependency-name: eslint-config-openlayers
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:01:49 +00:00
dependabot[bot]
89baeb236f Bump rollup from 2.52.2 to 2.52.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.52.2 to 2.52.3.
- [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.52.2...v2.52.3)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:01:26 +00:00
dependabot[bot]
7f1d6d9c36 Bump @babel/preset-env from 7.14.5 to 7.14.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.5 to 7.14.7.
- [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.14.7/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>
2021-06-28 10:01:11 +00:00
dependabot[bot]
79ed44b11d Bump terser-webpack-plugin from 5.1.3 to 5.1.4
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.1.3 to 5.1.4.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.1.3...v5.1.4)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:00:57 +00:00
dependabot[bot]
722b8bcf74 Bump marked from 2.1.2 to 2.1.3
Bumps [marked](https://github.com/markedjs/marked) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.1.2...v2.1.3)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 10:00:45 +00:00
mike-000
e30f2808d6 Override modify style geometry until pointermove 2021-06-27 13:29:38 +01:00
mike-000
aac9d6dd95 New example
New example

New example

lints

New example

New example

New example
2021-06-26 12:46:12 +01:00
Tim Schaub
443b629f7e Merge pull request #12438 from jipexu/main
typo
2021-06-25 18:34:14 -06:00
jipexu
bb71ee6a71 typo
1 u

typo

one u

typo

one u

typo
2021-06-25 15:07:24 +02:00
Tim Schaub
16aed36008 Merge pull request #12423 from openlayers/dependabot/npm_and_yarn/globby-11.0.4
Bump globby from 11.0.3 to 11.0.4
2021-06-23 08:29:05 -06:00
Andreas Hocevar
9be37ceb15 Merge pull request #12435 from openlayers/dependabot/npm_and_yarn/marked-2.1.2
Bump marked from 2.0.7 to 2.1.2
2021-06-23 08:57:31 +02:00
Andreas Hocevar
397514f32c Merge pull request #12426 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.6
Bump @babel/core from 7.14.5 to 7.14.6
2021-06-23 08:56:24 +02:00
Andreas Hocevar
655df36b43 Merge pull request #12427 from openlayers/dependabot/npm_and_yarn/typescript-4.3.4
Bump typescript from 4.3.2 to 4.3.4
2021-06-23 08:55:49 +02:00
dependabot[bot]
fe55aa05a5 Bump marked from 2.0.7 to 2.1.2
Bumps [marked](https://github.com/markedjs/marked) from 2.0.7 to 2.1.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.7...v2.1.2)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 06:54:17 +00:00
Andreas Hocevar
259ff8b462 Merge pull request #12421 from openlayers/dependabot/npm_and_yarn/eslint-7.29.0
Bump eslint from 7.28.0 to 7.29.0
2021-06-23 08:54:10 +02:00
Andreas Hocevar
e485d96245 Merge pull request #12420 from openlayers/dependabot/npm_and_yarn/mocha-9.0.1
Bump mocha from 9.0.0 to 9.0.1
2021-06-23 08:53:17 +02:00
Andreas Hocevar
df23048de1 Merge pull request #12425 from openlayers/dependabot/npm_and_yarn/rollup-2.52.2
Bump rollup from 2.51.2 to 2.52.2
2021-06-23 08:49:12 +02:00
dependabot[bot]
c1860469c1 Bump rollup from 2.51.2 to 2.52.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.51.2 to 2.52.2.
- [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.51.2...v2.52.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 06:44:37 +00:00
dependabot[bot]
359d31914c Bump mocha from 9.0.0 to 9.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.0.0 to 9.0.1.
- [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/v9.0.0...v9.0.1)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 06:44:24 +00:00
dependabot[bot]
637311dff5 Bump eslint from 7.28.0 to 7.29.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.28.0 to 7.29.0.
- [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.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 06:43:56 +00:00
Andreas Hocevar
610f29b309 Merge pull request #12428 from openlayers/dependabot/npm_and_yarn/proj4-2.7.4
Bump proj4 from 2.7.2 to 2.7.4
2021-06-23 08:43:34 +02:00
Andreas Hocevar
8d33d76a62 Merge pull request #12433 from openlayers/dependabot/npm_and_yarn/webpack-5.40.0
Bump webpack from 5.38.1 to 5.40.0
2021-06-23 08:42:58 +02:00
dependabot[bot]
f69c093105 Bump webpack from 5.38.1 to 5.40.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.38.1 to 5.40.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.38.1...v5.40.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 21:54:57 +00:00
Andreas Hocevar
57c59b9709 Merge pull request #12431 from ahocevar/ts-types
Add tsc-generated type definitions for opt-in
2021-06-22 23:54:00 +02:00
Andreas Hocevar
efbcab6004 Update README.md
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-06-22 23:29:09 +02:00
Andreas Hocevar
4a5dedcf90 Add tsc-generated type definitions for opt-in 2021-06-22 18:24:31 +02:00
Andreas Hocevar
de384ff986 Merge pull request #12417 from ahocevar/pdf
Use html2canvas instead of dom-to-image
2021-06-21 23:44:07 +02:00
MoonE
8155eda706 Merge pull request #12413 from MoonE/vectorlayer-hitdetect-image-invalidation
Fix hitdetection image invalidation
2021-06-21 22:47:21 +02:00
Andreas Hocevar
ed5c451679 Merge pull request #12405 from ahocevar/vectortile-getsourcetiles
VectorTile getSourceTiles behaviour with loading source tiles
2021-06-21 22:04:27 +02:00
MoonE
e9fd3fe201 Merge pull request #12212 from voegelas/ignore-empty-gx-coord
Ignore empty gx:coord elements in KML files
2021-06-21 18:18:00 +02:00
MoonE
029ce47907 Merge pull request #12418 from MoonE/fix-icon-tinting
Fix icon tinting with pixelRatio < 1
2021-06-21 18:16:06 +02:00
Andreas Hocevar
b7585e7571 Merge pull request #12409 from M393/wmts-bounding-box
Fix WMTS wrapX detection if WGS84BoundingBox is not set
2021-06-21 12:40:01 +02:00
Andreas Hocevar
a478377861 Merge pull request #12237 from M393/fix-modify-hitdetection
Fix Modify interaction with hitDetection
2021-06-21 12:36:01 +02:00
dependabot[bot]
d218a99b03 Bump proj4 from 2.7.2 to 2.7.4
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.7.2 to 2.7.4.
- [Release notes](https://github.com/proj4js/proj4js/releases)
- [Changelog](https://github.com/proj4js/proj4js/blob/master/changelog.md)
- [Commits](https://github.com/proj4js/proj4js/compare/2.7.2...2.7.4)

---
updated-dependencies:
- dependency-name: proj4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 10:03:22 +00:00
dependabot[bot]
8410ba5578 Bump typescript from 4.3.2 to 4.3.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.2 to 4.3.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 10:03:03 +00:00
dependabot[bot]
0bf060e06a Bump @babel/core from 7.14.5 to 7.14.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.5 to 7.14.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.14.6/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>
2021-06-21 10:02:34 +00:00
dependabot[bot]
6b6b9cc6c5 Bump globby from 11.0.3 to 11.0.4
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.3 to 11.0.4.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.3...v11.0.4)

---
updated-dependencies:
- dependency-name: globby
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 10:01:33 +00:00
Maximilian Kroeg
a600742606 Add test for reading wrap x from tile matrix or bounding box 2021-06-21 10:07:02 +02:00
Andreas Hocevar
b6c143deb2 Merge pull request #12416 from ahocevar/eventtype-generics
Use generics to limit event types in on(), once() and un()
2021-06-21 09:36:25 +02:00
Andreas Hocevar
7777821df5 Merge pull request #12408 from ahocevar/modify-no-insert
Do not fire modifystart when nothing is being modified
2021-06-21 08:05:53 +02:00
Andreas Hocevar
4dd75d75e3 Merge pull request #12414 from ahocevar/change-event-type
Replace getChangeEventType() with add/removeChangeListener methods
2021-06-21 08:04:23 +02:00
Maximilian Krög
1fc94337f7 Fix icon tinting with pixelRatio < 1 2021-06-21 00:13:55 +02:00
Andreas Hocevar
670ea6db9d Use html2canvas instead of dom-to-image 2021-06-20 23:41:44 +02:00
Maximilian Krög
e8b336d11e Fix hitdetection image invalidation 2021-06-20 22:35:55 +02:00
Maximilian Krög
3e2c045617 Add test for hitdetection with wrap x 2021-06-20 22:35:55 +02:00
Andreas Hocevar
018ad97f25 Use generics to limit event types in on(), once() and un() 2021-06-20 22:25:47 +02:00
Andreas Hocevar
343e0ffce9 Replace getChangeEventType() with add/removeChangeListener methods 2021-06-19 23:16:26 +02:00
MoonE
e82a86f563 Merge pull request #12194 from MoonE/immediate-pixel-ratio
Respect pixel ratio with immediate render
2021-06-18 19:31:00 +02:00
Andreas Voegele
73c10b00ae Ignore empty gx:coord elements in KML files 2021-06-18 17:10:05 +02:00
Maximilian Krög
a395de46eb Detect wrap x if wgs84BoundingBox is missing 2021-06-18 13:59:35 +02:00
Tim Schaub
ab8a16a8a7 Merge pull request #12298 from tschaub/fix-links
Fix JSDoc generated links
2021-06-17 22:15:41 -06:00
Tim Schaub
2e4b2e10ab Fix additional doc links 2021-06-17 21:59:51 -06:00
Tim Schaub
f798902ecd Fix JSDoc generated links 2021-06-17 21:54:07 -06:00
Maximilian Krög
74db0e7d21 Add render test for immediate render with pixel ratio 2 2021-06-17 23:21:30 +02:00
MoonE
9afc294d57 Merge pull request #12231 from MoonE/movetolerance-pixelratio
Move tolerance should not increase with higher pixel ratio
2021-06-17 19:14:46 +02:00
MoonE
9ab5b70e3a Merge pull request #12282 from M393/dragzoom-view-padding
Fix DragZoom with view padding
2021-06-17 19:13:03 +02:00
Maximilian Krög
bb5e0773ae Move tolerance should not increase with higher pixel ratio
Browsers already handle the scaling, no need to multiply this again.
This now also allows setting a moveTolerance of zero which was not
possible before. In the isMoving_ method the condition is
distance > tolerance so this will work.
2021-06-17 19:08:29 +02:00
Andreas Hocevar
cf7213c5cb Merge pull request #12223 from simonseyock/generic-options
generic source parameters for options
2021-06-17 19:02:36 +02:00
Simon Seyock
9344de5740 remove unneeded code 2021-06-17 18:54:29 +02:00
Simon Seyock
aa99de4a6b parse comment for templates 2021-06-17 18:54:29 +02:00
Simon Seyock
a5d0b61947 Allow options to be generic in jsdoc 2021-06-17 18:54:29 +02:00
Simon Seyock
a211666fd8 Added generic source option to layer option types 2021-06-17 18:54:28 +02:00
Maximilian Krög
3ebcdb45d9 Fix WMTS wrapX detection if WGS84BoundingBox is not set 2021-06-17 13:43:05 +02:00
Andreas Hocevar
94a7cdba10 Do not fire modifystart when nothing is being modified 2021-06-17 11:08:03 +02:00
Maximilian Krög
2ed509a20d Support RenderFeature in Modify with hitDetection 2021-06-17 11:03:29 +02:00
Maximilian Krög
7c41748654 SegmentData.segment is not an Extent 2021-06-17 11:03:29 +02:00
Maximilian Krög
4e9b89c358 Fix Modify interaction with hitDetection
Hit detection should ignore any RenderFeatures and features not in the configured
source / collection.
2021-06-17 11:02:58 +02:00
Andreas Hocevar
8520a18eae Merge pull request #12219 from ahocevar/object-properties
Add 'properties' to Layer constructors
2021-06-17 08:44:53 +02:00
Maximilian Krög
5ba833a82c remove unused argument from function call 2021-06-17 00:14:34 +02:00
Maximilian Krög
c55366d35e use correct stride for draw image 2021-06-17 00:14:34 +02:00
Maximilian Krög
3791dee358 Fix immediate render with pixel ratio != 1 2021-06-17 00:14:27 +02:00
MoonE
da845c71c8 Merge pull request #12284 from MoonE/layer-group-inherit-zindex
Layers should inherit group z-index
2021-06-17 00:01:09 +02:00
Andreas Hocevar
01cfe80ee6 Merge pull request #12304 from mike-000/patch-2
New example: Scale and Rotate using Modify Interaction
2021-06-16 17:20:34 +02:00
Andreas Hocevar
a5e596c70d Merge pull request #12378 from mike-000/patch-5
Correct .split() calls to only split numeric srid for ArcgisRest
2021-06-16 17:19:10 +02:00
Andreas Hocevar
cd719ffb34 Avoid infinite source tile cache size 2021-06-15 20:30:43 +02:00
Andreas Hocevar
2361150814 Add regression test 2021-06-15 20:01:55 +02:00
Andreas Hocevar
ad4ff9f695 Keep track of loading source tiles when reused 2021-06-15 18:52:36 +02:00
Andreas Hocevar
3c4514aabf Do not expire tiles from source tile caches that are still used by render tiles 2021-06-15 17:26:24 +02:00
Tim Schaub
863d387927 Merge pull request #12393 from mike-000/patch-6
Scale up static Image and round to nearest pixel to avoid rounding errors
2021-06-14 09:06:43 -06:00
Tim Schaub
13ecb6b3fc Merge pull request #12394 from mike-000/patch-7
Ensure VectorSource getUrl() corresponds to last setUrl()
2021-06-14 08:56:09 -06:00
Tim Schaub
4509dc46d8 Merge pull request #12397 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.5
Bump @babel/eslint-parser from 7.14.4 to 7.14.5
2021-06-14 08:52:20 -06:00
Tim Schaub
3691c8049b Merge pull request #12398 from openlayers/dependabot/npm_and_yarn/karma-6.3.4
Bump karma from 6.3.3 to 6.3.4
2021-06-14 08:51:38 -06:00
Tim Schaub
cf57ae04a7 Merge pull request #12400 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.7.2
Bump webpack-cli from 4.7.0 to 4.7.2
2021-06-14 08:51:10 -06:00
Tim Schaub
ecb087bf70 Merge pull request #12401 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.5
Bump @babel/preset-env from 7.14.4 to 7.14.5
2021-06-14 08:50:35 -06:00
Tim Schaub
67dcc19a4e Merge pull request #12402 from openlayers/dependabot/npm_and_yarn/rollup-2.51.2
Bump rollup from 2.51.0 to 2.51.2
2021-06-14 08:49:44 -06:00
Tim Schaub
1e1488dc60 Merge pull request #12403 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.5
Bump @babel/core from 7.14.3 to 7.14.5
2021-06-14 08:49:14 -06:00
dependabot[bot]
8acc3800bb Bump karma from 6.3.3 to 6.3.4
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.3 to 6.3.4.
- [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/v6.3.3...v6.3.4)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 13:46:19 +00:00
Tim Schaub
830ae1f2c6 Merge pull request #12399 from openlayers/dependabot/npm_and_yarn/mocha-9.0.0
Bump mocha from 8.4.0 to 9.0.0
2021-06-14 07:45:21 -06:00
dependabot[bot]
344d0033e4 Bump @babel/core from 7.14.3 to 7.14.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.3 to 7.14.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.14.5/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>
2021-06-14 05:08:14 +00:00
dependabot[bot]
226a9129c4 Bump rollup from 2.51.0 to 2.51.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.51.0 to 2.51.2.
- [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.51.0...v2.51.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:07:49 +00:00
dependabot[bot]
eb420d9d40 Bump @babel/preset-env from 7.14.4 to 7.14.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.4 to 7.14.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.14.5/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>
2021-06-14 05:07:16 +00:00
dependabot[bot]
8166fb2ae0 Bump webpack-cli from 4.7.0 to 4.7.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.0 to 4.7.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.7.0...webpack-cli@4.7.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:06:36 +00:00
dependabot[bot]
693d4c44e2 Bump mocha from 8.4.0 to 9.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
- [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.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:06:13 +00:00
dependabot[bot]
333b726a6b Bump @babel/eslint-parser from 7.14.4 to 7.14.5
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.4 to 7.14.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.14.5/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:05:17 +00:00
mike-000
3fb57f0988 ensure getUrl() corresponds to last setUrl() 2021-06-09 15:34:25 +01:00
mike-000
269b3c49ee more precision expected 2021-06-09 15:13:27 +01:00
mike-000
82cc9fe0e6 more precision expected 2021-06-09 15:03:45 +01:00
mike-000
cb52f809af more precision expected 2021-06-09 15:00:38 +01:00
mike-000
0b6a58353d Update resolution when setting image 2021-06-09 14:47:41 +01:00
mike-000
92a2b3e78b separate tests for scaling width and height 2021-06-09 13:33:28 +01:00
mike-000
c0580262f1 scale up and round to avoid rounding errors 2021-06-09 12:52:09 +01:00
Andreas Hocevar
0722786857 Merge pull request #12386 from openlayers/dependabot/npm_and_yarn/rollup-2.51.0
Bump rollup from 2.50.5 to 2.51.0
2021-06-07 14:40:57 +02:00
dependabot[bot]
29f194ebd4 Bump rollup from 2.50.5 to 2.51.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.50.5 to 2.51.0.
- [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.50.5...v2.51.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 08:36:31 +00:00
Andreas Hocevar
9078dd10dd Merge pull request #12384 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-2.1.1
Bump karma-firefox-launcher from 2.1.0 to 2.1.1
2021-06-07 09:35:07 +02:00
Andreas Hocevar
e75d533d13 Merge pull request #12385 from openlayers/dependabot/npm_and_yarn/marked-2.0.7
Bump marked from 2.0.6 to 2.0.7
2021-06-07 09:34:42 +02:00
dependabot[bot]
517bd08a00 Bump karma-firefox-launcher from 2.1.0 to 2.1.1
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v2.1.0...v2.1.1)

---
updated-dependencies:
- dependency-name: karma-firefox-launcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 07:30:05 +00:00
Andreas Hocevar
ee8da9ddce Merge pull request #12383 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-5.0.0
Bump webpack-dev-middleware from 4.3.0 to 5.0.0
2021-06-07 09:28:27 +02:00
Andreas Hocevar
cb7b99948d Merge pull request #12379 from openlayers/dependabot/npm_and_yarn/karma-6.3.3
Bump karma from 6.3.2 to 6.3.3
2021-06-07 09:27:32 +02:00
Andreas Hocevar
c4cf899ac1 Merge pull request #12381 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-5.1.3
Bump terser-webpack-plugin from 5.1.2 to 5.1.3
2021-06-07 09:26:59 +02:00
Andreas Hocevar
774b341e1d Merge pull request #12382 from openlayers/dependabot/npm_and_yarn/eslint-7.28.0
Bump eslint from 7.27.0 to 7.28.0
2021-06-07 09:26:40 +02:00
dependabot[bot]
a485ca089d Bump karma from 6.3.2 to 6.3.3
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.2 to 6.3.3.
- [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/v6.3.2...v6.3.3)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 07:23:46 +00:00
Andreas Hocevar
cb157df895 Merge pull request #12380 from openlayers/dependabot/npm_and_yarn/puppeteer-10.0.0
Bump puppeteer from 9.1.1 to 10.0.0
2021-06-07 09:22:16 +02:00
dependabot[bot]
e2112d4b1c Bump marked from 2.0.6 to 2.0.7
Bumps [marked](https://github.com/markedjs/marked) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:10:35 +00:00
dependabot[bot]
e48a65c175 Bump webpack-dev-middleware from 4.3.0 to 5.0.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v4.3.0...v5.0.0)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:09:48 +00:00
dependabot[bot]
35ab7da6f8 Bump eslint from 7.27.0 to 7.28.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.27.0 to 7.28.0.
- [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.27.0...v7.28.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:09:26 +00:00
dependabot[bot]
bb50f8a3c5 Bump terser-webpack-plugin from 5.1.2 to 5.1.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.1.2...v5.1.3)

---
updated-dependencies:
- dependency-name: terser-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:09:00 +00:00
dependabot[bot]
d90eb71345 Bump puppeteer from 9.1.1 to 10.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 9.1.1 to 10.0.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/v9.1.1...v10.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 05:08:33 +00:00
mike-000
ec5864a41a ensure srid is numeric, otherwise use entire code
lint
2021-06-06 18:09:49 +01:00
mike-000
bb8c82b98c ensure srid is numeric, otherwise use entire code
lint
2021-06-06 18:09:45 +01:00
mike-000
1bb75897ee ensure srid is numeric, otherwise use entire code
removed duplicate )
2021-06-06 18:00:16 +01:00
mike-000
fcdf7d02ac ensure srid is numeric, otherwise use entire code 2021-06-06 16:03:31 +01:00
mike-000
430267a175 ensure srid is numeric, otherwise use entire code 2021-06-06 15:57:08 +01:00
Andreas Hocevar
de81d2b762 Merge pull request #12357 from mike-000/patch-6
Use calculateElevation function in Shaded Relief example
2021-06-03 23:58:44 +02:00
Tim Schaub
3d702acbdd Merge pull request #12375 from mike-000/patch-5
Fix Vector Tile Selection example on old browsers
2021-06-03 06:22:56 -06:00
mike-000
57e3fb1ee8 fix on IE 2021-06-03 12:35:42 +01:00
Tim Schaub
c6a06018c3 Merge pull request #12368 from openlayers/dependabot/npm_and_yarn/typescript-4.3.2
Bump typescript from 4.2.4 to 4.3.2
2021-05-31 14:33:41 -06:00
Tim Schaub
9a38b3fc1c Cast layer to base vector type 2021-05-31 14:25:21 -06:00
Tim Schaub
05f1da24d7 Mark origin as optional 2021-05-31 14:25:01 -06:00
Tim Schaub
f61c502700 Correct type for success callback 2021-05-31 14:24:41 -06:00
Tim Schaub
ce7f2c4353 Merge pull request #12365 from openlayers/dependabot/npm_and_yarn/rollup-2.50.5
Bump rollup from 2.49.0 to 2.50.5
2021-05-31 14:20:52 -06:00
Tim Schaub
a1ec887fb1 Merge pull request #12371 from openlayers/dependabot/npm_and_yarn/marked-2.0.6
Bump marked from 2.0.5 to 2.0.6
2021-05-31 14:20:22 -06:00
Andreas Hocevar
93b5ec9d43 Merge pull request #12364 from ahocevar/vectortile-faster-and-simpler-loading
Simpler and faster VectorTile loading
2021-05-31 22:12:40 +02:00
dependabot[bot]
a0aecc5653 Bump marked from 2.0.5 to 2.0.6
Bumps [marked](https://github.com/markedjs/marked) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.5...v2.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 20:03:37 +00:00
dependabot[bot]
824d2b0131 Bump typescript from 4.2.4 to 4.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 20:02:13 +00:00
dependabot[bot]
7552144502 Bump rollup from 2.49.0 to 2.50.5
Bumps [rollup](https://github.com/rollup/rollup) from 2.49.0 to 2.50.5.
- [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.49.0...v2.50.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 20:02:12 +00:00
Tim Schaub
48dd308fdd Merge pull request #12366 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.4
Bump @babel/eslint-parser from 7.14.3 to 7.14.4
2021-05-31 14:01:52 -06:00
Tim Schaub
d88975165c Merge pull request #12367 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.4
Bump @babel/preset-env from 7.14.2 to 7.14.4
2021-05-31 14:01:25 -06:00
Tim Schaub
fb25906b17 Merge pull request #12369 from openlayers/dependabot/npm_and_yarn/webpack-5.38.1
Bump webpack from 5.37.1 to 5.38.1
2021-05-31 14:01:00 -06:00
Tim Schaub
2c6458867b Merge pull request #12370 from openlayers/dependabot/npm_and_yarn/webpack-sources-2.3.0
Bump webpack-sources from 2.2.0 to 2.3.0
2021-05-31 14:00:28 -06:00
Tim Schaub
7a3fae607e Merge pull request #12372 from openlayers/dependabot/npm_and_yarn/sinon-11.1.1
Bump sinon from 10.0.0 to 11.1.1
2021-05-31 13:59:59 -06:00
dependabot[bot]
7c30c30d45 Bump sinon from 10.0.0 to 11.1.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 10.0.0 to 11.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v10.0.0...v11.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:07:16 +00:00
dependabot[bot]
bd010db569 Bump webpack-sources from 2.2.0 to 2.3.0
Bumps [webpack-sources](https://github.com/webpack/webpack-sources) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/webpack/webpack-sources/releases)
- [Commits](https://github.com/webpack/webpack-sources/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:06:46 +00:00
dependabot[bot]
e707e20a1f Bump webpack from 5.37.1 to 5.38.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.37.1 to 5.38.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.37.1...v5.38.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:06:24 +00:00
dependabot[bot]
f41a63c32f Bump @babel/preset-env from 7.14.2 to 7.14.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.2 to 7.14.4.
- [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.14.4/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:05:36 +00:00
dependabot[bot]
91a4f2c5ec Bump @babel/eslint-parser from 7.14.3 to 7.14.4
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.3 to 7.14.4.
- [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.14.4/eslint/babel-eslint-parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 05:05:11 +00:00
Andreas Hocevar
5ab7cbf905 Simpler and faster VectorTile loading 2021-05-30 21:22:03 +02:00
MoonE
1e9b0bc079 Merge pull request #12359 from mike-000/patch-7
Fix broken link in docs
2021-05-27 00:12:30 +02:00
mike-000
f7e5c3cb84 Fix broken ImageData links 2021-05-26 22:45:22 +01:00
mike-000
31678972e5 fix typo
Co-authored-by: EvertEt <evert.etienne@gmail.com>
2021-05-26 14:11:33 +01:00
mike-000
599e3f18c1 Use calculateElevation function 2021-05-26 13:53:53 +01:00
Andreas Hocevar
04e323d69e Merge pull request #12330 from ahocevar/emulated-event
Do not require PointerEvent constructor
2021-05-25 22:04:56 +02:00
Tim Schaub
b12d86f4cc Merge pull request #12355 from simonseyock/fix-resolutions
document descending order of resolutions array
2021-05-25 13:54:08 -06:00
Simon Seyock
3d7ee5700e document descending order of resolutions array 2021-05-25 18:13:46 +02:00
Andreas Hocevar
468dde80dc Merge pull request #12341 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-4.3.0
Bump webpack-dev-middleware from 4.2.0 to 4.3.0
2021-05-25 11:13:45 +02:00
Andreas Hocevar
0bb802f791 Verify that users can provide a properties property 2021-05-25 11:00:33 +02:00
dependabot[bot]
8725231a9a Bump webpack-dev-middleware from 4.2.0 to 4.3.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v4.2.0...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 08:59:08 +00:00
Andreas Hocevar
7ab4e5ee29 Merge pull request #12321 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.0.0-beta.3
Bump webpack-dev-server from 4.0.0-beta.2 to 4.0.0-beta.3
2021-05-25 10:58:07 +02:00
Tim Schaub
ac1c710ec8 Merge pull request #12345 from openlayers/dependabot/npm_and_yarn/eslint-7.27.0
Bump eslint from 7.26.0 to 7.27.0
2021-05-24 21:45:45 -06:00
Tim Schaub
0a2aa403f5 Merge pull request #12342 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-9.0.0
Bump copy-webpack-plugin from 8.1.1 to 9.0.0
2021-05-24 21:44:29 -06:00
Tim Schaub
af778b1ae7 Merge pull request #12343 from openlayers/dependabot/npm_and_yarn/rollup-2.49.0
Bump rollup from 2.48.0 to 2.49.0
2021-05-24 21:43:26 -06:00
Tim Schaub
936c4d3044 Merge pull request #12344 from openlayers/dependabot/npm_and_yarn/marked-2.0.5
Bump marked from 2.0.3 to 2.0.5
2021-05-24 21:42:41 -06:00
dependabot[bot]
90b9adb1ab Bump eslint from 7.26.0 to 7.27.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.27.0.
- [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.26.0...v7.27.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 03:40:25 +00:00
Tim Schaub
164099f4d1 Merge pull request #12346 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.3
Bump @babel/core from 7.14.2 to 7.14.3
2021-05-24 21:39:37 -06:00
Tim Schaub
b13b390a3f Merge pull request #12347 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.3
Bump @babel/eslint-parser from 7.14.2 to 7.14.3
2021-05-24 21:39:00 -06:00
Tim Schaub
80cb9f4028 Merge pull request #12348 from openlayers/dependabot/npm_and_yarn/webpack-5.37.1
Bump webpack from 5.37.0 to 5.37.1
2021-05-24 21:38:09 -06:00
Andreas Hocevar
432bd7f851 Allow custom properties in the constructor using the properties option 2021-05-24 23:23:51 +02:00
Tim Schaub
136e57304a Merge pull request #12349 from mike-000/patch-5
Document the input to an attribution function
2021-05-24 14:45:10 -06:00
mike-000
464e9ec6ec Document the input to an attribution function 2021-05-24 15:05:54 +01:00
dependabot[bot]
f864ca02c0 Bump webpack from 5.37.0 to 5.37.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.37.0 to 5.37.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.37.0...v5.37.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:11:42 +00:00
dependabot[bot]
5394177d5f Bump @babel/eslint-parser from 7.14.2 to 7.14.3
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.2 to 7.14.3.
- [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.14.3/eslint/babel-eslint-parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:11:15 +00:00
dependabot[bot]
2ec7893d71 Bump @babel/core from 7.14.2 to 7.14.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.2 to 7.14.3.
- [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.14.3/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:10:54 +00:00
dependabot[bot]
fc0c0d976d Bump marked from 2.0.3 to 2.0.5
Bumps [marked](https://github.com/markedjs/marked) from 2.0.3 to 2.0.5.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.3...v2.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:10:08 +00:00
dependabot[bot]
ef6bc65811 Bump rollup from 2.48.0 to 2.49.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.48.0 to 2.49.0.
- [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.48.0...v2.49.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:09:49 +00:00
dependabot[bot]
25f34e1344 Bump copy-webpack-plugin from 8.1.1 to 9.0.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 8.1.1 to 9.0.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/v8.1.1...v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:09:30 +00:00
MoonE
8395445257 Merge pull request #12340 from MoonE/raster-example-tooltips
Fix raster example tooltips
2021-05-23 22:11:39 +02:00
Andreas Hocevar
c16e23a98d Merge pull request #12338 from ahocevar/no-__proto__
Do not use __proto__ to restore instances after main thread - worker transfer
2021-05-23 18:58:03 +02:00
Maximilian Krög
ad8c704e4a Update d3 to v6.7.0 2021-05-23 17:57:36 +02:00
Maximilian Krög
b49d94ce90 Fix raster example tooltips 2021-05-23 17:56:50 +02:00
Andreas Hocevar
7511d9c324 Merge pull request #12339 from mike-000/patch-4
Fix confusing import in Mapbox Style example
2021-05-23 16:06:44 +02:00
mike-000
f6f731029f fix confusing import 2021-05-23 11:02:44 +01:00
Andreas Hocevar
3b0af6d4aa Do not use __proto__ to restore instances after main thread - worker transfer 2021-05-23 11:19:55 +02:00
Andreas Hocevar
dc83e46767 Merge pull request #12306 from M393/canvas-reuse
Fix layer canvas reuse
2021-05-23 11:03:47 +02:00
MoonE
e574bfe2db Merge pull request #12334 from MoonE/mapboxvector-example
More consistent example for ol/layer/MapboxVector
2021-05-19 21:55:56 +02:00
Maximilian Krög
5c7e499317 More consistent example for ol/layer/MapboxVector 2021-05-19 19:42:40 +02:00
Maximilian Krög
bf0671fc08 Fix layer canvas reuse
If the scale values have more than 6 decimals they are rounded and can no longer be
compared to the created transform string.
2021-05-18 15:43:55 +02:00
Maximilian Krög
0486caf659 Add test for transform toString 2021-05-18 09:43:31 +02:00
Tim Schaub
7f102f3d43 Merge pull request #12326 from openlayers/dependabot/npm_and_yarn/webpack-5.37.0
Bump webpack from 5.36.2 to 5.37.0
2021-05-17 22:38:01 -05:00
Tim Schaub
8e08141b24 Merge pull request #12323 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.2
Bump @babel/core from 7.14.0 to 7.14.2
2021-05-17 22:37:19 -05:00
Andreas Hocevar
01029ac146 Do not require PointerEvent constructor 2021-05-17 21:31:52 +02:00
dependabot[bot]
715c176237 Bump webpack from 5.36.2 to 5.37.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.2 to 5.37.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.2...v5.37.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 13:49:02 +00:00
Tim Schaub
4d0422f46a Merge pull request #12322 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.7
Bump jsdoc from 3.6.6 to 3.6.7
2021-05-17 08:48:58 -05:00
Tim Schaub
b1d203eaa9 Merge pull request #12324 from openlayers/dependabot/npm_and_yarn/rollup-2.48.0
Bump rollup from 2.47.0 to 2.48.0
2021-05-17 08:48:19 -05:00
Tim Schaub
9f9fa3784b Merge pull request #12325 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-5.1.2
Bump terser-webpack-plugin from 5.1.1 to 5.1.2
2021-05-17 08:47:40 -05:00
Tim Schaub
81106a3e6a Merge pull request #12327 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.2
Bump @babel/eslint-parser from 7.13.14 to 7.14.2
2021-05-17 08:47:00 -05:00
dependabot[bot]
f2ab55cc4e Bump @babel/core from 7.14.0 to 7.14.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.0 to 7.14.2.
- [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.14.2/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 13:46:35 +00:00
Tim Schaub
4ccd6bfbeb Merge pull request #12328 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.2
Bump @babel/preset-env from 7.14.0 to 7.14.2
2021-05-17 08:45:40 -05:00
Tim Schaub
2e6da65613 Merge pull request #12320 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-4.2.0
Bump webpack-dev-middleware from 4.1.0 to 4.2.0
2021-05-17 08:44:58 -05:00
dependabot[bot]
2d8e04c857 Bump @babel/preset-env from 7.14.0 to 7.14.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.0 to 7.14.2.
- [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.14.2/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:12:36 +00:00
dependabot[bot]
1f73848089 Bump @babel/eslint-parser from 7.13.14 to 7.14.2
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.13.14 to 7.14.2.
- [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.14.2/eslint/babel-eslint-parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:12:08 +00:00
dependabot[bot]
fb6bb23eae Bump terser-webpack-plugin from 5.1.1 to 5.1.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.1.1...v5.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:11:11 +00:00
dependabot[bot]
48f9e3f467 Bump rollup from 2.47.0 to 2.48.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.47.0 to 2.48.0.
- [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.47.0...v2.48.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:10:39 +00:00
dependabot[bot]
11e3173f0e Bump jsdoc from 3.6.6 to 3.6.7
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.6 to 3.6.7.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.7/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.6...3.6.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:09:55 +00:00
dependabot[bot]
281c7c0b1e Bump webpack-dev-server from 4.0.0-beta.2 to 4.0.0-beta.3
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.0.0-beta.2 to 4.0.0-beta.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-beta.2...v4.0.0-beta.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:09:26 +00:00
dependabot[bot]
d5a3ed2185 Bump webpack-dev-middleware from 4.1.0 to 4.2.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 05:09:07 +00:00
MoonE
f66fc99bd8 Merge pull request #12315 from MoonE/accessibility-attributions
Improve attribution accessibility
2021-05-14 21:18:43 +02:00
MoonE
99aa3b2640 Correctly initialize attribution aria state
Co-authored-by: Marc Jansen <jansen@terrestris.de>
2021-05-14 21:03:51 +02:00
MoonE
ac9187c9bf Merge pull request #12313 from vittrup88/offscreencanvas-getfeatures
Hitdetection offscreencanvas worker
2021-05-14 00:59:19 +02:00
AndersVittrup
aa61c47fc4 Fixed document ref in hitdetect
fixed lint
2021-05-13 20:51:40 +02:00
Maximilian Krög
fc9e3e5610 Improve attribution accessibility
Tab order of attribution text should be after the toggle button
Add aria-expanded state to the toggle button.
2021-05-13 16:42:56 +02:00
Maximilian Krög
de4a93709a Inherit layer group zIndex 2021-05-13 01:44:08 +02:00
mike-000
82be8dc5ba remove empty lines 2021-05-11 17:36:54 +01:00
mike-000
642bfc4343 lints 2021-05-11 17:00:30 +01:00
mike-000
f095ee6ea1 new example
new example
2021-05-11 16:47:34 +01:00
Tim Schaub
fdfdc500aa Merge pull request #12288 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.0
Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0
2021-05-10 17:50:37 -06:00
dependabot[bot]
b3b4096b45 Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 11.2.1 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v13.0.0/packages/node-resolve)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 19:17:52 +00:00
Tim Schaub
be23d0d2e5 Merge pull request #12286 from openlayers/dependabot/npm_and_yarn/fs-extra-10.0.0
Bump fs-extra from 9.1.0 to 10.0.0
2021-05-10 13:17:34 -06:00
Tim Schaub
e9df30a201 Merge pull request #12287 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.7.0
Bump webpack-cli from 4.6.0 to 4.7.0
2021-05-10 13:16:41 -06:00
Tim Schaub
b7b16c06a7 Merge pull request #12293 from openlayers/dependabot/npm_and_yarn/yargs-17.0.1
Bump yargs from 17.0.0 to 17.0.1
2021-05-10 13:16:03 -06:00
Tim Schaub
5af85bdeef Merge pull request #12289 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-19.0.0
Bump @rollup/plugin-commonjs from 18.0.0 to 19.0.0
2021-05-10 13:14:28 -06:00
Tim Schaub
1f2603c6fe Merge pull request #12290 from openlayers/dependabot/npm_and_yarn/rollup-2.47.0
Bump rollup from 2.46.0 to 2.47.0
2021-05-10 13:13:48 -06:00
Tim Schaub
ab993d8487 Merge pull request #12291 from openlayers/dependabot/npm_and_yarn/puppeteer-9.1.1
Bump puppeteer from 9.0.0 to 9.1.1
2021-05-10 13:13:17 -06:00
Tim Schaub
7bfb4a88d0 Merge pull request #12292 from openlayers/dependabot/npm_and_yarn/eslint-7.26.0
Bump eslint from 7.25.0 to 7.26.0
2021-05-10 13:12:44 -06:00
Tim Schaub
1b0d978d43 Merge pull request #12294 from openlayers/dependabot/npm_and_yarn/mocha-8.4.0
Bump mocha from 8.3.2 to 8.4.0
2021-05-10 13:10:42 -06:00
Tim Schaub
94873cc7d8 Merge pull request #12295 from openlayers/dependabot/npm_and_yarn/glob-7.1.7
Bump glob from 7.1.6 to 7.1.7
2021-05-10 13:10:01 -06:00
Tim Schaub
0f292f4fed Merge pull request #12297 from mike-000/patch-1
Add condition option to Translate interaction
2021-05-10 13:09:16 -06:00
mike-000
666c996f8e Update src/ol/interaction/Translate.js
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-05-10 19:53:30 +01:00
mike-000
c0dd40cdb7 fix indentation 2021-05-10 16:54:02 +01:00
mike-000
5218251621 fix indentation 2021-05-10 16:35:54 +01:00
mike-000
2006a8ce46 Test condition option 2021-05-10 16:34:07 +01:00
mike-000
41cc956b52 Add condition option 2021-05-10 16:03:01 +01:00
dependabot[bot]
927c5a78cf Bump glob from 7.1.6 to 7.1.7
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.6 to 7.1.7.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.6...v7.1.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:10:00 +00:00
dependabot[bot]
8e402f32c1 Bump mocha from 8.3.2 to 8.4.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.2 to 8.4.0.
- [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.3.2...v8.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:09:32 +00:00
dependabot[bot]
9ecd71f32b Bump yargs from 17.0.0 to 17.0.1
Bumps [yargs](https://github.com/yargs/yargs) from 17.0.0 to 17.0.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.0.0...v17.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:09:04 +00:00
dependabot[bot]
ff9b2c0de4 Bump eslint from 7.25.0 to 7.26.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.0.
- [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.25.0...v7.26.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:08:38 +00:00
dependabot[bot]
5ab8919a8c Bump puppeteer from 9.0.0 to 9.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 9.0.0 to 9.1.1.
- [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/v9.0.0...v9.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:08:15 +00:00
dependabot[bot]
e98a5d9991 Bump rollup from 2.46.0 to 2.47.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.46.0 to 2.47.0.
- [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.46.0...v2.47.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:07:41 +00:00
dependabot[bot]
84edd35fd0 Bump @rollup/plugin-commonjs from 18.0.0 to 19.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 18.0.0 to 19.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.0/packages/commonjs)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:07:19 +00:00
dependabot[bot]
1a56db2b79 Bump webpack-cli from 4.6.0 to 4.7.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.6.0...webpack-cli@4.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:06:24 +00:00
dependabot[bot]
5a07677eb0 Bump fs-extra from 9.1.0 to 10.0.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.1.0...10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 05:05:55 +00:00
Tim Schaub
ea1e19bcd6 Merge pull request #12283 from tschaub/yey-maps
Add link to yey'maps as a sponsor
2021-05-09 08:32:08 -06:00
Maximilian Krög
d52497a722 Add function to dispose whole layer group 2021-05-09 00:45:56 +02:00
Maximilian Krög
6e64969664 Consistently name layer group 'group' 2021-05-09 00:43:58 +02:00
Tim Schaub
fd95643c48 Add link to yey'maps as a sponsor 2021-05-08 15:01:01 -06:00
Maximilian Krög
dabfe40700 Fix error in view-padding example
An error occured when the buttons are clicked before the source is loaded.
2021-05-08 05:15:12 +02:00
Maximilian Krög
c19ebc72cb Fix dragzoom with rotated view
When the view is rotated the extent of the drag box is not the same as the
drag box.
2021-05-08 05:15:11 +02:00
Maximilian Krög
b89809c1a1 Add new dragzoom test with view rotation
Also adds a new test for the duration and removes the duration from
the other tests to save on execution time.
2021-05-08 05:15:07 +02:00
Maximilian Krög
c19664b6f5 Fix dragzoom test case 2021-05-08 04:18:57 +02:00
Maximilian Krög
8129a39196 Fix DragZoom with View padding 2021-05-07 14:18:22 +02:00
Maximilian Krög
238cdc392e Add test for DragZoom with view padding 2021-05-07 14:18:21 +02:00
Tim Schaub
0f8c3ba6ce Merge pull request #12277 from tschaub/lint-index
Lint the index file after generating the legacy build
2021-05-05 11:09:30 -06:00
Tim Schaub
b69222ecae Lint the index file after generating the legacy build 2021-05-05 10:00:49 -06:00
MoonE
eea68e26ce Merge pull request #12266 from MoonE/fix-legacy-build
Fix legacy build
2021-05-04 20:38:51 +02:00
Maximilian Krög
a235ecba95 Only delete build/legacy before building legacy
`transpile` deletes build/ol and `build-index` should delete index.js
2021-05-03 23:32:10 +02:00
Tim Schaub
1ce7ef95fc Build legacy build in github workflows 2021-05-03 22:26:05 +02:00
Tim Schaub
f7b204a1cf Merge pull request #12273 from tschaub/naming-convention
Use lowercase module names for modules without a default export
2021-05-03 14:00:56 -06:00
Tim Schaub
6ab95a974e Merge pull request #12269 from openlayers/dependabot/npm_and_yarn/webpack-5.36.2
Bump webpack from 5.36.1 to 5.36.2
2021-05-03 07:34:43 -06:00
Tim Schaub
f08f31101c Lowercase module names for modules without a default export 2021-05-03 07:32:12 -06:00
dependabot[bot]
0d04e43b5d Bump webpack from 5.36.1 to 5.36.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.36.1 to 5.36.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.36.1...v5.36.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 10:57:46 +00:00
Tim Schaub
72ea4e7599 Merge pull request #12268 from openlayers/dependabot/npm_and_yarn/rollup-2.46.0
Bump rollup from 2.45.2 to 2.46.0
2021-05-03 03:58:28 -06:00
Tim Schaub
fc932acfce Merge pull request #12270 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.0
Bump @babel/preset-env from 7.13.15 to 7.14.0
2021-05-03 03:57:16 -06:00
Tim Schaub
7f655b1c80 Merge pull request #12271 from openlayers/dependabot/npm_and_yarn/yargs-17.0.0
Bump yargs from 16.2.0 to 17.0.0
2021-05-03 03:56:24 -06:00
Tim Schaub
9349dda177 Merge pull request #12272 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.0
Bump @babel/core from 7.13.16 to 7.14.0
2021-05-03 03:54:47 -06:00
dependabot[bot]
e66c920d45 Bump @babel/core from 7.13.16 to 7.14.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.16 to 7.14.0.
- [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.14.0/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 05:13:05 +00:00
dependabot[bot]
78140eb418 Bump yargs from 16.2.0 to 17.0.0
Bumps [yargs](https://github.com/yargs/yargs) from 16.2.0 to 17.0.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.2.0...v17.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 05:12:34 +00:00
dependabot[bot]
0d8762712d Bump @babel/preset-env from 7.13.15 to 7.14.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.15 to 7.14.0.
- [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.14.0/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 05:11:55 +00:00
dependabot[bot]
5cdefd0c16 Bump rollup from 2.45.2 to 2.46.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.45.2 to 2.46.0.
- [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.45.2...v2.46.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-03 05:10:54 +00:00
Maximilian Krög
40f8e69675 Fix legacy build
The build process failed because webpack does not allow failed imports
when it is run as a module.
This detects modules with default exports and only generates import
statements for default exports where they are available.
2021-05-02 23:49:50 +02:00
Tim Schaub
8939d744b5 Merge pull request #12264 from tschaub/test-node
Run selected format tests in Node
2021-05-02 14:32:20 -06:00
Tim Schaub
f2f004d4af Array test already run in node 2021-05-02 09:20:09 -06:00
Tim Schaub
d8142931e2 Run a portion of the format tests in node 2021-05-02 09:17:32 -06:00
Tim Schaub
8ff40c40e8 Merge pull request #12263 from tschaub/fix-publish
Fix the next-dev-version.js script
2021-05-01 10:37:04 -06:00
Tim Schaub
a67bd5a764 Fix the next-dev-version.js script 2021-05-01 10:32:07 -06:00
Tim Schaub
af68a7e0e7 Merge pull request #12241 from tschaub/module
Use modules everywhere
2021-05-01 10:24:08 -06:00
Tim Schaub
7b934a06be Add node tests 2021-05-01 10:18:23 -06:00
Tim Schaub
c301d2413b Modules all the way 2021-05-01 10:17:04 -06:00
Andreas Hocevar
ae70a1fb9d Merge pull request #12250 from mike-000/patch-1
Do not set projection extent in WMTS optionsFromCapabilities
2021-05-01 13:51:00 +02:00
Tim Schaub
42b8f74e83 Merge pull request #12259 from tschaub/clearer-failure
Make it clearer what fails in webgl point layer test
2021-04-28 21:07:06 -07:00
Tim Schaub
ca61dd2361 Merge pull request #12258 from tschaub/codeql-update
Following the recommendation to run on a merge commit
2021-04-28 19:56:01 -07:00
Tim Schaub
b376bc371a Make it clearer what fails 2021-04-28 19:53:02 -07:00
Tim Schaub
19d8100049 Following the recommendation to run on a merge commit 2021-04-28 19:49:29 -07:00
Tim Schaub
b7ccb68b02 Merge pull request #12256 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.3.0
Bump clean-css-cli from 5.2.2 to 5.3.0
2021-04-28 13:35:23 -07:00
Tim Schaub
3c9ba61a63 Merge pull request #12255 from openlayers/dependabot/npm_and_yarn/webpack-5.36.1
Bump webpack from 5.35.1 to 5.36.1
2021-04-28 13:34:46 -07:00
dependabot[bot]
06cbac7b4c Bump webpack from 5.35.1 to 5.36.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.35.1 to 5.36.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.35.1...v5.36.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 19:30:23 +00:00
Tim Schaub
15cc849feb Merge pull request #12251 from tschaub/test-shuffle
Test reorganization
2021-04-28 12:29:29 -07:00
dependabot[bot]
44b996e35e Bump clean-css-cli from 5.2.2 to 5.3.0
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.2.2 to 5.3.0.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.2...v5.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28 18:59:38 +00:00
Tim Schaub
070b8bde68 Merge pull request #12254 from openlayers/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-28 11:58:28 -07:00
Tim Schaub
3fad5a9f9f Start fresh with ignores 2021-04-28 11:49:57 -07:00
Tim Schaub
d72368667d Allow ol-mapbox-style to import from ol/style/Style etc. 2021-04-28 10:40:49 -07:00
dependabot-preview[bot]
30c51ec113 Upgrade to GitHub-native Dependabot 2021-04-28 16:46:12 +00:00
Tim Schaub
a0f16521eb Remove unused rendering assertion from browser tests 2021-04-28 09:23:37 -07:00
Tim Schaub
490cfabe91 Organize tests 2021-04-28 09:23:33 -07:00
mike-000
45f88eb107 Do not set projection extent 2021-04-27 14:49:27 +01:00
Tim Schaub
278e355795 Merge pull request #12249 from tschaub/build-job
Update the name of the build job
2021-04-26 20:15:40 -06:00
Tim Schaub
94017ff8ee Update the name of the build job 2021-04-26 20:07:41 -06:00
Tim Schaub
295d4b0400 Merge pull request #12248 from tschaub/unmatrixed
Avoid naming required checks with a changing version
2021-04-26 20:03:00 -06:00
Tim Schaub
6858529a50 Merge pull request #12238 from mike-000/patch-29
Use proxy url as interim fix for mixed content in the MapGuide example
2021-04-26 19:59:28 -06:00
Tim Schaub
3ebaeee087 Avoid naming required checks with a changing version 2021-04-26 19:51:03 -06:00
Tim Schaub
8de5794b59 Merge pull request #12239 from mike-000/patch-30
Add example showing how to Draw and Modify geodesic circles
2021-04-26 12:23:57 -06:00
Tim Schaub
023bcaaaa8 Merge pull request #12247 from tschaub/updates
Build on Node 16 and update dev dependencies
2021-04-26 10:57:51 -06:00
Tim Schaub
11707b9f83 Build on Node 16 2021-04-26 09:14:40 -06:00
Tim Schaub
c01db37ff4 Add job to run the build script in CI 2021-04-26 09:11:37 -06:00
Tim Schaub
70ac379dcc Update webpack-dev-server 2021-04-26 09:06:08 -06:00
Tim Schaub
df3adf1016 Merge pull request #12245 from openlayers/dependabot/npm_and_yarn/webpack-5.35.1
Bump webpack from 5.33.2 to 5.35.1
2021-04-26 06:42:52 -06:00
Tim Schaub
9a79719fca Merge pull request #12244 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.16
Bump @babel/core from 7.13.15 to 7.13.16
2021-04-26 06:41:33 -06:00
Tim Schaub
ad2e3b4083 Merge pull request #12243 from openlayers/dependabot/npm_and_yarn/puppeteer-9.0.0
Bump puppeteer from 8.0.0 to 9.0.0
2021-04-26 06:40:17 -06:00
Tim Schaub
f92e8e00ef Merge pull request #12242 from openlayers/dependabot/npm_and_yarn/eslint-7.25.0
Bump eslint from 7.24.0 to 7.25.0
2021-04-26 06:39:11 -06:00
dependabot-preview[bot]
95ce50fc29 Bump webpack from 5.33.2 to 5.35.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.33.2 to 5.35.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.33.2...v5.35.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 06:55:10 +00:00
dependabot-preview[bot]
f94fd6b6a2 Bump @babel/core from 7.13.15 to 7.13.16
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [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.13.16/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 06:54:20 +00:00
dependabot-preview[bot]
723b74d0a0 Bump puppeteer from 8.0.0 to 9.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 8.0.0 to 9.0.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/v8.0.0...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 06:53:29 +00:00
dependabot-preview[bot]
9d5df8729a Bump eslint from 7.24.0 to 7.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.24.0 to 7.25.0.
- [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.24.0...v7.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 06:52:50 +00:00
mike-000
f33b9587fb New example 2021-04-25 15:48:51 +01:00
mike-000
694d784486 Use proxy url as interim fix for mixed content 2021-04-23 11:32:09 +01:00
Andreas Hocevar
7a2f87caca Merge pull request #12230 from ahocevar/estree
Fix @types/estree version and remove skipLibCheck: false from tsconfig
2021-04-18 20:35:06 +02:00
MoonE
008ef24be9 Merge pull request #11952 from mike-000/patch-23
Draw 800km circles around both poles in Tissot example
2021-04-18 19:40:13 +02:00
Andreas Hocevar
024aef6b25 Fix @types/estree version and remove skipLibCheck: false from tsconfig 2021-04-18 19:28:12 +02:00
Andreas Hocevar
35088b87b0 Merge pull request #12229 from ahocevar/skip-lib-check
Prevent TypeScript Compiler from erroring out due to lib checks
2021-04-18 15:20:10 +02:00
Andreas Hocevar
8119c85109 Prevent TypeScript Compiler from erroring out due to lib checks 2021-04-18 15:09:29 +02:00
Andreas Hocevar
977db3735d Merge pull request #12224 from ahocevar/istanbul
Use a better maintained loader for test coverage
2021-04-18 14:48:08 +02:00
MoonE
c5d6ea3f6a Merge pull request #12227 from MoonE/fix-ie11-event-handling
Fix event handling for map in shadow root
2021-04-17 20:38:15 +02:00
Maximilian Krög
57e4e98757 Fix event handling with shadow-dom and ie11 event handling 2021-04-17 00:43:42 +02:00
Andreas Hocevar
72f5b34189 Merge pull request #12214 from ahocevar/avoid-flex-layout
Do not set invalid style
2021-04-17 00:08:31 +02:00
Andreas Hocevar
7ec5cbffe9 Set block layout for text measurement 2021-04-16 22:46:14 +02:00
Andreas Hocevar
c098507813 Use a better maintained loader for test coverage 2021-04-16 17:51:02 +02:00
MoonE
1554bc4cc2 Merge pull request #12216 from MoonE/zoomslider-layout
Fix ZoomSlider layout
2021-04-16 00:34:58 +02:00
Maximilian Krög
fdbfb4015f Adjust zoomslider example layout 2021-04-16 00:29:09 +02:00
Maximilian Krög
f999f1a675 Fix zoomslider layout with padding 2021-04-16 00:29:06 +02:00
MoonE
ed5329e0cb Merge pull request #12217 from MoonE/example-fix-build
Fix building of examples with latest copy-webpack-plugin
2021-04-16 00:28:16 +02:00
Maximilian Krög
85ea74a383 Fix building of examples with latest copy-webpack-plugin 2021-04-15 00:20:59 +02:00
Tim Schaub
e9efe2ec3f Merge pull request #12206 from openlayers/dependabot/npm_and_yarn/rollup-2.45.1
Bump rollup from 2.44.0 to 2.45.1
2021-04-12 15:35:50 -06:00
Tim Schaub
74990865fa Merge pull request #12205 from openlayers/dependabot/npm_and_yarn/typescript-4.2.4
Bump typescript from 4.2.3 to 4.2.4
2021-04-12 15:34:41 -06:00
Tim Schaub
714544161f Merge pull request #12204 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.13.15
Bump @babel/preset-env from 7.13.12 to 7.13.15
2021-04-12 15:33:38 -06:00
Tim Schaub
e0dfc77793 Merge pull request #12203 from openlayers/dependabot/npm_and_yarn/marked-2.0.3
Bump marked from 2.0.1 to 2.0.3
2021-04-12 15:32:47 -06:00
Tim Schaub
2796d9cf08 Merge pull request #12202 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-8.1.1
Bump copy-webpack-plugin from 8.1.0 to 8.1.1
2021-04-12 15:31:52 -06:00
Tim Schaub
11a87c314e Merge pull request #12201 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.15
Bump @babel/core from 7.13.14 to 7.13.15
2021-04-12 15:31:12 -06:00
Tim Schaub
09c54f44c1 Merge pull request #12200 from openlayers/dependabot/npm_and_yarn/webpack-5.31.2
Bump webpack from 5.30.0 to 5.31.2
2021-04-12 15:27:37 -06:00
Tim Schaub
ab397b750c Merge pull request #12199 from openlayers/dependabot/npm_and_yarn/eslint-7.24.0
Bump eslint from 7.23.0 to 7.24.0
2021-04-12 15:25:40 -06:00
dependabot-preview[bot]
c8fb0779d6 Bump rollup from 2.44.0 to 2.45.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.44.0 to 2.45.1.
- [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.44.0...v2.45.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:25:22 +00:00
dependabot-preview[bot]
9dd1a3e44c Bump typescript from 4.2.3 to 4.2.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.2.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.3...v4.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:24:06 +00:00
dependabot-preview[bot]
955b44596a Bump @babel/preset-env from 7.13.12 to 7.13.15
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.12 to 7.13.15.
- [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.13.15/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:22:51 +00:00
dependabot-preview[bot]
0c9ba5699c Bump marked from 2.0.1 to 2.0.3
Bumps [marked](https://github.com/markedjs/marked) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.1...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:21:54 +00:00
dependabot-preview[bot]
20556dc8cd Bump copy-webpack-plugin from 8.1.0 to 8.1.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 8.1.0 to 8.1.1.
- [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/v8.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:20:24 +00:00
dependabot-preview[bot]
8cb65010fb Bump @babel/core from 7.13.14 to 7.13.15
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.14 to 7.13.15.
- [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.13.15/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:19:47 +00:00
dependabot-preview[bot]
732ec5625f Bump webpack from 5.30.0 to 5.31.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.30.0 to 5.31.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.30.0...v5.31.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:18:51 +00:00
dependabot-preview[bot]
923e3d78d2 Bump eslint from 7.23.0 to 7.24.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.23.0 to 7.24.0.
- [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.23.0...v7.24.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 08:17:38 +00:00
Andreas Hocevar
ed427bb6a3 Merge pull request #12198 from sbx320/feature/attributionsCollapsible-wmts-tilewms
Add attributionsCollapsible option to source/TileWMS and source/WMTS
2021-04-12 08:52:05 +02:00
sbx320
6f433d8c46 Add attributionsCollapsible option to source/TileWMS and source/WMTS 2021-04-12 07:11:14 +02:00
Tim Schaub
71c18d4444 Merge pull request #12176 from bz2/mangle_private_members
Allow private class members to be mangled
2021-04-07 18:08:53 -06:00
Tim Schaub
5cccdc7c3b Merge pull request #12178 from kikuchan/ol-format-wkb
Add WKB (Well-Known Binary) format
2021-04-07 18:02:38 -06:00
kikuchan
9dfbfc8011 Clarify how hex option is used 2021-04-08 00:20:11 +09:00
kikuchan
cff2bcfb1e Designates all property private by appending _ 2021-04-07 23:43:58 +09:00
kikuchan
3c830d5b59 Change SRID to srid for option naming consistency 2021-04-07 23:43:20 +09:00
kikuchan
03485a1c98 Add missing @api 2021-04-07 23:43:20 +09:00
kikuchan
0269c920fc Remove unnecessary check
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-04-07 23:42:03 +09:00
Tim Schaub
8f3699ad0f Merge pull request #12184 from openlayers/dependabot/npm_and_yarn/karma-6.3.2
Bump karma from 6.3.1 to 6.3.2
2021-04-07 06:19:56 -06:00
Tim Schaub
6a8849955d Merge pull request #12183 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.14
Bump @babel/core from 7.13.13 to 7.13.14
2021-04-07 06:19:09 -06:00
Tim Schaub
b6819b4adf Merge pull request #12182 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-8.1.0
Bump copy-webpack-plugin from 8.0.0 to 8.1.0
2021-04-07 06:18:11 -06:00
MoonE
26c1377768 Merge pull request #12180 from MoonE/text-builder-geometry-widths
Fix rendering of MultiPolygon text styles
2021-04-06 21:40:56 +02:00
Andreas Hocevar
d419c5953f Merge pull request #12185 from ahocevar/prevent-default
MapBrowserEvent#preventDefault() behaves the same as with native events
2021-04-06 14:36:16 +02:00
Andreas Hocevar
6e7448cc2a Update comment 2021-04-06 12:16:44 +02:00
Maximilian Krög
4f962a651a Fix rendering of MultiPolygon text styles
When overflow is false and some of a MultiPolygon's polygons are
outside the rendered extent the coordinates and geometryWidths arrays are
not kept in sync. Therefore the width check will filter on wrong data and
some texts may not be rendered.
2021-04-05 22:33:15 +02:00
Maximilian Krög
2b851724a6 Add regression test for multipolygon text rendering 2021-04-05 22:33:12 +02:00
MoonE
73392cc28e Merge pull request #12181 from MoonE/webpack-fix-ie11
Build for ie11 again
2021-04-05 10:55:14 +02:00
Andreas Hocevar
0da0c903a0 MapBrowserEvent#preventDefault() behaves the same as with native events 2021-04-05 10:05:32 +02:00
dependabot-preview[bot]
e9633bf4d6 Bump karma from 6.3.1 to 6.3.2
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.1 to 6.3.2.
- [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/v6.3.1...v6.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 07:46:52 +00:00
dependabot-preview[bot]
de39d42a8f Bump @babel/core from 7.13.13 to 7.13.14
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.13 to 7.13.14.
- [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.13.14/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 07:45:11 +00:00
dependabot-preview[bot]
6246427cc8 Bump copy-webpack-plugin from 8.0.0 to 8.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 8.0.0 to 8.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/v8.0.0...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 07:44:11 +00:00
Maximilian Krög
9d773c8f19 Build for ie11 again 2021-04-05 02:55:17 +02:00
kikuchan
15a8eb864a Add test for ol/format/WKB 2021-04-05 02:12:26 +09:00
kikuchan
44ad13f8ea Make writeFeature(s)/writeGeometry able to return ArrayBuffer 2021-04-05 02:12:26 +09:00
kikuchan
15e131a392 Add ol/format/WKB and its example 2021-04-05 02:12:23 +09:00
MoonE
6f7b6c8141 Merge pull request #12028 from MoonE/overview-map-no-initial-target
Overview map no initial target
2021-04-03 23:15:30 +02:00
MoonE
85c5530fe1 Merge pull request #12175 from MoonE/examples-webpack-refresh-entries-before-compile
Refresh available examples before each compilation
2021-04-03 20:21:32 +02:00
Martin Packman
6ab44e9aea Allow private class members to be mangled
Openlayers classes use an underscore suffix convention to mark class
members as private. These are undocumented implementation details and
presumably unsafe for code outside the class to rely on.

Allowing javascript minimisation to change these names gives 5% bundle
size reduction to the library.
2021-04-03 17:57:11 +01:00
Maximilian Krög
e6dacd07cd Refresh available examples before each compilation
This makes it possible to pickup new examples and prevents compilation
errors when an example is removed. This is especially handy when switching
branches. Otherwise the dev server has to be restarted each time.
2021-04-03 18:18:28 +02:00
Tim Schaub
843c3e8853 Merge pull request #12155 from openlayers/dependabot/npm_and_yarn/eslint-7.23.0
Bump eslint from 7.22.0 to 7.23.0
2021-04-02 18:57:12 -06:00
Tim Schaub
3442caa779 Merge pull request #12158 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.13.12
Bump @babel/preset-env from 7.13.10 to 7.13.12
2021-04-02 18:55:02 -06:00
dependabot-preview[bot]
365b9a2cf8 Bump @babel/preset-env from 7.13.10 to 7.13.12
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.10 to 7.13.12.
- [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.13.12/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 12:43:29 +00:00
Tim Schaub
6bb6eebcb6 Merge pull request #12156 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-11.2.1
Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1
2021-04-02 06:43:18 -06:00
Tim Schaub
527e2a5e21 Merge pull request #12159 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.13
Bump @babel/core from 7.13.10 to 7.13.13
2021-04-02 06:42:04 -06:00
Andreas Hocevar
5b7bc95120 Merge pull request #12174 from openlayers/dependabot/npm_and_yarn/rollup-2.44.0
Bump rollup from 2.42.3 to 2.44.0
2021-04-02 11:36:39 +02:00
dependabot-preview[bot]
77f1ac8b85 Bump eslint from 7.22.0 to 7.23.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [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.22.0...v7.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 08:01:37 +00:00
Andreas Hocevar
972b553b86 Merge pull request #12157 from openlayers/dependabot/npm_and_yarn/karma-6.3.1
Bump karma from 6.2.0 to 6.3.1
2021-04-02 10:00:44 +02:00
Andreas Hocevar
230a464517 Merge pull request #12173 from openlayers/dependabot/npm_and_yarn/webpack-5.30.0
Bump webpack from 5.27.2 to 5.30.0
2021-04-02 10:00:12 +02:00
Andreas Hocevar
b5c9de35f9 Merge pull request #12153 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.6.0
Bump webpack-cli from 4.5.0 to 4.6.0
2021-04-02 09:59:49 +02:00
dependabot-preview[bot]
171727ff14 Bump rollup from 2.42.3 to 2.44.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.3 to 2.44.0.
- [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.42.3...v2.44.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 05:44:42 +00:00
dependabot-preview[bot]
edb6231111 Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.2.0...node-resolve-v11.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 05:44:23 +00:00
dependabot-preview[bot]
62a12b26cf Bump webpack from 5.27.2 to 5.30.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.27.2 to 5.30.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.27.2...v5.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 05:43:37 +00:00
Andreas Hocevar
3b69cb4d4f Merge pull request #12151 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-18.0.0
Bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0
2021-04-02 07:42:58 +02:00
Andreas Hocevar
fd744d7f45 Merge pull request #12150 from openlayers/dependabot/npm_and_yarn/sinon-10.0.0
Bump sinon from 9.2.4 to 10.0.0
2021-04-02 07:41:10 +02:00
Andreas Hocevar
5049e097d5 Merge pull request #12172 from ahocevar/icon-displacement
Fix icon displacement
2021-04-01 14:59:40 +02:00
Tim Schaub
45f21440e1 Merge pull request #12170 from tschaub/sponsor
Link to GitHub sponsors page
2021-04-01 06:39:00 -06:00
Andreas Hocevar
4a6db3d2f8 Fix icon displacement 2021-04-01 12:08:32 +02:00
Andreas Hocevar
96759f639a Merge pull request #12168 from ahocevar/getfeatures-reference
VectorSource#getFeatures() consistently returns a new array
2021-04-01 09:00:53 +02:00
Andreas Hocevar
59d686d104 Fix typo, add test 2021-04-01 08:38:29 +02:00
Tim Schaub
c2e660aced Link to sponsors page from readme 2021-03-31 16:02:53 -06:00
Tim Schaub
7622c4a029 Link to https://github.com/sponsors/openlayers page 2021-03-31 15:56:24 -06:00
Andreas Hocevar
a01893b275 VectorSource#getFeatures() consistently returns a new array 2021-03-31 18:18:50 +02:00
Andreas Hocevar
58c9736534 Merge pull request #12164 from ahocevar/fix-offscreen
Fix offscreen-canvas example
2021-03-30 10:57:23 +02:00
Andreas Hocevar
a16406c6c6 Merge pull request #12163 from ahocevar/rendermode
Fix how renderMode is derived from options
2021-03-30 10:56:49 +02:00
Andreas Hocevar
abe29f2bc6 Fix offscreen-canvas example 2021-03-29 23:42:59 +02:00
Andreas Hocevar
1530037765 Fix how renderMode is derived from options 2021-03-29 23:12:21 +02:00
dependabot-preview[bot]
eba06dbde8 Bump @babel/core from 7.13.10 to 7.13.13
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.10 to 7.13.13.
- [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.13.13/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 08:11:15 +00:00
dependabot-preview[bot]
a32cf7720f Bump karma from 6.2.0 to 6.3.1
Bumps [karma](https://github.com/karma-runner/karma) from 6.2.0 to 6.3.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/v6.2.0...v6.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 08:08:30 +00:00
dependabot-preview[bot]
753b7a6330 Bump webpack-cli from 4.5.0 to 4.6.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.5.0...webpack-cli@4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 08:04:55 +00:00
dependabot-preview[bot]
6320c7fe99 Bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins) from 17.1.0 to 18.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v17.1.0...commonjs-v18.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 08:03:08 +00:00
dependabot-preview[bot]
d7f2535a7e Bump sinon from 9.2.4 to 10.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.4 to 10.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.2.4...v10.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 08:02:31 +00:00
Andreas Hocevar
1cb89ab991 Merge pull request #12137 from ahocevar/low-frame-budget
Load less tiles when low on frame budget
2021-03-26 22:04:54 +01:00
Andreas Hocevar
8144070fb5 Merge pull request #12143 from ahocevar/fix-singleclick-doubleclick
Fix singleclick and doubleclick events
2021-03-26 22:03:22 +01:00
Andreas Hocevar
158f6c7bcd Fix singleclick and doubleclick events 2021-03-25 21:20:16 +01:00
Andreas Hocevar
ccde59cff9 Merge pull request #12141 from kikitte/main
call the success callback after the features are added
2021-03-25 08:19:53 +01:00
kikitte.lee
635191f31d call the success callback after the features are added 2021-03-25 14:26:12 +08:00
Andreas Hocevar
54763d2fb0 Load less tiles when low on frame budget 2021-03-23 22:39:08 +01:00
Tim Schaub
22ff477ee6 Merge pull request #12135 from tschaub/update-webpack
Update webpack
2021-03-22 18:03:37 -06:00
Tim Schaub
54e981f59a Update webpack 2021-03-22 13:42:05 -06:00
Andreas Hocevar
5425401b1b Merge pull request #11405 from amir-ba/main
Fixes extent calculation in WMTS optionsFromCapabilities when BoundingBox exists
2021-03-22 18:42:58 +01:00
Tim Schaub
f3cee57b0f Merge pull request #12130 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.2.2
Bump clean-css-cli from 5.2.1 to 5.2.2
2021-03-22 08:46:03 -06:00
Tim Schaub
94e0393828 Merge pull request #12131 from openlayers/dependabot/npm_and_yarn/rollup-2.42.2
Bump rollup from 2.41.2 to 2.42.2
2021-03-22 08:45:31 -06:00
dependabot-preview[bot]
25370eced7 Bump rollup from 2.41.2 to 2.42.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.41.2 to 2.42.2.
- [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.41.2...v2.42.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 07:24:50 +00:00
dependabot-preview[bot]
2a7b9762ec Bump clean-css-cli from 5.2.1 to 5.2.2
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.2.1...v5.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-22 07:24:06 +00:00
Tim Schaub
9bf9041de7 Merge pull request #12128 from tschaub/prettier-fix
Package lockfile version update
2021-03-21 10:18:53 -06:00
Tim Schaub
5e515cadbc Lockfile version update 2021-03-21 10:12:14 -06:00
Tim Schaub
178221e691 Merge pull request #12108 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.13.10
Bump @babel/preset-env from 7.13.9 to 7.13.10
2021-03-17 22:06:18 -06:00
Tim Schaub
9aa633f04d Merge pull request #12109 from openlayers/dependabot/npm_and_yarn/mocha-8.3.2
Bump mocha from 8.3.1 to 8.3.2
2021-03-17 22:05:48 -06:00
Tim Schaub
13faad8410 Merge pull request #12110 from openlayers/dependabot/npm_and_yarn/rollup-2.41.2
Bump rollup from 2.40.0 to 2.41.2
2021-03-17 22:05:17 -06:00
Tim Schaub
3c49abd949 Merge pull request #12111 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.10
Bump @babel/core from 7.13.8 to 7.13.10
2021-03-17 22:04:46 -06:00
Tim Schaub
fb8bc6ac5d Merge pull request #12107 from openlayers/dependabot/npm_and_yarn/eslint-7.22.0
Bump eslint from 7.21.0 to 7.22.0
2021-03-17 22:04:03 -06:00
Tim Schaub
6f2d2c3f12 Merge pull request #12112 from openlayers/dependabot/npm_and_yarn/karma-6.2.0
Bump karma from 6.1.1 to 6.2.0
2021-03-17 22:03:27 -06:00
dependabot-preview[bot]
81f78be3e4 Bump karma from 6.1.1 to 6.2.0
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.1 to 6.2.0.
- [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/v6.1.1...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 08:00:14 +00:00
dependabot-preview[bot]
4ac978b657 Bump @babel/core from 7.13.8 to 7.13.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.8 to 7.13.10.
- [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.13.10/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 07:57:48 +00:00
dependabot-preview[bot]
0ff220ee1f Bump rollup from 2.40.0 to 2.41.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.40.0 to 2.41.2.
- [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.40.0...v2.41.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 07:55:24 +00:00
dependabot-preview[bot]
43889b3c9a Bump mocha from 8.3.1 to 8.3.2
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.1 to 8.3.2.
- [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.3.1...v8.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 07:53:40 +00:00
dependabot-preview[bot]
f4c0482879 Bump @babel/preset-env from 7.13.9 to 7.13.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [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.13.10/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 07:51:21 +00:00
dependabot-preview[bot]
90249ecfc3 Bump eslint from 7.21.0 to 7.22.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [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.21.0...v7.22.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-15 07:48:48 +00:00
Amir Ashkan Baghdoust
569857a8eb Reverts lint changes to existing code 2021-03-15 02:11:22 +01:00
Amir Ashkan Baghdoust
20eb76594a Lint fix for imports 2021-03-15 02:00:34 +01:00
Amir Ashkan Baghdoust
f995de37d4 Adds test for the WMTS capabilities with Boundingbox 2021-03-15 01:53:39 +01:00
Amir Ashkan Baghdoust
3684749198 Merge branch 'main' of https://github.com/openlayers/openlayers into main 2021-03-14 22:24:54 +01:00
Tim Schaub
fcdda0dc0f Merge pull request #12102 from simonseyock/update-ol-eslint
Update eslint-config-openlayers
2021-03-09 04:14:47 -07:00
Simon Seyock
2b57584180 fix prettier linting problems 2021-03-09 09:08:27 +01:00
Simon Seyock
610896ef95 fix jsdoc lint problems 2021-03-09 09:00:50 +01:00
Simon Seyock
eb8c1f47b5 use eslint-config-openlayers v15.0.0 2021-03-09 09:00:25 +01:00
Andreas Hocevar
5d00c1d9fe Merge pull request #12099 from openlayers/dependabot/npm_and_yarn/elliptic-6.5.4
[Security] Bump elliptic from 6.5.3 to 6.5.4
2021-03-09 08:57:54 +01:00
Andreas Hocevar
955a9c75de Merge pull request #12097 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.3.2
Bump ol-mapbox-style from 6.3.1 to 6.3.2
2021-03-09 08:57:16 +01:00
Andreas Hocevar
1f663a14d5 Merge pull request #12096 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.13.9
Bump @babel/preset-env from 7.13.8 to 7.13.9
2021-03-09 08:56:50 +01:00
Andreas Hocevar
e3f4fa05c3 Merge pull request #12095 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.2.1
Bump clean-css-cli from 5.2.0 to 5.2.1
2021-03-09 08:51:47 +01:00
Andreas Hocevar
1f8066b613 Merge pull request #12094 from openlayers/dependabot/npm_and_yarn/jquery-3.6.0
Bump jquery from 3.5.1 to 3.6.0
2021-03-09 08:51:17 +01:00
Andreas Hocevar
9fac7130b9 Merge pull request #12093 from openlayers/dependabot/npm_and_yarn/typescript-4.2.3
Bump typescript from 4.2.2 to 4.2.3
2021-03-09 08:50:52 +01:00
Andreas Hocevar
9e44551de9 Merge pull request #12092 from openlayers/dependabot/npm_and_yarn/proj4-2.7.2
Bump proj4 from 2.7.0 to 2.7.2
2021-03-09 08:50:26 +01:00
Andreas Hocevar
3bcef6569c Merge pull request #12091 from openlayers/dependabot/npm_and_yarn/mocha-8.3.1
Bump mocha from 8.3.0 to 8.3.1
2021-03-09 08:49:57 +01:00
dependabot-preview[bot]
07f5ca057b [Security] Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 16:35:25 +00:00
dependabot-preview[bot]
abbb963004 Bump ol-mapbox-style from 6.3.1 to 6.3.2
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.3.1...v6.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:44:08 +00:00
dependabot-preview[bot]
c97a9970f2 Bump @babel/preset-env from 7.13.8 to 7.13.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.8 to 7.13.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.13.9/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:42:43 +00:00
dependabot-preview[bot]
e1f07a18a6 Bump clean-css-cli from 5.2.0 to 5.2.1
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:41:13 +00:00
dependabot-preview[bot]
773b8a1fb2 Bump jquery from 3.5.1 to 3.6.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:40:12 +00:00
dependabot-preview[bot]
a96fa266e2 Bump typescript from 4.2.2 to 4.2.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:38:52 +00:00
dependabot-preview[bot]
9704c13705 Bump proj4 from 2.7.0 to 2.7.2
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.7.0 to 2.7.2.
- [Release notes](https://github.com/proj4js/proj4js/releases)
- [Changelog](https://github.com/proj4js/proj4js/blob/master/changelog.md)
- [Commits](https://github.com/proj4js/proj4js/compare/2.7.0...2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:36:22 +00:00
dependabot-preview[bot]
44e7f9655b Bump mocha from 8.3.0 to 8.3.1
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.0 to 8.3.1.
- [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.3.0...v8.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 07:34:35 +00:00
Amir Ashkan Baghdoust
d822e4085c Merge branch 'main' of https://github.com/openlayers/openlayers into main 2021-03-07 18:31:04 +01:00
Marc Jansen
ab17ee2b60 Merge pull request #12089 from marcjansen/spellcheck
Fix common misspellings
2021-03-06 08:41:28 +01:00
Marc Jansen
602121b26b Merge pull request #12062 from M393/kml-timezone-tooltip
Fix kml-timezone example tooltip
2021-03-05 23:02:16 +01:00
Marc Jansen
df23c234dc Fix common misspellings
These were found with codespell.
2021-03-05 22:53:35 +01:00
Marc Jansen
890148c3b1 Merge pull request #12088 from dbretschneider/fix-broken-url-image-arcgis-rest
Fix broken url/description of ImageArcGISRest documentation
2021-03-05 20:32:45 +01:00
Danilo Bretschneider
18cd87617a Fix broken link (to ArcGIS developers docs) of ImageArcGISRest documentation 2021-03-05 18:43:58 +01:00
Andreas Hocevar
96b6809209 Merge pull request #12083 from ahocevar/simplify-events
Simplify event handling for custom elements
2021-03-05 08:20:37 +01:00
MoonE
ef86965456 Merge pull request #12080 from MoonE/cluster-source-min-distance
Add a minimum distance config to the cluster source
2021-03-04 22:28:30 +01:00
Andreas Hocevar
83ee87581f Simplify event handling for custom elements 2021-03-04 22:16:28 +01:00
Maximilian Krög
e6b1d38cc3 Add units for, remove unnecessary html 2021-03-04 21:05:01 +01:00
Andreas Hocevar
6acd76a725 Merge pull request #12084 from ahocevar/prevent-only-when-cancelable
Only preventDefault when event is cancelable
2021-03-04 11:19:53 +01:00
Andreas Hocevar
4ce05ed980 Only preventDefault when event is cancelable 2021-03-03 23:51:48 +01:00
Maximilian Krög
1c4f525ca9 Add a minimum distance config to the cluster source 2021-03-02 23:07:52 +01:00
Tim Schaub
c9ec2083d3 Merge pull request #12079 from mike-000/patch-28
Change IGN WMTS example to use PLANIGNV2 layer
2021-03-02 07:10:36 -07:00
Andreas Hocevar
6eebfd3227 Merge pull request #12077 from openlayers/dependabot/npm_and_yarn/rollup-2.40.0
Bump rollup from 2.39.0 to 2.40.0
2021-03-02 08:30:32 +01:00
Andreas Hocevar
f8a5616046 Merge pull request #12076 from openlayers/dependabot/npm_and_yarn/typescript-4.2.2
Bump typescript from 4.1.5 to 4.2.2
2021-03-02 08:29:52 +01:00
dependabot-preview[bot]
9ea3a2f1f5 Bump typescript from 4.1.5 to 4.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.5...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 07:26:09 +00:00
dependabot-preview[bot]
eb628e4cc9 Bump rollup from 2.39.0 to 2.40.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.39.0 to 2.40.0.
- [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.39.0...v2.40.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 07:23:43 +00:00
Andreas Hocevar
1c41e99094 Merge pull request #12075 from openlayers/dependabot/npm_and_yarn/eslint-7.21.0
Bump eslint from 7.20.0 to 7.21.0
2021-03-02 08:23:33 +01:00
Andreas Hocevar
f5fc1f4f53 Merge pull request #12074 from openlayers/dependabot/npm_and_yarn/marked-2.0.1
Bump marked from 2.0.0 to 2.0.1
2021-03-02 08:23:01 +01:00
Andreas Hocevar
4fe140ab7b Merge pull request #12073 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.13.8
Bump @babel/preset-env from 7.12.17 to 7.13.8
2021-03-02 08:22:28 +01:00
Andreas Hocevar
cceb5bed32 Merge pull request #12072 from openlayers/dependabot/npm_and_yarn/puppeteer-8.0.0
Bump puppeteer from 7.1.0 to 8.0.0
2021-03-02 08:21:19 +01:00
Andreas Hocevar
7c4098896e Merge pull request #12071 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.8
Bump @babel/core from 7.12.17 to 7.13.8
2021-03-02 08:11:25 +01:00
mike-000
5562654c69 Change layer to PLANIGNV2 2021-03-02 00:28:19 +00:00
dependabot-preview[bot]
729b862c55 Bump eslint from 7.20.0 to 7.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.20.0 to 7.21.0.
- [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.20.0...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 09:40:23 +00:00
dependabot-preview[bot]
76c26d0d3f Bump marked from 2.0.0 to 2.0.1
Bumps [marked](https://github.com/markedjs/marked) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 09:39:10 +00:00
dependabot-preview[bot]
7507af04cc Bump @babel/preset-env from 7.12.17 to 7.13.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.17 to 7.13.8.
- [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.13.8/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 09:38:00 +00:00
dependabot-preview[bot]
1e79e5764c Bump puppeteer from 7.1.0 to 8.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 7.1.0 to 8.0.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/v7.1.0...v8.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 09:34:45 +00:00
dependabot-preview[bot]
83f478f2a3 Bump @babel/core from 7.12.17 to 7.13.8
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.17 to 7.13.8.
- [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.13.8/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 09:33:31 +00:00
MoonE
d09e303672 Merge pull request #12016 from MoonE/hitdetect-resolution-constant
Fix VectorLayer hitdetect problems
2021-02-27 20:50:31 +01:00
MoonE
085b6c99f4 Merge pull request #11845 from MoonE/draw-finish-condition-fix
Call finishCondition for all types for Draw interaction
2021-02-27 19:50:27 +01:00
Maximilian Krög
801dba4a38 Call Draw finishCondition for every type 2021-02-27 12:04:17 +01:00
Maximilian Krög
873020e1f8 Test Draw finishCondition for each type 2021-02-27 12:03:30 +01:00
Maximilian Krög
288fd0b74c Improve Draw type to mode conversion
Throw error if Draw is configured with an invalid type.
2021-02-27 11:12:24 +01:00
Andreas Hocevar
3cab5f3099 Merge pull request #12066 from M393/vector-layer-get-feature-promise
Always return Promise from getFeatures
2021-02-24 19:25:50 +01:00
Maximilian Krög
29349d275e Always return Promise from getFeatures 2021-02-24 18:37:30 +01:00
Maximilian Krög
6e1cc766e1 Fix kml-timezone example tooltip 2021-02-23 17:52:39 +01:00
Andreas Hocevar
b6e7d617b5 Merge pull request #12057 from ahocevar/tilequeue-tests
TileQueue tests with events instead of setTimeout
2021-02-22 15:55:27 +01:00
Andreas Hocevar
f191b6f065 Merge pull request #12058 from M393/basemap-at
Fix map loading for basemap.at and add attributions
2021-02-22 11:29:45 +01:00
Maximilian Krög
fae6c6fe7b Fix map loading for basemap.at and add attributions 2021-02-22 10:44:57 +01:00
Andreas Hocevar
59b4ae8d09 TileQueue tests with events instead of setTimeout 2021-02-22 10:01:43 +01:00
Andreas Hocevar
bdaf28c234 Merge pull request #12056 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.17
Bump @babel/preset-env from 7.12.16 to 7.12.17
2021-02-22 09:01:51 +01:00
Andreas Hocevar
078645bc20 Merge pull request #12055 from openlayers/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-02-22 09:01:19 +01:00
Andreas Hocevar
4f36291614 Merge pull request #12054 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.17
Bump @babel/core from 7.12.16 to 7.12.17
2021-02-22 08:55:48 +01:00
Andreas Hocevar
8073277052 Merge pull request #12053 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.2.0
Bump clean-css-cli from 5.1.0 to 5.2.0
2021-02-22 08:54:42 +01:00
dependabot-preview[bot]
b96478ede8 Bump @babel/preset-env from 7.12.16 to 7.12.17
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.16 to 7.12.17.
- [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.12.17/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 07:29:52 +00:00
dependabot-preview[bot]
e6fa04d356 Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 07:27:38 +00:00
dependabot-preview[bot]
0077a279e2 Bump @babel/core from 7.12.16 to 7.12.17
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.16 to 7.12.17.
- [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.12.17/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 07:26:29 +00:00
dependabot-preview[bot]
057dd3c0a2 Bump clean-css-cli from 5.1.0 to 5.2.0
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 07:25:17 +00:00
Tim Schaub
cdd28b8064 Merge pull request #12024 from tschaub/tile-grid-util
Add a tile grid method for getting a tile range given a tile coord and zoom level
2021-02-21 18:25:14 -07:00
Tim Schaub
65df12068b Merge pull request #12036 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.1.0
Bump clean-css-cli from 4.3.0 to 5.1.0
2021-02-15 09:58:24 -07:00
Tim Schaub
210498e3be Merge pull request #12035 from openlayers/dependabot/npm_and_yarn/karma-6.1.1
Bump karma from 6.1.0 to 6.1.1
2021-02-15 09:50:20 -07:00
Tim Schaub
c038ed8634 Merge pull request #12031 from openlayers/dependabot/npm_and_yarn/puppeteer-7.1.0
Bump puppeteer from 7.0.1 to 7.1.0
2021-02-15 09:44:15 -07:00
Tim Schaub
eb499e95a2 Merge pull request #12033 from openlayers/dependabot/npm_and_yarn/typescript-4.1.5
Bump typescript from 4.1.3 to 4.1.5
2021-02-15 09:42:57 -07:00
Tim Schaub
3a192e2c76 Merge pull request #12030 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.8
Bump worker-loader from 3.0.7 to 3.0.8
2021-02-15 09:42:12 -07:00
dependabot-preview[bot]
15b1c157f8 Bump karma from 6.1.0 to 6.1.1
Bumps [karma](https://github.com/karma-runner/karma) from 6.1.0 to 6.1.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/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 16:41:54 +00:00
Tim Schaub
519eef8244 Merge pull request #12032 from openlayers/dependabot/npm_and_yarn/rollup-2.39.0
Bump rollup from 2.38.5 to 2.39.0
2021-02-15 09:41:16 -07:00
Tim Schaub
04e242dc45 Merge pull request #12034 from openlayers/dependabot/npm_and_yarn/eslint-7.20.0
Bump eslint from 7.19.0 to 7.20.0
2021-02-15 09:40:19 -07:00
Tim Schaub
916b5d4c4b Merge pull request #12037 from openlayers/dependabot/npm_and_yarn/mocha-8.3.0
Bump mocha from 8.2.1 to 8.3.0
2021-02-15 09:38:42 -07:00
Tim Schaub
21f4a6964b Merge pull request #12038 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.16
Bump @babel/core from 7.12.13 to 7.12.16
2021-02-15 09:37:20 -07:00
Tim Schaub
779d514b5c Merge pull request #12039 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.16
Bump @babel/preset-env from 7.12.13 to 7.12.16
2021-02-15 09:36:31 -07:00
Tim Schaub
d4d38ced5a Merge pull request #12023 from tschaub/uniform-names
Avoid collisions between user variables and internal names in WebGL shaders
2021-02-15 09:24:09 -07:00
dependabot-preview[bot]
f01e1e1ffd Bump @babel/preset-env from 7.12.13 to 7.12.16
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.13 to 7.12.16.
- [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.12.16/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:36:36 +00:00
dependabot-preview[bot]
be36d92085 Bump @babel/core from 7.12.13 to 7.12.16
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.13 to 7.12.16.
- [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.12.16/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:35:16 +00:00
dependabot-preview[bot]
b299751fa4 Bump mocha from 8.2.1 to 8.3.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.1 to 8.3.0.
- [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.2.1...v8.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:34:12 +00:00
dependabot-preview[bot]
82e880e696 Bump clean-css-cli from 4.3.0 to 5.1.0
Bumps [clean-css-cli](https://github.com/jakubpawlowicz/clean-css-cli) from 4.3.0 to 5.1.0.
- [Release notes](https://github.com/jakubpawlowicz/clean-css-cli/releases)
- [Changelog](https://github.com/jakubpawlowicz/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.3.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:31:58 +00:00
dependabot-preview[bot]
368fda512b Bump eslint from 7.19.0 to 7.20.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.20.0.
- [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.19.0...v7.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:28:47 +00:00
dependabot-preview[bot]
8d44f4777f Bump typescript from 4.1.3 to 4.1.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:27:50 +00:00
dependabot-preview[bot]
ba64db3914 Bump rollup from 2.38.5 to 2.39.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.5 to 2.39.0.
- [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.38.5...v2.39.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:26:10 +00:00
dependabot-preview[bot]
a8de0c48de Bump puppeteer from 7.0.1 to 7.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 7.0.1 to 7.1.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/v7.0.1...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:24:45 +00:00
dependabot-preview[bot]
867150a7f2 Bump worker-loader from 3.0.7 to 3.0.8
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/webpack-contrib/worker-loader/releases)
- [Changelog](https://github.com/webpack-contrib/worker-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/worker-loader/compare/v3.0.7...v3.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-15 07:23:14 +00:00
Maximilian Krög
59c76334b1 Draw box if OverviewMap is added to an existing map 2021-02-15 00:45:46 +01:00
Maximilian Krög
022b8cdb62 Fix layout of overview map
The button should not change its position when the collapsed state changes.
The overview map had a somewhat larger padding at the bottom due to being an
inline-block element and the configured line-height of 1.5.
2021-02-15 00:12:52 +01:00
Maximilian Krög
73d288c191 Fix initially empty overview map 2021-02-15 00:12:52 +01:00
Maximilian Krög
0f64bb7459 Invalid size set when map is not added to document
Parsing of an empty string with parseFloat resulted in NaN.
2021-02-15 00:12:37 +01:00
MoonE
27b4539360 Merge pull request #12027 from MoonE/update-links-2
Update / fix links to external ressources
2021-02-13 14:56:43 +01:00
Maximilian Krög
363cc802d0 Update / fix links to external ressources 2021-02-13 01:32:54 +01:00
MoonE
7dda97e2f7 Merge pull request #11996 from MoonE/update-links
Update links to external resources
2021-02-12 21:33:12 +01:00
Tim Schaub
cbef39a419 Merge pull request #12004 from openlayers/dependabot/npm_and_yarn/rollup-2.38.5
Bump rollup from 2.38.3 to 2.38.5
2021-02-12 04:50:15 -07:00
Frédéric Junod
60dc9497e5 Merge pull request #12025 from fredj/rm_watch_webpack_serve
Remove watch option from webpack serve script
2021-02-12 09:28:19 +01:00
Tim Schaub
8d4c73dee2 Merge pull request #12021 from tschaub/lazy-source-config
Allow source projection to be set after construction
2021-02-11 07:51:29 -07:00
Tim Schaub
c830ba07ce Allow projection to be set after construction 2021-02-11 07:43:18 -07:00
Tim Schaub
a7684d8fbf Avoid colliding user variables with internal names 2021-02-11 07:38:46 -07:00
Frederic Junod
22413284a3 Remove watch option from webpack serve script 2021-02-11 15:02:10 +01:00
Tim Schaub
ebc8864680 Merge pull request #12022 from tschaub/expression-parsing
Throw when WebGL style parsing encounters an unexpected type
2021-02-11 06:10:23 -07:00
Tim Schaub
c351bcabdf Merge pull request #12020 from tschaub/delete-buffer
Fix WebGL buffer deletion
2021-02-11 06:07:22 -07:00
Frederic Junod
6ddca90c6f Update links to Swiss projection transform functions 2021-02-11 10:02:48 +01:00
Andreas Hocevar
0f953193ea Merge pull request #12018 from ahocevar/only-render-image-when-needed
Only render vector tile image when needed
2021-02-11 08:35:57 +01:00
Andreas Hocevar
68c975c4b2 Merge pull request #12019 from ahocevar/tile-order
Always use same order for renderedTiles
2021-02-11 08:35:11 +01:00
Tim Schaub
c9a3b3bf92 Throw when parsing encounters an unexpected type 2021-02-10 19:18:55 -07:00
Tim Schaub
f121db1ad8 Fix buffer deletion 2021-02-10 18:39:45 -07:00
Tim Schaub
423d1bdcdb Add method for getting a tile range from a coord and zoom level 2021-02-10 18:04:59 -07:00
Tim Schaub
79330e2aeb Maintain an extent array for reuse 2021-02-10 18:04:27 -07:00
Maximilian Krög
dde6d6559c Reduce work for hitdetection
Skip cloning of style if geometry is not in extent.
2021-02-10 21:27:25 +01:00
Andreas Hocevar
2d8e7d87ba Always use same order for renderedTiles 2021-02-10 21:24:06 +01:00
Maximilian Krög
99564671c1 Only create one canvas per icon 2021-02-10 21:18:59 +01:00
Maximilian Krög
de3f60861d Fix hitdetection of icons with opacity < 1
Hit detection works by reading the pixel color, if the icon is not drawn
with full opacity it won't work.
2021-02-10 21:16:55 +01:00
Andreas Hocevar
ea961c859c Only render vector tile image when needed 2021-02-10 19:59:39 +01:00
Tim Schaub
98ac74e0bf Merge pull request #12012 from geraldo/cartodb-fix-account
Fix documentation for account parameter in ol/source/CartoDB
2021-02-09 21:09:31 -07:00
Maximilian Krög
8645a3109d Fix zIndex handling for hitdetection
getZIndex returns number|undefined, so Number conversion is unnecessary, but
undefined was converted to NaN instead of zero.
2021-02-10 01:04:21 +01:00
Maximilian Krög
5a7e4dfaf6 Add a constant for the hit-detection resolution 2021-02-10 01:04:19 +01:00
MoonE
261bba8359 Merge pull request #11995 from MoonE/vectorlayer-hitdetect-rounding
Fix hitdetect inaccuracy for VectorLayer's getFeatures
2021-02-09 19:59:05 +01:00
Maximilian Krög
8bd081d992 Add test for hitdetect function 2021-02-09 19:53:08 +01:00
Maximilian Krög
49c6ab716c Fix VectorLayer hitdetect inaccuracy
Due to rounding the hitdetection may have been off by one pixel.
At map edge the pixel coordinate may exceed the map's dimensions if an
decimal pixel ratio is used, this is fixed by clamping to the canvas
dimensions.
2021-02-09 19:53:08 +01:00
geraldo
2d33f99431 Fix documentation for account parameter in ol/source/CartoDB 2021-02-09 16:36:40 +01:00
Andreas Hocevar
56cea5f880 Merge pull request #11990 from ahocevar/remove-vectortile-image-mode
Remove renderMode: 'image' for vector tile layers
2021-02-09 16:36:27 +01:00
Andreas Hocevar
386aab6190 Merge pull request #12007 from ahocevar/modifystart-features
Report all features being modified
2021-02-09 16:32:15 +01:00
Andreas Hocevar
1b8ad5da2f Fix typo
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-02-09 16:30:41 +01:00
Tim Schaub
e194675582 Merge pull request #11991 from simonseyock/wkt-format-types
Fix some typings in format and format/WKT
2021-02-09 07:59:47 -07:00
MoonE
7fe54ffa37 Merge pull request #12001 from openlayers/dependabot/npm_and_yarn/karma-6.1.0
Bump karma from 6.0.3 to 6.1.0
2021-02-09 00:17:14 +01:00
MoonE
14efd22039 Merge pull request #11999 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.13
Bump @babel/preset-env from 7.12.11 to 7.12.13
2021-02-09 00:12:35 +01:00
dependabot-preview[bot]
fd3033a5b5 Bump @babel/preset-env from 7.12.11 to 7.12.13
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.13.
- [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.12.13/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 23:00:21 +00:00
dependabot-preview[bot]
b958c098d7 Bump rollup from 2.38.3 to 2.38.5
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.3 to 2.38.5.
- [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.38.3...v2.38.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 22:58:17 +00:00
MoonE
78b113c037 Merge pull request #12000 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.13
Bump @babel/core from 7.12.10 to 7.12.13
2021-02-08 23:57:51 +01:00
MoonE
e13e7adcb9 Merge pull request #12003 from openlayers/dependabot/npm_and_yarn/puppeteer-7.0.1
Bump puppeteer from 5.5.0 to 7.0.1
2021-02-08 23:55:29 +01:00
MoonE
363f0d57d3 Merge pull request #12005 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.5.0
Bump webpack-cli from 4.4.0 to 4.5.0
2021-02-08 23:47:39 +01:00
dependabot-preview[bot]
a57085b865 Bump karma from 6.0.3 to 6.1.0
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.3 to 6.1.0.
- [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/v6.0.3...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 22:31:57 +00:00
MoonE
360a983797 Merge pull request #12002 from openlayers/dependabot/npm_and_yarn/marked-2.0.0
[Security] Bump marked from 1.2.8 to 2.0.0
2021-02-08 23:29:27 +01:00
Andreas Hocevar
7789bc5b15 Report all features being modified 2021-02-08 20:44:19 +01:00
Maximilian Krög
0d5d346bcd Update links to external resources 2021-02-08 19:40:05 +01:00
MoonE
8616aa9320 Merge pull request #11992 from MoonE/measure-example
Improve measure example ux
2021-02-08 19:23:23 +01:00
dependabot-preview[bot]
cbc1095ba9 Bump webpack-cli from 4.4.0 to 4.5.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.4.0...webpack-cli@4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 08:02:41 +00:00
dependabot-preview[bot]
db4ab0eb7a Bump puppeteer from 5.5.0 to 7.0.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.5.0 to 7.0.1.
- [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/v5.5.0...v7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 07:57:49 +00:00
dependabot-preview[bot]
ed885ea443 Bump marked from 1.2.8 to 2.0.0
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 07:54:09 +00:00
dependabot-preview[bot]
9d547daba9 Bump @babel/core from 7.12.10 to 7.12.13
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.10 to 7.12.13.
- [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.12.13/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 07:50:22 +00:00
MoonE
8c6dd4c244 Merge pull request #11974 from mike-000/patch-26
Fix polyfill inconsistencies
2021-02-07 14:36:22 +01:00
Andreas Hocevar
94bfe77c21 Merge pull request #11987 from ahocevar/vector-opacity
Respect opacity for vector instructions
2021-02-06 21:30:50 +01:00
Maximilian Krög
7df38575b8 Improve measure example ux
- Pass click events on measure tooltips through to the map
- Put the tooltip for  the currently drawn geometry on top
- Disable text selection in the tooltips so clicking to draw does not select
2021-02-06 18:50:35 +01:00
Andreas Hocevar
3eb5dcca68 Merge pull request #11989 from mike-000/patch-27
Correct pixel ratio descriptions
2021-02-06 18:41:40 +01:00
Simon Seyock
5d43818025 Fix test for projection. 2021-02-06 17:45:20 +01:00
Andreas Hocevar
ebc3631341 Also apply layer opacity to decluttered content 2021-02-06 15:21:39 +01:00
Andreas Hocevar
861fa37168 Merge pull request #11988 from ahocevar/warn-zero-size
Warn when map container's width or height are zero
2021-02-06 15:08:42 +01:00
Andreas Hocevar
45ba5792cc Remove renderMode: 'image' for vector tile layers 2021-02-06 14:57:21 +01:00
mike-000
1c47d268fb Correct pixel ratio description 2021-02-06 13:49:48 +00:00
mike-000
2b52a12453 Correct pixel ratio description 2021-02-06 13:45:13 +00:00
Andreas Hocevar
6fe0d6121c Warn when map container's width or height are zero 2021-02-06 14:18:23 +01:00
Andreas Hocevar
4d5d80cb27 Respect opacity for vector instructions 2021-02-06 13:38:14 +01:00
Andreas Hocevar
a7b92cba4d Merge pull request #11978 from ahocevar/snap-delta-optional
Add snapToPointer option
2021-02-06 12:57:17 +01:00
Andreas Hocevar
d31abd2f77 Sensible defaults 2021-02-06 12:04:31 +01:00
Tim Schaub
51d53137c2 Merge pull request #11981 from simonseyock/property-description
Add descriptions for properties.
2021-02-04 20:26:20 -07:00
Simon Seyock
2ad5789797 Add descriptions for properties. 2021-02-04 18:19:33 +01:00
Simon Seyock
bd489fec4c Fix strict null checking for format/WKT
NOTE: `EMPTY` may only occur immediately after geometry type
2021-02-03 22:43:56 +01:00
Tim Schaub
2fe91b8f4d Merge pull request #11979 from simonseyock/jsdoc-types-syntax
Jsdoc types syntax
2021-02-03 07:23:52 -07:00
Simon Seyock
8facb252f1 Replace google closure syntax = with brackets around name 2021-02-03 14:06:02 +01:00
Simon Seyock
c15faa19fc enable check-types 2021-02-03 13:59:34 +01:00
Andreas Hocevar
bf90ce2789 Add snapToPointer option 2021-02-03 10:52:10 +01:00
Tim Schaub
cb9df36fbc Merge pull request #11977 from tschaub/jsdoc-syntax
More consistent JSDoc syntax
2021-02-02 17:11:09 -07:00
Tim Schaub
57e7be0a00 Upper case type 2021-02-02 13:53:24 -07:00
Tim Schaub
19bb3f8c88 Consistent use of Array and Object types 2021-02-02 13:53:10 -07:00
Tim Schaub
11d92763ec Merge pull request #11975 from simonseyock/valid-jsdoc
jsdoc linting
2021-02-02 13:47:09 -07:00
Simon Seyock
7a155a00e7 Replace nested types by typedefs 2021-02-02 18:03:12 +01:00
mike-000
c324baf074 Add Number.isInteger to polyfills 2021-02-02 13:01:18 +00:00
mike-000
63612bd2f2 Add Number.isInteger polyfill to displayed html 2021-02-02 12:55:36 +00:00
mike-000
c546751989 Remove obsolete ol-mapbox-style polyfills 2021-02-02 12:50:12 +00:00
Simon Seyock
808868ad1f Fixed some jsdoc issues. 2021-02-02 12:15:30 +01:00
Simon Seyock
f590cb3473 Harmonize jsdoc 2021-02-02 12:14:56 +01:00
Andreas Hocevar
a6ae8db50f Merge pull request #11967 from mike-000/patch-25
Simplify popup positioning in Icon Scale example
2021-02-01 10:47:03 +01:00
Tim Schaub
ec6e2d7a18 Merge pull request #11971 from openlayers/dependabot/npm_and_yarn/marked-1.2.8
Bump marked from 1.2.7 to 1.2.8
2021-02-01 02:01:29 -07:00
Tim Schaub
d874c3dfc6 Merge pull request #11970 from openlayers/dependabot/npm_and_yarn/eslint-7.19.0
Bump eslint from 7.18.0 to 7.19.0
2021-02-01 02:00:29 -07:00
Tim Schaub
3a5cff8bee Merge pull request #11969 from openlayers/dependabot/npm_and_yarn/rollup-2.38.3
Bump rollup from 2.38.0 to 2.38.3
2021-02-01 01:58:33 -07:00
Tim Schaub
4ff1623933 Merge pull request #11968 from openlayers/dependabot/npm_and_yarn/karma-6.0.3
Bump karma from 6.0.1 to 6.0.3
2021-02-01 01:55:51 -07:00
dependabot-preview[bot]
457081de2f Bump marked from 1.2.7 to 1.2.8
Bumps [marked](https://github.com/markedjs/marked) from 1.2.7 to 1.2.8.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.7...v1.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 07:41:45 +00:00
dependabot-preview[bot]
b618d67f1f Bump eslint from 7.18.0 to 7.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.0.
- [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.18.0...v7.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 07:39:23 +00:00
dependabot-preview[bot]
517593efac Bump rollup from 2.38.0 to 2.38.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.38.0 to 2.38.3.
- [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.38.0...v2.38.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 07:38:09 +00:00
dependabot-preview[bot]
282e0cabdb Bump karma from 6.0.1 to 6.0.3
Bumps [karma](https://github.com/karma-runner/karma) from 6.0.1 to 6.0.3.
- [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/v6.0.1...v6.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 07:37:16 +00:00
mike-000
d85da12782 simplify popup positioning 2021-01-31 23:11:22 +00:00
Andreas Hocevar
2d1f8af516 Merge pull request #11954 from ahocevar/simplify-icon-example
Simplify icon example
2021-01-31 19:13:24 +01:00
MoonE
c4099e6786 Merge pull request #11965 from mike-000/patch-24
Handle view rotation in d3 Integration example
2021-01-30 23:32:54 +01:00
mike-000
0f03a5e70e handle view rotation 2021-01-30 19:28:03 +00:00
Tim Schaub
d6d18d46a8 Merge pull request #11950 from mike-000/patch-21
Make polygons in the GeoJSON example comply to GeoJSON specification
2021-01-29 06:02:41 -07:00
Tim Schaub
aace9ea711 Merge pull request #11948 from simonseyock/vector-source-load-events-doc
Improve layer typings
2021-01-29 05:57:52 -07:00
Andreas Hocevar
d54e40feb5 Merge pull request #11955 from geraldo/cartodb-fix-urls
Fix URLs in ol/source/CartoDB pointing to CartoDB API docs
2021-01-28 08:52:37 +01:00
geraldo
fd04cd7a41 Fix URLs in ol/source/CartoDB pointing to CartoDB API docs 2021-01-27 17:15:27 +01:00
Andreas Hocevar
f500c354ee Close popup when map is moved 2021-01-27 13:54:22 +01:00
Andreas Hocevar
bd93ef204f Simplify icon example 2021-01-27 12:23:02 +01:00
mike-000
7dfd130330 draw 800km circles around both poles 2021-01-26 23:46:22 +00:00
mike-000
a63d3bf1ff Make polygons GeoJSON specification compliant 2021-01-26 18:48:14 +00:00
Simon Seyock
419578a96c Improve layer typings 2021-01-26 15:49:39 +01:00
Andreas Hocevar
2a694a682d Merge pull request #11947 from yukihiratype2/main
Demonstrates how to get the coordinates been clustered.
2021-01-26 11:19:35 +01:00
Andreas Hocevar
3d56201768 Merge pull request #11938 from ahocevar/view-padding-calculateextent
Take view padding into account for calculateExtent()
2021-01-26 11:15:54 +01:00
Tim Schaub
5ba002583e Merge pull request #11943 from openlayers/dependabot/npm_and_yarn/fs-extra-9.1.0
Bump fs-extra from 9.0.1 to 9.1.0
2021-01-25 16:29:19 -07:00
Tim Schaub
1b2a444be9 Merge pull request #11944 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.4.0
Bump webpack-cli from 4.3.1 to 4.4.0
2021-01-25 16:28:49 -07:00
Tim Schaub
69b0bf9668 Merge pull request #11945 from openlayers/dependabot/npm_and_yarn/sinon-9.2.4
Bump sinon from 9.2.3 to 9.2.4
2021-01-25 16:28:08 -07:00
Tim Schaub
6ac994f78f Merge pull request #11942 from openlayers/dependabot/npm_and_yarn/rollup-2.38.0
Bump rollup from 2.36.2 to 2.38.0
2021-01-25 16:27:27 -07:00
yukihiratype2
988f3fa502 Demonstrates how to get the coordinates been clustered. 2021-01-25 21:19:15 +08:00
dependabot-preview[bot]
b2b2df872a Bump sinon from 9.2.3 to 9.2.4
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.3 to 9.2.4.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.2.3...v9.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 07:11:59 +00:00
dependabot-preview[bot]
f5cfbf2854 Bump webpack-cli from 4.3.1 to 4.4.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.3.1...webpack-cli@4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 07:11:09 +00:00
dependabot-preview[bot]
dd8df684c6 Bump fs-extra from 9.0.1 to 9.1.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.0.1 to 9.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.0.1...9.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 07:09:41 +00:00
dependabot-preview[bot]
a39ee72a8a Bump rollup from 2.36.2 to 2.38.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.36.2 to 2.38.0.
- [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.36.2...v2.38.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25 07:08:50 +00:00
Andreas Hocevar
d64abf1c6d Merge pull request #11941 from ahocevar/strategy-loading
Fix loading flag for vector loading strategies
2021-01-23 23:12:50 +01:00
Andreas Hocevar
aa2c301f3e Do not change center when the padding changes 2021-01-23 21:50:41 +01:00
Andreas Hocevar
4f2b2c5750 Fix loading flag for vector loading strategies 2021-01-23 15:30:34 +01:00
Andreas Hocevar
900107df1d Take view padding into account for calculateExtent() 2021-01-22 20:08:05 +01:00
Tim Schaub
9e6ec55758 Merge pull request #11933 from openlayers/dependabot/npm_and_yarn/karma-6.0.1
Bump karma from 5.2.3 to 6.0.1
2021-01-22 05:08:57 -07:00
dependabot-preview[bot]
a93fe61c23 Bump karma from 5.2.3 to 6.0.1
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.0.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.2.3...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-21 02:11:20 +00:00
Tim Schaub
81335bf82d Merge pull request #11930 from openlayers/dependabot/npm_and_yarn/socket.io-2.4.1
[Security] Bump socket.io from 2.3.0 to 2.4.1
2021-01-20 19:08:59 -07:00
dependabot-preview[bot]
9f228df060 [Security] Bump socket.io from 2.3.0 to 2.4.1
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 21:35:57 +00:00
Tim Schaub
aef627d614 Merge pull request #11919 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.11.2
Bump webpack-dev-server from 3.11.1 to 3.11.2
2021-01-19 20:33:16 -07:00
Tim Schaub
0fce1dcc37 Merge pull request #11922 from openlayers/dependabot/npm_and_yarn/eslint-7.18.0
Bump eslint from 7.17.0 to 7.18.0
2021-01-19 20:32:28 -07:00
Tim Schaub
00fadac11c Merge pull request #11925 from kannes/patch-3
Mention unit of radius for Polygon.circular()
2021-01-19 20:07:51 -07:00
Hannes
25a374d698 Mention unit of radius for Polygon.circular()
Radius was using an unknown unit. This makes it clear that it will be interpreted as meters.
2021-01-19 17:25:47 +01:00
dependabot-preview[bot]
c149f52eaf Bump webpack-dev-server from 3.11.1 to 3.11.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.11.1 to 3.11.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/v3.11.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.11.1...v3.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 10:00:53 +00:00
dependabot-preview[bot]
d054676dcc Bump eslint from 7.17.0 to 7.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [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.17.0...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 10:00:48 +00:00
Andreas Hocevar
ec79e3721c Merge pull request #11921 from openlayers/dependabot/npm_and_yarn/rollup-2.36.2
Bump rollup from 2.36.1 to 2.36.2
2021-01-18 10:58:57 +01:00
Andreas Hocevar
c1eb8d44de Merge pull request #11918 from openlayers/dependabot/npm_and_yarn/webpack-4.46.0
Bump webpack from 4.45.0 to 4.46.0
2021-01-18 10:58:13 +01:00
dependabot-preview[bot]
bc82a8ddef Bump webpack from 4.45.0 to 4.46.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.45.0 to 4.46.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.45.0...v4.46.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 09:17:09 +00:00
dependabot-preview[bot]
6b17edbaa6 Bump rollup from 2.36.1 to 2.36.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.36.1 to 2.36.2.
- [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.36.1...v2.36.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 09:16:18 +00:00
Andreas Hocevar
3134a36cce Merge pull request #11915 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-4.1.0
Bump webpack-dev-middleware from 4.0.2 to 4.1.0
2021-01-18 10:14:35 +01:00
Andreas Hocevar
8a86a619e6 Merge pull request #11920 from openlayers/dependabot/npm_and_yarn/proj4-2.7.0
Bump proj4 from 2.6.3 to 2.7.0
2021-01-18 10:13:59 +01:00
Andreas Hocevar
8e83f14364 Merge pull request #11916 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.3.1
Bump ol-mapbox-style from 6.3.0 to 6.3.1
2021-01-18 10:13:15 +01:00
dependabot-preview[bot]
dcf0e972b6 Bump proj4 from 2.6.3 to 2.7.0
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/proj4js/proj4js/releases)
- [Changelog](https://github.com/proj4js/proj4js/blob/master/changelog.md)
- [Commits](https://github.com/proj4js/proj4js/compare/2.6.3...2.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 08:08:52 +00:00
dependabot-preview[bot]
804160fc0c Bump ol-mapbox-style from 6.3.0 to 6.3.1
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.3.0...v6.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 08:01:05 +00:00
dependabot-preview[bot]
ab198cc27b Bump webpack-dev-middleware from 4.0.2 to 4.1.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v4.0.2...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-18 07:59:11 +00:00
Andreas Hocevar
31d6580d88 Merge pull request #11914 from ahocevar/vectortile-declutter-image-with-text
Fix image with text decluttering
2021-01-17 18:32:27 +01:00
Andreas Hocevar
cadc45e14d Merge pull request #11911 from ahocevar/declutter-tilegrid
Do not clip declutter executor groups
2021-01-17 18:31:11 +01:00
Andreas Hocevar
45f367cc04 Merge pull request #11856 from mike-000/patch-18
Use tilegrid extent as default attributionExtent for TileJSON
2021-01-15 14:35:20 +01:00
Andreas Hocevar
884c35d0ce Merge pull request #11900 from mike-000/patch-19
Update pratique key to choisirgeoportail in the IGN WMTS example
2021-01-15 14:23:52 +01:00
Andreas Hocevar
5eb8d00512 Merge pull request #11913 from mike-000/patch-20
Handle null geometry in TopoJSON
2021-01-15 14:22:46 +01:00
Andreas Hocevar
fc20e77cea Fix image with text decluttering 2021-01-15 00:29:58 +01:00
mike-000
50c99330e9 test null geometry 2021-01-14 11:25:07 +00:00
mike-000
500814db3c handle null geometry 2021-01-14 11:11:01 +00:00
Andreas Hocevar
5084b04173 Do not clip declutter executor groups 2021-01-13 20:49:29 +01:00
Andreas Hocevar
58f533315d Merge pull request #11893 from mjjurkoic/issue-11860
Pass the renderer function to the cloned style
2021-01-13 09:48:13 +01:00
Tim Schaub
83bb86cbac Merge pull request #11905 from openlayers/dependabot/npm_and_yarn/globby-11.0.2
Bump globby from 11.0.1 to 11.0.2
2021-01-12 05:56:08 -07:00
Tim Schaub
b822bd4ebb Merge pull request #11904 from openlayers/dependabot/npm_and_yarn/webpack-4.45.0
Bump webpack from 4.44.2 to 4.45.0
2021-01-12 05:55:16 -07:00
Tim Schaub
6581d46779 Merge pull request #11903 from openlayers/dependabot/npm_and_yarn/rollup-2.36.1
Bump rollup from 2.35.1 to 2.36.1
2021-01-12 05:54:21 -07:00
Tim Schaub
cc81964f38 Merge pull request #11902 from openlayers/dependabot/npm_and_yarn/sinon-9.2.3
Bump sinon from 9.2.2 to 9.2.3
2021-01-12 05:53:24 -07:00
Andreas Hocevar
503aaef001 Merge pull request #11901 from ahocevar/vectortile-renderbuffer
Fix handling of VectorTile renderBuffer
2021-01-11 09:07:58 +01:00
dependabot-preview[bot]
a4f0eb3676 Bump globby from 11.0.1 to 11.0.2
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.1 to 11.0.2.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.1...v11.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:32:40 +00:00
dependabot-preview[bot]
a4870f6023 Bump webpack from 4.44.2 to 4.45.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.2 to 4.45.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.2...v4.45.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:31:16 +00:00
dependabot-preview[bot]
f6bc6c857c Bump rollup from 2.35.1 to 2.36.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.35.1 to 2.36.1.
- [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.35.1...v2.36.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:29:36 +00:00
dependabot-preview[bot]
55877ca810 Bump sinon from 9.2.2 to 9.2.3
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.2 to 9.2.3.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.2.2...v9.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-11 07:27:49 +00:00
Michael Jurkoic
94fcc049ce Improved renderer clone tests
Removed test that asserted the cloned renderer would not reference the same object as the original.

Replaced tests that stringified the renderer function with tests that compare the original with the clone by reference.
2021-01-10 10:10:09 -08:00
Andreas Hocevar
2c3e4dee25 Merge pull request #11899 from mike-000/patch-6
Update HERE Map Tile API example to use API key
2021-01-10 19:01:52 +01:00
Andreas Hocevar
1cc9fdb6ec Fix handling of VectorTile renderBuffer 2021-01-10 18:59:07 +01:00
mike-000
c14d8ca1e5 replace pratique key with choisirgeoportail 2021-01-10 16:46:24 +00:00
mike-000
0512135351 Update to API key 2021-01-10 15:34:35 +00:00
mike-000
4ece00bf47 Update to API key 2021-01-10 15:22:29 +00:00
Michael Jurkoic
760b5970f1 Added tests for renderer clone 2021-01-08 16:23:04 -08:00
Tim Schaub
448d939681 Merge pull request #11890 from walkermatt/wfs_filter_version
Fix WFS writeFilter
2021-01-08 17:13:57 -07:00
mjjurkoic
1842170b20 Eliminate redundant code
Co-authored-by: Stéphane Brunner <stephane.brunner@camptocamp.com>
2021-01-08 09:21:49 -08:00
Andreas Hocevar
39c0305f74 Merge pull request #11892 from ahocevar/draw-stopclick
Restore stopClick functionality
2021-01-08 09:54:05 +01:00
Michael Jurkoic
81901c72c4 Pass the renderer function to the cloned style 2021-01-07 22:33:08 -08:00
Andreas Hocevar
834448472a Merge pull request #11882 from simonseyock/vector-source-load-events-doc
Improved documentation for feature load events.
2021-01-07 22:36:20 +01:00
Andreas Hocevar
99dd55920e Restore stopClick functionality 2021-01-07 22:34:21 +01:00
Matt Walker
aef876aaf9 Fix prettier errors 2021-01-07 09:24:14 +00:00
Matt Walker
28f76ed901 Make writeFilter version argument optional
* Add test for optional version argument to writeFilter
* Default to WFS 1.1.0 if no version passed to writeFilter
2021-01-07 08:51:11 +00:00
Matt Walker
de9d681b2f Fix WFS 2.0.0 writeFilter
* Add a test for WFS 2.0.0 filter encoding
* Use getFilterNS to ensure correct NS for filter child node
2021-01-07 08:47:18 +00:00
Tim Schaub
b05db5cca6 Merge pull request #11886 from tschaub/throw-on-gl-error
Throw an error if shaders fail to compile or program fails to link
2021-01-06 22:38:23 -07:00
Tim Schaub
bacf8c076a Merge pull request #11877 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.3.1
Bump webpack-cli from 4.3.0 to 4.3.1
2021-01-05 23:13:52 -07:00
Tim Schaub
ad6ab76584 Merge pull request #11878 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.11.1
Bump webpack-dev-server from 3.11.0 to 3.11.1
2021-01-05 23:12:46 -07:00
Tim Schaub
8fe82a28e8 Merge pull request #11879 from openlayers/dependabot/npm_and_yarn/eslint-7.17.0
Bump eslint from 7.16.0 to 7.17.0
2021-01-05 23:11:38 -07:00
Tim Schaub
afd0b8f757 Throw an error if shaders fail to compile or program fails to link 2021-01-05 17:24:58 -07:00
Simon Seyock
125d0d62a8 Clarification and use callbacks in examples 2021-01-05 09:40:20 +01:00
Simon Seyock
90c25012b9 Improved documentation for feature load events. 2021-01-05 09:32:16 +01:00
dependabot-preview[bot]
d692fc6286 Bump eslint from 7.16.0 to 7.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.0.
- [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.16.0...v7.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 07:28:00 +00:00
dependabot-preview[bot]
73bf39e84f Bump webpack-dev-server from 3.11.0 to 3.11.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/v3.11.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.11.0...v3.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 07:26:58 +00:00
dependabot-preview[bot]
89a0a07f83 Bump webpack-cli from 4.3.0 to 4.3.1
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.3.0...webpack-cli@4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 07:25:36 +00:00
Andreas Hocevar
98a8e8e5be Merge pull request #11868 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.7
Bump worker-loader from 3.0.6 to 3.0.7
2021-01-01 10:15:40 +01:00
Andreas Hocevar
61e0602a1f Merge pull request #11867 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.3.0
Bump webpack-cli from 4.2.0 to 4.3.0
2021-01-01 10:15:11 +01:00
Tim Schaub
ee8afd1b1b Merge pull request #11874 from tschaub/hit-dash
Hit lines even if they are dashed
2020-12-30 13:51:24 -07:00
MoonE
4538812bc3 Merge pull request #11873 from mike-000/patch-20
Update Mapbox-gl Layer example to mapbox-gl-js version 1.13.0 and add note about why an old version is used
2020-12-30 21:24:35 +01:00
mike-000
3405157d6d Update to mapbox-gl-js version 1.13.0 and add note 2020-12-30 19:55:23 +00:00
Tim Schaub
aed4773ecb Hit lines even if they are dashed 2020-12-30 12:33:06 -07:00
MoonE
7778e373a7 Merge pull request #11865 from mike-000/patch-19
Use ol/array#includes instead of Array.prototype.includes()
2020-12-30 00:48:02 +01:00
mike-000
207417035f Use ol/array#includes instead of .includes() 2020-12-29 23:31:30 +00:00
Andreas Hocevar
c1f72df79d Merge pull request #11872 from ahocevar/legacy-build-ie11
Legacy build for legacy browsers
2020-12-30 00:02:10 +01:00
MoonE
579db0138f Merge pull request #11871 from MoonE/fix-legacy-build-for-ie11
Fix examples and build for ie11
2020-12-29 23:55:44 +01:00
Maximilian Krög
358d6736d1 Make examples work with ie11 2020-12-29 23:04:15 +01:00
Andreas Hocevar
e20f5a450c Legacy build for legacy browsers 2020-12-29 22:10:49 +01:00
mike-000
13e1ae9574 Use tilegrid extent as default attributionExtent
Test attributions
2020-12-29 13:29:57 +00:00
dependabot-preview[bot]
9fe1dd8c92 Bump worker-loader from 3.0.6 to 3.0.7
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/webpack-contrib/worker-loader/releases)
- [Changelog](https://github.com/webpack-contrib/worker-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/worker-loader/compare/v3.0.6...v3.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 07:14:28 +00:00
dependabot-preview[bot]
5a8e8af96d Bump webpack-cli from 4.2.0 to 4.3.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.2.0...webpack-cli@4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-28 07:13:38 +00:00
Andreas Hocevar
caeca7f5b8 Merge pull request #11864 from openlayers/release-v6.5.0
Release v6.5.0
2020-12-27 20:14:43 +01:00
Andreas Hocevar
2a1ce01e50 Develop on 6.5.1-dev 2020-12-27 20:09:41 +01:00
amir-ba
f3a33bd75a Adjusts the WMTSCapabilities format to read the projected TileMatrixSet's BoundingBox 2020-08-09 17:55:18 +02:00
amir-ba
3de64763e7 fixes WMTS optionsFromCapabilities extent not considering the Wgs84BoundingBox 2020-08-07 00:50:23 +02:00
1092 changed files with 52019 additions and 18423 deletions

View File

@@ -1,7 +0,0 @@
# See https://dependabot.com/docs/config-file/
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "weekly"
version_requirement_updates: "increase_versions_if_necessary"

View File

@@ -1,4 +1,3 @@
examples/Jugl.js
examples/resources/
build/package/**/*webgl*
config/jsdoc/api/template/static/scripts/

2
.github/FUNDING.yml vendored
View File

@@ -1,6 +1,6 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: [openlayers] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: openlayers
ko_fi: # Replace with a single Ko-fi username

8
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
versioning-strategy: increase-if-necessary

View File

@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/
- name: Install dependencies
run: npm ci

View File

@@ -23,12 +23,6 @@ jobs:
# Only include this option if you are running this workflow on pull requests.
fetch-depth: 2
# If this run was triggered by a pull request event then checkout
# the head of the pull request instead of the merge commit.
# Only include this step if you are running this workflow on pull requests.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1

View File

@@ -13,16 +13,11 @@ env:
jobs:
pretest:
name: Pre-Test (Node ${{ matrix.node }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
name: Pre-Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps:
- name: Clone Repository
@@ -31,7 +26,7 @@ jobs:
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
node-version: 16
- name: Determine Cache Directory
id: npm-cache
@@ -52,17 +47,12 @@ jobs:
- name: Run Tests
run: npm run pretest
spec:
name: Spec (Node ${{ matrix.node }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
browser:
name: Browser
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps:
- name: Clone Repository
@@ -71,7 +61,7 @@ jobs:
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
node-version: 16
- name: Determine Cache Directory
id: npm-cache
@@ -90,19 +80,14 @@ jobs:
run: npm ci
- name: Run Tests
run: npm run test-spec
run: npm run test-browser
rendering:
name: Rendering (Node ${{ matrix.node }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
node:
name: Node
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps:
- name: Clone Repository
@@ -111,7 +96,80 @@ jobs:
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
node-version: 16
- name: Determine Cache Directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Configure Job Cache
uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run test-node
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: 16
- name: Determine Cache Directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Configure Job Cache
uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci
- name: Build the Package
run: npm run build-package
- name: Generate the Legacy Build
run: npm run build-legacy && npx eslint --fix build/index.js
rendering:
name: Rendering
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: 16
- name: Determine Cache Directory
id: npm-cache
@@ -137,4 +195,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: rendering-tests
path: rendering/cases/**/actual.png
path: test/rendering/cases/**/actual.png

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
16

View File

@@ -4,7 +4,7 @@ Thanks for your interest in contributing to OpenLayers. Please see the project'
## Asking Questions
Please ask questions about using the library on [Stack Overflow using the tag 'openlayers'](http://stackoverflow.com/questions/tagged/openlayers).
Please ask questions about using the library on [Stack Overflow using the tag 'openlayers'](https://stackoverflow.com/questions/tagged/openlayers).
When you want to get involved and discuss new features or changes, please use [the mailing list](https://groups.google.com/forum/#!forum/openlayers-dev).
@@ -68,12 +68,12 @@ easily-understandable chunks. Any individual commit should not add more than
one new class or one new function. Do not submit commits that change thousands
of lines or that contain more than one distinct logical change. Trivial
commits, e.g. to fix lint errors, should be merged into the commit that
introduced the error. See the [Atomic Commit Convention on Wikipedia](http://en.wikipedia.org/wiki/Atomic_commit#Atomic_Commit_Convention) for more detail.
introduced the error. See the [Atomic Commit Convention on Wikipedia](https://en.wikipedia.org/wiki/Atomic_commit#Atomic_Commit_Convention) for more detail.
`git apply --patch` and `git rebase` can help you create a clean commit
history.
[Reviewboard.org](http://www.reviewboard.org/docs/codebase/dev/git/clean-commits/)
and [Pro GIT](http://git-scm.com/book/en/Git-Tools-Rewriting-History) have
[Reviewboard.org](https://www.reviewboard.org/docs/codebase/dev/git/clean-commits/)
and [Pro GIT](https://git-scm.com/book/en/Git-Tools-Rewriting-History) have
explain how to use them.
@@ -81,7 +81,7 @@ explain how to use them.
Commit messages should be short, begin with a verb in the imperative, and
contain no trailing punctuation. We follow
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
for the formatting of commit messages.
Git commit message should look like:

View File

@@ -10,7 +10,7 @@ You will obviously start by
The minimum requirements are:
* Git
* [Node.js](http://nodejs.org/) (version 8 and above)
* [Node.js](https://nodejs.org/) (version 8 and above)
The executables `git` and `node` should be in your `PATH`.

View File

@@ -45,79 +45,62 @@ See the following examples for more detail on bundling OpenLayers with your appl
OpenLayers appreciates contributions of all kinds. We especially want to thank our fiscal sponsors who contribute to ongoing project maintenance.
![Pozi logo](./sponsor-logos/pozi.png)
<br>
[![Pozi logo](./sponsor-logos/pozi.png)](https://pozi.com/)
> Pozi helps connect communities through spatial thinking.
> We love Openlayers and it forms a core part of our platform.
> https://pozi.com/ https://app.pozi.com/
See our [Open Collective](https://opencollective.com/openlayers/contribute/sponsors-214/checkout) page if you too are interested in becoming a regular sponsor.
<br>
## IntelliSense support and type checking for VS Code
[![yey'maps logo](./sponsor-logos/yeymaps.png)](https://www.yeymaps.io/)
The ol package contains a src/ folder with JSDoc annotated sources. TypeScript can get type definitions from these sources with a [`jsconfig.json`](https://gist.github.com/ahocevar/9a7253cb4712e8bf38d75d8ac898e36c#file-jsconfig-json) (when authoring in JavaScript) or [`tsconfig.json`](https://gist.github.com/ahocevar/ad7b52a2fa0f6c5495193cd695ab3780#file-tsconfig-json) (when authoring in TypeScript) config file in the project root:
> yey'maps is a scalable cloud GIS suite that is developed with the
> powerful Openlayers API and the GDAL library.
> https://www.yeymaps.io/
<details><summary>jsconfig.json</summary>
<br>
```json
{
"compilerOptions": {
"checkJs": true,
"baseUrl": "./",
"paths": {
"ol": ["node_modules/ol/src"],
"ol/*": ["node_modules/ol/src/*"]
}
},
"include": [
"**/*.js",
"node_modules/ol/**/*.js"
],
"typeAcquisition": {
"exclude": ["ol"]
}
}
```
[![GeoSolutions logo](./sponsor-logos/geosolutions.png)](https://www.geosolutionsgroup.com/)
</details>
<details><summary>tsconfig.json</summary>
> Your one-stop-shop for geospatial open source software.
> https://www.geosolutionsgroup.com/
```json
{
"compilerOptions": {
"allowJs": true,
"baseUrl": "./",
"paths": {
"ol": ["node_modules/ol/src"],
"ol/*": ["node_modules/ol/src/*"]
}
},
"include": [
"**/*.ts",
"node_modules/ol/**/*"
],
"typeAcquisition": {
"exclude": ["ol"]
}
}
```
<br>
</details>
[![ela-compil logo](./sponsor-logos/ela-compil.png)](https://ela.pl/)
TypeScript users may want to use a [third-party types package](https://github.com/hanreev/types-ol) instead.
> We develop leading Physical Security Information Management (PSIM) software.
> OpenLayers is the core of our map engine and we love it!
> https://elacompil.recruitee.com/
<br>
See our [GitHub sponsors page](https://github.com/sponsors/openlayers) or [Open Collective](https://opencollective.com/openlayers/contribute/sponsors-214/checkout) if you too are interested in becoming a regular sponsor.
## ES Modules
The `ol` package contains a `src/` folder with the sources, authored as [ES Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules). To use these untranspiled sources, either import modules from `ol/src` instead of `ol`, or configure your bundler with an alias pointing to `ol/src` for the `ol` package.
## TypeScript support
The [ol package](https://npmjs.com/package/ol) includes auto-generated TypeScript declarations as `*.d.ts` files.
## Supported Browsers
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge.
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](https://262.ecma-international.org/5.1/). This includes Chrome, Firefox, Safari and Edge.
For older browsers and platforms (Internet Explorer, Android 4.x, iOS v12 and older, Safari v12 and older), polyfills may be needed for the following browser features:
* [`fetch`](https://caniuse.com/#feat=fetch): Available from [polyfill.io](https://polyfill.io/).
* [`requestAnimationFrame`](https://caniuse.com/#feat=requestanimationframe): Available from [polyfill.io](https://polyfill.io/).
* [`element.prototype.classList` (`add`/`remove`)](https://caniuse.com/#feat=classlist): Available from [polyfill.io](https://polyfill.io/).
* [`URL` API](https://caniuse.com/#feat=url): Available from [polyfill.io](https://polyfill.io/).
* [`TextDecoder`](https://caniuse.com/#feat=textencoder): Available from [polyfill.io](https://polyfill.io/).
* [Pointer events](https://caniuse.com/#feat=pointer): Use [elm-pep](https://npmjs.com/package/elm-pep) (lightweight) or [pepjs](https://npmjs.com/package/pepjs) (for really, really old browsers).
* [`fetch`](https://caniuse.com/fetch): Available from [polyfill.io](https://polyfill.io/).
* [`requestAnimationFrame`](https://caniuse.com/requestanimationframe): Available from [polyfill.io](https://polyfill.io/).
* [`element.prototype.classList` (`add`/`remove`)](https://caniuse.com/classlist): Available from [polyfill.io](https://polyfill.io/).
* [`URL` API](https://caniuse.com/url): Available from [polyfill.io](https://polyfill.io/).
* [`TextDecoder`](https://caniuse.com/textencoder): Available from [polyfill.io](https://polyfill.io/).
* [`Number.isInteger`](https://caniuse.com/isInteger): Available from [polyfill.io](https://polyfill.io/).
* [Pointer events](https://caniuse.com/pointer): Use [elm-pep](https://npmjs.com/package/elm-pep) (lightweight) or [pepjs](https://npmjs.com/package/pepjs) (for really, really old browsers).
## Documentation
@@ -133,7 +116,7 @@ Please see our guide on [contributing](CONTRIBUTING.md) if you're interested in
## Community
- Need help? Find it on [Stack Overflow using the tag 'openlayers'](http://stackoverflow.com/questions/tagged/openlayers)
- Need help? Find it on [Stack Overflow using the tag 'openlayers'](https://stackoverflow.com/questions/tagged/openlayers)
- Follow [@openlayers](https://twitter.com/openlayers) on Twitter
![Test Status](https://github.com/openlayers/openlayers/workflows/Test/badge.svg)

View File

@@ -1,5 +1,39 @@
## Upgrade notes
### v6.7.0
There should be nothing special required when upgrading from v6.6 to v6.7.
### v6.6.0
#### Included TypeScript declarations
The [ol package](https://npmjs.com/package/ol) now includes TypeScript declarations as `*.d.ts` files.
If desired, e.g. when you don't want to adjust your code after upgrading from a previous version where you used `@types/ol`, you can opt out of the included types and use third-party types by specifying aliases in the `compilerOptions` section of `tsconfig.json`, e.g.
```json
"baseUrl": "./",
"paths": {
"ol": ["node_modules/@types/ol"],
"ol/*": ["node_modules/@types/ol/*"]
},
```
#### Deprecation of `undefinedHTML` option for the MousePosition control
The `undefinedHTML` option for the MousePosition control has been deprecated and will be removed in a future release. Use the new `placeholder` option instead.
#### New `placeholder` option for the MousePosition control
When the mouse position is not available, the control renders a non-breaking space. To render something else instead,
set the `placeholder` option. If you want to retain the last position when the mouse leaves the viewport, set
`placeholder: false`. This will be the default behavior in a future release.
The `placeholder` option has no effect if the deprecated `undefinedHTML` option is also used. You should use the `placeholder` option instead of `undefinedHTML`.
#### Deprecation of `image` render mode for vector tile layers
`renderMode: 'image'` for vector tile layers has been deprecated. Applications continue to work, but a warning will be issued to the console. To get rid of the warning, simply remove the `renderMode` option.
### v6.5.0
#### Units of the `hitTolerance` option fixed

401
changelog/v6.6.0.md Normal file
View File

@@ -0,0 +1,401 @@
# 6.6.0
With more than 160 pull requests from 14 contributors, this release brings improved support for using OpenLayers in Node.js environments, a new WKB (well known binary) format, TypeScript declarations in the ol package, and more efficient vector tile rendering. In addition, several examples were added or improved, and many bugs were fixed.
## Upgrade notes
#### Included TypeScript declarations
The [ol package](https://npmjs.com/package/ol) now includes TypeScript declarations as `*.d.ts` files.
If desired, e.g. when you don't want to adjust your code after upgrading from a previous version where you used `@types/ol`, you can opt out of the included types and use third-party types by specifying aliases in the `compilerOptions` section of `tsconfig.json`, e.g.
```json
"baseUrl": "./",
"paths": {
"ol": ["node_modules/@types/ol"],
"ol/*": ["node_modules/@types/ol/*"]
},
```
#### Deprecation of `undefinedHTML` option for the MousePosition control
The `undefinedHTML` option for the MousePosition control has been deprecated and will be removed in a future release. Use the new `placeholder` option instead.
#### New `placeholder` option for the MousePosition control
When the mouse position is not available, the control renders a non-breaking space. To render something else instead,
set the `placeholder` option. If you want to retain the last position when the mouse leaves the viewport, set
`placeholder: false`. This will be the default behavior in a future release.
The `placeholder` option has no effect if the deprecated `undefinedHTML` option is also used. You should use the `placeholder` option instead of `undefinedHTML`.
#### Deprecation of `image` render mode for vector tile layers
`renderMode: 'image'` for vector tile layers has been deprecated. Applications continue to work, but a warning will be issued to the console. To get rid of the warning, simply remove the `renderMode` option.
## New features and improvements
* New [create-ol-app](https://www.npmjs.com/package/create-ol-app) package to create a new app with an OpenLayers map.
* Improved rendering quality of regular shapes and circles.
* New `placeholder` option for better control of the `MousePosition` control's output.
* TypeScript generated `.d.ts` files are now included in the [ol](https://npmjs.com/package/ol) package.
* Improved `zDirection` option on tile sources to control when the tile z changes on fractional zoom levels.
* Template mode for the `TileDebug` source for better debugging of tile coordinate issues.
* More efficient vector tile rendering to save battery on mobile devices and memory.
* New 'properties' option on layers for easier use of arbitrary properties in typed environments.
* Hit detection support when using OffscreenCanvas and workers for rendering.
* The [ol package](https://npmjs.com/package/ol) now uses `"type": "module"` in `package.json` for easier use of OpenLayers in Node.js.
* New WKB (Well-Known Binary) format parser and serializer.
* Console warning when map container's width or height are zero.
* New `snapToPointer` option on the `Modify` interaction to control user experience when clicking a vertex far away from its center.
## List of all changes
* [#12442](https://github.com/openlayers/openlayers/pull/12442) - Fix layer render extent when it is not at all in view ([@MoonE](https://github.com/MoonE))
* [#12492](https://github.com/openlayers/openlayers/pull/12492) - Use create-ol-app to create a new app ([@tschaub](https://github.com/tschaub))
* [#12467](https://github.com/openlayers/openlayers/pull/12467) - Fixes / improvements for RegularShape ([@MoonE](https://github.com/MoonE))
* [#12491](https://github.com/openlayers/openlayers/pull/12491) - Add a new placeholder option and deprecate undefinedHTML for the mouse position control ([@tschaub](https://github.com/tschaub))
* [#12430](https://github.com/openlayers/openlayers/pull/12430) - Event listener typing ([@simonseyock](https://github.com/simonseyock))
* [#12488](https://github.com/openlayers/openlayers/pull/12488) - MousePosition: allow rendering of empty string ([@JakobMiksch](https://github.com/JakobMiksch))
* [#12464](https://github.com/openlayers/openlayers/pull/12464) - Make zDirection option available for all tile sources ([@mike-000](https://github.com/mike-000))
* [#12489](https://github.com/openlayers/openlayers/pull/12489) - Update ol-mapbox-style to v6.4.0 ([@ahocevar](https://github.com/ahocevar))
* [#12484](https://github.com/openlayers/openlayers/pull/12484) - Add GeoSolutions as a monthly sponsor ([@tschaub](https://github.com/tschaub))
* [#12480](https://github.com/openlayers/openlayers/pull/12480) - Fix gap in tiles due to floating point math ([@MoonE](https://github.com/MoonE))
* [#12453](https://github.com/openlayers/openlayers/pull/12453) - Allow multiple LinearRings per innerBoundaryIs ([@MoonE](https://github.com/MoonE))
* [#12466](https://github.com/openlayers/openlayers/pull/12466) - Fix getVectorContext on TileLayer with pixelRatio != 1 ([@MoonE](https://github.com/MoonE))
* [#12463](https://github.com/openlayers/openlayers/pull/12463) - Improve animation examples ([@MoonE](https://github.com/MoonE))
* [#12459](https://github.com/openlayers/openlayers/pull/12459) - Fix documentation for GML class. ([@simonseyock](https://github.com/simonseyock))
* [#12455](https://github.com/openlayers/openlayers/pull/12455) - Consistent use of quotes in example description ([@mike-000](https://github.com/mike-000))
* [#12373](https://github.com/openlayers/openlayers/pull/12373) - Rework TileDebug to allow TMS coordinates and to fix reprojection ([@mike-000](https://github.com/mike-000))
* [#12441](https://github.com/openlayers/openlayers/pull/12441) - Style-based measure example ([@mike-000](https://github.com/mike-000))
* [#12438](https://github.com/openlayers/openlayers/pull/12438) - typo ([@jipexu](https://github.com/jipexu))
* [#12431](https://github.com/openlayers/openlayers/pull/12431) - Add tsc-generated type definitions for opt-in ([@ahocevar](https://github.com/ahocevar))
* [#12417](https://github.com/openlayers/openlayers/pull/12417) - Use html2canvas instead of dom-to-image ([@ahocevar](https://github.com/ahocevar))
* [#12413](https://github.com/openlayers/openlayers/pull/12413) - Fix hitdetection image invalidation ([@MoonE](https://github.com/MoonE))
* [#12405](https://github.com/openlayers/openlayers/pull/12405) - VectorTile getSourceTiles behaviour with loading source tiles ([@ahocevar](https://github.com/ahocevar))
* [#12212](https://github.com/openlayers/openlayers/pull/12212) - Ignore empty gx:coord elements in KML files ([@voegelas](https://github.com/voegelas))
* [#12418](https://github.com/openlayers/openlayers/pull/12418) - Fix icon tinting with pixelRatio < 1 ([@MoonE](https://github.com/MoonE))
* [#12409](https://github.com/openlayers/openlayers/pull/12409) - Fix WMTS wrapX detection if WGS84BoundingBox is not set ([@M393](https://github.com/M393))
* [#12237](https://github.com/openlayers/openlayers/pull/12237) - Fix Modify interaction with hitDetection ([@M393](https://github.com/M393))
* [#12416](https://github.com/openlayers/openlayers/pull/12416) - Use generics to limit event types in on(), once() and un() ([@ahocevar](https://github.com/ahocevar))
* [#12408](https://github.com/openlayers/openlayers/pull/12408) - Do not fire modifystart when nothing is being modified ([@ahocevar](https://github.com/ahocevar))
* [#12414](https://github.com/openlayers/openlayers/pull/12414) - Replace getChangeEventType() with add/removeChangeListener methods ([@ahocevar](https://github.com/ahocevar))
* [#12194](https://github.com/openlayers/openlayers/pull/12194) - Respect pixel ratio with immediate render ([@MoonE](https://github.com/MoonE))
* [#12298](https://github.com/openlayers/openlayers/pull/12298) - Fix JSDoc generated links ([@tschaub](https://github.com/tschaub))
* [#12231](https://github.com/openlayers/openlayers/pull/12231) - Move tolerance should not increase with higher pixel ratio ([@MoonE](https://github.com/MoonE))
* [#12282](https://github.com/openlayers/openlayers/pull/12282) - Fix DragZoom with view padding ([@M393](https://github.com/M393))
* [#12223](https://github.com/openlayers/openlayers/pull/12223) - generic source parameters for options ([@simonseyock](https://github.com/simonseyock))
* [#12219](https://github.com/openlayers/openlayers/pull/12219) - Add 'properties' to Layer constructors ([@ahocevar](https://github.com/ahocevar))
* [#12284](https://github.com/openlayers/openlayers/pull/12284) - Layers should inherit group z-index ([@MoonE](https://github.com/MoonE))
* [#12304](https://github.com/openlayers/openlayers/pull/12304) - New example: Scale and Rotate using Modify Interaction ([@mike-000](https://github.com/mike-000))
* [#12378](https://github.com/openlayers/openlayers/pull/12378) - Correct .split() calls to only split numeric srid for ArcgisRest ([@mike-000](https://github.com/mike-000))
* [#12393](https://github.com/openlayers/openlayers/pull/12393) - Scale up static Image and round to nearest pixel to avoid rounding errors ([@mike-000](https://github.com/mike-000))
* [#12394](https://github.com/openlayers/openlayers/pull/12394) - Ensure VectorSource getUrl() corresponds to last setUrl() ([@mike-000](https://github.com/mike-000))
* [#12357](https://github.com/openlayers/openlayers/pull/12357) - Use calculateElevation function in Shaded Relief example ([@mike-000](https://github.com/mike-000))
* [#12375](https://github.com/openlayers/openlayers/pull/12375) - Fix Vector Tile Selection example on old browsers ([@mike-000](https://github.com/mike-000))
* [#12364](https://github.com/openlayers/openlayers/pull/12364) - Simpler and faster VectorTile loading ([@ahocevar](https://github.com/ahocevar))
* [#12359](https://github.com/openlayers/openlayers/pull/12359) - Fix broken link in docs ([@mike-000](https://github.com/mike-000))
* [#12330](https://github.com/openlayers/openlayers/pull/12330) - Do not require PointerEvent constructor ([@ahocevar](https://github.com/ahocevar))
* [#12355](https://github.com/openlayers/openlayers/pull/12355) - document descending order of resolutions array ([@simonseyock](https://github.com/simonseyock))
* [#12349](https://github.com/openlayers/openlayers/pull/12349) - Document the input to an attribution function ([@mike-000](https://github.com/mike-000))
* [#12340](https://github.com/openlayers/openlayers/pull/12340) - Fix raster example tooltips ([@MoonE](https://github.com/MoonE))
* [#12338](https://github.com/openlayers/openlayers/pull/12338) - Do not use __proto__ to restore instances after main thread - worker transfer ([@ahocevar](https://github.com/ahocevar))
* [#12339](https://github.com/openlayers/openlayers/pull/12339) - Fix confusing import in Mapbox Style example ([@mike-000](https://github.com/mike-000))
* [#12306](https://github.com/openlayers/openlayers/pull/12306) - Fix layer canvas reuse ([@M393](https://github.com/M393))
* [#12334](https://github.com/openlayers/openlayers/pull/12334) - More consistent example for ol/layer/MapboxVector ([@MoonE](https://github.com/MoonE))
* [#12315](https://github.com/openlayers/openlayers/pull/12315) - Improve attribution accessibility ([@MoonE](https://github.com/MoonE))
* [#12313](https://github.com/openlayers/openlayers/pull/12313) - Hitdetection offscreencanvas worker ([@vittrup88](https://github.com/vittrup88))
* [#12297](https://github.com/openlayers/openlayers/pull/12297) - Add condition option to Translate interaction ([@mike-000](https://github.com/mike-000))
* [#12283](https://github.com/openlayers/openlayers/pull/12283) - Add link to yey'maps as a sponsor ([@tschaub](https://github.com/tschaub))
* [#12277](https://github.com/openlayers/openlayers/pull/12277) - Lint the index file after generating the legacy build ([@tschaub](https://github.com/tschaub))
* [#12266](https://github.com/openlayers/openlayers/pull/12266) - Fix legacy build ([@MoonE](https://github.com/MoonE))
* [#12273](https://github.com/openlayers/openlayers/pull/12273) - Use lowercase module names for modules without a default export ([@tschaub](https://github.com/tschaub))
* [#12264](https://github.com/openlayers/openlayers/pull/12264) - Run selected format tests in Node ([@tschaub](https://github.com/tschaub))
* [#12263](https://github.com/openlayers/openlayers/pull/12263) - Fix the next-dev-version.js script ([@tschaub](https://github.com/tschaub))
* [#12241](https://github.com/openlayers/openlayers/pull/12241) - Use modules everywhere ([@tschaub](https://github.com/tschaub))
* [#12250](https://github.com/openlayers/openlayers/pull/12250) - Do not set projection extent in WMTS optionsFromCapabilities ([@mike-000](https://github.com/mike-000))
* [#12259](https://github.com/openlayers/openlayers/pull/12259) - Make it clearer what fails in webgl point layer test ([@tschaub](https://github.com/tschaub))
* [#12258](https://github.com/openlayers/openlayers/pull/12258) - Following the recommendation to run on a merge commit ([@tschaub](https://github.com/tschaub))
* [#12251](https://github.com/openlayers/openlayers/pull/12251) - Test reorganization ([@tschaub](https://github.com/tschaub))
* [#12249](https://github.com/openlayers/openlayers/pull/12249) - Update the name of the build job ([@tschaub](https://github.com/tschaub))
* [#12248](https://github.com/openlayers/openlayers/pull/12248) - Avoid naming required checks with a changing version ([@tschaub](https://github.com/tschaub))
* [#12238](https://github.com/openlayers/openlayers/pull/12238) - Use proxy url as interim fix for mixed content in the MapGuide example ([@mike-000](https://github.com/mike-000))
* [#12239](https://github.com/openlayers/openlayers/pull/12239) - Add example showing how to Draw and Modify geodesic circles ([@mike-000](https://github.com/mike-000))
* [#12247](https://github.com/openlayers/openlayers/pull/12247) - Build on Node 16 and update dev dependencies ([@tschaub](https://github.com/tschaub))
* [#12230](https://github.com/openlayers/openlayers/pull/12230) - Fix @types/estree version and remove skipLibCheck: false from tsconfig ([@ahocevar](https://github.com/ahocevar))
* [#11952](https://github.com/openlayers/openlayers/pull/11952) - Draw 800km circles around both poles in Tissot example ([@mike-000](https://github.com/mike-000))
* [#12229](https://github.com/openlayers/openlayers/pull/12229) - Prevent TypeScript Compiler from erroring out due to lib checks ([@ahocevar](https://github.com/ahocevar))
* [#12224](https://github.com/openlayers/openlayers/pull/12224) - Use a better maintained loader for test coverage ([@ahocevar](https://github.com/ahocevar))
* [#12227](https://github.com/openlayers/openlayers/pull/12227) - Fix event handling for map in shadow root ([@MoonE](https://github.com/MoonE))
* [#12214](https://github.com/openlayers/openlayers/pull/12214) - Do not set invalid style ([@ahocevar](https://github.com/ahocevar))
* [#12216](https://github.com/openlayers/openlayers/pull/12216) - Fix ZoomSlider layout ([@MoonE](https://github.com/MoonE))
* [#12217](https://github.com/openlayers/openlayers/pull/12217) - Fix building of examples with latest copy-webpack-plugin ([@MoonE](https://github.com/MoonE))
* [#12198](https://github.com/openlayers/openlayers/pull/12198) - Add attributionsCollapsible option to source/TileWMS and source/WMTS ([@sbx320](https://github.com/sbx320))
* [#12176](https://github.com/openlayers/openlayers/pull/12176) - Allow private class members to be mangled ([@bz2](https://github.com/bz2))
* [#12178](https://github.com/openlayers/openlayers/pull/12178) - Add WKB (Well-Known Binary) format ([@kikuchan](https://github.com/kikuchan))
* [#12180](https://github.com/openlayers/openlayers/pull/12180) - Fix rendering of MultiPolygon text styles ([@MoonE](https://github.com/MoonE))
* [#12185](https://github.com/openlayers/openlayers/pull/12185) - MapBrowserEvent#preventDefault() behaves the same as with native events ([@ahocevar](https://github.com/ahocevar))
* [#12181](https://github.com/openlayers/openlayers/pull/12181) - Build for ie11 again ([@MoonE](https://github.com/MoonE))
* [#12028](https://github.com/openlayers/openlayers/pull/12028) - Overview map no initial target ([@MoonE](https://github.com/MoonE))
* [#12175](https://github.com/openlayers/openlayers/pull/12175) - Refresh available examples before each compilation ([@MoonE](https://github.com/MoonE))
* [#12172](https://github.com/openlayers/openlayers/pull/12172) - Fix icon displacement ([@ahocevar](https://github.com/ahocevar))
* [#12170](https://github.com/openlayers/openlayers/pull/12170) - Link to GitHub sponsors page ([@tschaub](https://github.com/tschaub))
* [#12168](https://github.com/openlayers/openlayers/pull/12168) - VectorSource#getFeatures() consistently returns a new array ([@ahocevar](https://github.com/ahocevar))
* [#12164](https://github.com/openlayers/openlayers/pull/12164) - Fix offscreen-canvas example ([@ahocevar](https://github.com/ahocevar))
* [#12163](https://github.com/openlayers/openlayers/pull/12163) - Fix how renderMode is derived from options ([@ahocevar](https://github.com/ahocevar))
* [#12137](https://github.com/openlayers/openlayers/pull/12137) - Load less tiles when low on frame budget ([@ahocevar](https://github.com/ahocevar))
* [#12143](https://github.com/openlayers/openlayers/pull/12143) - Fix singleclick and doubleclick events ([@ahocevar](https://github.com/ahocevar))
* [#12141](https://github.com/openlayers/openlayers/pull/12141) - call the success callback after the features are added ([@kikitte](https://github.com/kikitte))
* [#12135](https://github.com/openlayers/openlayers/pull/12135) - Update webpack ([@tschaub](https://github.com/tschaub))
* [#11405](https://github.com/openlayers/openlayers/pull/11405) - Fixes extent calculation in WMTS optionsFromCapabilities when BoundingBox exists ([@amir-ba](https://github.com/amir-ba))
* [#12128](https://github.com/openlayers/openlayers/pull/12128) - Package lockfile version update ([@tschaub](https://github.com/tschaub))
* [#12102](https://github.com/openlayers/openlayers/pull/12102) - Update eslint-config-openlayers ([@simonseyock](https://github.com/simonseyock))
* [#12089](https://github.com/openlayers/openlayers/pull/12089) - Fix common misspellings ([@marcjansen](https://github.com/marcjansen))
* [#12062](https://github.com/openlayers/openlayers/pull/12062) - Fix kml-timezone example tooltip ([@M393](https://github.com/M393))
* [#12088](https://github.com/openlayers/openlayers/pull/12088) - Fix broken url/description of ImageArcGISRest documentation ([@dbretschneider](https://github.com/dbretschneider))
* [#12083](https://github.com/openlayers/openlayers/pull/12083) - Simplify event handling for custom elements ([@ahocevar](https://github.com/ahocevar))
* [#12080](https://github.com/openlayers/openlayers/pull/12080) - Add a minimum distance config to the cluster source ([@MoonE](https://github.com/MoonE))
* [#12084](https://github.com/openlayers/openlayers/pull/12084) - Only preventDefault when event is cancelable ([@ahocevar](https://github.com/ahocevar))
* [#12079](https://github.com/openlayers/openlayers/pull/12079) - Change IGN WMTS example to use PLANIGNV2 layer ([@mike-000](https://github.com/mike-000))
* [#12016](https://github.com/openlayers/openlayers/pull/12016) - Fix VectorLayer hitdetect problems ([@MoonE](https://github.com/MoonE))
* [#11845](https://github.com/openlayers/openlayers/pull/11845) - Call finishCondition for all types for Draw interaction ([@MoonE](https://github.com/MoonE))
* [#12066](https://github.com/openlayers/openlayers/pull/12066) - Always return Promise from getFeatures ([@M393](https://github.com/M393))
* [#12057](https://github.com/openlayers/openlayers/pull/12057) - TileQueue tests with events instead of setTimeout ([@ahocevar](https://github.com/ahocevar))
* [#12058](https://github.com/openlayers/openlayers/pull/12058) - Fix map loading for basemap.at and add attributions ([@M393](https://github.com/M393))
* [#12024](https://github.com/openlayers/openlayers/pull/12024) - Add a tile grid method for getting a tile range given a tile coord and zoom level ([@tschaub](https://github.com/tschaub))
* [#12023](https://github.com/openlayers/openlayers/pull/12023) - Avoid collisions between user variables and internal names in WebGL shaders ([@tschaub](https://github.com/tschaub))
* [#12027](https://github.com/openlayers/openlayers/pull/12027) - Update / fix links to external ressources ([@MoonE](https://github.com/MoonE))
* [#11996](https://github.com/openlayers/openlayers/pull/11996) - Update links to external resources ([@MoonE](https://github.com/MoonE))
* [#12025](https://github.com/openlayers/openlayers/pull/12025) - Remove watch option from webpack serve script ([@fredj](https://github.com/fredj))
* [#12021](https://github.com/openlayers/openlayers/pull/12021) - Allow source projection to be set after construction ([@tschaub](https://github.com/tschaub))
* [#12022](https://github.com/openlayers/openlayers/pull/12022) - Throw when WebGL style parsing encounters an unexpected type ([@tschaub](https://github.com/tschaub))
* [#12020](https://github.com/openlayers/openlayers/pull/12020) - Fix WebGL buffer deletion ([@tschaub](https://github.com/tschaub))
* [#12018](https://github.com/openlayers/openlayers/pull/12018) - Only render vector tile image when needed ([@ahocevar](https://github.com/ahocevar))
* [#12019](https://github.com/openlayers/openlayers/pull/12019) - Always use same order for renderedTiles ([@ahocevar](https://github.com/ahocevar))
* [#12012](https://github.com/openlayers/openlayers/pull/12012) - Fix documentation for account parameter in ol/source/CartoDB ([@geraldo](https://github.com/geraldo))
* [#11995](https://github.com/openlayers/openlayers/pull/11995) - Fix hitdetect inaccuracy for VectorLayer's getFeatures ([@MoonE](https://github.com/MoonE))
* [#11990](https://github.com/openlayers/openlayers/pull/11990) - Remove renderMode: 'image' for vector tile layers ([@ahocevar](https://github.com/ahocevar))
* [#12007](https://github.com/openlayers/openlayers/pull/12007) - Report all features being modified ([@ahocevar](https://github.com/ahocevar))
* [#11991](https://github.com/openlayers/openlayers/pull/11991) - Fix some typings in format and format/WKT ([@simonseyock](https://github.com/simonseyock))
* [#11992](https://github.com/openlayers/openlayers/pull/11992) - Improve measure example ux ([@MoonE](https://github.com/MoonE))
* [#11974](https://github.com/openlayers/openlayers/pull/11974) - Fix polyfill inconsistencies ([@mike-000](https://github.com/mike-000))
* [#11987](https://github.com/openlayers/openlayers/pull/11987) - Respect opacity for vector instructions ([@ahocevar](https://github.com/ahocevar))
* [#11989](https://github.com/openlayers/openlayers/pull/11989) - Correct pixel ratio descriptions ([@mike-000](https://github.com/mike-000))
* [#11988](https://github.com/openlayers/openlayers/pull/11988) - Warn when map container's width or height are zero ([@ahocevar](https://github.com/ahocevar))
* [#11978](https://github.com/openlayers/openlayers/pull/11978) - Add snapToPointer option ([@ahocevar](https://github.com/ahocevar))
* [#11981](https://github.com/openlayers/openlayers/pull/11981) - Add descriptions for properties. ([@simonseyock](https://github.com/simonseyock))
* [#11979](https://github.com/openlayers/openlayers/pull/11979) - Jsdoc types syntax ([@simonseyock](https://github.com/simonseyock))
* [#11977](https://github.com/openlayers/openlayers/pull/11977) - More consistent JSDoc syntax ([@tschaub](https://github.com/tschaub))
* [#11975](https://github.com/openlayers/openlayers/pull/11975) - jsdoc linting ([@simonseyock](https://github.com/simonseyock))
* [#11967](https://github.com/openlayers/openlayers/pull/11967) - Simplify popup positioning in Icon Scale example ([@mike-000](https://github.com/mike-000))
* [#11954](https://github.com/openlayers/openlayers/pull/11954) - Simplify icon example ([@ahocevar](https://github.com/ahocevar))
* [#11965](https://github.com/openlayers/openlayers/pull/11965) - Handle view rotation in d3 Integration example ([@mike-000](https://github.com/mike-000))
* [#11950](https://github.com/openlayers/openlayers/pull/11950) - Make polygons in the GeoJSON example comply to GeoJSON specification ([@mike-000](https://github.com/mike-000))
* [#11948](https://github.com/openlayers/openlayers/pull/11948) - Improve layer typings ([@simonseyock](https://github.com/simonseyock))
* [#11955](https://github.com/openlayers/openlayers/pull/11955) - Fix URLs in ol/source/CartoDB pointing to CartoDB API docs ([@geraldo](https://github.com/geraldo))
* [#11947](https://github.com/openlayers/openlayers/pull/11947) - Demonstrates how to get the coordinates been clustered. ([@yukihiratype2](https://github.com/yukihiratype2))
* [#11938](https://github.com/openlayers/openlayers/pull/11938) - Take view padding into account for calculateExtent() ([@ahocevar](https://github.com/ahocevar))
* [#11941](https://github.com/openlayers/openlayers/pull/11941) - Fix loading flag for vector loading strategies ([@ahocevar](https://github.com/ahocevar))
* [#11925](https://github.com/openlayers/openlayers/pull/11925) - Mention unit of radius for Polygon.circular() ([@kannes](https://github.com/kannes))
* [#11914](https://github.com/openlayers/openlayers/pull/11914) - Fix image with text decluttering ([@ahocevar](https://github.com/ahocevar))
* [#11911](https://github.com/openlayers/openlayers/pull/11911) - Do not clip declutter executor groups ([@ahocevar](https://github.com/ahocevar))
* [#11856](https://github.com/openlayers/openlayers/pull/11856) - Use tilegrid extent as default attributionExtent for TileJSON ([@mike-000](https://github.com/mike-000))
* [#11900](https://github.com/openlayers/openlayers/pull/11900) - Update pratique key to choisirgeoportail in the IGN WMTS example ([@mike-000](https://github.com/mike-000))
* [#11913](https://github.com/openlayers/openlayers/pull/11913) - Handle null geometry in TopoJSON ([@mike-000](https://github.com/mike-000))
* [#11893](https://github.com/openlayers/openlayers/pull/11893) - Pass the renderer function to the cloned style ([@mjjurkoic](https://github.com/mjjurkoic))
* [#11901](https://github.com/openlayers/openlayers/pull/11901) - Fix handling of VectorTile renderBuffer ([@ahocevar](https://github.com/ahocevar))
* [#11899](https://github.com/openlayers/openlayers/pull/11899) - Update HERE Map Tile API example to use API key ([@mike-000](https://github.com/mike-000))
* [#11890](https://github.com/openlayers/openlayers/pull/11890) - Fix WFS writeFilter ([@walkermatt](https://github.com/walkermatt))
* [#11892](https://github.com/openlayers/openlayers/pull/11892) - Restore stopClick functionality ([@ahocevar](https://github.com/ahocevar))
* [#11882](https://github.com/openlayers/openlayers/pull/11882) - Improved documentation for feature load events. ([@simonseyock](https://github.com/simonseyock))
* [#11886](https://github.com/openlayers/openlayers/pull/11886) - Throw an error if shaders fail to compile or program fails to link ([@tschaub](https://github.com/tschaub))
* [#11874](https://github.com/openlayers/openlayers/pull/11874) - Hit lines even if they are dashed ([@tschaub](https://github.com/tschaub))
* [#11873](https://github.com/openlayers/openlayers/pull/11873) - Update Mapbox-gl Layer example to mapbox-gl-js version 1.13.0 and add note about why an old version is used ([@mike-000](https://github.com/mike-000))
* [#11865](https://github.com/openlayers/openlayers/pull/11865) - Use ol/array#includes instead of Array.prototype.includes() ([@mike-000](https://github.com/mike-000))
* [#11872](https://github.com/openlayers/openlayers/pull/11872) - Legacy build for legacy browsers ([@ahocevar](https://github.com/ahocevar))
* [#11871](https://github.com/openlayers/openlayers/pull/11871) - Fix examples and build for ie11 ([@MoonE](https://github.com/MoonE))
<details>
<summary>Dependency Updates</summary>
* [#12470](https://github.com/openlayers/openlayers/pull/12470) - Bump loglevelnext from 4.0.1 to 5.0.5 ([@openlayers](https://github.com/openlayers))
* [#12472](https://github.com/openlayers/openlayers/pull/12472) - Bump eslint from 7.29.0 to 7.30.0 ([@openlayers](https://github.com/openlayers))
* [#12471](https://github.com/openlayers/openlayers/pull/12471) - Bump coveralls from 3.1.0 to 3.1.1 ([@openlayers](https://github.com/openlayers))
* [#12473](https://github.com/openlayers/openlayers/pull/12473) - Bump mocha from 9.0.1 to 9.0.2 ([@openlayers](https://github.com/openlayers))
* [#12476](https://github.com/openlayers/openlayers/pull/12476) - Bump @types/topojson-specification from 1.0.1 to 1.0.2 ([@openlayers](https://github.com/openlayers))
* [#12469](https://github.com/openlayers/openlayers/pull/12469) - Bump puppeteer from 10.0.0 to 10.1.0 ([@openlayers](https://github.com/openlayers))
* [#12474](https://github.com/openlayers/openlayers/pull/12474) - Bump typescript from 4.3.4 to 4.3.5 ([@openlayers](https://github.com/openlayers))
* [#12475](https://github.com/openlayers/openlayers/pull/12475) - Bump rollup from 2.52.3 to 2.52.7 ([@openlayers](https://github.com/openlayers))
* [#12468](https://github.com/openlayers/openlayers/pull/12468) - Bump webpack from 5.40.0 to 5.42.0 ([@openlayers](https://github.com/openlayers))
* [#12443](https://github.com/openlayers/openlayers/pull/12443) - Bump marked from 2.1.2 to 2.1.3 ([@openlayers](https://github.com/openlayers))
* [#12444](https://github.com/openlayers/openlayers/pull/12444) - Bump terser-webpack-plugin from 5.1.3 to 5.1.4 ([@openlayers](https://github.com/openlayers))
* [#12445](https://github.com/openlayers/openlayers/pull/12445) - Bump @babel/preset-env from 7.14.5 to 7.14.7 ([@openlayers](https://github.com/openlayers))
* [#12446](https://github.com/openlayers/openlayers/pull/12446) - Bump rollup from 2.52.2 to 2.52.3 ([@openlayers](https://github.com/openlayers))
* [#12447](https://github.com/openlayers/openlayers/pull/12447) - Bump eslint-config-openlayers from 15.0.0 to 15.1.0 ([@openlayers](https://github.com/openlayers))
* [#12448](https://github.com/openlayers/openlayers/pull/12448) - Bump copy-webpack-plugin from 9.0.0 to 9.0.1 ([@openlayers](https://github.com/openlayers))
* [#12449](https://github.com/openlayers/openlayers/pull/12449) - Bump @babel/eslint-parser from 7.14.5 to 7.14.7 ([@openlayers](https://github.com/openlayers))
* [#12423](https://github.com/openlayers/openlayers/pull/12423) - Bump globby from 11.0.3 to 11.0.4 ([@openlayers](https://github.com/openlayers))
* [#12435](https://github.com/openlayers/openlayers/pull/12435) - Bump marked from 2.0.7 to 2.1.2 ([@openlayers](https://github.com/openlayers))
* [#12426](https://github.com/openlayers/openlayers/pull/12426) - Bump @babel/core from 7.14.5 to 7.14.6 ([@openlayers](https://github.com/openlayers))
* [#12427](https://github.com/openlayers/openlayers/pull/12427) - Bump typescript from 4.3.2 to 4.3.4 ([@openlayers](https://github.com/openlayers))
* [#12421](https://github.com/openlayers/openlayers/pull/12421) - Bump eslint from 7.28.0 to 7.29.0 ([@openlayers](https://github.com/openlayers))
* [#12420](https://github.com/openlayers/openlayers/pull/12420) - Bump mocha from 9.0.0 to 9.0.1 ([@openlayers](https://github.com/openlayers))
* [#12425](https://github.com/openlayers/openlayers/pull/12425) - Bump rollup from 2.51.2 to 2.52.2 ([@openlayers](https://github.com/openlayers))
* [#12428](https://github.com/openlayers/openlayers/pull/12428) - Bump proj4 from 2.7.2 to 2.7.4 ([@openlayers](https://github.com/openlayers))
* [#12433](https://github.com/openlayers/openlayers/pull/12433) - Bump webpack from 5.38.1 to 5.40.0 ([@openlayers](https://github.com/openlayers))
* [#12397](https://github.com/openlayers/openlayers/pull/12397) - Bump @babel/eslint-parser from 7.14.4 to 7.14.5 ([@openlayers](https://github.com/openlayers))
* [#12398](https://github.com/openlayers/openlayers/pull/12398) - Bump karma from 6.3.3 to 6.3.4 ([@openlayers](https://github.com/openlayers))
* [#12400](https://github.com/openlayers/openlayers/pull/12400) - Bump webpack-cli from 4.7.0 to 4.7.2 ([@openlayers](https://github.com/openlayers))
* [#12401](https://github.com/openlayers/openlayers/pull/12401) - Bump @babel/preset-env from 7.14.4 to 7.14.5 ([@openlayers](https://github.com/openlayers))
* [#12402](https://github.com/openlayers/openlayers/pull/12402) - Bump rollup from 2.51.0 to 2.51.2 ([@openlayers](https://github.com/openlayers))
* [#12403](https://github.com/openlayers/openlayers/pull/12403) - Bump @babel/core from 7.14.3 to 7.14.5 ([@openlayers](https://github.com/openlayers))
* [#12399](https://github.com/openlayers/openlayers/pull/12399) - Bump mocha from 8.4.0 to 9.0.0 ([@openlayers](https://github.com/openlayers))
* [#12386](https://github.com/openlayers/openlayers/pull/12386) - Bump rollup from 2.50.5 to 2.51.0 ([@openlayers](https://github.com/openlayers))
* [#12384](https://github.com/openlayers/openlayers/pull/12384) - Bump karma-firefox-launcher from 2.1.0 to 2.1.1 ([@openlayers](https://github.com/openlayers))
* [#12385](https://github.com/openlayers/openlayers/pull/12385) - Bump marked from 2.0.6 to 2.0.7 ([@openlayers](https://github.com/openlayers))
* [#12383](https://github.com/openlayers/openlayers/pull/12383) - Bump webpack-dev-middleware from 4.3.0 to 5.0.0 ([@openlayers](https://github.com/openlayers))
* [#12379](https://github.com/openlayers/openlayers/pull/12379) - Bump karma from 6.3.2 to 6.3.3 ([@openlayers](https://github.com/openlayers))
* [#12381](https://github.com/openlayers/openlayers/pull/12381) - Bump terser-webpack-plugin from 5.1.2 to 5.1.3 ([@openlayers](https://github.com/openlayers))
* [#12382](https://github.com/openlayers/openlayers/pull/12382) - Bump eslint from 7.27.0 to 7.28.0 ([@openlayers](https://github.com/openlayers))
* [#12380](https://github.com/openlayers/openlayers/pull/12380) - Bump puppeteer from 9.1.1 to 10.0.0 ([@openlayers](https://github.com/openlayers))
* [#12368](https://github.com/openlayers/openlayers/pull/12368) - Bump typescript from 4.2.4 to 4.3.2 ([@openlayers](https://github.com/openlayers))
* [#12365](https://github.com/openlayers/openlayers/pull/12365) - Bump rollup from 2.49.0 to 2.50.5 ([@openlayers](https://github.com/openlayers))
* [#12371](https://github.com/openlayers/openlayers/pull/12371) - Bump marked from 2.0.5 to 2.0.6 ([@openlayers](https://github.com/openlayers))
* [#12366](https://github.com/openlayers/openlayers/pull/12366) - Bump @babel/eslint-parser from 7.14.3 to 7.14.4 ([@openlayers](https://github.com/openlayers))
* [#12367](https://github.com/openlayers/openlayers/pull/12367) - Bump @babel/preset-env from 7.14.2 to 7.14.4 ([@openlayers](https://github.com/openlayers))
* [#12369](https://github.com/openlayers/openlayers/pull/12369) - Bump webpack from 5.37.1 to 5.38.1 ([@openlayers](https://github.com/openlayers))
* [#12370](https://github.com/openlayers/openlayers/pull/12370) - Bump webpack-sources from 2.2.0 to 2.3.0 ([@openlayers](https://github.com/openlayers))
* [#12372](https://github.com/openlayers/openlayers/pull/12372) - Bump sinon from 10.0.0 to 11.1.1 ([@openlayers](https://github.com/openlayers))
* [#12341](https://github.com/openlayers/openlayers/pull/12341) - Bump webpack-dev-middleware from 4.2.0 to 4.3.0 ([@openlayers](https://github.com/openlayers))
* [#12321](https://github.com/openlayers/openlayers/pull/12321) - Bump webpack-dev-server from 4.0.0-beta.2 to 4.0.0-beta.3 ([@openlayers](https://github.com/openlayers))
* [#12345](https://github.com/openlayers/openlayers/pull/12345) - Bump eslint from 7.26.0 to 7.27.0 ([@openlayers](https://github.com/openlayers))
* [#12342](https://github.com/openlayers/openlayers/pull/12342) - Bump copy-webpack-plugin from 8.1.1 to 9.0.0 ([@openlayers](https://github.com/openlayers))
* [#12343](https://github.com/openlayers/openlayers/pull/12343) - Bump rollup from 2.48.0 to 2.49.0 ([@openlayers](https://github.com/openlayers))
* [#12344](https://github.com/openlayers/openlayers/pull/12344) - Bump marked from 2.0.3 to 2.0.5 ([@openlayers](https://github.com/openlayers))
* [#12346](https://github.com/openlayers/openlayers/pull/12346) - Bump @babel/core from 7.14.2 to 7.14.3 ([@openlayers](https://github.com/openlayers))
* [#12347](https://github.com/openlayers/openlayers/pull/12347) - Bump @babel/eslint-parser from 7.14.2 to 7.14.3 ([@openlayers](https://github.com/openlayers))
* [#12348](https://github.com/openlayers/openlayers/pull/12348) - Bump webpack from 5.37.0 to 5.37.1 ([@openlayers](https://github.com/openlayers))
* [#12326](https://github.com/openlayers/openlayers/pull/12326) - Bump webpack from 5.36.2 to 5.37.0 ([@openlayers](https://github.com/openlayers))
* [#12323](https://github.com/openlayers/openlayers/pull/12323) - Bump @babel/core from 7.14.0 to 7.14.2 ([@openlayers](https://github.com/openlayers))
* [#12322](https://github.com/openlayers/openlayers/pull/12322) - Bump jsdoc from 3.6.6 to 3.6.7 ([@openlayers](https://github.com/openlayers))
* [#12324](https://github.com/openlayers/openlayers/pull/12324) - Bump rollup from 2.47.0 to 2.48.0 ([@openlayers](https://github.com/openlayers))
* [#12325](https://github.com/openlayers/openlayers/pull/12325) - Bump terser-webpack-plugin from 5.1.1 to 5.1.2 ([@openlayers](https://github.com/openlayers))
* [#12327](https://github.com/openlayers/openlayers/pull/12327) - Bump @babel/eslint-parser from 7.13.14 to 7.14.2 ([@openlayers](https://github.com/openlayers))
* [#12328](https://github.com/openlayers/openlayers/pull/12328) - Bump @babel/preset-env from 7.14.0 to 7.14.2 ([@openlayers](https://github.com/openlayers))
* [#12320](https://github.com/openlayers/openlayers/pull/12320) - Bump webpack-dev-middleware from 4.1.0 to 4.2.0 ([@openlayers](https://github.com/openlayers))
* [#12288](https://github.com/openlayers/openlayers/pull/12288) - Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0 ([@openlayers](https://github.com/openlayers))
* [#12286](https://github.com/openlayers/openlayers/pull/12286) - Bump fs-extra from 9.1.0 to 10.0.0 ([@openlayers](https://github.com/openlayers))
* [#12287](https://github.com/openlayers/openlayers/pull/12287) - Bump webpack-cli from 4.6.0 to 4.7.0 ([@openlayers](https://github.com/openlayers))
* [#12293](https://github.com/openlayers/openlayers/pull/12293) - Bump yargs from 17.0.0 to 17.0.1 ([@openlayers](https://github.com/openlayers))
* [#12289](https://github.com/openlayers/openlayers/pull/12289) - Bump @rollup/plugin-commonjs from 18.0.0 to 19.0.0 ([@openlayers](https://github.com/openlayers))
* [#12290](https://github.com/openlayers/openlayers/pull/12290) - Bump rollup from 2.46.0 to 2.47.0 ([@openlayers](https://github.com/openlayers))
* [#12291](https://github.com/openlayers/openlayers/pull/12291) - Bump puppeteer from 9.0.0 to 9.1.1 ([@openlayers](https://github.com/openlayers))
* [#12292](https://github.com/openlayers/openlayers/pull/12292) - Bump eslint from 7.25.0 to 7.26.0 ([@openlayers](https://github.com/openlayers))
* [#12294](https://github.com/openlayers/openlayers/pull/12294) - Bump mocha from 8.3.2 to 8.4.0 ([@openlayers](https://github.com/openlayers))
* [#12295](https://github.com/openlayers/openlayers/pull/12295) - Bump glob from 7.1.6 to 7.1.7 ([@openlayers](https://github.com/openlayers))
* [#12269](https://github.com/openlayers/openlayers/pull/12269) - Bump webpack from 5.36.1 to 5.36.2 ([@openlayers](https://github.com/openlayers))
* [#12268](https://github.com/openlayers/openlayers/pull/12268) - Bump rollup from 2.45.2 to 2.46.0 ([@openlayers](https://github.com/openlayers))
* [#12270](https://github.com/openlayers/openlayers/pull/12270) - Bump @babel/preset-env from 7.13.15 to 7.14.0 ([@openlayers](https://github.com/openlayers))
* [#12271](https://github.com/openlayers/openlayers/pull/12271) - Bump yargs from 16.2.0 to 17.0.0 ([@openlayers](https://github.com/openlayers))
* [#12272](https://github.com/openlayers/openlayers/pull/12272) - Bump @babel/core from 7.13.16 to 7.14.0 ([@openlayers](https://github.com/openlayers))
* [#12256](https://github.com/openlayers/openlayers/pull/12256) - Bump clean-css-cli from 5.2.2 to 5.3.0 ([@openlayers](https://github.com/openlayers))
* [#12255](https://github.com/openlayers/openlayers/pull/12255) - Bump webpack from 5.35.1 to 5.36.1 ([@openlayers](https://github.com/openlayers))
* [#12254](https://github.com/openlayers/openlayers/pull/12254) - Upgrade to GitHub-native Dependabot ([@openlayers](https://github.com/openlayers))
* [#12245](https://github.com/openlayers/openlayers/pull/12245) - Bump webpack from 5.33.2 to 5.35.1 ([@openlayers](https://github.com/openlayers))
* [#12244](https://github.com/openlayers/openlayers/pull/12244) - Bump @babel/core from 7.13.15 to 7.13.16 ([@openlayers](https://github.com/openlayers))
* [#12243](https://github.com/openlayers/openlayers/pull/12243) - Bump puppeteer from 8.0.0 to 9.0.0 ([@openlayers](https://github.com/openlayers))
* [#12242](https://github.com/openlayers/openlayers/pull/12242) - Bump eslint from 7.24.0 to 7.25.0 ([@openlayers](https://github.com/openlayers))
* [#12206](https://github.com/openlayers/openlayers/pull/12206) - Bump rollup from 2.44.0 to 2.45.1 ([@openlayers](https://github.com/openlayers))
* [#12205](https://github.com/openlayers/openlayers/pull/12205) - Bump typescript from 4.2.3 to 4.2.4 ([@openlayers](https://github.com/openlayers))
* [#12204](https://github.com/openlayers/openlayers/pull/12204) - Bump @babel/preset-env from 7.13.12 to 7.13.15 ([@openlayers](https://github.com/openlayers))
* [#12203](https://github.com/openlayers/openlayers/pull/12203) - Bump marked from 2.0.1 to 2.0.3 ([@openlayers](https://github.com/openlayers))
* [#12202](https://github.com/openlayers/openlayers/pull/12202) - Bump copy-webpack-plugin from 8.1.0 to 8.1.1 ([@openlayers](https://github.com/openlayers))
* [#12201](https://github.com/openlayers/openlayers/pull/12201) - Bump @babel/core from 7.13.14 to 7.13.15 ([@openlayers](https://github.com/openlayers))
* [#12200](https://github.com/openlayers/openlayers/pull/12200) - Bump webpack from 5.30.0 to 5.31.2 ([@openlayers](https://github.com/openlayers))
* [#12199](https://github.com/openlayers/openlayers/pull/12199) - Bump eslint from 7.23.0 to 7.24.0 ([@openlayers](https://github.com/openlayers))
* [#12184](https://github.com/openlayers/openlayers/pull/12184) - Bump karma from 6.3.1 to 6.3.2 ([@openlayers](https://github.com/openlayers))
* [#12183](https://github.com/openlayers/openlayers/pull/12183) - Bump @babel/core from 7.13.13 to 7.13.14 ([@openlayers](https://github.com/openlayers))
* [#12182](https://github.com/openlayers/openlayers/pull/12182) - Bump copy-webpack-plugin from 8.0.0 to 8.1.0 ([@openlayers](https://github.com/openlayers))
* [#12155](https://github.com/openlayers/openlayers/pull/12155) - Bump eslint from 7.22.0 to 7.23.0 ([@openlayers](https://github.com/openlayers))
* [#12158](https://github.com/openlayers/openlayers/pull/12158) - Bump @babel/preset-env from 7.13.10 to 7.13.12 ([@openlayers](https://github.com/openlayers))
* [#12156](https://github.com/openlayers/openlayers/pull/12156) - Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1 ([@openlayers](https://github.com/openlayers))
* [#12159](https://github.com/openlayers/openlayers/pull/12159) - Bump @babel/core from 7.13.10 to 7.13.13 ([@openlayers](https://github.com/openlayers))
* [#12174](https://github.com/openlayers/openlayers/pull/12174) - Bump rollup from 2.42.3 to 2.44.0 ([@openlayers](https://github.com/openlayers))
* [#12157](https://github.com/openlayers/openlayers/pull/12157) - Bump karma from 6.2.0 to 6.3.1 ([@openlayers](https://github.com/openlayers))
* [#12173](https://github.com/openlayers/openlayers/pull/12173) - Bump webpack from 5.27.2 to 5.30.0 ([@openlayers](https://github.com/openlayers))
* [#12153](https://github.com/openlayers/openlayers/pull/12153) - Bump webpack-cli from 4.5.0 to 4.6.0 ([@openlayers](https://github.com/openlayers))
* [#12151](https://github.com/openlayers/openlayers/pull/12151) - Bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0 ([@openlayers](https://github.com/openlayers))
* [#12150](https://github.com/openlayers/openlayers/pull/12150) - Bump sinon from 9.2.4 to 10.0.0 ([@openlayers](https://github.com/openlayers))
* [#12130](https://github.com/openlayers/openlayers/pull/12130) - Bump clean-css-cli from 5.2.1 to 5.2.2 ([@openlayers](https://github.com/openlayers))
* [#12131](https://github.com/openlayers/openlayers/pull/12131) - Bump rollup from 2.41.2 to 2.42.2 ([@openlayers](https://github.com/openlayers))
* [#12108](https://github.com/openlayers/openlayers/pull/12108) - Bump @babel/preset-env from 7.13.9 to 7.13.10 ([@openlayers](https://github.com/openlayers))
* [#12109](https://github.com/openlayers/openlayers/pull/12109) - Bump mocha from 8.3.1 to 8.3.2 ([@openlayers](https://github.com/openlayers))
* [#12110](https://github.com/openlayers/openlayers/pull/12110) - Bump rollup from 2.40.0 to 2.41.2 ([@openlayers](https://github.com/openlayers))
* [#12111](https://github.com/openlayers/openlayers/pull/12111) - Bump @babel/core from 7.13.8 to 7.13.10 ([@openlayers](https://github.com/openlayers))
* [#12107](https://github.com/openlayers/openlayers/pull/12107) - Bump eslint from 7.21.0 to 7.22.0 ([@openlayers](https://github.com/openlayers))
* [#12112](https://github.com/openlayers/openlayers/pull/12112) - Bump karma from 6.1.1 to 6.2.0 ([@openlayers](https://github.com/openlayers))
* [#12099](https://github.com/openlayers/openlayers/pull/12099) - [Security] Bump elliptic from 6.5.3 to 6.5.4 ([@openlayers](https://github.com/openlayers))
* [#12097](https://github.com/openlayers/openlayers/pull/12097) - Bump ol-mapbox-style from 6.3.1 to 6.3.2 ([@openlayers](https://github.com/openlayers))
* [#12096](https://github.com/openlayers/openlayers/pull/12096) - Bump @babel/preset-env from 7.13.8 to 7.13.9 ([@openlayers](https://github.com/openlayers))
* [#12095](https://github.com/openlayers/openlayers/pull/12095) - Bump clean-css-cli from 5.2.0 to 5.2.1 ([@openlayers](https://github.com/openlayers))
* [#12094](https://github.com/openlayers/openlayers/pull/12094) - Bump jquery from 3.5.1 to 3.6.0 ([@openlayers](https://github.com/openlayers))
* [#12093](https://github.com/openlayers/openlayers/pull/12093) - Bump typescript from 4.2.2 to 4.2.3 ([@openlayers](https://github.com/openlayers))
* [#12092](https://github.com/openlayers/openlayers/pull/12092) - Bump proj4 from 2.7.0 to 2.7.2 ([@openlayers](https://github.com/openlayers))
* [#12091](https://github.com/openlayers/openlayers/pull/12091) - Bump mocha from 8.3.0 to 8.3.1 ([@openlayers](https://github.com/openlayers))
* [#12077](https://github.com/openlayers/openlayers/pull/12077) - Bump rollup from 2.39.0 to 2.40.0 ([@openlayers](https://github.com/openlayers))
* [#12076](https://github.com/openlayers/openlayers/pull/12076) - Bump typescript from 4.1.5 to 4.2.2 ([@openlayers](https://github.com/openlayers))
* [#12075](https://github.com/openlayers/openlayers/pull/12075) - Bump eslint from 7.20.0 to 7.21.0 ([@openlayers](https://github.com/openlayers))
* [#12074](https://github.com/openlayers/openlayers/pull/12074) - Bump marked from 2.0.0 to 2.0.1 ([@openlayers](https://github.com/openlayers))
* [#12073](https://github.com/openlayers/openlayers/pull/12073) - Bump @babel/preset-env from 7.12.17 to 7.13.8 ([@openlayers](https://github.com/openlayers))
* [#12072](https://github.com/openlayers/openlayers/pull/12072) - Bump puppeteer from 7.1.0 to 8.0.0 ([@openlayers](https://github.com/openlayers))
* [#12071](https://github.com/openlayers/openlayers/pull/12071) - Bump @babel/core from 7.12.17 to 7.13.8 ([@openlayers](https://github.com/openlayers))
* [#12056](https://github.com/openlayers/openlayers/pull/12056) - Bump @babel/preset-env from 7.12.16 to 7.12.17 ([@openlayers](https://github.com/openlayers))
* [#12055](https://github.com/openlayers/openlayers/pull/12055) - Bump handlebars from 4.7.6 to 4.7.7 ([@openlayers](https://github.com/openlayers))
* [#12054](https://github.com/openlayers/openlayers/pull/12054) - Bump @babel/core from 7.12.16 to 7.12.17 ([@openlayers](https://github.com/openlayers))
* [#12053](https://github.com/openlayers/openlayers/pull/12053) - Bump clean-css-cli from 5.1.0 to 5.2.0 ([@openlayers](https://github.com/openlayers))
* [#12036](https://github.com/openlayers/openlayers/pull/12036) - Bump clean-css-cli from 4.3.0 to 5.1.0 ([@openlayers](https://github.com/openlayers))
* [#12035](https://github.com/openlayers/openlayers/pull/12035) - Bump karma from 6.1.0 to 6.1.1 ([@openlayers](https://github.com/openlayers))
* [#12031](https://github.com/openlayers/openlayers/pull/12031) - Bump puppeteer from 7.0.1 to 7.1.0 ([@openlayers](https://github.com/openlayers))
* [#12033](https://github.com/openlayers/openlayers/pull/12033) - Bump typescript from 4.1.3 to 4.1.5 ([@openlayers](https://github.com/openlayers))
* [#12030](https://github.com/openlayers/openlayers/pull/12030) - Bump worker-loader from 3.0.7 to 3.0.8 ([@openlayers](https://github.com/openlayers))
* [#12032](https://github.com/openlayers/openlayers/pull/12032) - Bump rollup from 2.38.5 to 2.39.0 ([@openlayers](https://github.com/openlayers))
* [#12034](https://github.com/openlayers/openlayers/pull/12034) - Bump eslint from 7.19.0 to 7.20.0 ([@openlayers](https://github.com/openlayers))
* [#12037](https://github.com/openlayers/openlayers/pull/12037) - Bump mocha from 8.2.1 to 8.3.0 ([@openlayers](https://github.com/openlayers))
* [#12038](https://github.com/openlayers/openlayers/pull/12038) - Bump @babel/core from 7.12.13 to 7.12.16 ([@openlayers](https://github.com/openlayers))
* [#12039](https://github.com/openlayers/openlayers/pull/12039) - Bump @babel/preset-env from 7.12.13 to 7.12.16 ([@openlayers](https://github.com/openlayers))
* [#12004](https://github.com/openlayers/openlayers/pull/12004) - Bump rollup from 2.38.3 to 2.38.5 ([@openlayers](https://github.com/openlayers))
* [#12001](https://github.com/openlayers/openlayers/pull/12001) - Bump karma from 6.0.3 to 6.1.0 ([@openlayers](https://github.com/openlayers))
* [#11999](https://github.com/openlayers/openlayers/pull/11999) - Bump @babel/preset-env from 7.12.11 to 7.12.13 ([@openlayers](https://github.com/openlayers))
* [#12000](https://github.com/openlayers/openlayers/pull/12000) - Bump @babel/core from 7.12.10 to 7.12.13 ([@openlayers](https://github.com/openlayers))
* [#12003](https://github.com/openlayers/openlayers/pull/12003) - Bump puppeteer from 5.5.0 to 7.0.1 ([@openlayers](https://github.com/openlayers))
* [#12005](https://github.com/openlayers/openlayers/pull/12005) - Bump webpack-cli from 4.4.0 to 4.5.0 ([@openlayers](https://github.com/openlayers))
* [#12002](https://github.com/openlayers/openlayers/pull/12002) - [Security] Bump marked from 1.2.8 to 2.0.0 ([@openlayers](https://github.com/openlayers))
* [#11971](https://github.com/openlayers/openlayers/pull/11971) - Bump marked from 1.2.7 to 1.2.8 ([@openlayers](https://github.com/openlayers))
* [#11970](https://github.com/openlayers/openlayers/pull/11970) - Bump eslint from 7.18.0 to 7.19.0 ([@openlayers](https://github.com/openlayers))
* [#11969](https://github.com/openlayers/openlayers/pull/11969) - Bump rollup from 2.38.0 to 2.38.3 ([@openlayers](https://github.com/openlayers))
* [#11968](https://github.com/openlayers/openlayers/pull/11968) - Bump karma from 6.0.1 to 6.0.3 ([@openlayers](https://github.com/openlayers))
* [#11943](https://github.com/openlayers/openlayers/pull/11943) - Bump fs-extra from 9.0.1 to 9.1.0 ([@openlayers](https://github.com/openlayers))
* [#11944](https://github.com/openlayers/openlayers/pull/11944) - Bump webpack-cli from 4.3.1 to 4.4.0 ([@openlayers](https://github.com/openlayers))
* [#11945](https://github.com/openlayers/openlayers/pull/11945) - Bump sinon from 9.2.3 to 9.2.4 ([@openlayers](https://github.com/openlayers))
* [#11942](https://github.com/openlayers/openlayers/pull/11942) - Bump rollup from 2.36.2 to 2.38.0 ([@openlayers](https://github.com/openlayers))
* [#11933](https://github.com/openlayers/openlayers/pull/11933) - Bump karma from 5.2.3 to 6.0.1 ([@openlayers](https://github.com/openlayers))
* [#11930](https://github.com/openlayers/openlayers/pull/11930) - [Security] Bump socket.io from 2.3.0 to 2.4.1 ([@openlayers](https://github.com/openlayers))
* [#11919](https://github.com/openlayers/openlayers/pull/11919) - Bump webpack-dev-server from 3.11.1 to 3.11.2 ([@openlayers](https://github.com/openlayers))
* [#11922](https://github.com/openlayers/openlayers/pull/11922) - Bump eslint from 7.17.0 to 7.18.0 ([@openlayers](https://github.com/openlayers))
* [#11921](https://github.com/openlayers/openlayers/pull/11921) - Bump rollup from 2.36.1 to 2.36.2 ([@openlayers](https://github.com/openlayers))
* [#11918](https://github.com/openlayers/openlayers/pull/11918) - Bump webpack from 4.45.0 to 4.46.0 ([@openlayers](https://github.com/openlayers))
* [#11915](https://github.com/openlayers/openlayers/pull/11915) - Bump webpack-dev-middleware from 4.0.2 to 4.1.0 ([@openlayers](https://github.com/openlayers))
* [#11920](https://github.com/openlayers/openlayers/pull/11920) - Bump proj4 from 2.6.3 to 2.7.0 ([@openlayers](https://github.com/openlayers))
* [#11916](https://github.com/openlayers/openlayers/pull/11916) - Bump ol-mapbox-style from 6.3.0 to 6.3.1 ([@openlayers](https://github.com/openlayers))
* [#11905](https://github.com/openlayers/openlayers/pull/11905) - Bump globby from 11.0.1 to 11.0.2 ([@openlayers](https://github.com/openlayers))
* [#11904](https://github.com/openlayers/openlayers/pull/11904) - Bump webpack from 4.44.2 to 4.45.0 ([@openlayers](https://github.com/openlayers))
* [#11903](https://github.com/openlayers/openlayers/pull/11903) - Bump rollup from 2.35.1 to 2.36.1 ([@openlayers](https://github.com/openlayers))
* [#11902](https://github.com/openlayers/openlayers/pull/11902) - Bump sinon from 9.2.2 to 9.2.3 ([@openlayers](https://github.com/openlayers))
* [#11877](https://github.com/openlayers/openlayers/pull/11877) - Bump webpack-cli from 4.3.0 to 4.3.1 ([@openlayers](https://github.com/openlayers))
* [#11878](https://github.com/openlayers/openlayers/pull/11878) - Bump webpack-dev-server from 3.11.0 to 3.11.1 ([@openlayers](https://github.com/openlayers))
* [#11879](https://github.com/openlayers/openlayers/pull/11879) - Bump eslint from 7.16.0 to 7.17.0 ([@openlayers](https://github.com/openlayers))
* [#11868](https://github.com/openlayers/openlayers/pull/11868) - Bump worker-loader from 3.0.6 to 3.0.7 ([@openlayers](https://github.com/openlayers))
* [#11867](https://github.com/openlayers/openlayers/pull/11867) - Bump webpack-cli from 4.2.0 to 4.3.0 ([@openlayers](https://github.com/openlayers))
</details>

26
changelog/v6.6.1.md Normal file
View File

@@ -0,0 +1,26 @@
# 6.6.1
This is a bugfix release which brings improvements to the included TypeScript types, and fixes two minor issues with the Draw interaction and hit detection of regular shape symbols.
## List of all changes
* [#12498](https://github.com/openlayers/openlayers/pull/12498) - CanvasLayerRenderer: Forward LayerType type parameter to LayerRenderer ([@bryantevans00](https://github.com/bryantevans00))
* [#12518](https://github.com/openlayers/openlayers/pull/12518) - VectorEventType: Add 'changefeature' in @typedef ([@DaniEll-AT](https://github.com/DaniEll-AT))
* [#12517](https://github.com/openlayers/openlayers/pull/12517) - Update ela-compil sponsors section of README ([@ela-compil](https://github.com/ela-compil))
* [#12511](https://github.com/openlayers/openlayers/pull/12511) - Add ela-compil to sponsors section of README ([@ahocevar](https://github.com/ahocevar))
* [#12513](https://github.com/openlayers/openlayers/pull/12513) - Draw a sketch point when adding a vertex programmatically ([@ahocevar](https://github.com/ahocevar))
* [#12507](https://github.com/openlayers/openlayers/pull/12507) - Fix regular shape hit detect transparent fill ([@MoonE](https://github.com/MoonE))
* [#12509](https://github.com/openlayers/openlayers/pull/12509) - Allow any return type from listener functions ([@ahocevar](https://github.com/ahocevar))
* [#12505](https://github.com/openlayers/openlayers/pull/12505) - Fix type of PluggableMap#setTarget() argument ([@ahocevar](https://github.com/ahocevar))
* [#12495](https://github.com/openlayers/openlayers/pull/12495) - Edits to the changelog ([@tschaub](https://github.com/tschaub))
<details>
<summary>Dependency Updates</summary>
* [#12503](https://github.com/openlayers/openlayers/pull/12503) - Bump webpack from 5.42.0 to 5.44.0 ([@openlayers](https://github.com/openlayers))
* [#12502](https://github.com/openlayers/openlayers/pull/12502) - Bump @types/geojson from 7946.0.7 to 7946.0.8 ([@openlayers](https://github.com/openlayers))
* [#12501](https://github.com/openlayers/openlayers/pull/12501) - Bump rollup from 2.52.7 to 2.53.1 ([@openlayers](https://github.com/openlayers))
* [#12500](https://github.com/openlayers/openlayers/pull/12500) - Bump @types/arcgis-rest-api from 10.4.4 to 10.4.5 ([@openlayers](https://github.com/openlayers))
</details>

121
changelog/v6.7.0.md Normal file
View File

@@ -0,0 +1,121 @@
# 6.7.0
The 6.7 release includes a great batch of usability improvements, fixes, and new features. See the full list of changes from 100 pull requests below, but here are some highlights:
* New GeoTIFF source! With parsing support from the awesome [geotiff.js](https://geotiffjs.github.io/) library, you can now render layers from hosted GeoTIFF imagery. The GeoTIFF source gives you the ability to pull from multiple GeoTIFF images, read from arbitrary bands, run band math expressions, and style the imagery to your liking.
* New WebGL tile renderer. The GeoTIFF source is rendered with a new WebGL-based tile renderer. In addition to GeoTIFFs, the renderer supports layers with a generic DataTile source  these can be used to render aribtrary raster data and leverage the same style expressions as described above.
* More type checking. We continue to make improvements to the TypeScript definitions included in the `ol` package.
* New sources supporting the draft [OGC API - Tiles](https://ogcapi.ogc.org/tiles/) specification. The OGCMapTile and OGCVectorTile sources allow you to render data from services that implement the draft OGC tiles spec. Since the specification is not yet final, these sources are not yet part of the stable OpenLayers API and should be considered experimental.
* Custom cluster creation support, improved KML icon rendering, lots of fixes, and more. See below for all the detail.
## List of all changes
* [#12727](https://github.com/openlayers/openlayers/pull/12727) - Add missing 'boxstart' event to OnSignature ([@simonseyock](https://github.com/simonseyock))
* [#12718](https://github.com/openlayers/openlayers/pull/12718) - Rename function to avoid minification failure ([@tschaub](https://github.com/tschaub))
* [#12712](https://github.com/openlayers/openlayers/pull/12712) - Add convertToRGB option to GeoTIFF source ([@ahocevar](https://github.com/ahocevar))
* [#12716](https://github.com/openlayers/openlayers/pull/12716) - Spelling fix ([@fredj](https://github.com/fredj))
* [#12715](https://github.com/openlayers/openlayers/pull/12715) - Try harder to get the projection from GeoTIFF headers ([@tschaub](https://github.com/tschaub))
* [#12714](https://github.com/openlayers/openlayers/pull/12714) - Avoid creating duplicate projections in COG examples ([@tschaub](https://github.com/tschaub))
* [#12713](https://github.com/openlayers/openlayers/pull/12713) - Check for GeoTIFF CRS starting with last image ([@tschaub](https://github.com/tschaub))
* [#12709](https://github.com/openlayers/openlayers/pull/12709) - Support rendering of GeoTIFF images in pixel coordinates ([@tschaub](https://github.com/tschaub))
* [#12711](https://github.com/openlayers/openlayers/pull/12711) - Use band numbers starting with one ([@tschaub](https://github.com/tschaub))
* [#12710](https://github.com/openlayers/openlayers/pull/12710) - Spelling fix in GeoTIFF docs ([@tschaub](https://github.com/tschaub))
* [#12697](https://github.com/openlayers/openlayers/pull/12697) - Move description above type tag ([@tschaub](https://github.com/tschaub))
* [#12695](https://github.com/openlayers/openlayers/pull/12695) - Update Google KML icon anchors and correct icon scaling ([@mike-000](https://github.com/mike-000))
* [#12642](https://github.com/openlayers/openlayers/pull/12642) - Fix fullscreen in mapbox-style example ([@ahocevar](https://github.com/ahocevar))
* [#12624](https://github.com/openlayers/openlayers/pull/12624) - Improve API docs for optional properties ([@ahocevar](https://github.com/ahocevar))
* [#10963](https://github.com/openlayers/openlayers/pull/10963) - OGC map and vector tile sources ([@tschaub](https://github.com/tschaub))
* [#12690](https://github.com/openlayers/openlayers/pull/12690) - Fix return stride of forEachSegment ([@ahocevar](https://github.com/ahocevar))
* [#12684](https://github.com/openlayers/openlayers/pull/12684) - Fix view resolutions in example ([@mike-000](https://github.com/mike-000))
* [#12683](https://github.com/openlayers/openlayers/pull/12683) - Fix sprite offset for pixel ratio !== 1 ([@ahocevar](https://github.com/ahocevar))
* [#12671](https://github.com/openlayers/openlayers/pull/12671) - Configure cache on the layer instead of the source ([@tschaub](https://github.com/tschaub))
* [#12669](https://github.com/openlayers/openlayers/pull/12669) - Add opaque and transition options to GeoTIFF source ([@ahocevar](https://github.com/ahocevar))
* [#12667](https://github.com/openlayers/openlayers/pull/12667) - Additional docs and type checking for raster source ([@tschaub](https://github.com/tschaub))
* [#12666](https://github.com/openlayers/openlayers/pull/12666) - Re-add accidently removed events ([@ahocevar](https://github.com/ahocevar))
* [#12647](https://github.com/openlayers/openlayers/pull/12647) - Remove Translate option conflicts and update documentation ([@mike-000](https://github.com/mike-000))
* [#12008](https://github.com/openlayers/openlayers/pull/12008) - Rendering raster tiles with WebGL ([@tschaub](https://github.com/tschaub))
* [#12632](https://github.com/openlayers/openlayers/pull/12632) - Only warn of zero size when map should be visible ([@mike-000](https://github.com/mike-000))
* [#12626](https://github.com/openlayers/openlayers/pull/12626) - Set canvas style to override problem 3rd party css ([@mike-000](https://github.com/mike-000))
* [#12608](https://github.com/openlayers/openlayers/pull/12608) - Support more OGC CRS identifiers ([@tschaub](https://github.com/tschaub))
* [#12607](https://github.com/openlayers/openlayers/pull/12607) - Don't add color as possible type if it was not set ([@MoonE](https://github.com/MoonE))
* [#12605](https://github.com/openlayers/openlayers/pull/12605) - Some typing improvements ([@simonseyock](https://github.com/simonseyock))
* [#12600](https://github.com/openlayers/openlayers/pull/12600) - Make attribution getters public. ([@simonseyock](https://github.com/simonseyock))
* [#12597](https://github.com/openlayers/openlayers/pull/12597) - #12596 fix RasterSource does not end Tile transition ([@mwerlitz](https://github.com/mwerlitz))
* [#12599](https://github.com/openlayers/openlayers/pull/12599) - Replace reference image to match that of the CI ([@ahocevar](https://github.com/ahocevar))
* [#12595](https://github.com/openlayers/openlayers/pull/12595) - Generate correct type definitions with null ([@ahocevar](https://github.com/ahocevar))
* [#12578](https://github.com/openlayers/openlayers/pull/12578) - Update rendering test reference image ([@ahocevar](https://github.com/ahocevar))
* [#12577](https://github.com/openlayers/openlayers/pull/12577) - Use shx for the build-site script, clean before run ([@MoonE](https://github.com/MoonE))
* [#12575](https://github.com/openlayers/openlayers/pull/12575) - Add on(), un() and once() signatures for ol/source/Raster ([@ahocevar](https://github.com/ahocevar))
* [#12565](https://github.com/openlayers/openlayers/pull/12565) - Handle named colors as string in equal operator ([@sebakerckhof](https://github.com/sebakerckhof))
* [#12576](https://github.com/openlayers/openlayers/pull/12576) - Fix example and legacy build with nodejs 16.6 ([@MoonE](https://github.com/MoonE))
* [#12551](https://github.com/openlayers/openlayers/pull/12551) - Add WKB to the exports of ol/format ([@M393](https://github.com/M393))
* [#12550](https://github.com/openlayers/openlayers/pull/12550) - Add `grid` tag to examples. ([@simonseyock](https://github.com/simonseyock))
* [#12549](https://github.com/openlayers/openlayers/pull/12549) - Add `change:layers` event. ([@simonseyock](https://github.com/simonseyock))
* [#12545](https://github.com/openlayers/openlayers/pull/12545) - Restore simple axis order handling with fixed proj4 ([@ahocevar](https://github.com/ahocevar))
* [#12544](https://github.com/openlayers/openlayers/pull/12544) - Make Raster source work as generics type for Image layer ([@ahocevar](https://github.com/ahocevar))
* [#12527](https://github.com/openlayers/openlayers/pull/12527) - Treat custom loaders without success/fail handling as if they were a void loader ([@mike-000](https://github.com/mike-000))
* [#12538](https://github.com/openlayers/openlayers/pull/12538) - Avoid creating context until needed ([@tschaub](https://github.com/tschaub))
* [#12528](https://github.com/openlayers/openlayers/pull/12528) - Convert the hit tolerance priority example into a test ([@MoonE](https://github.com/MoonE))
* [#12522](https://github.com/openlayers/openlayers/pull/12522) - Shorter name for the option to create a custom cluster ([@tschaub](https://github.com/tschaub))
* [#12506](https://github.com/openlayers/openlayers/pull/12506) - Fix adding controls with map config ([@M393](https://github.com/M393))
* [#12487](https://github.com/openlayers/openlayers/pull/12487) - Custom cluster feature creation function ([@Razi91](https://github.com/Razi91))
* [#12520](https://github.com/openlayers/openlayers/pull/12520) - Fix typo in changelog ([@ahocevar](https://github.com/ahocevar))
* [#12519](https://github.com/openlayers/openlayers/pull/12519) - Release v6.6.1 ([@openlayers](https://github.com/openlayers))
<details>
<summary>Dependency Updates</summary>
* [#12703](https://github.com/openlayers/openlayers/pull/12703) - Bump terser-webpack-plugin from 5.1.4 to 5.2.3 ([@openlayers](https://github.com/openlayers))
* [#12704](https://github.com/openlayers/openlayers/pull/12704) - Bump @babel/eslint-parser from 7.15.0 to 7.15.4 ([@openlayers](https://github.com/openlayers))
* [#12705](https://github.com/openlayers/openlayers/pull/12705) - Bump webpack from 5.51.1 to 5.52.0 ([@openlayers](https://github.com/openlayers))
* [#12706](https://github.com/openlayers/openlayers/pull/12706) - Bump webpack-dev-server from 4.0.0 to 4.1.0 ([@openlayers](https://github.com/openlayers))
* [#12707](https://github.com/openlayers/openlayers/pull/12707) - Bump @babel/core from 7.15.0 to 7.15.5 ([@openlayers](https://github.com/openlayers))
* [#12702](https://github.com/openlayers/openlayers/pull/12702) - Bump @babel/preset-env from 7.15.0 to 7.15.4 ([@openlayers](https://github.com/openlayers))
* [#12677](https://github.com/openlayers/openlayers/pull/12677) - Bump marked from 3.0.0 to 3.0.2 ([@openlayers](https://github.com/openlayers))
* [#12678](https://github.com/openlayers/openlayers/pull/12678) - Bump globby from 12.0.1 to 12.0.2 ([@openlayers](https://github.com/openlayers))
* [#12679](https://github.com/openlayers/openlayers/pull/12679) - Bump mocha from 9.1.0 to 9.1.1 ([@openlayers](https://github.com/openlayers))
* [#12657](https://github.com/openlayers/openlayers/pull/12657) - Bump mocha from 9.0.3 to 9.1.0 ([@openlayers](https://github.com/openlayers))
* [#12650](https://github.com/openlayers/openlayers/pull/12650) - Bump webpack from 5.50.0 to 5.51.1 ([@openlayers](https://github.com/openlayers))
* [#12654](https://github.com/openlayers/openlayers/pull/12654) - Bump webpack-dev-server from 4.0.0-rc.0 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#12653](https://github.com/openlayers/openlayers/pull/12653) - Bump globby from 12.0.0 to 12.0.1 ([@openlayers](https://github.com/openlayers))
* [#12652](https://github.com/openlayers/openlayers/pull/12652) - Bump loglevelnext from 5.0.5 to 5.0.6 ([@openlayers](https://github.com/openlayers))
* [#12651](https://github.com/openlayers/openlayers/pull/12651) - Bump rollup from 2.56.2 to 2.56.3 ([@openlayers](https://github.com/openlayers))
* [#12627](https://github.com/openlayers/openlayers/pull/12627) - Bump webpack-cli from 4.7.2 to 4.8.0 ([@openlayers](https://github.com/openlayers))
* [#12631](https://github.com/openlayers/openlayers/pull/12631) - Bump marked from 2.1.3 to 3.0.0 ([@openlayers](https://github.com/openlayers))
* [#12630](https://github.com/openlayers/openlayers/pull/12630) - Bump webpack from 5.49.0 to 5.50.0 ([@openlayers](https://github.com/openlayers))
* [#12629](https://github.com/openlayers/openlayers/pull/12629) - Bump yargs from 17.1.0 to 17.1.1 ([@openlayers](https://github.com/openlayers))
* [#12628](https://github.com/openlayers/openlayers/pull/12628) - Bump rollup from 2.56.1 to 2.56.2 ([@openlayers](https://github.com/openlayers))
* [#12616](https://github.com/openlayers/openlayers/pull/12616) - Bump webpack from 5.47.1 to 5.49.0 ([@openlayers](https://github.com/openlayers))
* [#12617](https://github.com/openlayers/openlayers/pull/12617) - Bump @babel/eslint-parser from 7.14.9 to 7.15.0 ([@openlayers](https://github.com/openlayers))
* [#12615](https://github.com/openlayers/openlayers/pull/12615) - Bump rollup from 2.56.0 to 2.56.1 ([@openlayers](https://github.com/openlayers))
* [#12614](https://github.com/openlayers/openlayers/pull/12614) - Bump puppeteer from 10.1.0 to 10.2.0 ([@openlayers](https://github.com/openlayers))
* [#12613](https://github.com/openlayers/openlayers/pull/12613) - Bump yargs from 17.0.1 to 17.1.0 ([@openlayers](https://github.com/openlayers))
* [#12612](https://github.com/openlayers/openlayers/pull/12612) - Bump @babel/core from 7.14.8 to 7.15.0 ([@openlayers](https://github.com/openlayers))
* [#12611](https://github.com/openlayers/openlayers/pull/12611) - Bump @babel/preset-env from 7.14.9 to 7.15.0 ([@openlayers](https://github.com/openlayers))
* [#12610](https://github.com/openlayers/openlayers/pull/12610) - Bump clean-css-cli from 5.3.2 to 5.3.3 ([@openlayers](https://github.com/openlayers))
* [#12602](https://github.com/openlayers/openlayers/pull/12602) - Bump rollup from 2.54.0 to 2.56.0 ([@openlayers](https://github.com/openlayers))
* [#12583](https://github.com/openlayers/openlayers/pull/12583) - Bump webpack-sources from 2.3.1 to 3.2.0 ([@openlayers](https://github.com/openlayers))
* [#12581](https://github.com/openlayers/openlayers/pull/12581) - Bump @rollup/plugin-commonjs from 19.0.1 to 20.0.0 ([@openlayers](https://github.com/openlayers))
* [#12582](https://github.com/openlayers/openlayers/pull/12582) - Bump @babel/preset-env from 7.14.8 to 7.14.9 ([@openlayers](https://github.com/openlayers))
* [#12585](https://github.com/openlayers/openlayers/pull/12585) - Bump clean-css-cli from 5.3.0 to 5.3.2 ([@openlayers](https://github.com/openlayers))
* [#12584](https://github.com/openlayers/openlayers/pull/12584) - Bump webpack from 5.46.0 to 5.47.1 ([@openlayers](https://github.com/openlayers))
* [#12586](https://github.com/openlayers/openlayers/pull/12586) - Bump @babel/eslint-parser from 7.14.7 to 7.14.9 ([@openlayers](https://github.com/openlayers))
* [#12588](https://github.com/openlayers/openlayers/pull/12588) - Bump sinon from 11.1.1 to 11.1.2 ([@openlayers](https://github.com/openlayers))
* [#12589](https://github.com/openlayers/openlayers/pull/12589) - Bump eslint from 7.31.0 to 7.32.0 ([@openlayers](https://github.com/openlayers))
* [#12559](https://github.com/openlayers/openlayers/pull/12559) - Bump rollup from 2.53.2 to 2.54.0 ([@openlayers](https://github.com/openlayers))
* [#12560](https://github.com/openlayers/openlayers/pull/12560) - Bump @babel/core from 7.14.6 to 7.14.8 ([@openlayers](https://github.com/openlayers))
* [#12558](https://github.com/openlayers/openlayers/pull/12558) - Bump webpack-dev-server from 4.0.0-beta.3 to 4.0.0-rc.0 ([@openlayers](https://github.com/openlayers))
* [#12556](https://github.com/openlayers/openlayers/pull/12556) - Bump globby from 11.0.4 to 12.0.0 ([@openlayers](https://github.com/openlayers))
* [#12555](https://github.com/openlayers/openlayers/pull/12555) - Bump webpack from 5.45.1 to 5.46.0 ([@openlayers](https://github.com/openlayers))
* [#12554](https://github.com/openlayers/openlayers/pull/12554) - Bump mocha from 9.0.2 to 9.0.3 ([@openlayers](https://github.com/openlayers))
* [#12553](https://github.com/openlayers/openlayers/pull/12553) - Bump @babel/preset-env from 7.14.7 to 7.14.8 ([@openlayers](https://github.com/openlayers))
* [#12552](https://github.com/openlayers/openlayers/pull/12552) - Bump @rollup/plugin-node-resolve from 13.0.2 to 13.0.4 ([@openlayers](https://github.com/openlayers))
* [#12536](https://github.com/openlayers/openlayers/pull/12536) - Bump rollup from 2.53.1 to 2.53.2 ([@openlayers](https://github.com/openlayers))
* [#12537](https://github.com/openlayers/openlayers/pull/12537) - Bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.2 ([@openlayers](https://github.com/openlayers))
* [#12535](https://github.com/openlayers/openlayers/pull/12535) - Bump webpack from 5.44.0 to 5.45.1 ([@openlayers](https://github.com/openlayers))
* [#12534](https://github.com/openlayers/openlayers/pull/12534) - Bump eslint from 7.30.0 to 7.31.0 ([@openlayers](https://github.com/openlayers))
* [#12533](https://github.com/openlayers/openlayers/pull/12533) - Bump @rollup/plugin-commonjs from 19.0.0 to 19.0.1 ([@openlayers](https://github.com/openlayers))
</details>

View File

@@ -14,12 +14,13 @@
]
},
"plugins": [
"config/jsdoc/api/plugins/markdown",
"config/jsdoc/plugins/markdown.cjs",
"jsdoc-plugin-typescript",
"config/jsdoc/api/plugins/inline-options",
"config/jsdoc/api/plugins/events",
"config/jsdoc/api/plugins/observable",
"config/jsdoc/api/plugins/api"
"config/jsdoc/plugins/inline-options.cjs",
"config/jsdoc/plugins/events.cjs",
"config/jsdoc/plugins/observable.cjs",
"config/jsdoc/plugins/api.cjs",
"config/jsdoc/plugins/default-export.cjs"
],
"typescript": {
"moduleRoot": "src"

View File

@@ -27,7 +27,8 @@
<a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a><br>
<a href="module-ol_layer_Image-ImageLayer.html">ol/layer/Image</a><br>
<a href="module-ol_layer_Vector-VectorLayer.html">ol/layer/Vector</a><br>
<a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a>
<a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a><br>
<a href="module-ol_layer_WebGLTile-WebGLTileLayer.html">ol/layer/WebGLTile</a>
</div>
</div>
</div>
@@ -58,7 +59,7 @@
<div class="card h-100 bg-light">
<div class="card-body">
<h4 class="card-title">Sources and formats</h4>
<a href="module-ol_source_Tile-TileSource.html">Tile sources</a> for <a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a>
<a href="module-ol_source_Tile-TileSource.html">Tile sources</a> for <a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a> or <a href="module-ol_layer_WebGLTile-WebGLTileLayer.html">ol/layer/WebGLTile</a>
<br><a href="module-ol_source_Image-ImageSource.html">Image sources</a> for <a href="module-ol_layer_Image-ImageLayer.html">ol/layer/Image</a>
<br><a href="module-ol_source_Vector-VectorSource.html">Vector sources</a> for <a href="module-ol_layer_Vector-VectorLayer.html">ol/layer/Vector</a>
<br><a href="module-ol_source_VectorTile-VectorTile.html">Vector tile sources</a> for <a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a>
@@ -71,7 +72,7 @@
<div class="card h-100 bg-light">
<div class="card-body">
<h4 class="card-title">Projections</h4>
<p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use <a href="module-ol_proj.html#.transform">ol/proj#transform()</a> and <a href="module-ol_proj.html#.transformExtent">ol/proj#transformExtent()</a>.</p>
<p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform coordinates from and to geographic, use <a href="module-ol_proj.html#.fromLonLat">ol/proj#fromLonLat()</a> and <a href="module-ol_proj.html#.toLonLat">ol/proj#toLonLat()</a>. For extents and other projections, use <a href="module-ol_proj.html#.transformExtent">ol/proj#transformExtent()</a> and <a href="module-ol_proj.html#.transform">ol/proj#transform()</a>.<p>
<a href="module-ol_proj.html">ol/proj</a>
</div>
</div>

View File

@@ -1,50 +0,0 @@
/**
* @filedesc
* Inlines option params from typedefs
*/
const properties = {};
exports.handlers = {
/**
* Collects all typedefs, keyed by longname
* @param {Object} e Event object.
*/
newDoclet: function (e) {
if (e.doclet.kind == 'typedef' && e.doclet.properties) {
properties[e.doclet.longname] = e.doclet.properties;
}
},
/**
* Adds `options.*` params for options that match the longname of one of the
* collected typedefs.
* @param {Object} e Event object.
*/
parseComplete: function (e) {
const doclets = e.doclets;
for (let i = 0, ii = doclets.length; i < ii; ++i) {
const doclet = doclets[i];
if (doclet.params) {
const params = doclet.params;
for (let j = 0, jj = params.length; j < jj; ++j) {
const param = params[j];
if (param.type && param.type.names) {
const type = param.type.names[0];
if (type in properties) {
param.type.names[0] = type;
params.push.apply(
params,
properties[type].map((p) => {
const property = Object.assign({}, p);
property.name = `${param.name}.${property.name}`;
return property;
})
);
}
}
}
}
}
},
};

View File

@@ -1,6 +1,6 @@
# API Documentation
This directory contains configuration (`conf.json`), static content (`index.md`), template (`template/`) and plugins (`plugins/`) for the [JSDoc3](http://usejsdoc.org/) API generator.
This directory contains configuration (`conf.json`), static content (`index.md`), template (`template/`) and plugins (`plugins/`) for the [JSDoc3](https://jsdoc.app/) API generator.
## Documenting the source code

View File

@@ -1,3 +1,3 @@
This template is based on the [Jaguar](https://github.com/davidshimjs/jaguarjs/tree/master/docs/templates/jaguar) template. [JaguarJS](https://github.com/davidshimjs/jaguarjs) is licensed under the [LGPL license](https://github.com/davidshimjs/jaguarjs/tree/master/LICENSE).
The default template for JSDoc 3 uses: [the Taffy Database library](http://taffydb.com/) and the [Underscore Template library](http://documentcloud.github.com/underscore/#template).
The default template for JSDoc 3 uses: [the Taffy Database library](https://taffydb.com/) and the [Underscore Template library](https://underscorejs.org/#template).

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/*global env: true */
const hasOwnProp = Object.prototype.hasOwnProperty;
@@ -190,9 +192,9 @@ function generateSourceFiles(sourceFiles) {
* for display purposes. This function mutates the original arrays.
*
* @private
* @param {Array<module:jsdoc/doclet.Doclet>} doclets - The array of classes and functions to
* @param {Array<module:jsdoc/doclet.Doclet>} doclets The array of classes and functions to
* check.
* @param {Array<module:jsdoc/doclet.Doclet>} modules - The array of module doclets to search.
* @param {Array<module:jsdoc/doclet.Doclet>} modules The array of module doclets to search.
*/
function attachModuleSymbols(doclets, modules) {
const symbols = {};
@@ -322,7 +324,7 @@ function buildNav(members) {
}
/**
* @param {Object} taffyData See <http://taffydb.com/>.
* @param {Object} taffyData See {@link https://taffydb.com/}.
* @param {Object} opts Options.
* @param {Object} tutorials Tutorials.
*/

View File

@@ -70,7 +70,7 @@
<?js if (!param.subparams) {?>
<td class="type">
<?js if (param.type && param.type.names) {?>
<?js= self.partial('type.tmpl', param.type.names) ?>
<?js= self.partial('type.tmpl', param.type.names) + (param.optional && typeof param.defaultvalue === 'undefined' && param.type.names.indexOf('undefined') === -1 ? ' | undefined' : '') ?>
<?js if (typeof param.defaultvalue !== 'undefined') { ?>
(defaults to <?js= self.htmlsafe(param.defaultvalue) ?>)
<?js } ?>

View File

@@ -11,8 +11,9 @@
},
"plugins": [
"jsdoc-plugin-typescript",
"config/jsdoc/info/define-plugin",
"config/jsdoc/info/virtual-plugin"
"config/jsdoc/plugins/define-plugin.cjs",
"config/jsdoc/plugins/virtual-plugin.cjs",
"config/jsdoc/plugins/default-export.cjs"
],
"typescript": {
"moduleRoot": "src"

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/**
* @fileoverview Generates JSON output based on exportable symbols.
*/
@@ -6,7 +8,7 @@ const path = require('path');
/**
* Publish hook for the JSDoc template. Writes to JSON stdout.
* @param {function} data The root of the Taffy DB containing doclet records.
* @param {Function} data The root of the Taffy DB containing doclet records.
* @param {Object} opts Options.
* @return {Promise} A promise that resolves when writing is complete.
*/
@@ -135,6 +137,9 @@ exports.publish = function (data, opts) {
return true;
});
}
if (doc.isDefaultExport) {
symbol.isDefaultExport = true;
}
const target = isExterns ? externs : symbols;
const existingSymbol = symbolsByName[symbol.name];

View File

@@ -0,0 +1,4 @@
{
"description": "JSDoc loads publish.js files with require(), so we need to configure everything under this path as a CommonJS module.",
"type": "commonjs"
}

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/**
* Define an @api tag
* @param {Object} dictionary The tag dictionary.
@@ -102,26 +104,6 @@ function includeTypes(doclet) {
}
}
const defaultExports = {};
const path = require('path');
const moduleRoot = path.join(process.cwd(), 'src');
// Tag default exported Identifiers because their name should be the same as the module name.
exports.astNodeVisitor = {
visitNode: function (node, e, parser, currentSourceName) {
if (node.parent && node.parent.type === 'ExportDefaultDeclaration') {
const modulePath = path
.relative(moduleRoot, currentSourceName)
.replace(/\.js$/, '');
const exportName =
'module:' +
modulePath.replace(/\\/g, '/') +
(node.name ? '~' + node.name : '');
defaultExports[exportName] = true;
}
},
};
function sortOtherMembers(doclet) {
if (doclet.fires) {
doclet.fires.sort(function (a, b) {
@@ -196,18 +178,4 @@ exports.handlers = {
}
}
},
processingComplete(e) {
const byLongname = e.doclets.index.longname;
for (const name in defaultExports) {
if (!(name in byLongname)) {
throw new Error(
`missing ${name} in doclet index, did you forget a @module tag?`
);
}
byLongname[name].forEach(function (doclet) {
doclet.isDefaultExport = true;
});
}
},
};

View File

@@ -0,0 +1,35 @@
const defaultExports = {};
const path = require('path');
const moduleRoot = path.join(process.cwd(), 'src');
// Tag default exported Identifiers because their name should be the same as the module name.
exports.astNodeVisitor = {
visitNode: function (node, e, parser, currentSourceName) {
if (node.parent && node.parent.type === 'ExportDefaultDeclaration') {
const modulePath = path
.relative(moduleRoot, currentSourceName)
.replace(/\.js$/, '');
const exportName =
'module:' +
modulePath.replace(/\\/g, '/') +
(node.name ? '~' + node.name : '');
defaultExports[exportName] = true;
}
},
};
exports.handlers = {
processingComplete(e) {
const byLongname = e.doclets.index.longname;
for (const name in defaultExports) {
if (!(name in byLongname)) {
throw new Error(
`missing ${name} in doclet index, did you forget a @module tag?`
);
}
byLongname[name].forEach(function (doclet) {
doclet.isDefaultExport = true;
});
}
},
};

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/**
* @fileoverview This plugin extracts info from boolean defines. This only
* handles boolean defines with the default value in the description. Default

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
const events = {};
exports.handlers = {

View File

@@ -0,0 +1,102 @@
/* eslint-disable import/no-commonjs */
/**
* @fileoverview
* Inlines option params from typedefs
*/
const properties = {};
/**
* This parses the comment for `@template` annotations and returns an object with name / type pairs for all template
* values
* @param {string} comment a jsdoc comment to parse
* @return {Object<string, string>} results
*/
function parseCommentForTemplates(comment) {
let remainingText = comment;
const results = {};
while (true) {
const templateMatch = remainingText.match(/\* @template\s*([\s\S]*)/);
if (!templateMatch) {
return results;
}
remainingText = templateMatch[1];
if (remainingText[0] !== '{') {
continue;
}
let index = 1;
let openParenthesis = 1;
while (openParenthesis > 0) {
if (remainingText[index] === '{') {
openParenthesis++;
} else if (remainingText[index] === '}') {
openParenthesis--;
}
index++;
}
const type = remainingText.slice(1, index - 1);
remainingText = remainingText.slice(index);
const name = remainingText.match(/\s*(\S*)/)[1];
results[name] = type;
}
}
exports.handlers = {
/**
* Collects all typedefs, keyed by longname
* @param {Object} e Event object.
*/
newDoclet: function (e) {
if (e.doclet.kind == 'typedef' && e.doclet.properties) {
properties[e.doclet.longname] = e.doclet.properties;
}
},
/**
* Adds `options.*` params for options that match the longname of one of the
* collected typedefs.
* @param {Object} e Event object.
*/
parseComplete: function (e) {
const doclets = e.doclets;
for (let i = 0, ii = doclets.length; i < ii; ++i) {
const doclet = doclets[i];
if (doclet.params) {
const params = doclet.params;
for (let j = 0, jj = params.length; j < jj; ++j) {
const param = params[j];
if (param.type && param.type.names) {
let type = param.type.names[0];
const genericMatches = type.match(/(^.*?)\.?<.*>/);
if (genericMatches) {
type = genericMatches[1];
}
if (type in properties) {
const templateInfo = parseCommentForTemplates(doclet.comment);
params.push.apply(
params,
properties[type].map((p) => {
const property = Object.assign({}, p);
property.name = `${param.name}.${property.name}`;
if (property.type.names[0] in templateInfo) {
property.type.names[0] =
templateInfo[property.type.names[0]];
}
return property;
})
);
}
}
}
}
}
},
};

View File

@@ -1,7 +1,9 @@
/* eslint-disable import/no-commonjs */
/**
* Modified from JSDoc's plugins/markdown and lib/jsdoc/util/markdown modules
* (see https://github.com/jsdoc3/jsdoc/), which are licensed under the Apache 2
* license (see http://www.apache.org/licenses/LICENSE-2.0).
* license (see https://www.apache.org/licenses/LICENSE-2.0).
*
* This version does not protect http(s) urls from being turned into links, and
* works around an issue with `~` characters in module paths by escaping them.

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
const classes = {};
const observables = {};

View File

@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/**
* Handle the interface and abstract annotations.
* @param {Object} dictionary The tag dictionary.

View File

@@ -23,7 +23,7 @@
/* Strict Type-Checking Options */
"strict": false, /* Enable all strict type-checking options. */
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
// "strictNullChecks": true, /* Enable strict null checks. */
"strictNullChecks": true, /* Enable strict null checks. */
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */

View File

@@ -1,18 +0,0 @@
const path = require('path');
module.exports = {
entry: './build/index.js',
devtool: 'source-map',
mode: 'production',
resolve: {
alias: {
ol: path.resolve('./build/ol'),
},
},
output: {
path: path.resolve('./build/legacy'),
filename: 'ol.js',
library: 'ol',
libraryTarget: 'umd',
libraryExport: 'default',
},
};

View File

@@ -0,0 +1,61 @@
import TerserPlugin from 'terser-webpack-plugin';
import path, {dirname} from 'path';
import {fileURLToPath} from 'url';
const baseDir = dirname(fileURLToPath(import.meta.url));
export default {
entry: './build/index.js',
devtool: 'source-map',
mode: 'production',
target: ['web', 'es5'],
module: {
rules: [
{
test: /^((?!es2015-)[\s\S])*\.js$/,
use: {
loader: 'buble-loader',
options: {
transforms: {dangerousForOf: true},
},
},
include: [
path.join(
baseDir,
'..',
'node_modules',
'@mapbox',
'mapbox-gl-style-spec'
),
],
},
],
},
resolve: {
fallback: {
fs: false,
http: false,
https: false,
},
alias: {
ol: path.resolve('./build/ol'),
},
},
optimization: {
minimizer: [
new TerserPlugin({
terserOptions: {
// Mangle private members convention with underscore suffix
mangle: {properties: {regex: /_$/}},
},
}),
],
},
output: {
path: path.resolve('./build/legacy'),
filename: 'ol.js',
library: 'ol',
libraryTarget: 'umd',
libraryExport: 'default',
},
};

View File

@@ -111,7 +111,7 @@ Features for `updates` must have an id set by the feature reader or `ol.Feature#
### 28
`renderMode` must be `'image'`, `'hybrid'` or `'vector'`.
`renderMode` must be `'hybrid'` or `'vector'`.
### 29

View File

@@ -7,7 +7,7 @@ layout: doc.hbs
Certain questions arise more often than others when users ask for help. This
document tries to list some of the common questions that frequently get asked,
e.g. on [Stack Overflow](http://stackoverflow.com/questions/tagged/openlayers).
e.g. on [Stack Overflow](https://stackoverflow.com/questions/tagged/openlayers).
If you think a question (and naturally its answer) should be added here, feel
free to ping us or to send a pull request enhancing this document.
@@ -75,7 +75,7 @@ import {register} from 'ol/proj/proj4';
import {get as getProjection} from 'ol/proj';
// To use other projections, you have to register the projection in OpenLayers.
// This can easily be done with [https://proj4js.org](proj4)
// This can easily be done with [http://proj4js.org/](proj4)
//
// By default OpenLayers does not know about the EPSG:21781 (Swiss) projection.
// So we create a projection instance for EPSG:21781 and pass it to
@@ -198,8 +198,8 @@ for English, `en`, as a mnemonic: East before North.
So you want to center your map on a certain place on the earth and obviously you
need to have its coordinates for this. Let's assume you want your map centered
on Schladming, a beautiful place in Austria. Head over to the wikipedia
page for [Schladming](http://en.wikipedia.org/wiki/Schladming). In the top-right
corner there is a link to [GeoHack](http://tools.wmflabs.org/geohack/geohack.php?pagename=Schladming&params=47_23_39_N_13_41_21_E_type:city(4565)_region:AT-6),
page for [Schladming](https://en.wikipedia.org/wiki/Schladming). In the top-right
corner there is a link to [GeoHack](https://geohack.toolforge.org/geohack.php?pagename=Schladming&params=47_23_39_N_13_41_21_E_type:city(4565)_region:AT-6),
which effectively tells you the coordinates are:
WGS84:

View File

@@ -19,4 +19,4 @@ We have put together a document that lists [Frequently Asked Questions (FAQ)](fa
# More questions?
If you cannot find an answer in the documentation or the FAQ, you can search [Stack Overflow](http://stackoverflow.com/questions/tagged/openlayers). If you cannot find an answer there, ask a new question there, using the tag 'openlayers'.
If you cannot find an answer in the documentation or the FAQ, you can search [Stack Overflow](https://stackoverflow.com/questions/tagged/openlayers). If you cannot find an answer there, ask a new question there, using the tag 'openlayers'.

View File

@@ -78,7 +78,7 @@ The first part is to include the JavaScript library. For the purpose of this tut
<div id="map" class="map"></div>
```
The map in the application is contained in a [`<div>` HTML element](http://en.wikipedia.org/wiki/Span_and_div). Through this `<div>` the map properties like width, height and border can be controlled through CSS. Here's the CSS element used to make the map 400 pixels high and as wide as the browser window.
The map in the application is contained in a [`<div>` HTML element](https://en.wikipedia.org/wiki/Span_and_div). Through this `<div>` the map properties like width, height and border can be controlled through CSS. Here's the CSS element used to make the map 400 pixels high and as wide as the browser window.
```xml
<style>

View File

@@ -19,7 +19,7 @@ OpenLayers is available as [`ol` npm package](https://npmjs.com/package/ol), whi
By default, OpenLayers uses a performance optimized Canvas renderer.
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](http://polyfill.io), the application bundle needs to be transpiled (e.g. using [Babel](https://babeljs.io)) and bundled with polyfills for `fetch`, `requestAnimationFrame`, `Element.prototype.classList`, `URL` and `TextDecoder`.
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](https://262.ecma-international.org/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](https://polyfill.io/), the application bundle needs to be transpiled (e.g. using [Babel](https://babeljs.io/)) and bundled with polyfills for `fetch`, `requestAnimationFrame`, `Element.prototype.classList`, `URL`, `TextDecoder` and `Number.isInteger`.
The library is intended for use on both desktop/laptop and mobile devices, and supports pointer and touch interactions.

View File

@@ -9,92 +9,19 @@ Modern JavaScript works best when using and authoring modules. The recommended w
In this tutorial, we will be using [Parcel](https://parceljs.org) to bundle our application. There are several other options, some of which are linked from the [README](https://npmjs.com/package/ol).
## Initial steps
## Application setup
Create a new empty directory for your project and navigate to it by running `mkdir new-project && cd new-project`. Initialize your project with
npm init
npx create-ol-app
This will create a `package.json` file in your working directory. Add OpenLayers as dependency to your application with
This will install the `ol` package, set up a development environment with additional dependencies, and give you an `index.html` and `main.js` starting point for your application. By default, [Parcel](https://parceljs.org) will be used as a module loader and bundler. See the [`create-ol-app`](https://github.com/openlayers/create-ol-app) documentation for details on using another bundler.
npm install ol
At this point you can ask NPM to add required development dependencies by running
npm install --save-dev parcel-bundler
## Application code and index.html
Place your application code in `index.js`. Here is a simple starting point:
```js
import 'ol/ol.css';
import {Map, View} from 'ol';
import TileLayer from 'ol/layer/Tile';
import OSM from 'ol/source/OSM';
const map = new Map({
target: 'map',
layers: [
new TileLayer({
source: new OSM()
})
],
view: new View({
center: [0, 0],
zoom: 0
})
});
```
You will also need an `index.html` file that will use your bundle. Here is a simple example:
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Using Parcel with OpenLayers</title>
<style>
#map {
width: 400px;
height: 250px;
}
</style>
</head>
<body>
<div id="map"></div>
<script src="./index.js"></script>
</body>
</html>
```
## Creating a bundle
With two additional lines in `package.json` you can introduce the commands `npm run build` and `npm start` to manually build your bundle and watch for changes, respectively. The final `package.json` with the two additional commands `"start"` and `"build"` should look like this:
```json
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "parcel index.html",
"build": "parcel build --public-url . index.html"
},
"author": "",
"license": "ISC"
}
```
That's it. Now to run your application, enter
To start the development server
npm start
in your console. To test your application, open http://localhost:1234/ in your browser. Whenever you change something, the page will reload automatically to show the result of your changes.
Note that a single JavaScript file with all your application code and all dependencies used in your application has been created. From the OpenLayers package, it only contains the required components.
You can now visit http://localhost:1234/ to view your application. Begin making changes to the `index.html` and `main.js` files to add additional functionality.
To create a production bundle of your application, simply type

View File

@@ -27,7 +27,7 @@ var map = new Map({
new TileLayer({
source: new TileWMS({
projection: 'EPSG:4326', //HERE IS THE DATA SOURCE PROJECTION
url: 'http://demo.boundlessgeo.com/geoserver/wms',
url: 'https://ahocevar.com/geoserver/wms',
params: {
'LAYERS': 'ne:NE1_HR_LC_SR_W_DR'
}

View File

@@ -5,11 +5,11 @@
"common": false,
"createMapboxStreetsV6Style": false,
"d3": false,
"domtoimage": false,
"html2canvas": false,
"geojsonvt": false,
"gifler": false,
"GyroNorm": false,
"jsPDF": false,
"jspdf": false,
"jsts": false,
"JSZip": false,
"mapboxgl": false,

View File

@@ -4,7 +4,7 @@ title: Animated GIF
shortdesc: Example of using an animated GIF as an icon.
docs: >
Example of using an animated GIF as an icon.
Animation is achieved using the <a href="http://themadcreator.github.io/gifler/" target="_blank">Gifler</a> library.
Animation is achieved using the <a href="https://themadcreator.github.io/gifler/" target="_blank">Gifler</a> library.
tags: "animation, vector, style, icon, gif"
resources:
- https://unpkg.com/gifler@0.1.0/gifler.min.js

View File

@@ -7,7 +7,7 @@ docs: >
tags: "bing, bing-maps"
cloak:
- key: ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp
value: Your Bing Maps Key from http://www.bingmapsportal.com/ here
value: Your Bing Maps Key from https://www.bingmapsportal.com/ here
---
<div id="map" class="map"></div>
<select id="layer-select">

View File

@@ -0,0 +1,14 @@
---
layout: example.html
title: Custom Canvas Tiles
shortdesc: Renders tiles with TMS coordinates for debugging.
docs: >
The black grid tiles are generated on the client with an HTML5 canvas.
The displayed TMS tile coordinates are produced using a custom template
for TMS, the vector tile source's 512 pixel tile grid and the
<code>zDirection</code> setting for vector tiles.
Notice how the country polygons can be split between tiles and vector
labels may appear in each tile.
tags: "layers, vector tiles, tms, canvas"
---
<div id="map" class="map"></div>

View File

@@ -0,0 +1,61 @@
import MVT from '../src/ol/format/MVT.js';
import Map from '../src/ol/Map.js';
import TileDebug from '../src/ol/source/TileDebug.js';
import TileLayer from '../src/ol/layer/Tile.js';
import VectorTileLayer from '../src/ol/layer/VectorTile.js';
import VectorTileSource from '../src/ol/source/VectorTile.js';
import View from '../src/ol/View.js';
import {Fill, Stroke, Style, Text} from '../src/ol/style.js';
const style = new Style({
fill: new Fill({
color: 'rgba(255, 255, 255, 0.6)',
}),
stroke: new Stroke({
color: '#319FD3',
width: 1,
}),
text: new Text({
font: '12px Calibri,sans-serif',
fill: new Fill({
color: '#000',
}),
stroke: new Stroke({
color: '#fff',
width: 3,
}),
}),
});
const vtLayer = new VectorTileLayer({
declutter: true,
source: new VectorTileSource({
maxZoom: 15,
format: new MVT(),
url:
'https://ahocevar.com/geoserver/gwc/service/tms/1.0.0/' +
'ne:ne_10m_admin_0_countries@EPSG%3A900913@pbf/{z}/{x}/{-y}.pbf',
}),
style: function (feature) {
style.getText().setText(feature.get('name'));
return style;
},
});
const debugLayer = new TileLayer({
source: new TileDebug({
template: 'z:{z} x:{x} y:{-y}',
projection: vtLayer.getSource().getProjection(),
tileGrid: vtLayer.getSource().getTileGrid(),
zDirection: 1,
}),
});
const map = new Map({
layers: [vtLayer, debugLayer],
target: 'map',
view: new View({
center: [0, 6000000],
zoom: 4,
}),
});

View File

@@ -8,6 +8,18 @@ tags: "cluster, vector"
---
<div id="map" class="map"></div>
<form>
<label for="distance">cluster distance</label>
<input id="distance" type="range" min="0" max="100" step="1" value="40"/>
<div class="form-group">
<label for="distance" class="col-form-label">Cluster distance</label>
<input id="distance" class="form-control-range" type="range" min="0" max="200" step="1" value="40"/>
<small class="form-text text-muted">
The distance within which features will be clustered together.
</small>
</div>
<div class="form-group">
<label for="min-distance" class="col-form-label">Minimum distance</label>
<input id="min-distance" class="form-control-range" type="range" min="0" max="200" step="1" value="20"/>
<small class="form-text text-muted">
The minimum distance between clusters. Can't be larger than the configured distance.
</small>
</div>
</form>

View File

@@ -11,8 +11,10 @@ import {
} from '../src/ol/style.js';
import {Cluster, OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {boundingExtent} from '../src/ol/extent.js';
const distance = document.getElementById('distance');
const distanceInput = document.getElementById('distance');
const minDistanceInput = document.getElementById('min-distance');
const count = 20000;
const features = new Array(count);
@@ -27,7 +29,8 @@ const source = new VectorSource({
});
const clusterSource = new Cluster({
distance: parseInt(distance.value, 10),
distance: parseInt(distanceInput.value, 10),
minDistance: parseInt(minDistanceInput.value, 10),
source: source,
});
@@ -74,6 +77,25 @@ const map = new Map({
}),
});
distance.addEventListener('input', function () {
clusterSource.setDistance(parseInt(distance.value, 10));
distanceInput.addEventListener('input', function () {
clusterSource.setDistance(parseInt(distanceInput.value, 10));
});
minDistanceInput.addEventListener('input', function () {
clusterSource.setMinDistance(parseInt(minDistanceInput.value, 10));
});
map.on('click', (e) => {
clusters.getFeatures(e.pixel).then((clickedFeatures) => {
if (clickedFeatures.length) {
// Get clustered Coordinates
const features = clickedFeatures[0].get('features');
if (features.length > 1) {
const extent = boundingExtent(
features.map((r) => r.getGeometry().getCoordinates())
);
map.getView().fit(extent, {duration: 1000, padding: [50, 50, 50, 50]});
}
}
});
});

View File

@@ -0,0 +1,13 @@
---
layout: example.html
title: NDVI+NDWI from two 16-bit COGs
shortdesc: Calculating NDVI+NDWI as green and blue values.
docs: >
The GeoTIFF layer in this example calculates the Normalized Difference Vegetation Index (NDVI)
and Normalized Difference Water Index (NDWI) from two cloud-optimized Sentinel 2 GeoTIFFs: one
with 10 m resolution and red and a near infrared bands, and one with 60 m resolution and a short
wave infrared channel. The NDVI is shown as green, the NDWI as blue. The 4th band is the alpha
band, which gets added when a source has a `nodata` value configured.
tags: "cog, ndvi, ndwi, sentinel, geotiff"
---
<div id="map" class="map"></div>

View File

@@ -0,0 +1,65 @@
import GeoTIFF from '../src/ol/source/GeoTIFF.js';
import Map from '../src/ol/Map.js';
import TileLayer from '../src/ol/layer/WebGLTile.js';
import View from '../src/ol/View.js';
const source = new GeoTIFF({
sources: [
{
url: 'https://s2downloads.eox.at/demo/Sentinel-2/3857/R10m.tif',
bands: [3, 4],
min: 0,
nodata: 0,
max: 65535,
},
{
url: 'https://s2downloads.eox.at/demo/Sentinel-2/3857/R60m.tif',
bands: [9],
min: 0,
nodata: 0,
max: 65535,
},
],
});
source.setAttributions(
"<a href='https://s2maps.eu'>Sentinel-2 cloudless</a> by <a href='https://eox.at/'>EOX IT Services GmbH</a> (Contains modified Copernicus Sentinel data 2019)"
);
const ndvi = [
'/',
['-', ['band', 2], ['band', 1]],
['+', ['band', 2], ['band', 1]],
];
const ndwi = [
'/',
['-', ['band', 3], ['band', 1]],
['+', ['band', 3], ['band', 1]],
];
const map = new Map({
target: 'map',
layers: [
new TileLayer({
style: {
color: [
'color',
// red: | NDVI - NDWI |
['*', 255, ['abs', ['-', ndvi, ndwi]]],
// green: NDVI
['*', 255, ndvi],
// blue: NDWI
['*', 255, ndwi],
// alpha
['band', 4],
],
},
source,
}),
],
view: new View({
center: [1900000, 6100000],
zoom: 13,
minZoom: 10,
}),
});

11
examples/cog-math.html Normal file
View File

@@ -0,0 +1,11 @@
---
layout: example.html
title: NDVI from a Sentinel 2 COG
shortdesc: Calculating NDVI and applying a custom color map.
docs: >
The GeoTIFF layer in this example draws from two Sentinel 2 sources: a red band and a near infrared band.
The layer style includes a `color` expression that calculates the Normalized Difference Vegetation Index (NDVI)
from values in the two bands. The `interpolate` expression is used to map NDVI values to colors.
tags: "cog, ndvi"
---
<div id="map" class="map"></div>

95
examples/cog-math.js Normal file
View File

@@ -0,0 +1,95 @@
import GeoTIFF from '../src/ol/source/GeoTIFF.js';
import Map from '../src/ol/Map.js';
import TileLayer from '../src/ol/layer/WebGLTile.js';
import View from '../src/ol/View.js';
import proj4 from 'proj4';
import {getCenter} from '../src/ol/extent.js';
import {register} from '../src/ol/proj/proj4.js';
proj4.defs('EPSG:32636', '+proj=utm +zone=36 +datum=WGS84 +units=m +no_defs');
register(proj4);
// metadata from https://s3.us-west-2.amazonaws.com/sentinel-cogs/sentinel-s2-l2a-cogs/2020/S2A_36QWD_20200701_0_L2A/S2A_36QWD_20200701_0_L2A.json
const sourceExtent = [499980, 1790220, 609780, 1900020];
const map = new Map({
target: 'map',
layers: [
new TileLayer({
style: {
color: [
'interpolate',
['linear'],
// calculate NDVI, bands come from the sources below
[
'/',
['-', ['band', 2], ['band', 1]],
['+', ['band', 2], ['band', 1]],
],
// color ramp for NDVI values, ranging from -1 to 1
-0.2,
[191, 191, 191],
-0.1,
[219, 219, 219],
0,
[255, 255, 224],
0.025,
[255, 250, 204],
0.05,
[237, 232, 181],
0.075,
[222, 217, 156],
0.1,
[204, 199, 130],
0.125,
[189, 184, 107],
0.15,
[176, 194, 97],
0.175,
[163, 204, 89],
0.2,
[145, 191, 82],
0.25,
[128, 179, 71],
0.3,
[112, 163, 64],
0.35,
[97, 150, 54],
0.4,
[79, 138, 46],
0.45,
[64, 125, 36],
0.5,
[48, 110, 28],
0.55,
[33, 97, 18],
0.6,
[15, 84, 10],
0.65,
[0, 69, 0],
],
},
source: new GeoTIFF({
sources: [
{
// visible red, band 1 in the style expression above
url: 'https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/2020/S2A_36QWD_20200701_0_L2A/B04.tif',
max: 10000,
},
{
// near infrared, band 2 in the style expression above
url: 'https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/2020/S2A_36QWD_20200701_0_L2A/B08.tif',
max: 10000,
},
],
}),
extent: sourceExtent,
}),
],
view: new View({
projection: 'EPSG:32636',
center: getCenter(sourceExtent),
extent: sourceExtent,
zoom: 9,
}),
});

View File

@@ -0,0 +1,12 @@
---
layout: example.html
title: GeoTIFF with Overviews
shortdesc: Rendering a GeoTIFF with external overviews as a layer.
docs: >
In some cases, a GeoTIFF may have external overviews. This example uses the
`overviews` property to provide URLs for the external overviews. The example
composes a false color composite using shortwave infrared (B6), near infrared (B5),
and visible green (B3) bands from a Landsat 8 image.
tags: "cog"
---
<div id="map" class="map"></div>

62
examples/cog-overviews.js Normal file
View File

@@ -0,0 +1,62 @@
import GeoTIFF from '../src/ol/source/GeoTIFF.js';
import Map from '../src/ol/Map.js';
import TileLayer from '../src/ol/layer/WebGLTile.js';
import View from '../src/ol/View.js';
import proj4 from 'proj4';
import {getCenter} from '../src/ol/extent.js';
import {register} from '../src/ol/proj/proj4.js';
proj4.defs('EPSG:32645', '+proj=utm +zone=45 +datum=WGS84 +units=m +no_defs');
register(proj4);
const sourceExtent = [382200, 2279370, 610530, 2512500];
const base =
'https://landsat-pds.s3.amazonaws.com/c1/L8/139/045/LC08_L1TP_139045_20170304_20170316_01_T1/LC08_L1TP_139045_20170304_20170316_01_T1';
// scale values in this range to 0 - 1
const min = 10000;
const max = 15000;
const map = new Map({
target: 'map',
layers: [
new TileLayer({
extent: sourceExtent,
style: {
saturation: -0.3,
},
source: new GeoTIFF({
sources: [
{
url: `${base}_B6.TIF`,
overviews: [`${base}_B6.TIF.ovr`],
min: min,
max: max,
nodata: 0,
},
{
url: `${base}_B5.TIF`,
overviews: [`${base}_B5.TIF.ovr`],
min: min,
max: max,
nodata: 0,
},
{
url: `${base}_B3.TIF`,
overviews: [`${base}_B3.TIF.ovr`],
min: min,
max: max,
nodata: 0,
},
],
}),
}),
],
view: new View({
projection: 'EPSG:32645',
center: getCenter(sourceExtent),
extent: sourceExtent,
zoom: 8,
}),
});

12
examples/cog-pyramid.html Normal file
View File

@@ -0,0 +1,12 @@
---
layout: example.html
title: GeoTIFF tile pyramid
shortdesc: Rendering a COG tile pyramid as layer group.
docs: >
Data from a Cloud Optimized GeoTIFF (COG) tile pyramid can be rendered as a set of layers. In this
example, a pyramid of 3-band GeoTIFFs is used to render RGB data. For each tile of the pyramid, a
separate layer is created on demand. The lowest resolution layer serves as preview while higher resolutions are
loading.
tags: "cog, tilepyramid, stac"
---
<div id="map" class="map"></div>

71
examples/cog-pyramid.js Normal file
View File

@@ -0,0 +1,71 @@
import GeoTIFF from '../src/ol/source/GeoTIFF.js';
import LayerGroup from '../src/ol/layer/Group.js';
import Map from '../src/ol/Map.js';
import TileGrid from '../src/ol/tilegrid/TileGrid.js';
import View from '../src/ol/View.js';
import WebGLTileLayer from '../src/ol/layer/WebGLTile.js';
import {getIntersection} from '../src/ol/extent.js';
// Metadata from https://s2downloads.eox.at/demo/EOxCloudless/2019/rgb/2019_EOxCloudless_rgb.json
// Tile grid of the GeoTIFF pyramid layout
const tileGrid = new TileGrid({
origin: [-180, 90],
resolutions: [0.703125, 0.3515625, 0.17578125, 8.7890625e-2, 4.39453125e-2],
tileSizes: [
[512, 256],
[1024, 512],
[2048, 1024],
[4096, 2048],
[4096, 4096],
],
});
const pyramid = new LayerGroup();
const layerForUrl = {};
const zs = tileGrid.getResolutions().length;
function useLayer(z, x, y) {
const url = `https://s2downloads.eox.at/demo/EOxCloudless/2019/rgb/${z}/${y}/${x}.tif`;
if (!(url in layerForUrl)) {
pyramid.getLayers().push(
new WebGLTileLayer({
minZoom: z,
maxZoom: z === 0 || z === zs - 1 ? undefined : z + 1,
extent: tileGrid.getTileCoordExtent([z, x, y]),
source: new GeoTIFF({
sources: [
{
url: url,
},
],
}),
})
);
layerForUrl[url] = true;
}
}
const map = new Map({
target: 'map',
layers: [pyramid],
view: new View({
projection: 'EPSG:4326',
center: [0, 0],
zoom: 0,
showFullExtent: true,
}),
});
// Add overview layer
useLayer(0, 0, 0);
// Add layer for specific extent on demand
map.on('moveend', () => {
const view = map.getView();
tileGrid.forEachTileCoord(
getIntersection([-180, -90, 180, 90], view.calculateExtent()),
tileGrid.getZForResolution(view.getResolution()),
([z, x, y]) => useLayer(z, x, y)
);
});

10
examples/cog.html Normal file
View File

@@ -0,0 +1,10 @@
---
layout: example.html
title: Cloud Optimized GeoTIFF (COG)
shortdesc: Rendering a COG as a tiled layer.
docs: >
Tiled data from a Cloud Optimized GeoTIFF (COG) can be rendered as a layer. In this
example, a single 3-band GeoTIFF is used to render RGB data.
tags: "cog"
---
<div id="map" class="map"></div>

35
examples/cog.js Normal file
View File

@@ -0,0 +1,35 @@
import GeoTIFF from '../src/ol/source/GeoTIFF.js';
import Map from '../src/ol/Map.js';
import TileLayer from '../src/ol/layer/WebGLTile.js';
import View from '../src/ol/View.js';
import proj4 from 'proj4';
import {getCenter} from '../src/ol/extent.js';
import {register} from '../src/ol/proj/proj4.js';
proj4.defs('EPSG:32636', '+proj=utm +zone=36 +datum=WGS84 +units=m +no_defs');
register(proj4);
// metadata from https://s3.us-west-2.amazonaws.com/sentinel-cogs/sentinel-s2-l2a-cogs/2020/S2A_36QWD_20200701_0_L2A/S2A_36QWD_20200701_0_L2A.json
const sourceExtent = [499980, 1790220, 609780, 1900020];
const map = new Map({
target: 'map',
layers: [
new TileLayer({
source: new GeoTIFF({
sources: [
{
url: 'https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/2020/S2A_36QWD_20200701_0_L2A/TCI.tif',
},
],
}),
extent: sourceExtent,
}),
],
view: new View({
projection: 'EPSG:32636',
center: getCenter(sourceExtent),
extent: sourceExtent,
zoom: 9,
}),
});

View File

@@ -10,7 +10,7 @@ import {Control, defaults as defaultControls} from '../src/ol/control.js';
class RotateNorthControl extends Control {
/**
* @param {Object=} opt_options Control options.
* @param {Object} [opt_options] Control options.
*/
constructor(opt_options) {
const options = opt_options || {};

View File

@@ -6,7 +6,7 @@ docs: >
The example loads TopoJSON geometries and uses d3 (<code>d3.geo.path</code>) to render these geometries to a SVG element.
tags: "d3"
resources:
- https://unpkg.com/d3@5.9.2/dist/d3.js
- https://unpkg.com/d3@6.7.0/dist/d3.min.js
- https://unpkg.com/topojson@3.0.2/dist/topojson.js
---
<div id="map" class="map"></div>

5
examples/d3.js vendored
View File

@@ -50,10 +50,13 @@ class CanvasLayer extends Layer {
const scale = r / frameState.viewState.resolution;
const center = toLonLat(getCenter(frameState.extent), projection);
const angle = (-frameState.viewState.rotation * 180) / Math.PI;
d3Projection
.scale(scale)
.center(center)
.translate([width / 2, height / 2]);
.translate([width / 2, height / 2])
.angle(angle);
d3Path = d3Path.projection(d3Projection);
d3Path(this.features);

9
examples/data-tiles.html Normal file
View File

@@ -0,0 +1,9 @@
---
layout: example.html
title: Data Tiles
shortdesc: Generating tile data from scratch.
docs: >
This example generates RGBA tile data from scratch.
tags: "data tiles"
---
<div id="map" class="map"></div>

45
examples/data-tiles.js Normal file
View File

@@ -0,0 +1,45 @@
import DataTile from '../src/ol/source/DataTile.js';
import Map from '../src/ol/Map.js';
import TileLayer from '../src/ol/layer/WebGLTile.js';
import View from '../src/ol/View.js';
const size = 256;
const canvas = document.createElement('canvas');
canvas.width = size;
canvas.height = size;
const context = canvas.getContext('2d');
context.strokeStyle = 'white';
context.textAlign = 'center';
context.font = '24px sans-serif';
const lineHeight = 30;
const map = new Map({
target: 'map',
layers: [
new TileLayer({
source: new DataTile({
loader: function (z, x, y) {
const half = size / 2;
context.clearRect(0, 0, size, size);
context.fillStyle = 'rgba(100, 100, 100, 0.5)';
context.fillRect(0, 0, size, size);
context.fillStyle = 'black';
context.fillText(`z: ${z}`, half, half - lineHeight);
context.fillText(`x: ${x}`, half, half);
context.fillText(`y: ${y}`, half, half + lineHeight);
context.strokeRect(0, 0, size, size);
const data = context.getImageData(0, 0, size, size).data;
return Promise.resolve(data);
},
// disable opacity transition to avoid overlapping labels during tile loading
transition: 0,
}),
}),
],
view: new View({
center: [0, 0],
zoom: 0,
}),
});

View File

@@ -140,7 +140,7 @@ function download(fullpath, filename) {
})
.then(function (blob) {
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(blob, filename);
} else {
link.href = URL.createObjectURL(blob);

View File

@@ -108,7 +108,7 @@ function download(fullpath, filename) {
})
.then(function (blob) {
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(blob, filename);
} else {
link.href = URL.createObjectURL(blob);

View File

@@ -102,7 +102,7 @@ function download(fullpath, filename) {
})
.then(function (blob) {
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(blob, filename);
} else {
link.href = URL.createObjectURL(blob);

View File

@@ -0,0 +1,25 @@
---
layout: example.html
title: Draw and Modify Geodesic Circles
shortdesc: Example of using Draw and Modify interactions for geodesic circles.
docs: >
Example of using the `ol/interaction/Draw` interaction with a custom geometry function together with the `ol/interaction/Modify` interaction
to draw and modify geodesic circles (a `ol/geom/Polygon#circular` polygon representing a circle on the surface of the Earth's sphere).
The polygon is placed in a `ol/geom/GeometryCollection` together with a `ol/geom/Point` which allows the Modify interaction to adjust the
circle center as well as the radius. Custom style functions ensure the correct final geometry is displayed throughout.
`ol/geom/Circle` projected (planar) geometries can also be drawn and modified. The difference between geodesic and projected circles can be
seen when their centers are moved between northern and southern latitudes in the Web Mercator projection.
The `ol/interaction/Snap` interaction can be used to create concentric circles.
tags: "draw, edit, modify, vector, circle, sphere, geodesic"
---
<div id="map" class="map"></div>
<form class="form-inline">
<label for="type">Geometry type &nbsp;</label>
<select id="type">
<option value="Point">Point</option>
<option value="LineString">LineString</option>
<option value="Polygon">Polygon</option>
<option value="Circle">Circle Geometry</option>
<option value="Geodesic" selected>Geodesic Circle</option>
</select>
</form>

View File

@@ -0,0 +1,184 @@
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import {Circle as CircleStyle, Fill, Stroke, Style} from '../src/ol/style.js';
import {Draw, Modify, Snap} from '../src/ol/interaction.js';
import {GeometryCollection, Point, Polygon} from '../src/ol/geom.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {circular} from '../src/ol/geom/Polygon.js';
import {getDistance} from '../src/ol/sphere.js';
import {transform} from '../src/ol/proj.js';
const raster = new TileLayer({
source: new OSM(),
});
const source = new VectorSource();
const style = new Style({
fill: new Fill({
color: 'rgba(255, 255, 255, 0.2)',
}),
stroke: new Stroke({
color: '#33cc33',
width: 2,
}),
image: new CircleStyle({
radius: 7,
fill: new Fill({
color: '#ffcc33',
}),
}),
});
const geodesicStyle = new Style({
geometry: function (feature) {
return feature.get('modifyGeometry') || feature.getGeometry();
},
fill: new Fill({
color: 'rgba(255, 255, 255, 0.2)',
}),
stroke: new Stroke({
color: '#ff3333',
width: 2,
}),
image: new CircleStyle({
radius: 7,
fill: new Fill({
color: 'rgba(0, 0, 0, 0)',
}),
}),
});
const vector = new VectorLayer({
source: source,
style: function (feature) {
const geometry = feature.getGeometry();
return geometry.getType() === 'GeometryCollection' ? geodesicStyle : style;
},
});
const map = new Map({
layers: [raster, vector],
target: 'map',
view: new View({
center: [-11000000, 6600000],
zoom: 3,
}),
});
const defaultStyle = new Modify({source: source})
.getOverlay()
.getStyleFunction();
const modify = new Modify({
source: source,
style: function (feature) {
feature.get('features').forEach(function (modifyFeature) {
const modifyGeometry = modifyFeature.get('modifyGeometry');
if (modifyGeometry) {
const modifyPoint = feature.getGeometry().getCoordinates();
const geometries = modifyFeature.getGeometry().getGeometries();
const polygon = geometries[0].getCoordinates()[0];
const center = geometries[1].getCoordinates();
const projection = map.getView().getProjection();
let first, last, radius;
if (modifyPoint[0] === center[0] && modifyPoint[1] === center[1]) {
// center is being modified
// get unchanged radius from diameter between polygon vertices
first = transform(polygon[0], projection, 'EPSG:4326');
last = transform(
polygon[(polygon.length - 1) / 2],
projection,
'EPSG:4326'
);
radius = getDistance(first, last) / 2;
} else {
// radius is being modified
first = transform(center, projection, 'EPSG:4326');
last = transform(modifyPoint, projection, 'EPSG:4326');
radius = getDistance(first, last);
}
// update the polygon using new center or radius
const circle = circular(
transform(center, projection, 'EPSG:4326'),
radius,
128
);
circle.transform('EPSG:4326', projection);
geometries[0].setCoordinates(circle.getCoordinates());
// save changes to be applied at the end of the interaction
modifyGeometry.setGeometries(geometries);
}
});
return defaultStyle(feature);
},
});
modify.on('modifystart', function (event) {
event.features.forEach(function (feature) {
const geometry = feature.getGeometry();
if (geometry.getType() === 'GeometryCollection') {
feature.set('modifyGeometry', geometry.clone(), true);
}
});
});
modify.on('modifyend', function (event) {
event.features.forEach(function (feature) {
const modifyGeometry = feature.get('modifyGeometry');
if (modifyGeometry) {
feature.setGeometry(modifyGeometry);
feature.unset('modifyGeometry', true);
}
});
});
map.addInteraction(modify);
let draw, snap; // global so we can remove them later
const typeSelect = document.getElementById('type');
function addInteractions() {
let value = typeSelect.value;
let geometryFunction;
if (value === 'Geodesic') {
value = 'Circle';
geometryFunction = function (coordinates, geometry, projection) {
if (!geometry) {
geometry = new GeometryCollection([
new Polygon([]),
new Point(coordinates[0]),
]);
}
const geometries = geometry.getGeometries();
const center = transform(coordinates[0], projection, 'EPSG:4326');
const last = transform(coordinates[1], projection, 'EPSG:4326');
const radius = getDistance(center, last);
const circle = circular(center, radius, 128);
circle.transform('EPSG:4326', projection);
geometries[0].setCoordinates(circle.getCoordinates());
geometry.setGeometries(geometries);
return geometry;
};
}
draw = new Draw({
source: source,
type: value,
geometryFunction: geometryFunction,
});
map.addInteraction(draw);
snap = new Snap({source: source});
map.addInteraction(snap);
}
/**
* Handle change event.
*/
typeSelect.onchange = function () {
map.removeInteraction(draw);
map.removeInteraction(snap);
addInteractions();
};
addInteractions();

View File

@@ -53,7 +53,7 @@ document.getElementById('export-png').addEventListener('click', function () {
}
);
if (navigator.msSaveBlob) {
// link download attribuute does not work on MS browsers
// link download attribute does not work on MS browsers
navigator.msSaveBlob(mapCanvas.msToBlob(), 'map.png');
} else {
const link = document.getElementById('image-download');

View File

@@ -6,7 +6,7 @@ docs: >
Example of exporting a map as a PDF using the <a href="https://github.com/MrRio/jsPDF" target="_blank">jsPDF</a> library.
tags: "export, pdf, openstreetmap"
resources:
- https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.5.3/jspdf.min.js
- https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.3.1/jspdf.umd.min.js
---
<div class="row-fluid">
<div class="span12">

View File

@@ -83,7 +83,7 @@ exportButton.addEventListener(
}
}
);
const pdf = new jsPDF('landscape', undefined, format);
const pdf = new jspdf.jsPDF('landscape', undefined, format);
pdf.addImage(
mapCanvas.toDataURL('image/jpeg'),
'JPEG',

View File

@@ -16,8 +16,15 @@ const tileLayer = new TileLayer({
}),
});
const source = new VectorSource({
wrapX: false,
});
const vector = new VectorLayer({
source: source,
});
const map = new Map({
layers: [tileLayer],
layers: [tileLayer, vector],
target: 'map',
view: new View({
center: [0, 0],
@@ -26,17 +33,9 @@ const map = new Map({
}),
});
const source = new VectorSource({
wrapX: false,
});
const vector = new VectorLayer({
source: source,
});
map.addLayer(vector);
function addRandomFeature() {
const x = Math.random() * 360 - 180;
const y = Math.random() * 180 - 90;
const y = Math.random() * 170 - 85;
const geom = new Point(fromLonLat([x, y]));
const feature = new Feature(geom);
source.addFeature(feature);
@@ -44,14 +43,18 @@ function addRandomFeature() {
const duration = 3000;
function flash(feature) {
const start = new Date().getTime();
const start = Date.now();
const flashGeom = feature.getGeometry().clone();
const listenerKey = tileLayer.on('postrender', animate);
function animate(event) {
const vectorContext = getVectorContext(event);
const frameState = event.frameState;
const flashGeom = feature.getGeometry().clone();
const elapsed = frameState.time - start;
if (elapsed >= duration) {
unByKey(listenerKey);
return;
}
const vectorContext = getVectorContext(event);
const elapsedRatio = elapsed / duration;
// radius will be 5 at start and 30 at end.
const radius = easeOut(elapsedRatio) * 25 + 5;
@@ -69,10 +72,6 @@ function flash(feature) {
vectorContext.setStyle(style);
vectorContext.drawGeometry(flashGeom);
if (elapsed > duration) {
unByKey(listenerKey);
return;
}
// tell OpenLayers to continue postrender animation
map.render();
}

View File

@@ -57,17 +57,18 @@ fetch('data/polyline/route.json').then(function (response) {
type: 'route',
geometry: route,
});
const geoMarker = new Feature({
type: 'geoMarker',
geometry: new Point(route.getCoordinateAt(0)),
});
const startMarker = new Feature({
type: 'icon',
geometry: new Point(route.getCoordinateAt(0)),
geometry: new Point(route.getFirstCoordinate()),
});
const endMarker = new Feature({
type: 'icon',
geometry: new Point(route.getCoordinateAt(1)),
geometry: new Point(route.getLastCoordinate()),
});
const position = startMarker.getGeometry().clone();
const geoMarker = new Feature({
type: 'geoMarker',
geometry: position,
});
const styles = {
@@ -95,76 +96,65 @@ fetch('data/polyline/route.json').then(function (response) {
}),
};
let animating = false;
const vectorLayer = new VectorLayer({
source: new VectorSource({
features: [routeFeature, geoMarker, startMarker, endMarker],
}),
style: function (feature) {
// hide geoMarker if animation is active
if (animating && feature.get('type') === 'geoMarker') {
return null;
}
return styles[feature.get('type')];
},
});
map.addLayer(vectorLayer);
let speed, startTime;
const speedInput = document.getElementById('speed');
const startButton = document.getElementById('start-animation');
let animating = false;
let distance = 0;
let lastTime;
function moveFeature(event) {
const speed = Number(speedInput.value);
const time = event.frameState.time;
const elapsedTime = time - lastTime;
distance = (distance + (speed * elapsedTime) / 1e6) % 2;
lastTime = time;
const currentCoordinate = route.getCoordinateAt(
distance > 1 ? 2 - distance : distance
);
position.setCoordinates(currentCoordinate);
const vectorContext = getVectorContext(event);
const frameState = event.frameState;
if (animating) {
const elapsedTime = frameState.time - startTime;
const distance = (speed * elapsedTime) / 1e6;
if (distance >= 1) {
stopAnimation(true);
return;
}
const currentPoint = new Point(route.getCoordinateAt(distance));
const feature = new Feature(currentPoint);
vectorContext.drawFeature(feature, styles.geoMarker);
}
vectorContext.setStyle(styles.geoMarker);
vectorContext.drawGeometry(position);
// tell OpenLayers to continue the postrender animation
map.render();
}
function startAnimation() {
if (animating) {
stopAnimation(false);
} else {
animating = true;
startTime = new Date().getTime();
speed = speedInput.value;
startButton.textContent = 'Cancel Animation';
// hide geoMarker
geoMarker.changed();
// just in case you pan somewhere else
map.getView().setCenter(center);
vectorLayer.on('postrender', moveFeature);
map.render();
}
animating = true;
lastTime = Date.now();
startButton.textContent = 'Stop Animation';
vectorLayer.on('postrender', moveFeature);
// hide geoMarker and trigger map render through change event
geoMarker.setGeometry(null);
}
function stopAnimation(ended) {
function stopAnimation() {
animating = false;
startButton.textContent = 'Start Animation';
// if animation cancelled set the marker at the beginning
const coord = route.getCoordinateAt(ended ? 1 : 0);
geoMarker.getGeometry().setCoordinates(coord);
// remove listener
// Keep marker at current animation position
geoMarker.setGeometry(position);
vectorLayer.un('postrender', moveFeature);
}
startButton.addEventListener('click', startAnimation, false);
startButton.addEventListener('click', function () {
if (animating) {
stopAnimation();
} else {
startAnimation();
}
});
});
});

View File

@@ -7,8 +7,8 @@ docs: >
animate flights. A great circle arc between two airports is calculated using
<a href="https://github.com/springmeyer/arc.js">arc.js</a> and then the flight
paths are animated with <b>postrender</b>. The flight data is provided by
<a href="http://openflights.org/data.html">OpenFlights</a> (a simplified data
set from the <a href="https://www.mapbox.com/mapbox.js/example/v1.0.0/animating-flight-paths/">
<a href="https://openflights.org/data.html">OpenFlights</a> (a simplified data
set from the <a href="https://docs.mapbox.com/mapbox.js/example/v1.0.0/animating-flight-paths/">
Mapbox.js documentation</a> is used).
tags: "animation, vector, feature, flights, arc"
resources:

View File

@@ -34,7 +34,7 @@ const flightsSource = new VectorSource({
wrapX: false,
attributions:
'Flight data by ' +
'<a href="http://openflights.org/data.html">OpenFlights</a>,',
'<a href="https://openflights.org/data.html">OpenFlights</a>,',
loader: function () {
const url = 'data/openflights/flights.json';
fetch(url)
@@ -120,7 +120,7 @@ function animateFlights(event) {
function addLater(feature, timeout) {
window.setTimeout(function () {
feature.set('start', new Date().getTime());
feature.set('start', Date.now());
flightsSource.addFeature(feature);
}, timeout);
}

View File

@@ -4,7 +4,7 @@ title: Full Screen Drag, Rotate, and Zoom
shortdesc: Example of drag rotate and zoom control with full screen effect.
docs: >
<p>Hold down <code>Shift+Drag</code> to rotate and zoom. Click the button in the top right corner to go full screen. Then do the <code>Shift+Drag</code> thing again.</p>
<p>If there is no button on the map, your browser does not support the <a href="http://caniuse.com/#feat=fullscreen">Full Screen API</a>.</p>
<p>If there is no button on the map, your browser does not support the <a href="https://caniuse.com/fullscreen">Full Screen API</a>.</p>
tags: "full-screen, drag, rotate, zoom, xyz, maptiler"
cloak:
- key: get_your_own_D6rA4zTHduk6KOKTXzGB

View File

@@ -4,7 +4,7 @@ title: Full Screen Control with extended source element
shortdesc: Example of a full screen control with a source option definition.
docs: >
<p>Click the control in the top right corner to go full screen. Click it again to exit full screen.</p>
<p>If there is no button on the map, your browser does not support the <a href="http://caniuse.com/#feat=fullscreen">Full Screen API</a>.</p>
<p>If there is no button on the map, your browser does not support the <a href="https://caniuse.com/fullscreen">Full Screen API</a>.</p>
tags: "full-screen, source, fullScreenSource, osm, osm-maps"
---
<div id="fullscreen" class="fullscreen">

View File

@@ -4,7 +4,7 @@ title: Full Screen Control
shortdesc: Example of a full screen control.
docs: >
<p>Click the control in the top right corner to go full screen. Click it again to exit full screen.</p>
<p>If there is no button on the map, your browser does not support the <a href="http://caniuse.com/#feat=fullscreen">Full Screen API</a>.</p>
<p>If there is no button on the map, your browser does not support the <a href="https://caniuse.com/fullscreen">Full Screen API</a>.</p>
tags: "full-screen, xyz, maptiler"
cloak:
- key: get_your_own_D6rA4zTHduk6KOKTXzGB

View File

@@ -125,8 +125,9 @@ const geojsonObject = {
'coordinates': [
[
[-5e6, -1e6],
[-4e6, 1e6],
[-3e6, -1e6],
[-4e6, 1e6],
[-5e6, -1e6],
],
],
},
@@ -163,25 +164,28 @@ const geojsonObject = {
[
[
[-5e6, 6e6],
[-5e6, 8e6],
[-3e6, 8e6],
[-3e6, 6e6],
[-3e6, 8e6],
[-5e6, 8e6],
[-5e6, 6e6],
],
],
[
[
[-2e6, 6e6],
[-2e6, 8e6],
[0, 8e6],
[0, 6e6],
[0, 8e6],
[-2e6, 8e6],
[-2e6, 6e6],
],
],
[
[
[1e6, 6e6],
[1e6, 8e6],
[3e6, 8e6],
[3e6, 6e6],
[3e6, 8e6],
[1e6, 8e6],
[1e6, 6e6],
],
],
],
@@ -208,8 +212,9 @@ const geojsonObject = {
'coordinates': [
[
[1e6, -6e6],
[2e6, -4e6],
[3e6, -6e6],
[2e6, -4e6],
[1e6, -6e6],
],
],
},

View File

@@ -14,14 +14,12 @@ fetch('data/wmsgetfeatureinfo/osm-restaurant-hotel.xml')
const hotelFeatures = new WMSGetFeatureInfo({
layers: ['hotel'],
}).readFeatures(response);
document.getElementById(
'hotel'
).innerText = hotelFeatures.length.toString();
document.getElementById('hotel').innerText =
hotelFeatures.length.toString();
const restaurantFeatures = new WMSGetFeatureInfo({
layers: ['restaurant'],
}).readFeatures(response);
document.getElementById(
'restaurant'
).innerText = restaurantFeatures.length.toString();
document.getElementById('restaurant').innerText =
restaurantFeatures.length.toString();
});

View File

@@ -3,14 +3,12 @@ layout: example.html
title: HERE Map Tile API
shortdesc: Example of a map with map tiles from HERE.
docs: >
<p><a href="https://developer.here.com/rest-apis/documentation/enterprise-map-tile">HERE Map Tile API</a> used with <code>ol/source/XYZ</code>.</p>
<p>Be sure to respect the <a href="https://legal.here.com/en/terms/serviceterms/us/">HERE Service Terms</a> when using their tile API.</p>
<p><a href="https://developer.here.com/rest-apis/documentation/enterprise-map-tile" target="_blank">HERE Map Tile API</a> used with <code>ol/source/XYZ</code>.</p>
<p>Be sure to respect the <a href="https://legal.here.com/en/terms/serviceterms/us/" target="_blank">HERE Service Terms</a> when using their tile API.</p>
tags: "here, here-maps, here-tile-api"
cloak:
- key: kDm0Jq1K4Ak7Bwtn8uvk
value: Your HERE Maps appId from https://developer.here.com/
- key: xnmvc4dKZrDfGlvQHXSvwQ
value: Your HERE Maps appCode from https://developer.here.com/
- key: x13yMxvFSo8FIKFDDTnQaJ57Gakt11ZaIyqIctoSD3Y
value: Your HERE Maps API key from https://developer.here.com/
---
<div id="map" class="map"></div>
<select id="layer-select">

View File

@@ -3,56 +3,49 @@ import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
import XYZ from '../src/ol/source/XYZ.js';
const appId = 'kDm0Jq1K4Ak7Bwtn8uvk';
const appCode = 'xnmvc4dKZrDfGlvQHXSvwQ';
const apiKey = 'x13yMxvFSo8FIKFDDTnQaJ57Gakt11ZaIyqIctoSD3Y';
const hereLayers = [
{
base: 'base',
type: 'maptile',
scheme: 'normal.day',
app_id: appId,
app_code: appCode,
apiKey: apiKey,
},
{
base: 'base',
type: 'maptile',
scheme: 'normal.day.transit',
app_id: appId,
app_code: appCode,
apiKey: apiKey,
},
{
base: 'base',
type: 'maptile',
scheme: 'pedestrian.day',
app_id: appId,
app_code: appCode,
apiKey: apiKey,
},
{
base: 'aerial',
type: 'maptile',
scheme: 'terrain.day',
app_id: appId,
app_code: appCode,
apiKey: apiKey,
},
{
base: 'aerial',
type: 'maptile',
scheme: 'satellite.day',
app_id: appId,
app_code: appCode,
apiKey: apiKey,
},
{
base: 'aerial',
type: 'maptile',
scheme: 'hybrid.day',
app_id: appId,
app_code: appCode,
apiKey: apiKey,
},
];
const urlTpl =
'https://{1-4}.{base}.maps.cit.api.here.com' +
'https://{1-4}.{base}.maps.ls.hereapi.com' +
'/{type}/2.1/maptile/newest/{scheme}/{z}/{x}/{y}/256/png' +
'?app_id={app_id}&app_code={app_code}';
'?apiKey={apiKey}';
const layers = [];
let i, ii;
for (i = 0, ii = hereLayers.length; i < ii; ++i) {
@@ -67,7 +60,7 @@ for (i = 0, ii = hereLayers.length; i < ii; ++i) {
'Map Tiles &copy; ' +
new Date().getFullYear() +
' ' +
'<a href="http://developer.here.com">HERE</a>',
'<a href="https://developer.here.com/" target="_blank">HERE</a>',
}),
})
);
@@ -87,8 +80,7 @@ function createUrl(tpl, layerDesc) {
.replace('{base}', layerDesc.base)
.replace('{type}', layerDesc.type)
.replace('{scheme}', layerDesc.scheme)
.replace('{app_id}', layerDesc.app_id)
.replace('{app_code}', layerDesc.app_code);
.replace('{apiKey}', layerDesc.apiKey);
}
const select = document.getElementById('layer-select');

View File

@@ -1,9 +0,0 @@
---
layout: example.html
title: Hit tolerance priority
shortdesc: Shows bad behavior of hit detection with hit tolerance.
docs: >
Hover over the map and observe how the small circles get a black outline as you hover over them. Is the expected feature getting highlighted?
tags: "simple, openstreetmap"
---
<div id="map" class="map"></div>

View File

@@ -1,84 +0,0 @@
import CircleStyle from '../src/ol/style/Circle.js';
import Feature from '../src/ol/Feature.js';
import Map from '../src/ol/Map.js';
import VectorLayer from '../src/ol/layer/Vector.js';
import VectorSource from '../src/ol/source/Vector.js';
import View from '../src/ol/View.js';
import {Fill, Stroke, Style} from '../src/ol/style.js';
import {Point} from '../src/ol/geom.js';
const map = new Map({
target: 'map',
view: new View({
center: [0, 0],
resolution: 1,
resolutions: [1],
}),
});
const vectorLayer = new VectorLayer({
source: new VectorSource({
features: [
new Feature({
geometry: new Point([0, 0]),
color: 'white',
}),
new Feature({
geometry: new Point([-10, 0]),
color: 'fuchsia',
}),
new Feature({
geometry: new Point([-10, -10]),
color: 'orange',
}),
new Feature({
geometry: new Point([-10, 10]),
color: 'cyan',
}),
],
}),
style: (feature) => {
return new Style({
image: new CircleStyle({
radius: 5,
fill: new Fill({
color: feature.get('color'),
}),
stroke: new Stroke({
color: 'gray',
width: 1,
}),
}),
});
},
});
map.addLayer(vectorLayer);
const highlightFeature = new Feature(new Point([NaN, NaN]));
highlightFeature.setStyle(
new Style({
image: new CircleStyle({
radius: 5,
stroke: new Stroke({
color: 'black',
width: 2,
}),
}),
})
);
vectorLayer.getSource().addFeature(highlightFeature);
map.on('pointermove', (e) => {
const hit = map.forEachFeatureAtPixel(
e.pixel,
(feature) => {
highlightFeature.setGeometry(feature.getGeometry().clone());
return true;
},
{
hitTolerance: 10,
}
);
if (!hit) {
highlightFeature.setGeometry(new Point([NaN, NaN]));
}
});

View File

@@ -98,7 +98,6 @@ const popup = new Overlay({
element: element,
positioning: 'bottom-center',
stopEvent: false,
offset: [0, -50],
});
map.addOverlay(popup);
@@ -109,8 +108,7 @@ map.on('click', function (evt) {
});
$(element).popover('dispose');
if (feature) {
const coordinates = feature.getGeometry().getCoordinates();
popup.setPosition(coordinates);
popup.setPosition(evt.coordinate);
$(element).popover({
placement: 'top',
html: true,
@@ -123,11 +121,11 @@ map.on('click', function (evt) {
// change mouse cursor when over marker
map.on('pointermove', function (e) {
if (e.dragging) {
$(element).popover('dispose');
return;
}
const pixel = map.getEventPixel(e.originalEvent);
const hit = map.hasFeatureAtPixel(pixel);
map.getTarget().style.cursor = hit ? 'pointer' : '';
});
// Close the popup when the map is moved
map.on('movestart', function () {
$(element).popover('dispose');
});

View File

@@ -56,7 +56,6 @@ const popup = new Overlay({
element: element,
positioning: 'bottom-center',
stopEvent: false,
offset: [0, -50],
});
map.addOverlay(popup);
@@ -66,8 +65,7 @@ map.on('click', function (evt) {
return feature;
});
if (feature) {
const coordinates = feature.getGeometry().getCoordinates();
popup.setPosition(coordinates);
popup.setPosition(evt.coordinate);
$(element).popover({
placement: 'top',
html: true,
@@ -81,11 +79,11 @@ map.on('click', function (evt) {
// change mouse cursor when over marker
map.on('pointermove', function (e) {
if (e.dragging) {
$(element).popover('dispose');
return;
}
const pixel = map.getEventPixel(e.originalEvent);
const hit = map.hasFeatureAtPixel(pixel);
map.getTarget().style.cursor = hit ? 'pointer' : '';
});
// Close the popup when the map is moved
map.on('movestart', function () {
$(element).popover('dispose');
});

View File

@@ -7,7 +7,7 @@ docs: >
tags: "complex-geometry, closest-feature, igc, opencyclemap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
value: Your API key from https://www.thunderforest.com/docs/apikeys/ here
---
<div id="map" class="map"></div>

View File

@@ -183,7 +183,10 @@ document.getElementById('time').addEventListener('input', function () {
const value = parseInt(this.value, 10) / 100;
const m = time.start + time.duration * value;
vectorSource.forEachFeature(function (feature) {
const geometry = /** @type {import("../src/ol/geom/LineString.js").default} */ (feature.getGeometry());
const geometry =
/** @type {import("../src/ol/geom/LineString.js").default} */ (
feature.getGeometry()
);
const coordinate = geometry.getCoordinateAtM(m, true);
let highlight = feature.get('highlight');
if (highlight === undefined) {

View File

@@ -6,7 +6,7 @@ import View from '../src/ol/View.js';
/**
* Renders a progress bar.
* @param {HTMLElement} el The target element.
* @constructor
* @class
*/
function Progress(el) {
this.el = el;

View File

@@ -29,7 +29,7 @@
background-color: #F5F5F5;
}
</style>
<script type="text/javascript" src="Jugl.js"></script>
<script type="text/javascript" src="resources/Jugl.js"></script>
<script type="text/javascript" src="examples-info.js"></script>
<script type="text/javascript" src="index.js"></script>

View File

@@ -82,11 +82,7 @@ const displayFeatureInfo = function (pixel) {
return feature;
});
if (feature) {
info
.tooltip('hide')
.attr('data-original-title', feature.get('name'))
.tooltip('fixTitle')
.tooltip('show');
info.attr('data-original-title', feature.get('name')).tooltip('show');
} else {
info.tooltip('hide');
}

View File

@@ -3,11 +3,11 @@ layout: example.html
title: Localized OpenStreetMap
shortdesc: Example of a localized OpenStreetMap map with a custom tile server and a custom attribution.
docs: >
<p>The base layer is <a href="https://www.opencyclemap.org/">OpenCycleMap</a> with an overlay from <a href="http://www.openseamap.org/">OpenSeaMap</a>.
<p>The base layer is <a href="https://www.opencyclemap.org/">OpenCycleMap</a> with an overlay from <a href="https://www.openseamap.org/">OpenSeaMap</a>.
tags: "localized-openstreetmap, openseamap, openstreetmap"
cloak:
- key: 0e6fc415256d4fbb9b5166a718591d71
value: Your API key from http://www.thunderforest.com/docs/apikeys/ here
value: Your API key from https://www.thunderforest.com/docs/apikeys/ here
---
<div id="map" class="map"></div>

View File

@@ -18,7 +18,7 @@ const openCycleMapLayer = new TileLayer({
const openSeaMapLayer = new TileLayer({
source: new OSM({
attributions: [
'All maps © <a href="http://www.openseamap.org/">OpenSeaMap</a>',
'All maps © <a href="https://www.openseamap.org/">OpenSeaMap</a>',
ATTRIBUTION,
],
opaque: false,

View File

@@ -3,12 +3,14 @@ layout: example.html
title: Mapbox-gl Layer
shortdesc: Example of a Mapbox-gl-js layer integration.
docs: >
Show how to add a mapbox-gl-js layer in an openlayers map. **Note**: Make sure to get your own API key at https://www.maptiler.com/cloud/ when using this example. No map will be visible when the API key has expired.
Show how to add a mapbox-gl-js layer in an OpenLayers map.
**Note**: Make sure to get your own API key at https://www.maptiler.com/cloud/ when using this example. No map will be visible when the API key has expired.
mapbox-gl-js version 1.13.0 is used in this example as later versions require a Mapbox access token and are not compatible with older browsers.
tags: "simple, mapbox, vector, tiles, maptiler"
experimental: true
resources:
- https://unpkg.com/mapbox-gl@1.11.1/dist/mapbox-gl.js
- https://unpkg.com/mapbox-gl@1.11.1/dist/mapbox-gl.css
- https://cdnjs.cloudflare.com/ajax/libs/mapbox-gl/1.13.0/mapbox-gl.js
- https://cdnjs.cloudflare.com/ajax/libs/mapbox-gl/1.13.0/mapbox-gl.css
cloak:
- key: get_your_own_D6rA4zTHduk6KOKTXzGB
value: Get your own API key at https://www.maptiler.com/cloud/

View File

@@ -4,3 +4,13 @@
top: auto;
right: auto;
}
.map:-webkit-full-screen {
height: 100%;
margin: 0;
}
.map:-ms-fullscreen {
height: 100%;
}
.map:fullscreen {
height: 100%;
}

View File

@@ -1,7 +1,7 @@
import FullScreen from '../src/ol/control/FullScreen.js';
import apply from 'ol-mapbox-style';
import olms from 'ol-mapbox-style';
apply(
olms(
'map',
'https://api.maptiler.com/maps/topo/style.json?key=get_your_own_D6rA4zTHduk6KOKTXzGB'
).then(function (map) {

View File

@@ -4,7 +4,7 @@ title: Advanced Mapbox Vector Tiles
shortdesc: Example of a Mapbox vector tiles map with custom tile grid.
docs: >
A vector tiles map which reuses the same source tiles for subsequent zoom levels to save bandwidth on mobile devices. **Note**: No map will be visible when the access token has expired.
tags: "mapbox, vector, tiles, mobile"
tags: "mapbox, vector, tiles, mobile, grid"
resources:
- resources/mapbox-streets-v6-style.js
cloak:

View File

@@ -4,11 +4,9 @@ import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
const mdf = 'Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition';
const agentUrl = 'http://138.197.230.93:8008/mapguide/mapagent/mapagent.fcgi?';
const agentUrl = 'https://mikenunn.net/mapguide/mapagent/mapagent.fcgi?';
const bounds = [
-87.865114442365922,
43.665065564837931,
-87.595394059497067,
-87.865114442365922, 43.665065564837931, -87.595394059497067,
43.823852564430069,
];
const map = new Map({

Some files were not shown because too many files have changed in this diff Show More