Compare commits

...

2952 Commits

Author SHA1 Message Date
Ivan Vazhenin 15684caed3 fix 2022-08-31 17:42:18 +03:00
Tim Schaub bd2ffd9641 Merge pull request #14079 from mike-000/full-screen-mobile
Fix control styles on Full Screen Mobile example
2022-08-31 08:09:04 -06:00
mike-000 d3a7a289ca update css path 2022-08-31 14:38:16 +01:00
mike-000 c5b1369cbc update css path 2022-08-31 14:38:13 +01:00
mike-000 90f9539468 Fix control styles 2022-08-31 11:27:39 +01:00
Tim Schaub 8cc8cdd903 Merge pull request #14067 from openlayers/embrace-legacy
Include the full build in the ol package
2022-08-30 09:44:41 -06:00
Tim Schaub 45480c764f Add upgrade note about full build URLs 2022-08-30 09:21:08 -06:00
Andreas Hocevar e1bac72003 Make full build iife only, with external geotiff.js and ol-mapbox-style 2022-08-30 09:14:19 -06:00
Tim Schaub 8a9bf4ac7a Support a script tag only for the full build 2022-08-30 09:14:19 -06:00
Tim Schaub 1614a27ee1 Minify and use cjs extension 2022-08-30 09:14:19 -06:00
Tim Schaub 219fb093c1 Include the full build in the ol package 2022-08-30 09:14:19 -06:00
Tim Schaub 96ffd4113f Merge pull request #14073 from openlayers/dependabot/npm_and_yarn/typescript-4.8.2
Bump typescript from 4.7.4 to 4.8.2
2022-08-29 07:05:17 -05:00
Andreas Hocevar 8f3a050e49 Merge pull request #14069 from openlayers/dependabot/npm_and_yarn/eslint-8.23.0
Bump eslint from 8.22.0 to 8.23.0
2022-08-29 13:01:47 +02:00
Andreas Hocevar f3afc5ed4d Merge pull request #14071 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.13
Bump @babel/core from 7.18.10 to 7.18.13
2022-08-29 13:01:22 +02:00
Andreas Hocevar 09926ccf13 Merge pull request #14072 from openlayers/dependabot/npm_and_yarn/puppeteer-17.0.0
Bump puppeteer from 16.2.0 to 17.0.0
2022-08-29 13:00:59 +02:00
dependabot[bot] d54fb94597 Bump typescript from 4.7.4 to 4.8.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 4.8.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.4...v4.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 11:00:36 +00:00
Andreas Hocevar 805ff4180c Merge pull request #14070 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-9.1.0
Bump ol-mapbox-style from 9.0.0 to 9.1.0
2022-08-29 13:00:36 +02:00
Andreas Hocevar 0fb52d35da Merge pull request #14074 from openlayers/dependabot/npm_and_yarn/jquery-3.6.1
Bump jquery from 3.6.0 to 3.6.1
2022-08-29 12:59:34 +02:00
Andreas Hocevar 6adb912314 Update tests for ol-mapbox-style's new background rendering technique 2022-08-29 12:50:48 +02:00
dependabot[bot] 9b1f8aa71d Bump jquery from 3.6.0 to 3.6.1
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.0...3.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 10:03:11 +00:00
dependabot[bot] 8f251ed598 Bump puppeteer from 16.2.0 to 17.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 16.2.0 to 17.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/v16.2.0...v17.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>
2022-08-29 10:02:31 +00:00
dependabot[bot] 7ef019ecd9 Bump @babel/core from 7.18.10 to 7.18.13
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.10 to 7.18.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.18.13/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 10:02:15 +00:00
dependabot[bot] ba61dbfbd5 Bump ol-mapbox-style from 9.0.0 to 9.1.0
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 10:01:52 +00:00
dependabot[bot] cffc99a25f Bump eslint from 8.22.0 to 8.23.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.22.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.22.0...v8.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 10:01:36 +00:00
Tim Schaub 558c659c0f Merge pull request #14066 from tschaub/auto-rgb
Add support for auto conversion to RGB
2022-08-28 14:41:26 -05:00
Tim Schaub bd3b1bb434 Add support for auto conversion to RGB 2022-08-28 13:59:46 -05:00
Tim Schaub c742fe965f Merge pull request #14064 from tschaub/geotiff-view
Avoid stuck maps when resolving views from a GeoTIFF
2022-08-28 13:56:40 -05:00
Tim Schaub 02cf27149a Avoid stuck maps when resolving views from a GeoTIFF 2022-08-28 11:10:21 -05:00
Andreas Hocevar 1dc8a18362 Merge pull request #14063 from tschaub/mask-support
GeoTIFF mask support
2022-08-28 15:29:41 +02:00
Tim Schaub c860a362e8 Handle masks in GeoTIFFs 2022-08-27 21:25:03 -05:00
MoonE d70e318443 Merge pull request #14062 from Firefishy/update-tile.openstreetmap.org-url
Use preferred tile.openstreetmap.org URL
2022-08-28 02:22:00 +02:00
Grant Slater 775091c012 Use preferred tile.openstreetmap.org URL
Use the preferred URL for tile.openstreetmap.org, the old aliases are no longer recommended now that tile supports HTTP/2 + HTTP/3.

Signed-off-by: Grant Slater <git@firefishy.com>
2022-08-28 00:34:40 +01:00
Andreas Hocevar a98ef7937a Merge pull request #14061 from ahocevar/proj4-version
Clarify proj4 version
2022-08-27 16:08:26 +02:00
Andreas Hocevar dc37775267 Clarify proj4 version 2022-08-27 16:02:50 +02:00
Andreas Hocevar c7988de1d8 Merge pull request #14059 from openlayers/fix-register-import
Fix register import
2022-08-26 13:00:18 +02:00
Andreas Hocevar 7adcb1e169 Merge pull request #14048 from mike-000/wms-params
Clone the WMS params option
2022-08-26 12:23:14 +02:00
mike-000 d74379a7d9 clone the params option 2022-08-26 10:00:11 +01:00
Andreas Hocevar 20c2bdf2e3 Fix register import 2022-08-26 06:10:52 +02:00
Tim Schaub ce907ff921 Merge pull request #14015 from mike-000/clear-cache
Clear cache when WebGL tile layer source reset
2022-08-25 17:29:02 +02:00
Tim Schaub 044540f8f4 Merge pull request #14057 from tschaub/trace-update
Consider both tracing directions when within snap tolerance
2022-08-25 17:25:21 +02:00
Tim Schaub 1424788f50 Rework condition 2022-08-25 17:23:58 +02:00
Tim Schaub c8b869047a Add flat style types to draw and modify interactions 2022-08-25 17:17:28 +02:00
Tim Schaub 0df9561826 Consider both tracing directions when within snap tolerance 2022-08-25 17:17:28 +02:00
Tim Schaub 13bceb5e9d Merge pull request #14051 from mike-000/fix-preload-and-empty-reproj
Fix WebGL preload and empty reproj tiles
2022-08-25 17:12:38 +02:00
Tim Schaub cd5a8d9839 Merge pull request #14056 from tschaub/version-check
Avoid rate limits from the GitHub API
2022-08-25 13:52:22 +02:00
mike-000 aa61e850c0 test layer min zoom relates to view zoom 2022-08-25 12:44:47 +01:00
mike-000 b3172a8c8b defer preload of tiles not immediately required 2022-08-25 11:59:46 +01:00
Tim Schaub 78bcf9d3f6 Avoid rate limits from the GitHub API 2022-08-25 12:50:23 +02:00
mike-000 49234b2263 defer preload of tiles not immediately required 2022-08-25 10:23:36 +01:00
mike-000 69fd11e836 handle empty reproj tiles 2022-08-25 10:23:35 +01:00
mike-000 549b07aead defer preload of tiles not immediately required
handle empty reproj tiles
ignore view zoom if layer inside ol/source/Raster
2022-08-25 10:23:35 +01:00
Tim Schaub 08ad881d5e Merge pull request #14046 from tschaub/trace
Support tracing with the draw interaction
2022-08-23 20:33:55 +02:00
Tim Schaub f8ba7dec0c Support tracing with the draw interaction 2022-08-23 20:08:46 +02:00
MoonE bb98f178b3 Merge pull request #14039 from MoonE/improve-examples
Improve some examples
2022-08-23 19:51:32 +02:00
Andreas Hocevar 31a42949e6 Merge pull request #14038 from ahocevar/skypack
Show how to use Skypack
2022-08-22 21:39:20 +02:00
Maximilian Krög c528936519 Set cartodb initial map state from input 2022-08-22 19:35:52 +02:00
Maximilian Krög defb6875d7 Sync form state with map on load 2022-08-22 19:35:52 +02:00
Maximilian Krög a10c93d331 Remove tooltip when mouse leaves map or is over control is examples 2022-08-22 19:35:52 +02:00
MoonE 62914bb3df Merge pull request #13996 from MoonE/bootstrap-5
Update to bootstrap 5.2
2022-08-22 19:31:23 +02:00
Maximilian Krög ebfee35a78 Add missing bootstrap css to two examples 2022-08-22 19:26:24 +02:00
Maximilian Krög 38a67ad575 Improve update prompt grammar on download page 2022-08-22 19:26:24 +02:00
Maximilian Krög fd9c3de002 Drop domain from link 2022-08-22 19:26:24 +02:00
Maximilian Krög 6f3d40cb93 Upgrade jquery to 3.6.0 2022-08-22 19:26:24 +02:00
Maximilian Krög aa7be0baeb Remove jquery from example index page 2022-08-22 19:26:24 +02:00
Maximilian Krög 8d1d1b0680 Update examples to use new bootstrap tooltip 2022-08-22 19:26:23 +02:00
Maximilian Krög 523a33c81a Update example styles to work with bootstrap 5.2 2022-08-22 19:26:23 +02:00
Maximilian Krög bc9a6f230c Update to bootstrap 5.2 2022-08-22 19:26:23 +02:00
Maximilian Krög 559712f728 Fix some invalid html markup and some inconsistencies 2022-08-22 19:26:18 +02:00
Andreas Hocevar d8e6cc7722 Show how to use Skypack 2022-08-22 14:05:52 +02:00
Andreas Hocevar 547ec358a1 Merge pull request #14035 from openlayers/dependabot/npm_and_yarn/puppeteer-16.2.0
Bump puppeteer from 16.1.0 to 16.2.0
2022-08-22 12:11:30 +02:00
Andreas Hocevar 4d6bd1bcbc Merge pull request #14033 from openlayers/dependabot/npm_and_yarn/marked-4.0.19
Bump marked from 4.0.18 to 4.0.19
2022-08-22 12:10:19 +02:00
Andreas Hocevar 13d9ec9dfd Merge pull request #14036 from openlayers/dependabot/npm_and_yarn/rollup-2.78.1
Bump rollup from 2.78.0 to 2.78.1
2022-08-22 12:09:49 +02:00
Andreas Hocevar faec288eb1 Merge pull request #14034 from openlayers/dependabot/npm_and_yarn/octokit/rest-19.0.4
Bump @octokit/rest from 19.0.3 to 19.0.4
2022-08-22 12:08:44 +02:00
dependabot[bot] b3e423d829 Bump rollup from 2.78.0 to 2.78.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.78.0 to 2.78.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.78.0...v2.78.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 10:02:02 +00:00
dependabot[bot] b2883c5ffb Bump puppeteer from 16.1.0 to 16.2.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 16.1.0 to 16.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/v16.1.0...v16.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>
2022-08-22 10:01:37 +00:00
dependabot[bot] 439036b047 Bump @octokit/rest from 19.0.3 to 19.0.4
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 19.0.3 to 19.0.4.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v19.0.3...v19.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 10:01:21 +00:00
dependabot[bot] 2a6368652a Bump marked from 4.0.18 to 4.0.19
Bumps [marked](https://github.com/markedjs/marked) from 4.0.18 to 4.0.19.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.18...v4.0.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 10:01:02 +00:00
Andreas Hocevar a69c88c0f1 Merge pull request #14030 from ahocevar/assert-messages
Move assertion messages into code and deprecate AssertionError
2022-08-22 09:31:08 +02:00
Andreas Hocevar a04ff795b5 Show only message 2022-08-22 09:20:13 +02:00
Andreas Hocevar 4e9626ef60 Move assertion messages into code and deprecate AssertionError 2022-08-22 09:20:13 +02:00
Tim Schaub c5f8629f65 Merge pull request #14025 from tschaub/latest-check
New URL to check for latest release
2022-08-20 19:06:23 -06:00
Tim Schaub 8186580140 Merge pull request #14026 from tschaub/link-to-six
Link to latest 6.x release
2022-08-20 15:07:10 -06:00
Tim Schaub 722d5508e5 Link to latest 6.x release 2022-08-20 14:29:00 -06:00
Tim Schaub 528ab0ab56 New URL to check for latest release 2022-08-20 14:22:23 -06:00
Andreas Hocevar 38f45806e7 Merge pull request #14023 from mike-000/empty-attribution
Do not display TileJSON attributions if empty string
2022-08-20 14:08:31 +02:00
mike-000 c857ca440c do not display attributions if empty string 2022-08-20 12:24:09 +01:00
mike-000 24bbffab99 clear cache if view projection changed 2022-08-19 19:57:37 +01:00
mike-000 9df1a82162 clear cache when source reset
clear cache if view projection changed
test source reset
2022-08-19 19:57:36 +01:00
Tim Schaub ba60c3ba4a Merge pull request #14019 from openlayers/release-v7.0.0
Updates for the 7.0.0 release
2022-08-19 07:38:31 -06:00
Tim Schaub 160d361b65 Develop on 7.0.1-dev 2022-08-18 22:58:43 -06:00
Tim Schaub 28aa80399b Updates for the 7.0.0 release 2022-08-18 22:06:52 -06:00
Tim Schaub 5e0ec23f26 Merge pull request #14017 from tschaub/deploy-if-changed
Make the website deploy job succeed even if there are no changes
2022-08-18 20:46:52 -06:00
Tim Schaub 98e87b06ad Only commit website changes if there are some 2022-08-18 20:32:01 -06:00
Tim Schaub f724d67cfb Merge pull request #14014 from tschaub/release-job
Release actions
2022-08-18 20:15:42 -06:00
Tim Schaub 6db24d214b Deploy website and publish package for release tags 2022-08-18 20:07:42 -06:00
Tim Schaub 293f128558 Add a job to create a release 2022-08-18 19:49:47 -06:00
Andreas Hocevar fae9e9097d Merge pull request #14013 from ahocevar/clear-reprojected-source
Properly clear and refresh reprojected sources
2022-08-19 01:51:37 +02:00
Andreas Hocevar ad5283846f Merge pull request #14011 from ahocevar/remove-enable-raster-reprojection-flag
Remove ENABLE_RASTER_REPROJECTION flag
2022-08-19 01:50:44 +02:00
Andreas Hocevar 2ac6ccd31e Properly clear and refresh reprojected sources 2022-08-18 22:36:59 +02:00
Andreas Hocevar b113c3fc7a Merge pull request #14012 from mike-000/feature-changed
Force render after update in Icon Scale example
2022-08-18 22:34:40 +02:00
mike-000 fc1f6aa3da force render after update 2022-08-18 21:04:49 +01:00
Andreas Hocevar 422db1b144 Remove ENABLE_RASTER_REPROJECTION flag 2022-08-18 22:03:15 +02:00
Andreas Hocevar dfacb39c1a Merge pull request #14009 from ahocevar/ol-mapbox-style-v9
Update ol-mapbox-style to v9.0.0
2022-08-18 21:23:09 +02:00
Andreas Hocevar 90557c56ca Merge pull request #14007 from mike-000/icon-scale
Replace the Icon Scale example
2022-08-18 21:19:31 +02:00
Andreas Hocevar 34ac4b70c8 Update ol-mapbox-style to v9.0.0 2022-08-18 21:05:28 +02:00
mike-000 c2eb0485da replace example 2022-08-18 17:22:19 +01:00
Tim Schaub 6a5a92fe9b Merge pull request #14006 from mike-000/displacement
Improve description of displacement in docs
2022-08-18 07:36:56 -06:00
mike-000 bedec22bc0 Improve description of displacement
Group and improve descriptions
2022-08-18 14:13:02 +01:00
Tim Schaub 8d108dc29e Merge pull request #13995 from tschaub/browserslist
Remove IE workarounds for legacy build, examples, and workers
2022-08-18 06:55:18 -06:00
Tim Schaub e242d93c32 Merge pull request #13998 from tschaub/doc-options
Use the full table for constructor options
2022-08-18 06:54:27 -06:00
Andreas Hocevar 43661e3bd1 Merge pull request #13975 from mike-000/do-not-scale-displacement
Do not scale Icon and RegularShape displacement
2022-08-18 12:30:20 +02:00
Tim Schaub 3767d111ba Merge pull request #14003 from mike-000/draganddrop
Support user projections in Drag and Drop
2022-08-17 14:11:42 -06:00
mike-000 bfee7f184a support userProjection 2022-08-17 15:59:25 +01:00
Tim Schaub edd28d7096 Merge pull request #13997 from tschaub/stop-caching
Avoid append only cache in WebGL tile layers
2022-08-17 04:25:20 -06:00
Tim Schaub a32830c16b Merge pull request #13981 from mike-000/immediate-text
Fix immediate renderer text rotation with offset
2022-08-16 20:04:48 -06:00
Tim Schaub 43098af87c Use the full table for constructor options 2022-08-16 17:24:26 -06:00
Tim Schaub be8d2843cd Avoid append only cache in WebGL tile layers 2022-08-16 16:31:02 -06:00
mike-000 3e0b942b15 test text rotation with offset 2022-08-16 22:56:28 +01:00
Tim Schaub dd876b1c8f Merge pull request #13984 from openlayers/deploy
Build and deploy the website
2022-08-16 12:47:58 -06:00
Marc Jansen 9b2240b8a7 Merge pull request #13992 from openlayers/template-fixes
Small example template fixes
2022-08-16 19:20:33 +02:00
Tim Schaub a166b1da51 Remove IE workarounds for legacy build, examples, and workers 2022-08-16 10:19:59 -06:00
Marc Jansen 5396685667 More HTML img-attribute fixes, thx @MoonE 2022-08-16 17:06:02 +02:00
Marc Jansen fcab3166b1 Merge pull request #13991 from openlayers/less-for
Fix wording in API docs
2022-08-16 12:24:51 +02:00
Marc Jansen 2546689cff Small example template fixes 2022-08-16 09:12:56 +02:00
Marc Jansen 58a222da93 Fix wording in API docs 2022-08-16 07:58:07 +02:00
Tim Schaub 7d296a9ffc Merge pull request #13970 from tschaub/apidoc-updates
Nicer links in the API docs
2022-08-15 17:04:19 -06:00
Tim Schaub c2f1d1bbc7 Merge pull request #13989 from tschaub/space
Minor adjustments to the website style
2022-08-15 17:02:33 -06:00
Tim Schaub e566868a5b Allow short name to be extracted 2022-08-15 16:58:42 -06:00
Tim Schaub 1c65ac4c85 Include : in characters that separate a short name 2022-08-15 16:58:18 -06:00
Tim Schaub 41d575b905 Cleaner example links 2022-08-15 16:46:11 -06:00
Tim Schaub d23a77bebf Add space around pipe 2022-08-15 16:14:04 -06:00
Tim Schaub b5b3cb7b18 Shorter names 2022-08-15 16:14:03 -06:00
Tim Schaub 73baef60e3 Use short name for exported functions 2022-08-15 16:14:03 -06:00
Tim Schaub 9c0e2f35d1 Shorten long names when creating links 2022-08-15 16:14:03 -06:00
Tim Schaub 9c378bd811 Add a favicon 2022-08-15 15:00:34 -06:00
Tim Schaub f3a18a8f7c Shared colors 2022-08-15 14:45:55 -06:00
MoonE 0b326d9fa5 Merge pull request #13988 from MoonE/fix-theme-dir
Fix copying of non-linked ol.css, clean example build
2022-08-15 22:41:44 +02:00
Tim Schaub 50fdebbdbe Markup adjustments 2022-08-15 14:29:27 -06:00
Tim Schaub 27b1bc513d Whitespace adjustments 2022-08-15 14:17:26 -06:00
MoonE 688fc7e43f Merge pull request #13982 from MoonE/kml-timezone
Fix kml-timezone example calculations
2022-08-15 21:32:58 +02:00
Maximilian Krög d82405666c Fix copying of non-linked ol.css, clean example build 2022-08-15 21:21:04 +02:00
Tim Schaub e95b4914ce Merge pull request #13986 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.10.0
Bump webpack-dev-server from 4.9.3 to 4.10.0
2022-08-15 09:47:11 -06:00
Tim Schaub 844279878b Merge pull request #13985 from openlayers/dependabot/npm_and_yarn/rollup-2.78.0
Bump rollup from 2.77.2 to 2.78.0
2022-08-15 08:10:11 -06:00
Tim Schaub 4176427184 Merge pull request #13987 from openlayers/dependabot/npm_and_yarn/eslint-8.22.0
Bump eslint from 8.21.0 to 8.22.0
2022-08-15 08:08:39 -06:00
dependabot[bot] 14261a34d9 Bump eslint from 8.21.0 to 8.22.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 10:01:46 +00:00
dependabot[bot] 0feb83d914 Bump webpack-dev-server from 4.9.3 to 4.10.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.3 to 4.10.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.9.3...v4.10.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>
2022-08-15 10:01:30 +00:00
dependabot[bot] cc240f7177 Bump rollup from 2.77.2 to 2.78.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.77.2 to 2.78.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.77.2...v2.78.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 10:01:14 +00:00
Tim Schaub 9d73a9185f Build and deploy the website 2022-08-14 23:58:31 -06:00
Maximilian Krög cdc3235c89 Fix kml-timezone example calculations
- The parsed minutes had the wrong sign when the offset is negative.
- When calculating the local time, the minutes should be subtracted instead of added
- Fix a data error in the kml, a fullstop was used instead of a colon.
2022-08-15 00:01:48 +02:00
mike-000 0bea162f87 fix text rotation with offset 2022-08-14 19:36:04 +01:00
MoonE adc9a5318e Merge pull request #13977 from MoonE/examples
Fix some errors in examples
2022-08-14 18:03:22 +02:00
Maximilian Krög 74a8759e3b Fix topolis example
toastr did not work because jquery has to bo loaded before toastr.
2022-08-14 16:44:43 +02:00
Maximilian Krög 9109ab8407 Only load lzstring script when clicking Edit 2022-08-14 16:36:49 +02:00
Maximilian Krög 5fb74d21e5 Some improvements to the edit-example script 2022-08-14 16:36:48 +02:00
Maximilian Krög cf42592f78 Remove unused clipboard script
prism seems to no longer need it
2022-08-14 16:36:48 +02:00
Maximilian Krög 259e3fe1c9 Fix ol.css for some examples
- es2015-custom-element needs css variables declared in :host
- external-map-map still does not work when editing in codesandbox,
  though that neither worked before.
2022-08-14 16:36:48 +02:00
Maximilian Krög 839e1d1c65 Use non-symlinked ol.css for example-builder
File watching does not seem to work with symlinks
2022-08-14 16:36:48 +02:00
MoonE 3cbb40b943 Merge pull request #13978 from MoonE/fontawesome-6
Update FontAwesome to v6.1.2
2022-08-14 16:32:19 +02:00
Maximilian Krög bc65f2d704 Update FontAwesome to v6.1.2 2022-08-13 23:10:31 +02:00
Tim Schaub 0c3b98592d Merge pull request #13974 from mike-000/LUMINANCE_ALPHA
Use correct bands with `LUMINANCE_ALPHA`
2022-08-13 08:23:24 -06:00
mike-000 4bc0ce0f03 do not scale displacement 2022-08-13 13:44:53 +01:00
mike-000 e6b4b08cac fix LUMINANCE_ALPHA 2022-08-12 15:55:25 +01:00
Tim Schaub 435e0bb9e8 Merge pull request #13972 from tschaub/un_opt
Remove opt_ prefix
2022-08-12 06:16:27 -06:00
Tim Schaub ca90dd6fd7 Merge pull request #13973 from mike-000/bandcount
Fix bandcount per texture for 8, 12, 16, etc. bands
2022-08-12 06:08:58 -06:00
Andreas Hocevar 3e707d4ded Merge pull request #13955 from mike-000/immediate-icons
Do not apply #12467 change to Icons
2022-08-12 13:05:33 +02:00
mike-000 b5b53b244f fix bandcount per texture for 8, 12, 16, etc bands 2022-08-12 10:47:27 +01:00
Tim Schaub 99612e7f9a Remove opt_ prefix 2022-08-11 20:14:35 -06:00
MoonE dd1edc37ca Merge pull request #13971 from MoonE/remove-ie-compatibility
Remove more IE compatibility
2022-08-12 00:38:47 +02:00
Tim Schaub 06dd88268b Merge pull request #13965 from tschaub/doc-update
Remove workaround and docs for IE 11
2022-08-11 16:30:13 -06:00
Maximilian Krög 5c4339f367 Remove more IE compatibility 2022-08-12 00:26:25 +02:00
Tim Schaub c0d0e8e749 Merge pull request #13967 from tschaub/uncircular
Remove circular dependency
2022-08-11 15:49:13 -06:00
Maximilian Krög f971393ee0 Correct import statement for default exported methods 2022-08-11 22:40:14 +02:00
Tim Schaub 4d3cb782c8 Remove circular dependency 2022-08-11 11:51:01 -06:00
Tim Schaub c327740108 Merge pull request #13968 from tschaub/sponsors
Update link to sponsors
2022-08-10 15:15:13 -06:00
Tim Schaub 549073791f Updated link to sponsors 2022-08-10 14:46:32 -06:00
Tim Schaub beed5cd1be Merge pull request #13966 from tschaub/map-update
Bundle code for the map on the homepage
2022-08-10 14:10:22 -06:00
Tim Schaub b8b8ecd19a Make fullscreen map work in Safari 2022-08-10 13:55:16 -06:00
Tim Schaub ba3517885c Updated example index 2022-08-10 12:36:14 -06:00
Tim Schaub d535c37fe4 Update message from deploy preview job 2022-08-10 12:36:13 -06:00
Tim Schaub 157baa2782 Bundle code for the map on the homepage 2022-08-10 12:21:58 -06:00
Tim Schaub ff0dcbef89 Remove workaround and docs for IE 11 2022-08-10 10:49:28 -06:00
Tim Schaub 9d447b9413 Merge pull request #13961 from tschaub/website
Website build
2022-08-10 10:45:28 -06:00
Tim Schaub 9dff55a8ac Build the website 2022-08-10 10:35:07 -06:00
Tim Schaub 3a05a73471 Merge pull request #13963 from tschaub/fewer-polyfills
Remove polyfills for IE and Android 4
2022-08-10 06:22:06 -06:00
Tim Schaub 30968b0786 Remove polyfills for IE and Android 4 2022-08-09 15:06:01 -06:00
MoonE 1bcc7770b0 Merge pull request #13957 from MoonE/util-version
Replace VERSION in un-transpiled source
2022-08-09 09:20:13 +02:00
MoonE 6d822bc790 Merge pull request #13958 from MoonE/const
Use const in docs and other places
2022-08-09 09:18:59 +02:00
MoonE 9f82a14f44 Merge pull request #13959 from MoonE/add-missing-new-lines
Add few missing new lines in example source listing
2022-08-09 09:17:12 +02:00
mike-000 8bbeb31cfb correct setting of pixelRatio 2022-08-08 23:48:50 +01:00
mike-000 4953f63fd7 Do not apply #12467 change to Icons
Use getPixelRatio() as in ImageBuilder
2022-08-08 23:48:49 +01:00
MoonE 67d90f2634 Merge pull request #13956 from MoonE/error-in-api-pages
Fix js error in api pages on load
2022-08-09 00:42:59 +02:00
Maximilian Krög 5fb69b1de1 Some more small code improvements 2022-08-09 00:28:41 +02:00
Maximilian Krög 5b8d810f80 Use const in more places 2022-08-09 00:25:30 +02:00
Maximilian Krög f28a9c22e1 replace VERSION in un-transpiled source 2022-08-09 00:20:04 +02:00
Maximilian Krög be324fbcb0 Fix js error in api pages on load 2022-08-09 00:12:33 +02:00
Maximilian Krög 2c9cf00126 Fix source formatting for some examples
For some css or html files a missing new line at end of file will
concatenate the last line with the following style or script tag
2022-08-08 22:17:17 +02:00
Maximilian Krög 7404397529 Improve example-builder code
Reduce amount of async calls and some other small changes
2022-08-08 22:13:48 +02:00
Olivier Guyot bebf2db5ae Merge pull request #13953 from JakobMiksch/patch-1
Minor simplification
2022-08-08 16:01:08 +02:00
Jakob Miksch 0cd5ecdfde Minor simplification 2022-08-08 15:29:20 +02:00
Tim Schaub 45db7718fc Merge pull request #13946 from mike-000/upgrade-notes
Fix typo and formatting in upgrade notes
2022-08-08 06:52:01 -06:00
Tim Schaub d80cc1a0fd Merge pull request #13948 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.18.10
Bump @babel/preset-env from 7.18.9 to 7.18.10
2022-08-08 06:50:46 -06:00
Tim Schaub fbc2161846 Merge pull request #13949 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.10
Bump @babel/core from 7.18.9 to 7.18.10
2022-08-08 06:49:57 -06:00
Tim Schaub bd7c108672 Merge pull request #13951 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-22.0.2
Bump @rollup/plugin-commonjs from 22.0.1 to 22.0.2
2022-08-08 06:48:46 -06:00
Tim Schaub 61be69de90 Merge pull request #13950 from openlayers/dependabot/npm_and_yarn/puppeteer-16.1.0
Bump puppeteer from 15.5.0 to 16.1.0
2022-08-08 06:47:50 -06:00
Andreas Hocevar 3ce1b885c1 Merge pull request #13947 from mike-000/exports
Fixes to export examples
2022-08-08 14:39:48 +02:00
dependabot[bot] 2c9430f683 Bump @rollup/plugin-commonjs from 22.0.1 to 22.0.2
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 22.0.1 to 22.0.2.
- [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-v22.0.2/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>
2022-08-08 10:08:25 +00:00
dependabot[bot] 5f81769802 Bump puppeteer from 15.5.0 to 16.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.5.0 to 16.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/v15.5.0...v16.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 10:07:48 +00:00
dependabot[bot] 7dc37e5782 Bump @babel/core from 7.18.9 to 7.18.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.9 to 7.18.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.18.10/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 10:07:21 +00:00
dependabot[bot] 035f80021b Bump @babel/preset-env from 7.18.9 to 7.18.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.9 to 7.18.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.18.10/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 10:06:44 +00:00
mike-000 94caeeab12 Set background after applying transform
Reset transform in addition to globalAlpha
2022-08-08 10:23:01 +01:00
mike-000 e6b8fed64a Reset transform in addition to globalAlpha 2022-08-08 10:05:36 +01:00
mike-000 589d9fab78 Fix typo and formatting 2022-08-08 09:07:46 +01:00
Olivier Guyot 14d1ac0c7a Merge pull request #13944 from jahow/fix-webgl-points-flaky-test
Fix WebGL points layer flaky test
2022-08-08 09:33:25 +02:00
MoonE ef09482505 Merge pull request #13943 from MoonE/scaleline
Scaleline
2022-08-07 23:52:26 +02:00
MoonE 2c1c76c24e Merge pull request #13942 from MoonE/kmz
Improve loading of kmz file in example
2022-08-07 23:51:52 +02:00
Olivier Guyot 5e88b55d5a Webgl points test / unregister listener to avoid failures 2022-08-07 21:20:44 +02:00
Maximilian Krög 03a16e3444 Use a range input to select the number of steps (1 to 8) 2022-08-07 00:45:14 +02:00
Maximilian Krög 436a4ca597 Add color invert option to scale-line example 2022-08-07 00:44:31 +02:00
Maximilian Krög e10432260f Cleanup scale-line example 2022-08-07 00:43:06 +02:00
Maximilian Krög f7cb9b9fdf Invert displayed scale for very high zoom levels
This prevents a scale of '1 : 0' being displayed and instead displays
'scale : 1'
2022-08-06 23:16:25 +02:00
Maximilian Krög 564d9d7685 Set pointer-event: none for ScaleLine
There is no reason to interact with this control and for the
`bar` option the blocked rect may be unexpectedly large
2022-08-06 23:16:25 +02:00
Maximilian Krög ff79897f06 Fix default value docs for ScaleLine class option 2022-08-06 23:16:25 +02:00
Maximilian Krög 97f0e70447 Remove unnecessary code
Remove unnecessary nested div element
Don't number to string to number
2022-08-06 23:16:25 +02:00
Maximilian Krög e0cbb6daa8 Cleanup ScaleLine code 2022-08-06 23:16:15 +02:00
Maximilian Krög 4504f139af Improve loading of kmz file example
- The href will always start with path as it is sliced starting from 0
  Not sure if it is possible that window locatin does not have a slash
  unless its some about:-page.
- Should be possible to query for the file name directly without regex,
  if the filename contains special regex characters it may behave
  unexpectedly
2022-08-06 21:59:08 +02:00
MoonE b0306828a7 Merge pull request #13941 from MoonE/kml-default-icon-anchor
Fix KML default icon anchor with https icon url
2022-08-06 21:09:01 +02:00
Maximilian Krög f2e82ba1e4 Fix default icon anchor with https icon url 2022-08-06 11:11:24 +02:00
MoonE 854300181a Merge pull request #13937 from MoonE/use-nicer-functions
Use nicer functions, remove old code
2022-08-05 21:19:38 +02:00
Andreas Hocevar a3bbd60b81 Merge pull request #13939 from ahocevar/vectortile-postrender
Render vector tile vectors in correct sequence for the postrender event
2022-08-05 17:13:49 +02:00
Andreas Hocevar b96a69e11d Test for correct sequence of context calls and render events 2022-08-05 16:38:59 +02:00
Andreas Hocevar b81dd0b3bc Render vector tile vectors in correct sequence for the postrender event 2022-08-05 15:06:38 +02:00
Maximilian Krög 403b06b438 Use RegExp#test intead of String#match 2022-08-05 01:49:16 +02:00
Maximilian Krög 81c10fa609 Remove accessing legacy RegExp.$ instead of match return value 2022-08-05 01:49:16 +02:00
Maximilian Krög bb3c5bf144 Use String#startsWith instead of String#indexOf 2022-08-05 01:49:16 +02:00
Maximilian Krög 0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Maximilian Krög 5e34b9aa20 Fix print-to-scale ignore collapsible attribution 2022-08-05 01:32:50 +02:00
Maximilian Krög 31ed30923d Remove array.includes 2022-08-05 01:26:25 +02:00
MoonE f2c4e26468 Merge pull request #13936 from MoonE/array-from
Remove workaround for missing TypedArray.from function
2022-08-05 01:10:37 +02:00
Maximilian Krög e1e19cbd03 Remove workaround for missing TypedArray.from function 2022-08-04 23:36:00 +02:00
MoonE c6d0d803f9 Merge pull request #13933 from MoonE/set-line-dash
Remove check for context.setLineDash
2022-08-04 08:59:24 +02:00
Maximilian Krög ef82bbd83a Remove check for context.setLineDash 2022-08-03 22:25:19 +02:00
Tim Schaub 58ca0d8098 Merge pull request #13930 from mike-000/remove-deprecated-tilePixelRatio
Remove deprecated DataTile source `tilePixelRatio`
2022-08-03 11:11:12 -06:00
mike-000 02807c8f95 Remove deprecated tilePixelRatio 2022-08-03 17:48:24 +01:00
Andreas Hocevar 59a8612fcb Merge pull request #13932 from mike-000/remove-range-change
Remove input type="range" `change` event listeners where `input` events are also used
2022-08-03 18:35:35 +02:00
mike-000 4eacc92f7f remove range change event 2022-08-03 17:14:43 +01:00
Tim Schaub dc9718e389 Merge pull request #13931 from mike-000/remove-deprecated-imageSmoothing
Remove deprecated `imageSmoothing` source options
2022-08-03 06:55:59 -06:00
mike-000 27a9f056e0 remove deprecated imageSmoothing 2022-08-03 13:25:43 +01:00
Tim Schaub aee389e2b7 Merge pull request #13926 from tschaub/map-background
Updated map background
2022-08-02 08:24:50 -06:00
Tim Schaub 21223d7096 Updated map background 2022-08-01 17:16:29 -06:00
Tim Schaub 47d90a3f9b Merge pull request #13923 from tschaub/code-sandbox
Include babel for CodeSandbox
2022-08-01 12:54:02 -06:00
Tim Schaub 6bd68241e3 Include babel for codesandbox 2022-08-01 12:04:39 -06:00
Tim Schaub 46cceb22a7 Merge pull request #13922 from mike-000/es-version
Remove reference to ES6 as ES2017 already listed
2022-08-01 10:45:07 -06:00
mike-000 f94ee61314 Remove reference to ES6 as ES2017 already listed 2022-08-01 17:24:26 +01:00
Tim Schaub dc2414fe37 Merge pull request #13919 from openlayers/dependabot/npm_and_yarn/rollup-2.77.2
Bump rollup from 2.77.0 to 2.77.2
2022-08-01 06:00:58 -06:00
Tim Schaub 336934ec43 Merge pull request #13920 from openlayers/dependabot/npm_and_yarn/eslint-8.21.0
Bump eslint from 8.20.0 to 8.21.0
2022-08-01 06:00:07 -06:00
Tim Schaub 973c411082 Merge pull request #13917 from tschaub/doc-style
Style updates for examples and API docs
2022-08-01 05:44:13 -06:00
Tim Schaub 57be514c32 Merge pull request #13916 from tschaub/cookieless
Remove Google Analytics and cookie consent
2022-08-01 05:41:50 -06:00
dependabot[bot] 874ebd385e Bump eslint from 8.20.0 to 8.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.20.0...v8.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 10:01:31 +00:00
dependabot[bot] 0fe07e1caf Bump rollup from 2.77.0 to 2.77.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.77.0 to 2.77.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.77.0...v2.77.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 10:01:17 +00:00
Tim Schaub 1bd9201fed Style updates for examples and API docs 2022-07-31 19:07:46 -06:00
Tim Schaub 8cb423d1d1 Avoid uncaught type error 2022-07-31 14:01:31 -06:00
Tim Schaub 644337184c Remove Google Analytics and cookie consent 2022-07-31 13:47:03 -06:00
MoonE 15329aad00 Merge pull request #13915 from MoonE/fix-map-render-test
Fix map render test
2022-07-31 21:17:42 +02:00
Tim Schaub 59fa54cd5a Merge pull request #13908 from tschaub/style
Uniformly grayscale controls
2022-07-31 13:14:59 -06:00
Tim Schaub 9696795dd2 Merge pull request #13914 from tschaub/unplugged
Remove PluggableMap
2022-07-31 13:04:24 -06:00
Maximilian Krög e3987dfdbf Fix Map render test
The value set to id2 was never read, postrender fires in renderSync
2022-07-31 20:04:59 +02:00
Maximilian Krög b2d2f44f43 No need to wait for postrender in Map test 2022-07-31 20:04:55 +02:00
Tim Schaub 85ef563ba8 Remove PluggableMap 2022-07-31 10:08:13 -06:00
MoonE b534368394 Merge pull request #13911 from MoonE/remove-mouse-position-undefined-html
Remove MousePosition's deprecated undefinedHTML option
2022-07-31 10:09:31 +02:00
MoonE 0992787d7a Merge pull request #13912 from MoonE/always-use-global-composite-opertion-for-icon-image-color
Remove IconImage color fallback for IE
2022-07-31 09:59:43 +02:00
Tim Schaub 6491b161a9 Uniformly uncolored 2022-07-30 19:29:29 -06:00
Maximilian Krög 7c81cb41a8 Remove IconImage color fallback for IE 2022-07-31 02:29:20 +02:00
Maximilian Krög 417753422e Remove unused 2nd parameter for querySelector call
I guess the intention was to only serch for nodes contained in the
2nd parameter. That should have been `node.querySelector('...')`
but it doesn't matter in the test environment.
2022-07-31 02:23:35 +02:00
Maximilian Krög c90c4c84c5 Remove MousePosition's deprecated undefinedHTML option
Simplify the placeholder option to only accept strings or undefined.
2022-07-31 02:23:35 +02:00
MoonE f276f3f47f Merge pull request #13907 from MoonE/remove-ms-image-smoothing-enabled
Remove IE fallbacks
2022-07-30 23:58:55 +02:00
MoonE a575631f88 Merge pull request #13910 from MoonE/export-map-codesandbox
Fix editing of export-map example on codesandbox
2022-07-30 23:57:22 +02:00
Maximilian Krög d747216180 Fix editing of export-map example on codesandbox 2022-07-30 23:27:21 +02:00
Maximilian Krög 4c13ef13c9 Remove textContent fallback for IE 2022-07-30 23:06:59 +02:00
Maximilian Krög 5f8a83b6d8 Remove fullscreen handling fallback for IE 2022-07-30 22:59:26 +02:00
Maximilian Krög e0fd784c16 Remove msSaveBlob fallback for IE 2022-07-30 22:58:47 +02:00
Maximilian Krög e56bda5848 Remove IE css fallback 2022-07-30 22:57:51 +02:00
Maximilian Krög 6a6d2cd612 Remove IE image smoothing fallback 2022-07-30 22:36:32 +02:00
MoonE 37aaf8ed4b Merge pull request #13902 from MoonE/type-safe-collection
Improve Collection type-safety
2022-07-30 21:38:48 +02:00
Maximilian Krög 75c17e55b1 Improve Collection type-safety 2022-07-30 21:30:35 +02:00
Maximilian Krög 6e4e49644d Prevent inserting undefined into Collection 2022-07-30 20:27:36 +02:00
Tim Schaub d45de03e91 Merge pull request #13906 from tschaub/export-link
Re-export the link interaction from the interactions module
2022-07-30 12:23:41 -06:00
Tim Schaub 0c0e92fcbd Re-export the link interaction from the interactions module 2022-07-30 10:59:45 -06:00
MoonE e17640c95a Merge pull request #13905 from MoonE/replace-enums
Replace enums with typedefs
2022-07-30 18:12:34 +02:00
Tim Schaub b10dc3bf83 Merge pull request #13900 from tschaub/flat-style
Accept an object literal for static layer styling
2022-07-30 10:05:21 -06:00
Tim Schaub ab48290bd7 Accept an object literal for static layer styling 2022-07-30 09:48:10 -06:00
Maximilian Krög 14c2c31d4c Replace RasterOperationType enum with typedef 2022-07-30 15:06:13 +02:00
Maximilian Krög 2caa071a08 Replace MouseWheelZoom Mode enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög 7ac61fdc70 Replace proj/Units enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög 361f1ab837 Replace VectorTileRenderType enum with typedef 2022-07-30 15:06:12 +02:00
Maximilian Krög 7f2f789d7f Remove deprecated 'image' render mode option 2022-07-30 15:06:12 +02:00
Andreas Hocevar d5086a7ab5 Merge pull request #13903 from ahocevar/fix-jsdoc
Update jsdoc-plugin-typescript to fix markdown in type annotations
2022-07-30 10:36:00 +02:00
Andreas Hocevar 551d438345 Update jsdoc-plugin-typescript to fix markdown in type annotations 2022-07-30 10:07:23 +02:00
Maximilian Krög 806843f449 Don't fire remove event when Collection remains unchanged 2022-07-30 03:17:48 +02:00
Maximilian Krög 6f539c9ca4 Test removeAt does not fire event for invalid index 2022-07-30 03:13:37 +02:00
Maximilian Krög 217230172b Make VectorSource Options generic 2022-07-30 03:13:37 +02:00
Tim Schaub 1c1270cba4 Merge pull request #13899 from tschaub/lazy-image
Wait until first load to create icon image
2022-07-29 18:27:46 -06:00
MoonE dce24cfe40 Merge pull request #13901 from MoonE/text-types
Make Text options typesafe
2022-07-30 01:34:28 +02:00
Maximilian Krög a076899470 Make Text options typesafe 2022-07-29 21:24:46 +02:00
Tim Schaub d31f40d6ce Wait until first load to create icon image 2022-07-29 13:24:17 -06:00
Tim Schaub 4ad18ea67b Merge pull request #13897 from mike-000/intervals
Align graticule default intervals to minutes and seconds
2022-07-29 09:18:22 -06:00
mike-000 aaed855740 Align default intervals to minutes and seconds 2022-07-29 11:26:54 +01:00
Tim Schaub 0b08f3811a Merge pull request #13891 from tschaub/untranspile
Publish untranspiled sources
2022-07-28 14:10:34 -06:00
Tim Schaub 0f5b273246 Update doc to remove part about extra src folder in the package 2022-07-28 13:56:34 -06:00
Tim Schaub c71d200cbf Publish untranspiled sources 2022-07-28 13:56:34 -06:00
Andreas Hocevar 3c5403259a Merge pull request #13880 from ahocevar/reproj-tiles
Improve reprojection WMS config for better performance
2022-07-28 21:54:22 +02:00
Tim Schaub 55e3ed6f74 Merge pull request #13893 from tschaub/grat
Omit minutes and seconds from HDMS formatting if zero
2022-07-28 13:47:29 -06:00
Tim Schaub 368bbc75cb Merge pull request #13888 from tschaub/object-assign
Use Object.assign
2022-07-28 13:29:12 -06:00
Tim Schaub 25d47ed752 Use Object.assign 2022-07-28 13:23:16 -06:00
Tim Schaub 82dfba2520 Omit minutes and seconds if zero 2022-07-28 08:13:05 -06:00
Andreas Hocevar 9f6ccdfb2d Merge pull request #13875 from openlayers/dependabot/npm_and_yarn/jsdoc-plugin-typescript-2.1.0
Bump jsdoc-plugin-typescript from 2.0.7 to 2.1.0
2022-07-28 10:14:29 +02:00
Tim Schaub 70acfc99e5 Merge pull request #13892 from tschaub/unused-worker
Remove unused worker
2022-07-27 18:10:04 -06:00
Tim Schaub 1dc4f85ed1 Merge pull request #13887 from tschaub/array-find
Remove find and findIndex from array module
2022-07-27 18:09:42 -06:00
Tim Schaub 2da8f62da1 Merge pull request #13890 from tschaub/math
Use Math.cosh and Math.log2
2022-07-27 18:09:15 -06:00
Tim Schaub 40d3fb6041 Merge pull request #13889 from tschaub/object-values
Use Object.values
2022-07-27 18:08:43 -06:00
MoonE 59d3206173 Merge pull request #13871 from openlayers/dependabot/npm_and_yarn/puppeteer-15.5.0
Bump puppeteer from 15.4.0 to 15.5.0
2022-07-28 01:45:33 +02:00
MoonE 6682f45015 Merge pull request #13870 from openlayers/dependabot/npm_and_yarn/webpack-5.74.0
Bump webpack from 5.73.0 to 5.74.0
2022-07-28 01:43:38 +02:00
dependabot[bot] 5bb187d12a Bump jsdoc-plugin-typescript from 2.0.7 to 2.1.0
Bumps [jsdoc-plugin-typescript](https://github.com/openlayers/jsdoc-plugin-typescript) from 2.0.7 to 2.1.0.
- [Release notes](https://github.com/openlayers/jsdoc-plugin-typescript/releases)
- [Commits](https://github.com/openlayers/jsdoc-plugin-typescript/commits)

---
updated-dependencies:
- dependency-name: jsdoc-plugin-typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-27 22:00:43 +00:00
Tim Schaub a1a0ff0799 Merge pull request #13873 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.11
Bump jsdoc from 3.6.10 to 3.6.11
2022-07-27 15:53:58 -06:00
Tim Schaub c9b2b3d76a Remove unused worker 2022-07-27 15:51:34 -06:00
Tim Schaub fab4e83745 Use Math.log2 2022-07-27 15:11:14 -06:00
Tim Schaub f32517a77f Use Math.cosh 2022-07-27 15:09:43 -06:00
Tim Schaub 641bd7af33 Use Object.values 2022-07-27 15:03:47 -06:00
Tim Schaub 82ceaea4ab Use Array.prototype.findIndex 2022-07-27 14:00:06 -06:00
Tim Schaub 157bdc5208 Use Array.prototype.find 2022-07-27 13:57:35 -06:00
Tim Schaub f2d989b299 Merge pull request #13884 from tschaub/use-includes
Remove workaround for Array.prototype.includes
2022-07-27 13:49:09 -06:00
dependabot[bot] 2cd1aff23b Bump puppeteer from 15.4.0 to 15.5.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.4.0 to 15.5.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v15.4.0...v15.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-27 18:54:12 +00:00
Andreas Hocevar 6385a47446 Merge pull request #13879 from ahocevar/examples
Codesandbox and bundler improvements for examples
2022-07-27 20:53:10 +02:00
Tim Schaub 44289a3a31 Remove workaround for Array.prototype.includes 2022-07-27 11:17:49 -06:00
Andreas Hocevar 8acc4aa20e Improve reprojection WMS config for better performance 2022-07-27 14:47:24 +02:00
Andreas Hocevar 1e15daa354 Use vite instead of parcel 2022-07-26 22:00:09 +02:00
Andreas Hocevar b5afd06edf Also look for example dependencies in dependencies 2022-07-26 18:29:16 +02:00
Andreas Hocevar db77f7d4a2 Use explicit versions for example dependencies 2022-07-26 18:28:44 +02:00
Andreas Hocevar 392ca5706d More forgiving import regex 2022-07-26 18:28:06 +02:00
MoonE 14133a05a8 Merge pull request #13868 from MoonE/remove-for-each-layer-at-pixel
Remove deprecated method PluggableMap#forEachLayerAtPixel ...
2022-07-26 01:01:42 +02:00
Maximilian Krög 2897f03ea5 Remove deprecated method PluggableMap#forEachLayerAtPixel 2022-07-26 00:57:21 +02:00
dependabot[bot] 5828d4cd4d Bump jsdoc from 3.6.10 to 3.6.11
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.10 to 3.6.11.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.11/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.10...3.6.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 10:01:59 +00:00
dependabot[bot] 3abcb034ee Bump webpack from 5.73.0 to 5.74.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.74.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.73.0...v5.74.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 10:01:31 +00:00
MoonE 4b6c3d408a Merge pull request #13869 from MoonE/remove-unused-assertion-numbers
Remove unused assertion numbers
2022-07-25 09:16:52 +02:00
Maximilian Krög 0d178d7baa Remove unused assertion numbers 2022-07-24 23:34:04 +02:00
MoonE 0f8de89318 Merge pull request #13838 from MoonE/remove-deprecated-overlay-options
Remove deprecated Overlay options
2022-07-22 21:43:48 +02:00
Olivier Guyot 7d56c56210 Merge pull request #13461 from jahow/webgl-shape-renderer
WebGL vector renderer for polygons, lines and points
2022-07-22 10:05:31 +02:00
Andreas Hocevar e83ecdeb96 Merge pull request #13863 from ahocevar/tile-error-handling
Fix reloading tiles in case of an error with tile.load()
2022-07-22 00:43:37 +02:00
Andreas Hocevar 02c73e3e69 Merge pull request #13860 from ahocevar/geojson-empty-coordinate-arrays
Handle multipolygons with empty polygons
2022-07-22 00:25:40 +02:00
Tim Schaub 8aa8684d81 Unused element and class name 2022-07-21 14:30:32 -07:00
Andreas Hocevar a1d68b4f66 Fix reloading tiles in case of an error with tile.load() 2022-07-21 23:23:40 +02:00
Tim Schaub 01f3536d29 Using a union type instead of a string enum 2022-07-21 14:08:16 -07:00
Tim Schaub 7e424be66b Only pass the feature to the attribute getter 2022-07-21 13:49:06 -07:00
Tim Schaub bd9e73a534 Renaming fill and stroke attributes and shaders 2022-07-21 13:30:22 -07:00
Tim Schaub f21dd84c91 Remove api annotation for experimental features 2022-07-21 13:08:18 -07:00
Tim Schaub 5182b16452 Private if not used elsewhere; underscore suffix only if private 2022-07-21 13:03:10 -07:00
Maximilian Krög e3766222f3 Remove deprecated Overlay options 2022-07-20 21:40:48 +02:00
MoonE 1c68d5093d Merge pull request #13858 from MoonE/replace-enums-with-typedef
Replace enums with typedef
2022-07-20 21:05:02 +02:00
Andreas Hocevar c8508bcf97 Handle multipolygons with empty polygons 2022-07-20 13:18:41 +02:00
Andreas Hocevar 14041e490f Merge pull request #13859 from openlayers/dependabot/npm_and_yarn/terser-5.14.2
Bump terser from 5.7.2 to 5.14.2
2022-07-20 09:19:22 +02:00
dependabot[bot] 5b5ce3f9ee Bump terser from 5.7.2 to 5.14.2
Bumps [terser](https://github.com/terser/terser) from 5.7.2 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 01:31:04 +00:00
Maximilian Krög 62e335ceda Replace IconOrigin enum with typedef 2022-07-19 23:24:25 +02:00
Maximilian Krög 7ec2725c1e Replace IconAnchorUnits enum with typedef 2022-07-19 23:24:25 +02:00
Maximilian Krög 48e57f4d8c Replace Zoomify TierSizeCalculation enum with typedef 2022-07-19 23:24:25 +02:00
Maximilian Krög 7004d18519 Replace Draw Mode enum with typedef 2022-07-19 23:24:25 +02:00
Maximilian Krög 185485b0f7 Replace GeometryLayout enum with typedef 2022-07-19 23:24:22 +02:00
Maximilian Krög ac6edc704a Replace ScaleLine Units with typedef 2022-07-19 22:56:46 +02:00
Maximilian Krög 69caa06783 Replace TextPlacement enum with typedef 2022-07-19 22:56:45 +02:00
Maximilian Krög 4d2156ff3a Replace IGCZ enum with typedef 2022-07-19 22:56:45 +02:00
MoonE d20690394c Merge pull request #13837 from MoonE/remove-label-cache
Remove deprecated label cache
2022-07-19 20:58:17 +02:00
MoonE ea67c20e1b Merge pull request #13850 from MoonE/update-dev-version-to-7
Update dev version to 7.0.0
2022-07-19 20:57:51 +02:00
Maximilian Krög 2679b51c7a Update dev version to 7.0.0 2022-07-18 23:42:29 +02:00
Andreas Hocevar b15e41d588 Merge pull request #13852 from openlayers/release-v6.15.1
Release v6.15.1
2022-07-18 23:37:27 +02:00
Andreas Hocevar 87cc257daf Merge branch 'main' into release-v6.15.1 2022-07-18 23:09:09 +02:00
Andreas Hocevar e8ff6656d3 Develop on 6.15.2-dev 2022-07-18 23:04:35 +02:00
Andreas Hocevar 9613cb9761 Updates for the 6.15.1 release 2022-07-18 22:55:49 +02:00
Andreas Hocevar ac5b80a0df Merge pull request #13835 from ahocevar/source-state
Recover from incorrect rebase after removal of string enums
2022-07-18 22:50:37 +02:00
Andreas Hocevar 69ae6c85cf Merge pull request #13835 from ahocevar/source-state
Recover from incorrect rebase after removal of string enums
2022-07-18 22:42:58 +02:00
Andreas Hocevar 22b3aabbf2 Merge pull request #13851 from openlayers/release-v6.15.0
Updates for the 6.15.0 release
2022-07-18 22:20:52 +02:00
Andreas Hocevar c6cc734dca Develop on 6.15.1-dev 2022-07-18 22:13:07 +02:00
Andreas Hocevar 3b991343b5 Updates for the 6.15.0 release 2022-07-18 22:05:21 +02:00
Andreas Hocevar 61da235e40 Merge pull request #13841 from openlayers/dependabot/npm_and_yarn/rollup-2.77.0
Bump rollup from 2.76.0 to 2.77.0
2022-07-18 14:02:20 +02:00
Andreas Hocevar 5cc9fcc1d4 Merge pull request #13842 from openlayers/dependabot/npm_and_yarn/types/geojson-7946.0.10
Bump @types/geojson from 7946.0.8 to 7946.0.10
2022-07-18 13:54:45 +02:00
dependabot[bot] 788fbed7cb Bump rollup from 2.76.0 to 2.77.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.76.0 to 2.77.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.76.0...v2.77.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 11:54:30 +00:00
Andreas Hocevar 9b14b1d626 Merge pull request #13843 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.18.9
Bump @babel/preset-env from 7.18.6 to 7.18.9
2022-07-18 13:54:22 +02:00
Andreas Hocevar c9703cfacc Merge pull request #13844 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.6.1
Bump clean-css-cli from 5.6.0 to 5.6.1
2022-07-18 13:54:02 +02:00
Andreas Hocevar dfc5aee096 Merge pull request #13845 from openlayers/dependabot/npm_and_yarn/marked-4.0.18
Bump marked from 4.0.17 to 4.0.18
2022-07-18 13:53:42 +02:00
Andreas Hocevar 423ed7742c Merge pull request #13846 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.9
Bump @babel/core from 7.18.6 to 7.18.9
2022-07-18 13:53:21 +02:00
Andreas Hocevar 93663309b0 Merge pull request #13847 from openlayers/dependabot/npm_and_yarn/puppeteer-15.4.0
Bump puppeteer from 15.3.2 to 15.4.0
2022-07-18 13:53:00 +02:00
Andreas Hocevar cc2caf63eb Merge pull request #13848 from openlayers/dependabot/npm_and_yarn/eslint-8.20.0
Bump eslint from 8.19.0 to 8.20.0
2022-07-18 13:52:36 +02:00
dependabot[bot] 97ee2d1b55 Bump eslint from 8.19.0 to 8.20.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.19.0 to 8.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.19.0...v8.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:03:20 +00:00
dependabot[bot] c64dc124dc Bump puppeteer from 15.3.2 to 15.4.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.3.2 to 15.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v15.3.2...v15.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:03:00 +00:00
dependabot[bot] 82c59631c2 Bump @babel/core from 7.18.6 to 7.18.9
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:02:09 +00:00
dependabot[bot] 493bfa12dc Bump marked from 4.0.17 to 4.0.18
Bumps [marked](https://github.com/markedjs/marked) from 4.0.17 to 4.0.18.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.17...v4.0.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:02:05 +00:00
dependabot[bot] 41f08d81ce Bump clean-css-cli from 5.6.0 to 5.6.1
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/clean-css/clean-css-cli/releases)
- [Changelog](https://github.com/clean-css/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/clean-css/clean-css-cli/compare/v5.6.0...v5.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:01:51 +00:00
dependabot[bot] ba6400bccf Bump @babel/preset-env from 7.18.6 to 7.18.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.6 to 7.18.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.18.9/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:01:46 +00:00
dependabot[bot] eb00f654c0 Bump @types/geojson from 7946.0.8 to 7946.0.10
Bumps [@types/geojson](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/geojson) from 7946.0.8 to 7946.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/geojson)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 10:01:30 +00:00
Andreas Hocevar 085fca6a9f Merge pull request #13832 from mike-000/vector-tile-grids
Base vector tile render tile grid on the source grid
2022-07-18 10:07:52 +02:00
Andreas Hocevar 4fec8d4615 Recover from incorrect rebase after removal of string enums 2022-07-18 09:42:52 +02:00
Maximilian Krög 1df5afcdbf Remove deprecated label cache 2022-07-17 04:15:24 +02:00
MoonE 0c2ba05195 Merge pull request #13834 from jipexu/scalebarcolors
ability to change the color of the scalebar
2022-07-16 19:01:59 +02:00
Maximilian Krög d957bdeb86 Fix ScaleLine markup 2022-07-16 18:56:59 +02:00
jeanpierre c8a28848dd change class names 2022-07-16 16:57:14 +02:00
jeanpierre 4d2b2c9650 style for scalebar
with new class in css and remove the hardcoded background

Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
2022-07-16 15:53:27 +02:00
jipexu cb5417e0b6 Merge branch 'openlayers:main' into scalebarcolors 2022-07-16 11:22:01 +02:00
mike-000 13f0eeb795 Fix tileSizes typedef 2022-07-16 10:07:54 +01:00
mike-000 8dcb78bcd9 Base render tile grid on the source grid
Use source zDirection for both grids
2022-07-16 10:06:42 +01:00
Olivier Guyot 998dc82592 fixes after rebase 2022-07-15 22:53:48 +02:00
Olivier Guyot 5d21e548ae Webgl / add rendering tests for the vector layer renderer 2022-07-15 22:33:52 +02:00
Olivier Guyot cd83424867 WebGL / improve doc for Helper and VectorLayerRenderer
Also created enums for attributes (like uniforms), in an attempt to clarify
what is accessible to the vertex shaders.
2022-07-15 22:33:52 +02:00
Olivier Guyot 52279967c4 WebGL / Reorganize VectorLayerRenderer options, update example
Now different attributes can be provided for each type of geometry.

Also updated the example to accomodate for this and use the default shaders.
2022-07-15 22:33:52 +02:00
Olivier Guyot 79c974d63d WebGL / Add new module with default shaders for VectorLayer 2022-07-15 22:33:52 +02:00
Olivier Guyot 6848df97f8 WebGL / Address review comments 2022-07-15 22:33:52 +02:00
Olivier Guyot f603ce7456 WebGL / Support DPR > 1 in linestring shader
A u_pixelRatio uniform was added to be used in the shaders. this is necessary
since we're relying on the builtin gl_FragCoord vector, which will be scaled
relative to the u_sizePx uniform in case of a device pixel ratio != 1.

Also added tests for computed uniform values, instead of just testing
that they were indeed set.
2022-07-15 22:33:52 +02:00
Olivier Guyot 9e35acaa0a Adapt the batch renderers to trigger a repaint after buffer rebuild 2022-07-15 22:33:52 +02:00
burleight 8769ea519e WebGL / render multiple worlds to wrap X in vector renderer
From https://github.com/jahow/openlayers/pull/1

Adds logic in WebGLVectorLayerRenderer to handle multiple worlds visible at once.

Co-authored-by: Tomas Burleigh <t.burleigh@gmail.com>
Co-authored-by: Olivier Guyot <olivier.guyot@camptocamp.com>
2022-07-15 22:33:52 +02:00
Olivier Guyot 7d2b1a9f48 Make the newWebGL vector example experimental
And do not mention hit detection for now
2022-07-15 22:33:52 +02:00
Olivier Guyot c9f3665237 Remove @api on webgl vector layer renderer as well as utilities
This removes the WebGL vector layer renderer as well as the WebGL helper class
from the API.
2022-07-15 22:33:52 +02:00
Olivier Guyot 7e9c620914 Fix linting and typechecking errors 2022-07-15 22:33:52 +02:00
Olivier Guyot a2ba7ecaa7 Make some adaptations to the PointsLayer renderer to make it work 2022-07-15 22:33:52 +02:00
Olivier Guyot 979dfd3a55 Add an example for the new webgl vector layer
This example accomodates for hit detection whih is not functional yet.
2022-07-15 22:33:52 +02:00
Olivier Guyot c555315014 Add a new WebGLVectorLayer renderer
This relies on a mixed geometry batch and separate batch renderers (lines,
points and polygons). A different shader program is used for each of these
geometries, and three rendering passes are made.
2022-07-15 22:33:52 +02:00
Olivier Guyot cfaf9a14e5 Rework a bit the webgl helper to allow having several programs
Without this, doing render passes with different programs using one
helper instance was not really doable
2022-07-15 22:33:52 +02:00
Olivier Guyot 7892c31715 Adapt the WebGL worker to use the new buffer generation utils 2022-07-15 22:33:52 +02:00
Olivier Guyot 143c19ca03 Add utils for generating webgl buffers from lines and polygons
Uses @mapbox/earcut for polygon (what else), and a home made logic for lines
2022-07-15 22:33:52 +02:00
Olivier Guyot a18ffaed54 Move webgl utils out of ol/renderer/webgl/Layer module into their own module 2022-07-15 22:33:52 +02:00
Olivier Guyot eb0db9e3df Introduce batch renderers for each type of geometry
Batch renderers are responsible for generating render instructions and
interacting with the worker to obtain the final webgl buffers
2022-07-15 22:33:52 +02:00
Olivier Guyot b5fbed5437 Introduce MixedGeometryBatch for webgl rendering
This class keeps an up-to-date list of line, polygon and point geometries
to render as well as vertices counts, geometries count, rings count etc.
2022-07-15 22:33:52 +02:00
Andreas Hocevar aff4451fb1 Merge pull request #13823 from ahocevar/reduce-canvas-footprint
Reduce canvas memory footprint for better iOS stability
2022-07-15 20:35:09 +02:00
Andreas Hocevar a02d6786cc Merge pull request #12696 from ahocevar/source-state-union-type
Use union types instead of enums
2022-07-15 20:32:54 +02:00
Andreas Hocevar 96e2400c46 Fix alignment of rotated image layers 2022-07-15 20:30:38 +02:00
jeanpierre d3861b0922 scaleBarColors a new option for scalebar colors 2022-07-15 19:14:46 +02:00
Andreas Hocevar f720404559 Updates after rebase 2022-07-15 11:01:30 +02:00
Andreas Hocevar 884c0c6129 Resolve conflicts 2022-07-15 10:51:08 +02:00
Frederic Junod 252671108f Use union type instead of WMTS request encoding 2022-07-15 10:51:08 +02:00
Frederic Junod 9c1b55e09c Use union type instead of enum for extent corner 2022-07-15 10:51:08 +02:00
Tim Schaub 3a061ed576 Use union type instead of enum for canvas builder type 2022-07-15 10:51:07 +02:00
Tim Schaub 05f9b35eeb Use union type instead of enum for WMS server type 2022-07-15 10:48:38 +02:00
Tim Schaub d05204f50b Use union type instead of enum for feature format 2022-07-15 10:48:37 +02:00
Tim Schaub 03dbe1f9a1 Use union type instead of enum for overlay positioning 2022-07-15 10:48:37 +02:00
Tim Schaub 9a6f8493fb Use union instead of enum for geometry type 2022-07-15 10:48:37 +02:00
Tim Schaub 04ad0e0c5a Additional uses of new source state type 2022-07-15 10:46:44 +02:00
Andreas Hocevar 57f147988d Use union type for source state 2022-07-15 10:46:44 +02:00
Andreas Hocevar 492458a141 Merge pull request #13824 from openlayers/dependabot/npm_and_yarn/puppeteer-15.3.2
Bump puppeteer from 15.3.0 to 15.3.2
2022-07-11 15:03:28 +02:00
Andreas Hocevar 8b978ef4fe Merge pull request #13825 from openlayers/dependabot/npm_and_yarn/rollup-2.76.0
Bump rollup from 2.75.7 to 2.76.0
2022-07-11 15:02:35 +02:00
dependabot[bot] bc5ba9c252 Bump rollup from 2.75.7 to 2.76.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.75.7 to 2.76.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.75.7...v2.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 10:01:35 +00:00
dependabot[bot] f2bf5ad5fa Bump puppeteer from 15.3.0 to 15.3.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.3.0 to 15.3.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v15.3.0...v15.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-11 10:01:20 +00:00
Andreas Hocevar 720ccbcd42 Use canvas pool for reprojection tiles 2022-07-10 23:06:41 +02:00
Andreas Hocevar f3a05ba82d Use device instead of data pixel ratio to determine canvas size 2022-07-10 23:06:41 +02:00
Andreas Hocevar 6086459cba Handle opacity on canvas instead of dom 2022-07-10 23:06:40 +02:00
Andreas Hocevar 239487e9f0 Only create and load tiles within the viewport 2022-07-10 23:06:40 +02:00
Andreas Hocevar 6ffbfa1a4a Minimize canvas size for rotated views 2022-07-10 19:17:51 +02:00
Andreas Hocevar 22dba410ad Release canvas memory when no longer needed 2022-07-10 19:17:50 +02:00
Andreas Hocevar 60f09fcc45 Merge pull request #13817 from jipexu/main
remove XYZ-ESRI -4326-512 example
2022-07-07 18:23:10 +02:00
Andreas Hocevar e65d09b15b Merge pull request #13819 from mike-000/HERE
Remove HERE Maps example
2022-07-07 18:21:34 +02:00
mike-000 4b54efdd4c Remove example 2022-07-07 15:51:34 +01:00
jipexu b5bdacaa6a Delete xyz-esri-4326-512.js
#13782
2022-07-07 13:28:43 +02:00
jipexu a2722ce663 Delete xyz-esri-4326-512.html
#13782
2022-07-07 13:27:52 +02:00
MoonE 65704f0443 Merge pull request #13787 from jipexu/checkcontenteditable
Checkcontenteditable
2022-07-07 01:44:37 +02:00
Maximilian Krög c2d609c60a Improve targetNotEditable documentation 2022-07-07 01:32:22 +02:00
MoonE cbd138f967 Merge pull request #13674 from EvertEt/tilegridnull
Add null return type for TileGrid functions
2022-07-07 00:40:45 +02:00
Tim Schaub 1cbee8b6c9 Merge pull request #13806 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.6
Bump @babel/core from 7.18.5 to 7.18.6
2022-07-06 00:07:13 -06:00
Tim Schaub 71e8870109 Merge pull request #13810 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.9.3
Bump webpack-dev-server from 4.9.2 to 4.9.3
2022-07-06 00:06:35 -06:00
Tim Schaub 49c38dbcd7 Merge pull request #13808 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.18.6
Bump @babel/preset-env from 7.18.2 to 7.18.6
2022-07-06 00:06:03 -06:00
Tim Schaub 3ccc825d34 Merge pull request #13807 from openlayers/dependabot/npm_and_yarn/puppeteer-15.3.0
Bump puppeteer from 15.1.1 to 15.3.0
2022-07-06 00:05:11 -06:00
Tim Schaub 2c5bd87d96 Merge pull request #13809 from openlayers/dependabot/npm_and_yarn/es-main-1.2.0
Bump es-main from 1.0.2 to 1.2.0
2022-07-06 00:04:10 -06:00
Tim Schaub 029f43dce9 Merge pull request #13811 from openlayers/dependabot/npm_and_yarn/eslint-8.19.0
Bump eslint from 8.18.0 to 8.19.0
2022-07-06 00:03:05 -06:00
dependabot[bot] 62ab36db66 Bump eslint from 8.18.0 to 8.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.18.0 to 8.19.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.18.0...v8.19.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 10:02:56 +00:00
dependabot[bot] b5b59584f0 Bump webpack-dev-server from 4.9.2 to 4.9.3
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.2 to 4.9.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.9.2...v4.9.3)

---
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>
2022-07-04 10:02:40 +00:00
dependabot[bot] c9709b7709 Bump es-main from 1.0.2 to 1.2.0
Bumps [es-main](https://github.com/tschaub/es-main) from 1.0.2 to 1.2.0.
- [Release notes](https://github.com/tschaub/es-main/releases)
- [Commits](https://github.com/tschaub/es-main/compare/v1.0.2...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 10:02:23 +00:00
dependabot[bot] d3c643d80d Bump @babel/preset-env from 7.18.2 to 7.18.6
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.2 to 7.18.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.18.6/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 10:02:03 +00:00
dependabot[bot] 105b6b0284 Bump puppeteer from 15.1.1 to 15.3.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 15.1.1 to 15.3.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v15.1.1...v15.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-04 10:01:41 +00:00
dependabot[bot] 01e142c2b8 Bump @babel/core from 7.18.5 to 7.18.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.5 to 7.18.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.18.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>
2022-07-04 10:01:25 +00:00
Tim Schaub ebeef238e3 Merge pull request #13747 from theduckylittle/feature/add-setters-to-shape-styles
Add setFill and setStroke to Shapes
2022-07-02 16:16:03 -06:00
Andreas Hocevar a6a192699f Merge pull request #13803 from mike-000/icon-clone
Include displacement and declutterMode in Icon style clone
2022-07-01 18:12:50 +02:00
mike-000 4271dcc5b5 Include displacement and declutterMode in clone 2022-06-30 23:08:37 +01:00
Andreas Hocevar 3ae9e9afd5 Merge pull request #13799 from M393/dont-touch-tiles-used-time-when-expiring
Do not refresh use time for tiles when collecting used source tiles
2022-06-30 22:14:06 +02:00
MoonE 5baa86c2fa Merge pull request #13800 from mike-000/WKB
Change WKB readFeature(s) return type to Feature
2022-06-29 21:10:05 +02:00
mike-000 4f0845b03a Change return type to Feature 2022-06-29 10:39:38 +01:00
Maximilian Krög 7b9fc4c995 Do not refresh use time for tiles when collecting used source tiles 2022-06-28 17:20:42 +02:00
Tim Schaub e0d6ee3308 Merge pull request #13793 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-22.0.1
Bump @rollup/plugin-commonjs from 22.0.0 to 22.0.1
2022-06-27 06:29:58 -06:00
Tim Schaub fa7f52ffa2 Merge pull request #13794 from openlayers/dependabot/npm_and_yarn/puppeteer-15.1.1
Bump puppeteer from 14.4.1 to 15.1.1
2022-06-27 06:29:12 -06:00
dependabot[bot] 4e0508274f Bump puppeteer from 14.4.1 to 15.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 14.4.1 to 15.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/v14.4.1...v15.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 10:03:26 +00:00
dependabot[bot] 589bbda1ab Bump @rollup/plugin-commonjs from 22.0.0 to 22.0.1
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 22.0.0 to 22.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-v22.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>
2022-06-27 10:03:04 +00:00
jipexu e7a545233b Update condition.js 2022-06-24 09:42:31 +02:00
jipexu 361ad43ab5 Merge branch 'openlayers:main' into checkcontenteditable 2022-06-24 09:34:17 +02:00
Tim Schaub 7fbf19edd9 Merge pull request #13776 from openlayers/dependabot/npm_and_yarn/eslint-8.18.0
Bump eslint from 8.17.0 to 8.18.0
2022-06-24 09:20:09 +02:00
Tim Schaub fd8c0c8d36 Merge pull request #13777 from openlayers/dependabot/npm_and_yarn/typescript-4.7.4
Bump typescript from 4.7.3 to 4.7.4
2022-06-24 09:19:36 +02:00
Tim Schaub 8745409f40 Merge pull request #13775 from openlayers/dependabot/npm_and_yarn/karma-6.4.0
Bump karma from 6.3.20 to 6.4.0
2022-06-24 09:19:07 +02:00
Tim Schaub 1a66e057db Merge pull request #13778 from openlayers/dependabot/npm_and_yarn/puppeteer-14.4.1
Bump puppeteer from 14.3.0 to 14.4.1
2022-06-24 09:18:10 +02:00
Tim Schaub 6d83b2794b Merge pull request #13779 from openlayers/dependabot/npm_and_yarn/rollup-2.75.7
Bump rollup from 2.75.6 to 2.75.7
2022-06-24 09:17:15 +02:00
Duck bd620bdf93 Add rendering test for the setFill/setStroke 2022-06-23 06:39:05 -07:00
Duck c182bbf66b Show an example of changing the color with setfill 2022-06-23 06:01:11 -07:00
Duck 4ef584b410 Add setFill and setStroke to Shapes
This rounds out the shape style sto be more
consistent and make the `setFill` and `setStroke`
methods available.
2022-06-23 06:01:11 -07:00
jipexu ab92c0d603 Update src/ol/events/condition.js
writing for ts

Co-authored-by: M393 <56256405+M393@users.noreply.github.com>
2022-06-22 18:34:22 +02:00
jipexu c7a2f06acc Update src/ol/events/condition.js
Co-authored-by: M393 <56256405+M393@users.noreply.github.com>
2022-06-22 17:12:02 +02:00
jipexu b8dfde2f12 checkcontentEditable
#13785
2022-06-22 16:28:44 +02:00
jipexu 390c81413d add check for contentEditable attribut
see #13785
2022-06-22 13:31:22 +02:00
MoonE 5dc07bd5b7 Merge pull request #13784 from jipexu/main
d3 version update
2022-06-21 23:39:23 +02:00
jipexu ea1da4e680 d3 update version 2022-06-21 22:53:03 +02:00
jipexu 68940036b7 d3 version update 2022-06-21 17:43:47 +02:00
dependabot[bot] d1baf55c98 Bump rollup from 2.75.6 to 2.75.7
Bumps [rollup](https://github.com/rollup/rollup) from 2.75.6 to 2.75.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.75.6...v2.75.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 10:02:17 +00:00
dependabot[bot] 9e3ae6f25e Bump puppeteer from 14.3.0 to 14.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 14.3.0 to 14.4.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/v14.3.0...v14.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 10:01:59 +00:00
dependabot[bot] a8e9c8ef4c Bump typescript from 4.7.3 to 4.7.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.3 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v4.7.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 10:01:40 +00:00
dependabot[bot] 4547d8d637 Bump eslint from 8.17.0 to 8.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.17.0 to 8.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 10:01:20 +00:00
dependabot[bot] 0f2cfb8888 Bump karma from 6.3.20 to 6.4.0
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.20 to 6.4.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.3.20...v6.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 10:01:04 +00:00
Andreas Hocevar d4bda2704a Merge pull request #13771 from ahocevar/better-target-change-fix
Better fix for changing pointer ids on event target change
2022-06-17 22:07:17 +02:00
Andreas Hocevar 6dcc583e06 Add tests to ensure correct pointer tracking 2022-06-16 14:36:17 +02:00
Andreas Hocevar 134ec9c8d0 Remove duplicated logic from PointerInteraction 2022-06-16 14:36:17 +02:00
Andreas Hocevar f99dc1e9ec Better fix for changing pointer ids on event target change 2022-06-15 16:29:07 +02:00
Andreas Hocevar 307e9892fc Merge pull request #13762 from ahocevar/webgltile-sources-bands
Fix source band calculation when configured with multiple sources
2022-06-15 16:08:01 +02:00
Andreas Hocevar 20ba9862cd Merge pull request #13770 from ahocevar/tracked-pointers
Clean up tracked pointers when the event target has changed
2022-06-15 16:07:34 +02:00
Andreas Hocevar 1852ad78a2 Clean up tracked pointers when the event target has changed 2022-06-15 12:56:52 +02:00
Andreas Hocevar 04ffcbfd08 Fix source band calculation when configured with multiple sources 2022-06-13 14:35:16 +02:00
Andreas Hocevar 70313f17ad Merge pull request #13754 from openlayers/dependabot/npm_and_yarn/source-map-loader-4.0.0
Bump source-map-loader from 3.0.1 to 4.0.0
2022-06-13 14:28:12 +02:00
Andreas Hocevar 2a1bea64cc Merge pull request #13755 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.5
Bump @babel/core from 7.18.2 to 7.18.5
2022-06-13 14:27:44 +02:00
Andreas Hocevar b87d53bfa3 Merge pull request #13756 from openlayers/dependabot/npm_and_yarn/marked-4.0.17
Bump marked from 4.0.16 to 4.0.17
2022-06-13 14:27:23 +02:00
Andreas Hocevar 6f84ce34ff Merge pull request #13757 from openlayers/dependabot/npm_and_yarn/puppeteer-14.3.0
Bump puppeteer from 14.2.1 to 14.3.0
2022-06-13 14:27:01 +02:00
Andreas Hocevar 2d8f1cd8a7 Merge pull request #13758 from openlayers/dependabot/npm_and_yarn/rollup-2.75.6
Bump rollup from 2.75.5 to 2.75.6
2022-06-13 14:26:23 +02:00
Andreas Hocevar acf08209f0 Merge pull request #13759 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.10.0
Bump webpack-cli from 4.9.2 to 4.10.0
2022-06-13 14:25:59 +02:00
Andreas Hocevar 245f9f029a Merge pull request #13760 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.9.2
Bump webpack-dev-server from 4.9.1 to 4.9.2
2022-06-13 14:25:30 +02:00
Andreas Hocevar fcf3f118c1 Merge pull request #13761 from openlayers/dependabot/npm_and_yarn/globby-13.1.2
Bump globby from 13.1.1 to 13.1.2
2022-06-13 14:25:06 +02:00
dependabot[bot] 23636f636d Bump globby from 13.1.1 to 13.1.2
Bumps [globby](https://github.com/sindresorhus/globby) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v13.1.1...v13.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 10:03:25 +00:00
dependabot[bot] 7605770e04 Bump webpack-dev-server from 4.9.1 to 4.9.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.1 to 4.9.2.
- [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.9.1...v4.9.2)

---
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>
2022-06-13 10:03:11 +00:00
dependabot[bot] 17cc43b492 Bump webpack-cli from 4.9.2 to 4.10.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.2 to 4.10.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.9.2...webpack-cli@4.10.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>
2022-06-13 10:02:54 +00:00
dependabot[bot] 1b4d42e92f Bump rollup from 2.75.5 to 2.75.6
Bumps [rollup](https://github.com/rollup/rollup) from 2.75.5 to 2.75.6.
- [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.75.5...v2.75.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 10:02:40 +00:00
dependabot[bot] 624d642ca5 Bump puppeteer from 14.2.1 to 14.3.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 14.2.1 to 14.3.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/v14.2.1...v14.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 10:02:23 +00:00
dependabot[bot] 5b52c8a120 Bump marked from 4.0.16 to 4.0.17
Bumps [marked](https://github.com/markedjs/marked) from 4.0.16 to 4.0.17.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.16...v4.0.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 10:02:04 +00:00
dependabot[bot] 444d2b8d9e Bump @babel/core from 7.18.2 to 7.18.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.2 to 7.18.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.18.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>
2022-06-13 10:01:51 +00:00
dependabot[bot] d11b1b16a5 Bump source-map-loader from 3.0.1 to 4.0.0
Bumps [source-map-loader](https://github.com/webpack-contrib/source-map-loader) from 3.0.1 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/source-map-loader/releases)
- [Changelog](https://github.com/webpack-contrib/source-map-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/source-map-loader/compare/v3.0.1...v4.0.0)

---
updated-dependencies:
- dependency-name: source-map-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 10:01:33 +00:00
Andreas Hocevar 9b6f94e194 Merge pull request #13745 from hargasinski/fix-modifying-polygons
Fix modifying polygons with overlapping vertices
2022-06-12 13:44:15 +02:00
Andreas Hocevar 0f1f3e70a7 Merge pull request #13749 from ahocevar/gml-polygon-ring-curve
Support GML polygons with ring curves instead of linear rings
2022-06-12 13:35:41 +02:00
MoonE 1f6d13836b Merge pull request #13750 from MoonE/gemetry
Fix typo in method names
2022-06-11 18:28:40 +02:00
Maximilian Krög 758048f5d8 Fix typo in method names 2022-06-11 17:56:42 +02:00
Andreas Hocevar e863960599 Support reading polygons with curve rings 2022-06-10 18:17:26 +02:00
Andreas Hocevar 2a8cc3d2f5 Map multiple LineStringSegments to a one LineString 2022-06-10 18:17:02 +02:00
Hubert Argasinski 5bcbd23cca Fix modifying polygons with overlapping vertices
When a polygonal geometry, where one of the vertices overlaps the first
vertex in the same ring, is modified, ensure the correct vertices are
updated.
2022-06-08 18:36:49 -04:00
Andreas Hocevar d530435e2e Merge pull request #13724 from m-mohr/geotiff-from-blob
Load GeoTiff from Blob #13189 #13703
2022-06-08 16:03:13 +02:00
Andreas Hocevar 78e7f378fe Merge pull request #12106 from IQGeo/issue-12101
improve text width calculation
2022-06-08 15:39:29 +02:00
Tim Schaub 7a7621c36f Merge pull request #13732 from openlayers/dependabot/npm_and_yarn/eslint-8.17.0
Bump eslint from 8.16.0 to 8.17.0
2022-06-06 08:16:34 -06:00
dependabot[bot] fbbf2f3961 Bump eslint from 8.16.0 to 8.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.16.0 to 8.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.16.0...v8.17.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 13:53:02 +00:00
Andreas Hocevar f52af4a9af Merge pull request #13730 from openlayers/dependabot/npm_and_yarn/typescript-4.7.3
Bump typescript from 4.7.2 to 4.7.3
2022-06-06 14:10:31 +02:00
Andreas Hocevar c46a368f2f Merge pull request #13731 from openlayers/dependabot/npm_and_yarn/webpack-5.73.0
Bump webpack from 5.72.1 to 5.73.0
2022-06-06 14:10:06 +02:00
Andreas Hocevar ff955f76db Merge pull request #13733 from openlayers/dependabot/npm_and_yarn/rollup-2.75.5
Bump rollup from 2.75.3 to 2.75.5
2022-06-06 14:09:40 +02:00
Andreas Hocevar 0f2a435297 Merge pull request #13734 from openlayers/dependabot/npm_and_yarn/puppeteer-14.2.1
Bump puppeteer from 14.1.1 to 14.2.1
2022-06-06 14:09:14 +02:00
Andreas Hocevar 38b189ecf9 Merge pull request #13735 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.9.1
Bump webpack-dev-server from 4.9.0 to 4.9.1
2022-06-06 14:08:45 +02:00
dependabot[bot] 3ad81f277c Bump webpack-dev-server from 4.9.0 to 4.9.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.0 to 4.9.1.
- [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.9.0...v4.9.1)

---
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>
2022-06-06 10:02:37 +00:00
dependabot[bot] b567b6bd6c Bump puppeteer from 14.1.1 to 14.2.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 14.1.1 to 14.2.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/v14.1.1...v14.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 10:02:13 +00:00
dependabot[bot] 824fcd2823 Bump rollup from 2.75.3 to 2.75.5
Bumps [rollup](https://github.com/rollup/rollup) from 2.75.3 to 2.75.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.75.3...v2.75.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 10:01:48 +00:00
dependabot[bot] 02f0ae0ff1 Bump webpack from 5.72.1 to 5.73.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.73.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 10:01:11 +00:00
dependabot[bot] 8df798fc2c Bump typescript from 4.7.2 to 4.7.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.2...v4.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 10:00:56 +00:00
Matthias Mohr c2fc1f85bf Load GeoTiff from Blob #13189 #13703 2022-06-01 23:49:01 +02:00
Andreas Hocevar 28b99b30a8 Merge pull request #13712 from mike-000/tile-pyramid-getData()
Fix tile pyramid getData()
2022-05-31 22:32:36 +02:00
Tim Schaub bcc39b06b7 Merge pull request #13717 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.2
Bump @babel/core from 7.18.0 to 7.18.2
2022-05-30 08:37:17 -07:00
Tim Schaub b71750200d Merge pull request #13718 from openlayers/dependabot/npm_and_yarn/rollup-2.75.3
Bump rollup from 2.74.1 to 2.75.3
2022-05-30 08:36:29 -07:00
Tim Schaub cc2e8a8ad1 Merge pull request #13716 from openlayers/dependabot/npm_and_yarn/types/offscreencanvas-2019.7.0
Bump @types/offscreencanvas from 2019.6.4 to 2019.7.0
2022-05-30 08:35:08 -07:00
Tim Schaub 90400aad29 Merge pull request #13719 from openlayers/dependabot/npm_and_yarn/typescript-4.7.2
Bump typescript from 4.6.4 to 4.7.2
2022-05-30 08:34:17 -07:00
Tim Schaub a00e748ebf Merge pull request #13720 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.18.2
Bump @babel/preset-env from 7.18.0 to 7.18.2
2022-05-30 08:33:26 -07:00
Tim Schaub 99cf989b45 Merge pull request #13715 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-8.1.2
Bump ol-mapbox-style from 8.0.8 to 8.1.2
2022-05-30 08:32:07 -07:00
dependabot[bot] e35412a14b Bump @babel/preset-env from 7.18.0 to 7.18.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.18.0 to 7.18.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.18.2/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 10:03:10 +00:00
dependabot[bot] b41ddfce82 Bump typescript from 4.6.4 to 4.7.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.4...v4.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 10:02:48 +00:00
dependabot[bot] 8903f2cec8 Bump rollup from 2.74.1 to 2.75.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.74.1 to 2.75.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.74.1...v2.75.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 10:02:30 +00:00
dependabot[bot] 5eaa073269 Bump @babel/core from 7.18.0 to 7.18.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.18.0 to 7.18.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.18.2/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 10:02:10 +00:00
dependabot[bot] 531eeebd01 Bump @types/offscreencanvas from 2019.6.4 to 2019.7.0
Bumps [@types/offscreencanvas](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/offscreencanvas) from 2019.6.4 to 2019.7.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/offscreencanvas)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 10:01:49 +00:00
dependabot[bot] cefff95bb3 Bump ol-mapbox-style from 8.0.8 to 8.1.2
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 8.0.8 to 8.1.2.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v8.0.8...v8.1.2)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 10:01:33 +00:00
mike-000 0affb38890 Correct name in docs 2022-05-29 14:08:44 +01:00
mike-000 bbfcf42daf Test tile pyramid getData() 2022-05-28 11:56:26 +01:00
mike-000 214a384adf Fix tile pyramid getData() 2022-05-28 11:56:24 +01:00
MoonE ca48e15d73 Merge pull request #13709 from MoonE/ufo
Improve icon-sprite-webgl example
2022-05-27 08:25:51 +02:00
Maximilian Krög 8d8f4fd961 Improve icon-sprite-webgl example code
Should load slightly faster now by adding the source only after all
features are available, this avoids dispatching the addfeature event
for each of the 80000 features.
Use webgl tile layer for the background so the canvas can be shared
between both layers.
2022-05-26 20:30:24 +02:00
Maximilian Krög 03f3e619f2 Update ufo example data
Downloaded a newer version of the data from
https://www.kaggle.com/datasets/NUFORC/ufo-sightings?select=scrubbed.csv
and fixed the remaining errors in it.
2022-05-26 20:11:40 +02:00
MoonE 599257a144 Merge pull request #13627 from MoonE/hitdetect-origin-pixel-ratio
Fix hitdetection for icon with offset and pixelratio != 1
2022-05-25 22:45:03 +02:00
Maximilian Krög d45e08d197 Fix icon offset for hitdetect image
It only worked correctly with pixel ratio of 1
2022-05-25 22:33:57 +02:00
Maximilian Krög 6b3c9cc196 Test hitdetect icon with offset 2022-05-25 22:33:57 +02:00
Maximilian Krög f5bdc982b5 Improve test coverage for icon clone method 2022-05-25 22:33:54 +02:00
MoonE bed1e514f9 Merge pull request #13626 from MoonE/rendercomplete-wait-for-icons
Wait for icons to be loaded before firing rendercomplete event
2022-05-25 22:32:43 +02:00
Luis Camacho 4773595748 added tests for drawTextOnPath multi-line text handling 2022-05-25 14:34:32 +01:00
Maximilian Krög e8925a90e5 Test VectorTile layer not ready while loading needed icons 2022-05-24 22:26:17 +02:00
Maximilian Krög 11589f3317 Test rendercomplete with icon for VectorTile 2022-05-24 22:18:36 +02:00
Maximilian Krög 2473e5bd32 Fix vector tile renderer ready 2022-05-24 21:47:09 +02:00
Maximilian Krög de392a9846 Don't fire rendercomplete event while icons are loading 2022-05-24 21:47:09 +02:00
Maximilian Krög dc128820c1 Test rendercomplete waits for icon load 2022-05-24 21:47:08 +02:00
Maximilian Krög 5345b80aa1 Remove unused getImageState call 2022-05-24 21:47:08 +02:00
Maximilian Krög d7ebcf0ef8 Fix error when image state changes on disposed renderer 2022-05-24 21:47:04 +02:00
Andreas Hocevar 0e2399d8f4 Merge pull request #13702 from mike-000/interpolate-typedef
Change typedef to boolean
2022-05-24 11:16:24 +02:00
mike-000 4fb856af3b change typedef to boolean 2022-05-24 09:04:58 +01:00
Andreas Hocevar a16aef042d Merge pull request #13691 from burleight/vectorSource-getFeaturesInExtent-wrapX
#13690 VectorSource#getFeaturesInExtent add projection parameter
2022-05-24 09:37:10 +02:00
Tim Schaub d0965835f6 Merge pull request #13693 from openlayers/dependabot/npm_and_yarn/eslint-8.16.0
Bump eslint from 8.9.0 to 8.16.0
2022-05-23 17:43:20 -06:00
dependabot[bot] ac8367f536 Bump eslint from 8.9.0 to 8.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.9.0 to 8.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.9.0...v8.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 23:37:47 +00:00
Tim Schaub 0b780b1c0f Merge pull request #13701 from tschaub/update-eslint-config
Update ESLint config and plugins
2022-05-23 17:33:49 -06:00
Tomas Burleigh 68e604e3be VectorSource#getFeaturesInExtent projection renamed to opt_projection and amended jsdoc #13690 2022-05-24 09:46:18 +12:00
Tim Schaub bbbca0ab78 Update ESLint config and plugins 2022-05-23 15:01:07 -06:00
Luis Camacho 94c8900883 ensure single-line label when rendering across segments 2022-05-23 14:52:47 +01:00
Tim Schaub f1fc38ce33 Merge pull request #13694 from openlayers/dependabot/npm_and_yarn/babel/core-7.18.0
Bump @babel/core from 7.17.10 to 7.18.0
2022-05-23 07:40:04 -06:00
Tim Schaub 139a12b448 Merge pull request #13699 from openlayers/dependabot/npm_and_yarn/rollup-2.74.1
Bump rollup from 2.73.0 to 2.74.1
2022-05-23 07:36:01 -06:00
Tim Schaub af898fb18d Merge pull request #13695 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-11.0.0
Bump copy-webpack-plugin from 10.2.4 to 11.0.0
2022-05-23 07:33:11 -06:00
dependabot[bot] c02b2f19a0 Bump @babel/core from 7.17.10 to 7.18.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.10 to 7.18.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.18.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>
2022-05-23 13:32:05 +00:00
Tim Schaub 86538724ba Merge pull request #13696 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-5.3.3
Bump webpack-dev-middleware from 5.3.1 to 5.3.3
2022-05-23 07:31:55 -06:00
Tim Schaub 47bf71a36f Merge pull request #13697 from openlayers/dependabot/npm_and_yarn/marked-4.0.16
Bump marked from 4.0.15 to 4.0.16
2022-05-23 07:31:28 -06:00
dependabot[bot] e5299bfe32 Bump rollup from 2.73.0 to 2.74.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.73.0 to 2.74.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.73.0...v2.74.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 13:31:22 +00:00
Tim Schaub 6a4ba5ab07 Merge pull request #13698 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.18.0
Bump @babel/preset-env from 7.17.10 to 7.18.0
2022-05-23 07:30:54 -06:00
Tim Schaub a37d85bd04 Merge pull request #13700 from openlayers/dependabot/npm_and_yarn/puppeteer-14.1.1
Bump puppeteer from 14.1.0 to 14.1.1
2022-05-23 07:29:47 -06:00
dependabot[bot] 22f002a72c Bump puppeteer from 14.1.0 to 14.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 14.1.0 to 14.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/v14.1.0...v14.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 10:03:29 +00:00
dependabot[bot] 5b775ec562 Bump @babel/preset-env from 7.17.10 to 7.18.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.17.10 to 7.18.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.18.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>
2022-05-23 10:02:57 +00:00
dependabot[bot] 2c78d6a7d4 Bump marked from 4.0.15 to 4.0.16
Bumps [marked](https://github.com/markedjs/marked) from 4.0.15 to 4.0.16.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.15...v4.0.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 10:02:33 +00:00
dependabot[bot] 27f14ee2ce Bump webpack-dev-middleware from 5.3.1 to 5.3.3
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.1 to 5.3.3.
- [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/v5.3.1...v5.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 10:02:12 +00:00
dependabot[bot] 37bae59236 Bump copy-webpack-plugin from 10.2.4 to 11.0.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.2.4 to 11.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/v10.2.4...v11.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 10:01:54 +00:00
Andreas Hocevar d9fdc4f0bf Merge pull request #13688 from ahocevar/wmts-flip-x
Flip extent coordinates for projections with ne* axis order
2022-05-22 15:52:19 +02:00
Tim Schaub 6b55481a0c Merge pull request #13689 from tschaub/map-link
Link interaction
2022-05-22 07:02:52 -06:00
Luis Camacho 5e2b9fb629 fix to text width calculation
now considers new lines to match rendering
2022-05-22 12:29:19 +01:00
Tim Schaub cf7daf36d6 Include layer visibility in the URL 2022-05-21 10:50:45 -06:00
Tim Schaub 6690dc99dd Link interaction 2022-05-21 10:50:38 -06:00
Tomas Burleigh 78274befb8 #13690 VectorSource#getFeaturesInExtent add projection parameter 2022-05-21 14:28:19 +12:00
Andreas Hocevar aa190a629a Flip extent coordinates for projections with ne* axis order 2022-05-20 19:38:55 +02:00
MoonE 3857e2051c Merge pull request #13676 from MoonE/test-improvements
Test improvements
2022-05-16 23:06:26 +02:00
Tim Schaub 5ebfeba945 Merge pull request #13680 from openlayers/dependabot/npm_and_yarn/rollup-2.73.0
Bump rollup from 2.72.1 to 2.73.0
2022-05-16 07:37:31 -06:00
dependabot[bot] 09cf297136 Bump rollup from 2.72.1 to 2.73.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.72.1 to 2.73.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.72.1...v2.73.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 13:31:26 +00:00
Tim Schaub b657f7dc37 Merge pull request #13681 from openlayers/dependabot/npm_and_yarn/webpack-5.72.1
Bump webpack from 5.72.0 to 5.72.1
2022-05-16 07:30:57 -06:00
Tim Schaub 45c4fffbd5 Merge pull request #13679 from openlayers/dependabot/npm_and_yarn/karma-6.3.20
Bump karma from 6.3.19 to 6.3.20
2022-05-16 07:30:09 -06:00
Tim Schaub 9c4164db28 Merge pull request #13678 from openlayers/dependabot/npm_and_yarn/puppeteer-14.1.0
Bump puppeteer from 13.7.0 to 14.1.0
2022-05-16 07:29:28 -06:00
Tim Schaub 2f802bdd9d Merge pull request #13682 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-8.0.8
Bump ol-mapbox-style from 8.0.7 to 8.0.8
2022-05-16 07:28:18 -06:00
Tim Schaub b5a24db3da Merge pull request #13683 from openlayers/dependabot/npm_and_yarn/yargs-17.5.1
Bump yargs from 17.4.1 to 17.5.1
2022-05-16 07:27:28 -06:00
dependabot[bot] 020248b880 Bump yargs from 17.4.1 to 17.5.1
Bumps [yargs](https://github.com/yargs/yargs) from 17.4.1 to 17.5.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.4.1...v17.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 10:02:37 +00:00
dependabot[bot] 6afc720b50 Bump ol-mapbox-style from 8.0.7 to 8.0.8
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 8.0.7 to 8.0.8.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v8.0.7...v8.0.8)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 10:02:19 +00:00
dependabot[bot] 8c0ae135ec Bump webpack from 5.72.0 to 5.72.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.0 to 5.72.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.0...v5.72.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 10:02:00 +00:00
dependabot[bot] 1923a7b829 Bump karma from 6.3.19 to 6.3.20
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.19 to 6.3.20.
- [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.19...v6.3.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 10:01:24 +00:00
dependabot[bot] bc1d161276 Bump puppeteer from 13.7.0 to 14.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.7.0 to 14.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/v13.7.0...v14.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 10:01:07 +00:00
Maximilian Krög ecf90a49c8 Improve browser tests
- Listen for image change event instead of waiting 200 ms
- Properly fake fetch response, can never be undefined on resolve
2022-05-15 22:30:40 +02:00
Maximilian Krög 302a9d51e1 Fix WebGLTile browser tests
The loader has to return a TypedArray, not ImageData
2022-05-15 22:30:40 +02:00
Maximilian Krög 744324859e Fix font rerender test when font is a system font 2022-05-15 22:30:40 +02:00
Maximilian Krög 72d61f887d Use document.head instead of getElementByTagName 2022-05-15 21:34:26 +02:00
EvertEt f30e388db0 Add null return type for TileGrid functions 2022-05-13 20:09:20 +02:00
Andreas Hocevar 30358b61a9 Merge pull request #13673 from ahocevar/getclipcoords-null
Add  null return type
2022-05-13 19:56:14 +02:00
Andreas Hocevar fc5f85dbcf Add null return type 2022-05-13 19:39:47 +02:00
Andreas Hocevar ce21007f45 Merge pull request #13672 from CNS-Solutions/currentclip_is_null
fix currentClip == null
2022-05-13 19:28:01 +02:00
VLCEK Martin bd223b4447 fix currentClip == null 2022-05-13 16:03:14 +02:00
Tim Schaub c6de7701bb Merge pull request #13669 from tschaub/nan-nodata
Handle NaN nodata
2022-05-12 14:58:50 -06:00
Tim Schaub 25b2007636 Handle NaN nodata 2022-05-12 11:31:08 -06:00
Andreas Hocevar 6341ed3a64 Merge pull request #13656 from arekgotfryd/draw-shapes-example-fix
Fix for parcel error while building examples
2022-05-10 16:09:51 +02:00
arkadiusz.gotfryd 6bbd9a1dd4 Fix for codesandbox.io env (code review change) 2022-05-09 21:16:46 +02:00
Tim Schaub 09229b5f70 Merge pull request #13661 from openlayers/dependabot/npm_and_yarn/rollup-2.72.1
Bump rollup from 2.71.1 to 2.72.1
2022-05-09 09:04:29 -06:00
dependabot[bot] 66fc5a21d8 Bump rollup from 2.71.1 to 2.72.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.71.1 to 2.72.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.71.1...v2.72.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 14:57:41 +00:00
Tim Schaub 55a1a15481 Merge pull request #13659 from openlayers/dependabot/npm_and_yarn/sinon-14.0.0
Bump sinon from 13.0.2 to 14.0.0
2022-05-09 08:57:08 -06:00
Tim Schaub 9d1de162c8 Merge pull request #13662 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.9.0
Bump webpack-dev-server from 4.8.1 to 4.9.0
2022-05-09 08:56:28 -06:00
Tim Schaub 4224f84280 Merge pull request #13663 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.3.0
Bump @rollup/plugin-node-resolve from 13.2.1 to 13.3.0
2022-05-09 08:55:57 -06:00
dependabot[bot] 35499de4d4 Bump @rollup/plugin-node-resolve from 13.2.1 to 13.3.0
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.2.1 to 13.3.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/node-resolve-v13.3.0/packages/node-resolve)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 10:02:47 +00:00
dependabot[bot] 94c3d74fc2 Bump webpack-dev-server from 4.8.1 to 4.9.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.8.1 to 4.9.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.8.1...v4.9.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>
2022-05-09 10:02:32 +00:00
dependabot[bot] fff0313950 Bump sinon from 13.0.2 to 14.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.2 to 14.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v13.0.2...v14.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 10:01:30 +00:00
arkadiusz.gotfryd 77cd464a7b Add module type to main.js script tag 2022-05-08 23:25:51 +02:00
arkadiusz.gotfryd 864e9e5c5f Fix for parcel error while building examples 2022-05-08 22:54:22 +02:00
Tim Schaub a5c2c8d3d4 Merge pull request #13648 from tschaub/data-tile-size
Explicit data tile size
2022-05-07 10:16:40 -06:00
Andreas Hocevar b490b2e01a Use a compatible version of geotiff.js 2022-05-07 11:27:07 +02:00
Andreas Hocevar 4efef182bb Common tile size check with tolerance 2022-05-07 09:50:21 +02:00
Tim Schaub 38b48bd341 Explicit data tile size 2022-05-06 14:47:10 -06:00
Andreas Hocevar 71f37802ae Merge pull request #13566 from CNS-Solutions/decluttering
Decluttering mode by style
2022-05-06 22:23:59 +02:00
VLCEK Martin 6ab4d452a4 reference image from CI 2022-05-06 16:52:56 +02:00
Andreas Hocevar b29ad01c7a Merge pull request #13645 from mike-000/tile-load-errors
Output GeoTIFF tile load errors to console
2022-05-06 12:23:46 +02:00
VLCEK Martin bce37b5650 Zoom out a bit for rendering test 2022-05-06 06:56:13 +02:00
VLCEK Martin 9adfe7aca6 improve test with overlapping circles. 2022-05-05 13:47:46 +02:00
VLCEK Martin 9338286661 improve test with overlapping circles. 2022-05-05 13:26:12 +02:00
VLCEK Martin e1593ce59d Support declutter mode for image styles
Allows to specify for each image style, whether the image
should be decluttered, always drawn but still serving as
obstacle, or drawn without being an obstacle for other
images/texts.

The layer must still have declutter = true set for this
property to have any effect.
2022-05-05 12:34:00 +02:00
mike-000 cf95f6313b fix lint 2022-05-04 20:18:17 +01:00
mike-000 8ef8cbf4e2 output tile load errors to console 2022-05-04 19:54:07 +01:00
Andreas Hocevar c2639f89f2 Merge pull request #13602 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-8.0.7
Bump ol-mapbox-style from 8.0.5 to 8.0.7
2022-05-04 00:53:17 +02:00
Andreas Hocevar 27830562fd Update test image 2022-05-04 00:39:30 +02:00
Marc Jansen 7aa36c65d4 Merge pull request #13641 from openlayers/typo
Fix typos in upgrade notes
2022-05-03 23:15:36 +02:00
Marc Jansen 5f130fb261 Properly close quotes 2022-05-03 23:10:20 +02:00
Marc Jansen be41da34ef Fix a typo in upgrade notes
Introduced in https://github.com/openlayers/openlayers/pull/13637
2022-05-03 22:15:52 +02:00
Andreas Hocevar 9a6ff5a321 Merge pull request #13637 from ahocevar/dimensions-transform
Let transform function transform all dimensions it is capable of
2022-05-03 15:19:20 +02:00
Andreas Hocevar 6614cf6051 Merge pull request #13628 from openlayers/dependabot/npm_and_yarn/marked-4.0.15
Bump marked from 4.0.14 to 4.0.15
2022-05-03 15:07:36 +02:00
Andreas Hocevar 50c96831d9 Merge pull request #13629 from openlayers/dependabot/npm_and_yarn/express-4.18.1
Bump express from 4.18.0 to 4.18.1
2022-05-03 13:43:08 +02:00
dependabot[bot] 32cb86f63d Bump marked from 4.0.14 to 4.0.15
Bumps [marked](https://github.com/markedjs/marked) from 4.0.14 to 4.0.15.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.14...v4.0.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 11:42:58 +00:00
Andreas Hocevar 92b5c7a4f9 Merge pull request #13630 from openlayers/dependabot/npm_and_yarn/rollup-2.71.1
Bump rollup from 2.70.2 to 2.71.1
2022-05-03 13:42:44 +02:00
Andreas Hocevar ef39e55a92 Merge pull request #13631 from openlayers/dependabot/npm_and_yarn/typescript-4.6.4
Bump typescript from 4.6.3 to 4.6.4
2022-05-03 13:42:11 +02:00
Andreas Hocevar 4e21e1e24e Merge pull request #13632 from openlayers/dependabot/npm_and_yarn/mocha-10.0.0
Bump mocha from 9.2.2 to 10.0.0
2022-05-03 13:41:38 +02:00
dependabot[bot] 0b4059ae9f Bump express from 4.18.0 to 4.18.1
Bumps [express](https://github.com/expressjs/express) from 4.18.0 to 4.18.1.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.0...4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03 11:35:22 +00:00
Andreas Hocevar 959fffaa70 Merge pull request #13633 from openlayers/dependabot/npm_and_yarn/babel/core-7.17.10
Bump @babel/core from 7.17.9 to 7.17.10
2022-05-03 13:34:26 +02:00
Andreas Hocevar d445d0d9c4 Merge pull request #13634 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.17.10
Bump @babel/preset-env from 7.16.11 to 7.17.10
2022-05-03 13:34:01 +02:00
Andreas Hocevar 6ace5e7530 Let transform function transform all dimensions it is capable of 2022-05-02 22:25:11 +02:00
dependabot[bot] 989a87ee29 Bump @babel/preset-env from 7.16.11 to 7.17.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.11 to 7.17.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.17.10/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>
2022-05-02 10:02:43 +00:00
dependabot[bot] 69d2d8f3f1 Bump @babel/core from 7.17.9 to 7.17.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.9 to 7.17.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.17.10/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 10:02:25 +00:00
dependabot[bot] 4f843d4d48 Bump mocha from 9.2.2 to 10.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.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/v9.2.2...v10.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>
2022-05-02 10:01:59 +00:00
dependabot[bot] cd933dd68e Bump typescript from 4.6.3 to 4.6.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.3 to 4.6.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.3...v4.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 10:01:48 +00:00
dependabot[bot] 122052e7e1 Bump rollup from 2.70.2 to 2.71.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.70.2 to 2.71.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.70.2...v2.71.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 10:01:33 +00:00
Tim Schaub 626baaafa2 Merge pull request #13616 from openlayers/dependabot/github_actions/github/codeql-action-2
Bump github/codeql-action from 1 to 2
2022-04-28 21:02:07 -06:00
Tim Schaub 765e3d798f Merge pull request #13617 from openlayers/dependabot/github_actions/actions/setup-node-3
Bump actions/setup-node from 2 to 3
2022-04-28 21:01:19 -06:00
dependabot[bot] 9cc09d7215 Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 02:57:38 +00:00
Tim Schaub 2068dde85d Merge pull request #13615 from openlayers/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-28 20:57:17 -06:00
dependabot[bot] 330260ea69 Bump actions/setup-node from 2 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-29 02:56:36 +00:00
Tim Schaub 874be4760f Merge pull request #13618 from openlayers/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-04-28 20:55:35 -06:00
Tim Schaub 81926d99e7 Merge pull request #13619 from openlayers/dependabot/github_actions/actions/github-script-6
Bump actions/github-script from 5 to 6
2022-04-28 20:54:39 -06:00
Tim Schaub 4722d3e42e Merge pull request #13620 from openlayers/dependabot/npm_and_yarn/puppeteer-13.7.0
Bump puppeteer from 13.6.0 to 13.7.0
2022-04-28 20:53:27 -06:00
Tim Schaub a46d01fbc1 Merge pull request #13621 from openlayers/dependabot/npm_and_yarn/express-4.18.0
Bump express from 4.17.3 to 4.18.0
2022-04-28 20:52:46 -06:00
dependabot[bot] b5925185ee Bump express from 4.17.3 to 4.18.0
Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.18.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.3...4.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:45:53 +00:00
dependabot[bot] 8d81601dba Bump puppeteer from 13.6.0 to 13.7.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.6.0 to 13.7.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/v13.6.0...v13.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:45:21 +00:00
dependabot[bot] 45354b61b1 Bump actions/github-script from 5 to 6
Bumps [actions/github-script](https://github.com/actions/github-script) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:45:18 +00:00
dependabot[bot] e403502fc9 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:45:15 +00:00
dependabot[bot] caaa6993e9 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 14:45:07 +00:00
Tim Schaub b902398a77 Merge pull request #13614 from tschaub/dependabot-fix
Fix dependabot config
2022-04-28 08:44:46 -06:00
Tim Schaub 9a3fd74470 Fix dependabot config 2022-04-28 08:31:26 -06:00
Tim Schaub 4f6a3149c8 Merge pull request #13611 from turrisxyz/naveen/feat/dependabot
Include GitHub actions in the dependabot config
2022-04-27 19:48:32 -06:00
Tim Schaub a086b419e6 Merge pull request #13594 from mike-000/load
Do not reload data tiles if already loaded or loading
2022-04-27 14:57:08 -06:00
Tim Schaub 5084d5566a Test that data tiles can be loaded after error 2022-04-27 14:50:33 -06:00
naveensrinivasan f396a0efa5 chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-27 15:38:37 -05:00
mike-000 0ef7c40b8e do not reload if already loaded or loading 2022-04-27 14:35:11 -06:00
Tim Schaub 36ec95677d Merge pull request #13607 from turrisxyz/setup-permissions
Limit permissions for GitHub actions
2022-04-27 14:33:05 -06:00
naveen c6a7aa08c7 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-04-27 01:37:20 +00:00
Tim Schaub fc743b1b52 Merge pull request #13603 from tschaub/rectangles
Handle rotation with non-square tiles
2022-04-25 19:13:11 -06:00
Tim Schaub de9f6e2dc5 Handle rotation with non-square tiles 2022-04-25 10:40:37 -06:00
Tim Schaub 8038a9fd12 Merge pull request #13596 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-22.0.0
Bump @rollup/plugin-commonjs from 21.1.0 to 22.0.0
2022-04-25 08:07:15 -06:00
Tim Schaub ab06aa8ae9 Merge pull request #13600 from openlayers/dependabot/npm_and_yarn/puppeteer-13.6.0
Bump puppeteer from 13.5.2 to 13.6.0
2022-04-25 07:11:13 -06:00
Tim Schaub 7c16efbe8a Merge pull request #13598 from openlayers/dependabot/npm_and_yarn/pixelmatch-5.3.0
Bump pixelmatch from 5.2.1 to 5.3.0
2022-04-25 07:10:11 -06:00
Tim Schaub 59b84b2a23 Merge pull request #13601 from openlayers/dependabot/npm_and_yarn/babel-loader-8.2.5
Bump babel-loader from 8.2.4 to 8.2.5
2022-04-25 07:09:26 -06:00
Tim Schaub 8063e2e344 Merge pull request #13599 from openlayers/dependabot/npm_and_yarn/karma-6.3.19
Bump karma from 6.3.18 to 6.3.19
2022-04-25 07:08:48 -06:00
dependabot[bot] b9e1bf45dc Bump ol-mapbox-style from 8.0.5 to 8.0.7
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 8.0.5 to 8.0.7.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v8.0.5...v8.0.7)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 10:02:58 +00:00
dependabot[bot] a9db8498e6 Bump babel-loader from 8.2.4 to 8.2.5
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.4 to 8.2.5.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.4...v8.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 10:02:36 +00:00
dependabot[bot] 5d5c914dbd Bump puppeteer from 13.5.2 to 13.6.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.2 to 13.6.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/v13.5.2...v13.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 10:02:26 +00:00
dependabot[bot] bdbe1af3ce Bump karma from 6.3.18 to 6.3.19
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.18 to 6.3.19.
- [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.18...v6.3.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 10:02:13 +00:00
dependabot[bot] bc3cac09d6 Bump pixelmatch from 5.2.1 to 5.3.0
Bumps [pixelmatch](https://github.com/mapbox/pixelmatch) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/mapbox/pixelmatch/releases)
- [Commits](https://github.com/mapbox/pixelmatch/compare/v5.2.1...v5.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 10:02:01 +00:00
dependabot[bot] 1317f1663b Bump @rollup/plugin-commonjs from 21.1.0 to 22.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.1.0 to 22.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-v22.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>
2022-04-25 10:01:18 +00:00
Andreas Hocevar 7ca0aee843 Merge pull request #13595 from ahocevar/loadstart-loadend-docs
Properly document loadstart and loadend events
2022-04-23 21:36:53 +02:00
Andreas Hocevar c080a0d2bf Properly document loadstart and loadend events 2022-04-23 21:27:27 +02:00
Andreas Hocevar 16325f069c Merge pull request #13568 from mike-000/osmdata-attribution
Update OSM Vector Tiles attribution
2022-04-22 08:38:31 +02:00
Tim Schaub b6acf39ae9 Merge pull request #13582 from openlayers/dependabot/npm_and_yarn/sinon-13.0.2
Bump sinon from 13.0.1 to 13.0.2
2022-04-18 07:09:21 -06:00
Tim Schaub ffeda8d20c Merge pull request #13583 from openlayers/dependabot/npm_and_yarn/async-2.6.4
Bump async from 2.6.3 to 2.6.4
2022-04-18 06:44:55 -06:00
Tim Schaub 03f09370ba Merge pull request #13578 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.1.0
Bump @rollup/plugin-commonjs from 21.0.3 to 21.1.0
2022-04-18 06:42:53 -06:00
Tim Schaub ada63b4989 Merge pull request #13579 from openlayers/dependabot/npm_and_yarn/fs-extra-10.1.0
Bump fs-extra from 10.0.1 to 10.1.0
2022-04-18 06:42:14 -06:00
Tim Schaub f8a3092182 Merge pull request #13580 from openlayers/dependabot/npm_and_yarn/karma-6.3.18
Bump karma from 6.3.17 to 6.3.18
2022-04-18 06:41:30 -06:00
dependabot[bot] 52daaf6414 Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 12:40:42 +00:00
Tim Schaub 4c70a07d02 Merge pull request #13581 from openlayers/dependabot/npm_and_yarn/rollup-2.70.2
Bump rollup from 2.70.1 to 2.70.2
2022-04-18 06:40:42 -06:00
Tim Schaub af190db93c Merge pull request #13577 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.2.1
Bump @rollup/plugin-node-resolve from 13.1.3 to 13.2.1
2022-04-18 06:40:05 -06:00
dependabot[bot] 9c0b3264eb Bump sinon from 13.0.1 to 13.0.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v13.0.1...v13.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:02:08 +00:00
dependabot[bot] becacd4bd0 Bump rollup from 2.70.1 to 2.70.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.70.1 to 2.70.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.70.1...v2.70.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:01:54 +00:00
dependabot[bot] f45908d097 Bump karma from 6.3.17 to 6.3.18
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.17 to 6.3.18.
- [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.17...v6.3.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:01:42 +00:00
dependabot[bot] 1f3e60f2be Bump fs-extra from 10.0.1 to 10.1.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 10.0.1 to 10.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/10.0.1...10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:01:30 +00:00
dependabot[bot] 3d9dd18e4b Bump @rollup/plugin-commonjs from 21.0.3 to 21.1.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.0.3 to 21.1.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-v21.1.0/packages/commonjs)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:01:21 +00:00
dependabot[bot] 198cef6e84 Bump @rollup/plugin-node-resolve from 13.1.3 to 13.2.1
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.1.3 to 13.2.1.
- [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.2.1/packages/node-resolve)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 10:01:03 +00:00
Andreas Hocevar d315675ecc Merge pull request #13528 from burleight/webglpointslayer-wrap-x
WebGLPointsLayer wrapX support - partially addressing #11131
2022-04-17 17:34:01 +02:00
Andreas Hocevar d404371417 Merge pull request #13571 from rycgar/justify-text
Add `justify` option for text style
2022-04-15 13:25:22 +02:00
Andreas Hocevar e8f151543d Simplify/beautify example 2022-04-15 13:13:39 +02:00
Denis 585ae66961 Fix review for text justify 2022-04-14 13:06:49 +02:00
Andreas Hocevar 041b9a188a Use reference image from CI 2022-04-14 08:14:47 +02:00
Andreas Hocevar 18080d6c4c Merge pull request #13565 from mike-000/null-projection
Do not assert null projection
2022-04-14 07:38:02 +02:00
Denis 359512c6b2 Add test for text justification within the text-box
See: https://github.com/openlayers/openlayers/issues/13481
2022-04-13 15:35:52 +02:00
Denis 1850e16bde Improve jsDoc and some naming 2022-04-13 14:11:28 +02:00
Denis e00e3a7b8e Improve jsDoc for style/Text justify 2022-04-13 00:08:15 +02:00
Denis 4db25c86c8 Implement text justify within the label box
See: https://github.com/openlayers/openlayers/issues/13481
2022-04-13 00:08:15 +02:00
Denis c45a443cf5 Add example for justify text 2022-04-13 00:08:15 +02:00
Denis 5a61bb51f5 Extend Text.js: add justification option 2022-04-13 00:08:15 +02:00
mike-000 439dc76065 update attribution 2022-04-12 17:52:09 +01:00
mike-000 e8257f1bb3 projection may be null 2022-04-12 16:22:25 +01:00
mike-000 eaa87e8d8f do not assert null projection 2022-04-12 09:31:55 +01:00
Andreas Hocevar 5651520dcd Merge pull request #13496 from mike-000/projection-scale
Improve Projection and Scale example calculations
2022-04-11 21:47:41 +02:00
Andreas Hocevar 353cb4e2fd Merge pull request #13557 from openlayers/dependabot/npm_and_yarn/webpack-5.72.0
Bump webpack from 5.71.0 to 5.72.0
2022-04-11 21:44:44 +02:00
Andreas Hocevar de0f5be04c Merge pull request #13546 from drnextgis/draw_stride
Add geometryLayout property to Draw interaction
2022-04-11 21:43:54 +02:00
dependabot[bot] 83a84fa5ba Bump webpack from 5.71.0 to 5.72.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.71.0 to 5.72.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.71.0...v5.72.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 19:25:15 +00:00
Andreas Hocevar c0b2b9526c Merge pull request #13560 from openlayers/dependabot/npm_and_yarn/babel/core-7.17.9
Bump @babel/core from 7.17.8 to 7.17.9
2022-04-11 21:25:07 +02:00
Andreas Hocevar 1dcc2950f7 Merge pull request #13559 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.8.1
Bump webpack-dev-server from 4.7.4 to 4.8.1
2022-04-11 21:24:33 +02:00
Andreas Hocevar 4005dba025 Merge pull request #13558 from openlayers/dependabot/npm_and_yarn/marked-4.0.14
Bump marked from 4.0.12 to 4.0.14
2022-04-11 21:23:54 +02:00
Andreas Hocevar 2f8e4f3f9e Merge pull request #13556 from openlayers/dependabot/npm_and_yarn/yargs-17.4.1
Bump yargs from 17.4.0 to 17.4.1
2022-04-11 21:23:21 +02:00
Andreas Hocevar bde8c94fdf Merge pull request #13552 from ahocevar/ol-mapbox-style-8
Updates for ol-mapbox-style v8
2022-04-11 21:20:45 +02:00
Andreas Hocevar d93699b4f0 Update to ol-mapbox-style v8.0.5 2022-04-11 21:13:11 +02:00
Denis Rykov 026c88ca35 Add geometryLayout property to Draw interaction 2022-04-11 13:13:25 +02:00
dependabot[bot] edd24bca98 Bump @babel/core from 7.17.8 to 7.17.9
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.8 to 7.17.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.17.9/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 10:02:12 +00:00
dependabot[bot] f0b205aa59 Bump webpack-dev-server from 4.7.4 to 4.8.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.7.4 to 4.8.1.
- [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.7.4...v4.8.1)

---
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>
2022-04-11 10:01:56 +00:00
dependabot[bot] bf7bd5c976 Bump marked from 4.0.12 to 4.0.14
Bumps [marked](https://github.com/markedjs/marked) from 4.0.12 to 4.0.14.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.12...v4.0.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 10:01:43 +00:00
dependabot[bot] 0b51ddb1f4 Bump yargs from 17.4.0 to 17.4.1
Bumps [yargs](https://github.com/yargs/yargs) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.4.0...v17.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 10:01:10 +00:00
Andreas Hocevar 29dcdeee55 Merge pull request #13554 from jipexu/main
NM symbol unit
2022-04-10 21:41:57 +02:00
Andreas Hocevar 5722460250 Load source maps of dependencies for tests 2022-04-10 21:41:00 +02:00
Andreas Hocevar ffee2f727e Updates and example improvements for ol-mapbox-style v8 2022-04-10 21:41:00 +02:00
jipexu 6a35a20ff1 Update scaleline.test.js 2022-04-10 21:01:42 +02:00
jipexu 96cebca3b7 Update scaleline.test.js 2022-04-10 20:37:18 +02:00
jipexu 2c24ceef86 NM symbol unit
https://github.com/openlayers/openlayers/issues/13497

please check if it is enough ...
2022-04-10 17:24:08 +02:00
Andreas Hocevar ae00bf6c48 Merge pull request #13550 from ahocevar/background
Update backgrounds when function returns a different color
2022-04-10 01:25:49 +02:00
Tim Schaub b2a7ab0e14 Merge pull request #13547 from mike-000/render-gutter
Handle gutter in WebGL tile renderer
2022-04-09 16:29:00 -06:00
Andreas Hocevar 76a36e4583 Merge pull request #13551 from mike-000/pinch-zoom
Do not add second interaction in Pinch Zoom example
2022-04-09 21:02:10 +02:00
mike-000 d2fc5caa21 do not add second interaction 2022-04-09 13:06:32 +01:00
Andreas Hocevar cbb18ab805 Update backgrounds when function returns a different color 2022-04-09 10:53:20 +02:00
mike-000 6ca44f6ffa add gutter option 2022-04-08 14:17:54 +01:00
mike-000 36159287d5 handle gutter in renderer 2022-04-08 14:17:22 +01:00
Andreas Hocevar c03f58fe5d Merge pull request #12936 from ejn/bugfix/gml-multiple-element-parsing
Bugfix for GML parsing with multiple property elements with XML attributes
2022-04-05 11:57:53 +02:00
Tim Schaub 853ffb54e1 Merge pull request #13538 from openlayers/dependabot/npm_and_yarn/webpack-5.71.0
Bump webpack from 5.70.0 to 5.71.0
2022-04-04 19:41:09 -06:00
Tim Schaub b0f5d04cc6 Merge pull request #13537 from openlayers/dependabot/npm_and_yarn/jsdoc-plugin-typescript-2.0.7
Bump jsdoc-plugin-typescript from 2.0.6 to 2.0.7
2022-04-04 19:37:47 -06:00
dependabot[bot] 784e5336c9 Bump webpack from 5.70.0 to 5.71.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.71.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.71.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 01:37:06 +00:00
Tim Schaub 25a1be5ff0 Merge pull request #13539 from openlayers/dependabot/npm_and_yarn/puppeteer-13.5.2
Bump puppeteer from 13.5.1 to 13.5.2
2022-04-04 19:36:41 -06:00
Tim Schaub cbce310fb5 Merge pull request #13540 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.6.0
Bump clean-css-cli from 5.5.2 to 5.6.0
2022-04-04 19:36:09 -06:00
dependabot[bot] ffda52d64e Bump clean-css-cli from 5.5.2 to 5.6.0
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.5.2 to 5.6.0.
- [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.5.2...v5.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 10:01:50 +00:00
dependabot[bot] 733aaf831c Bump puppeteer from 13.5.1 to 13.5.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.5.1 to 13.5.2.
- [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/v13.5.1...v13.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 10:01:38 +00:00
dependabot[bot] b4907d0ef5 Bump jsdoc-plugin-typescript from 2.0.6 to 2.0.7
Bumps [jsdoc-plugin-typescript](https://github.com/openlayers/jsdoc-plugin-typescript) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/openlayers/jsdoc-plugin-typescript/releases)
- [Commits](https://github.com/openlayers/jsdoc-plugin-typescript/commits/v2.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 10:01:07 +00:00
Bart van den Eijnden bc8442e184 Merge pull request #13536 from bartvde/fix-typo-docs
Fix small typo in docs
2022-04-04 12:00:57 +02:00
Bart van den Eijnden 7fe4d04a3a Fix small typo in docs 2022-04-04 10:57:46 +02:00
Andreas Hocevar 0c22cab001 Merge pull request #13533 from ahocevar/gml-typescript
Update type annotations for GMLBase
2022-04-01 19:05:07 +02:00
Andreas Hocevar c6a2392a2e Update type annotations for GMLBase 2022-04-01 14:59:16 +02:00
Bart van den Eijnden c062599ac5 Merge pull request #13531 from bartvde/scaleline_maxwidth
Add optional maxWidth for ScaleLine control
2022-04-01 14:40:39 +02:00
Bart van den Eijnden 5742f0c068 Add tests 2022-04-01 14:29:01 +02:00
Bart van den Eijnden 5d5deee517 Update src/ol/control/ScaleLine.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-04-01 13:48:55 +02:00
Bart van den Eijnden aff459bc02 Add optional maxWidth for ScaleLine control 2022-04-01 13:26:18 +02:00
Tomas Burleigh d524d46969 WebGLPointsLayer wrapX support - partially addressing #11131
WebGLPointsLayer renderFrame and renderHitDetection will now draw
multiple worlds if the source and projection support wrapX.

Hit detection needs additional improvement. It stops working after
more than one wrap around the world. If 0 is the middle world, then
the hit detection works for worlds -1, 0, and -1, but not for worlds
> 2 or < -2.

The example has hit detection enabled, demonstrated with a colour
change on hover for the circle styles. When moving the mouse, the hit
detection is unreliable and flickers on/off. This needs improvement.

The webgl-points renderer test has been updated.
2022-04-01 13:35:13 +13:00
Tim Schaub 10fb55b9e6 Merge pull request #13521 from mike-000/gutter
Include tile gutter in offsets for getData() methods
2022-03-30 08:29:04 -06:00
mike-000 d2da88a3fd test gutter 2022-03-30 13:02:21 +01:00
mike-000 ea30a59bfe discard tainted pixelContext 2022-03-30 13:02:20 +01:00
Andreas Hocevar 432870362b Merge pull request #13514 from openlayers/dependabot/npm_and_yarn/typescript-4.6.3
Bump typescript from 4.6.2 to 4.6.3
2022-03-29 20:02:25 +02:00
Andreas Hocevar c60ba105ed Merge pull request #13513 from openlayers/dependabot/npm_and_yarn/babel-loader-8.2.4
Bump babel-loader from 8.2.3 to 8.2.4
2022-03-29 20:01:56 +02:00
Andreas Hocevar afeb6fecdf Merge pull request #13515 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.0.3
Bump @rollup/plugin-commonjs from 21.0.2 to 21.0.3
2022-03-29 20:01:22 +02:00
Andreas Hocevar 9386fbb795 Merge pull request #13512 from openlayers/dependabot/npm_and_yarn/serve-static-1.15.0
Bump serve-static from 1.14.2 to 1.15.0
2022-03-29 20:00:09 +02:00
mike-000 243ba189b7 include gutter in offsets 2022-03-29 13:22:10 +01:00
Andreas Hocevar 14651563b4 Merge pull request #13517 from openlayers/dependabot/npm_and_yarn/geotiff-2.0.5
Bump geotiff from 2.0.4 to 2.0.5
2022-03-28 12:15:26 +02:00
dependabot[bot] fe539bc700 Bump geotiff from 2.0.4 to 2.0.5
Bumps [geotiff](https://github.com/geotiffjs/geotiff.js) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/geotiffjs/geotiff.js/releases)
- [Commits](https://github.com/geotiffjs/geotiff.js/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: geotiff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 10:02:21 +00:00
dependabot[bot] 99e251f6e2 Bump @rollup/plugin-commonjs from 21.0.2 to 21.0.3
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.0.2 to 21.0.3.
- [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-v21.0.3/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>
2022-03-28 10:01:34 +00:00
dependabot[bot] c517c83514 Bump typescript from 4.6.2 to 4.6.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.6.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.6.2...v4.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 10:01:22 +00:00
dependabot[bot] 47fd75c4b9 Bump babel-loader from 8.2.3 to 8.2.4
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.3 to 8.2.4.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.3...v8.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 10:01:09 +00:00
dependabot[bot] 5eb4eb394b Bump serve-static from 1.14.2 to 1.15.0
Bumps [serve-static](https://github.com/expressjs/serve-static) from 1.14.2 to 1.15.0.
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.14.2...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 10:00:55 +00:00
Tim Schaub a34e72e598 Merge pull request #13511 from openlayers/release-v6.14.1
Updates for the 6.14.1 release
2022-03-26 11:53:05 -06:00
Tim Schaub 421d486687 Develop on 6.14.2-dev 2022-03-26 11:47:39 -06:00
Tim Schaub 576ada8097 Updates for the 6.14.1 release 2022-03-26 11:44:23 -06:00
Tim Schaub cc0cc9d679 Merge pull request #13510 from openlayers/release-v6.14.0
Updates for the 6.14.0 release
2022-03-26 11:25:12 -06:00
Tim Schaub 1a5b1c6d48 Develop on 6.14.1-dev 2022-03-26 11:24:15 -06:00
Tim Schaub a715a71671 Updates for the 6.14.0 release 2022-03-26 11:00:18 -06:00
Tim Schaub d552b05487 Merge pull request #13509 from tschaub/multi-source-fix
Store rendered source on the layer instead of the layer state
2022-03-26 10:48:44 -06:00
Tim Schaub b8c04ee7c5 Store rendererd source on the layer instead of the layer state 2022-03-26 10:18:49 -06:00
Tim Schaub f7605f538a Merge pull request #13506 from mike-000/rename
Change imageSmoothing to interpolate in tests
2022-03-25 08:58:21 -06:00
mike-000 c4bf3f1e1a Change imageSmoothing to interpolate 2022-03-25 08:53:59 -06:00
Tim Schaub 26b5a76ccd Merge pull request #13505 from mike-000/float_linear-fallback
Fallback if `OES_texture_float_linear` is not supported
2022-03-25 08:52:00 -06:00
mike-000 30ec260c4a Fallback if OES_texture_float_linear not supported 2022-03-25 11:10:11 +00:00
Tim Schaub 396f8b43c2 Merge pull request #13501 from openlayers/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-03-24 07:15:20 -06:00
dependabot[bot] f5c21d2aea Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 04:39:22 +00:00
Tim Schaub 3600931f6e Merge pull request #13498 from openlayers/dependabot/npm_and_yarn/node-forge-1.3.0
Bump node-forge from 1.2.1 to 1.3.0
2022-03-23 22:14:17 -06:00
dependabot[bot] ca24b893e5 Bump node-forge from 1.2.1 to 1.3.0
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 06:38:35 +00:00
mike-000 c926980339 Include mpu in point resolution calculations 2022-03-22 15:26:44 +00:00
Tim Schaub 7f12698a91 Merge pull request #13493 from openlayers/dependabot/npm_and_yarn/yargs-17.4.0
Bump yargs from 17.3.1 to 17.4.0
2022-03-21 09:46:49 -06:00
Tim Schaub 2c0c217186 Merge pull request #13494 from openlayers/dependabot/npm_and_yarn/babel/core-7.17.8
Bump @babel/core from 7.17.5 to 7.17.8
2022-03-21 09:46:24 -06:00
dependabot[bot] d7d9b9195c Bump @babel/core from 7.17.5 to 7.17.8
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.5 to 7.17.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.17.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>
2022-03-21 10:01:31 +00:00
dependabot[bot] 5da681f019 Bump yargs from 17.3.1 to 17.4.0
Bumps [yargs](https://github.com/yargs/yargs) from 17.3.1 to 17.4.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.3.1...v17.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 10:01:08 +00:00
Tim Schaub 2a6bbdb1ad Merge pull request #13492 from tschaub/bad-metal
Workaround for Safari WebGL issue
2022-03-20 15:48:20 -06:00
Tim Schaub d7cb12a016 Workaround for https://bugs.webkit.org/show_bug.cgi?id=237906 2022-03-20 10:53:10 -06:00
Andreas Hocevar e10b7470a6 Merge pull request #13490 from ahocevar/separate-geometry-and-extent
Separate geometry and extent parsing
2022-03-19 16:40:17 +01:00
Andreas Hocevar c21f441fb3 Merge pull request #13491 from ahocevar/map-loadstart-loadend
Add loadstart and loadend map events
2022-03-19 16:39:32 +01:00
Andreas Hocevar 1de3ce7e19 Simplify tile and image load events examples 2022-03-19 10:50:04 +01:00
Andreas Hocevar 26e6bf505c Add loading spinner example 2022-03-19 10:50:04 +01:00
Andreas Hocevar bf9472ac57 Add loadstart and loadend map events 2022-03-19 10:32:22 +01:00
Andreas Hocevar e0b62016d2 Separate geometry and extent parsing 2022-03-18 19:37:01 +01:00
Andreas Hocevar 0ee9c8f4ab Merge pull request #13482 from ahocevar/webgl-compose-events
Add documentation for precompose and postcopose to ol/layer/WebGLTile
2022-03-18 08:53:41 +01:00
Andreas Hocevar d815c93bcf Add documentation for precompose and postcopose to ol/layer/WebGLTile 2022-03-14 22:10:13 +01:00
Andreas Hocevar 2f21352f88 Merge pull request #13472 from openlayers/dependabot/npm_and_yarn/puppeteer-13.5.1
Bump puppeteer from 13.4.1 to 13.5.1
2022-03-14 12:21:17 +01:00
Andreas Hocevar f20edf3b62 Merge pull request #13474 from openlayers/dependabot/npm_and_yarn/karma-chrome-launcher-3.1.1
Bump karma-chrome-launcher from 3.1.0 to 3.1.1
2022-03-14 12:20:53 +01:00
Andreas Hocevar 20875b9964 Merge pull request #13475 from openlayers/dependabot/npm_and_yarn/mocha-9.2.2
Bump mocha from 9.2.1 to 9.2.2
2022-03-14 12:18:32 +01:00
Andreas Hocevar 4f390f232c Merge pull request #13476 from openlayers/dependabot/npm_and_yarn/proj4-2.8.0
Bump proj4 from 2.7.5 to 2.8.0
2022-03-14 12:17:58 +01:00
Andreas Hocevar e157d43921 Merge pull request #13477 from openlayers/dependabot/npm_and_yarn/rollup-2.70.1
Bump rollup from 2.70.0 to 2.70.1
2022-03-14 12:17:24 +01:00
Andreas Hocevar 610858df83 Merge pull request #13473 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-7.1.0
Bump ol-mapbox-style from 7.0.0 to 7.1.0
2022-03-14 12:08:35 +01:00
dependabot[bot] 39d167b0cf Bump ol-mapbox-style from 7.0.0 to 7.1.1
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 12:03:39 +01:00
dependabot[bot] 7d9cf524f8 Bump rollup from 2.70.0 to 2.70.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.70.0 to 2.70.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.70.0...v2.70.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 10:02:12 +00:00
dependabot[bot] 9da16a2814 Bump proj4 from 2.7.5 to 2.8.0
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.7.5 to 2.8.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.7.5...2.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 10:01:47 +00:00
dependabot[bot] a55492404e Bump mocha from 9.2.1 to 9.2.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.1 to 9.2.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.2.1...v9.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 10:01:34 +00:00
dependabot[bot] 3398ce194d Bump karma-chrome-launcher from 3.1.0 to 3.1.1
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v3.1.0...v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 10:01:21 +00:00
dependabot[bot] 70733805a1 Bump puppeteer from 13.4.1 to 13.5.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.4.1 to 13.5.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/v13.4.1...v13.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 10:00:57 +00:00
Andreas Hocevar 2ccd95dfbd Merge pull request #13469 from ahocevar/fix-legacy-build
Fix legacy build
2022-03-13 10:34:17 +01:00
Andreas Hocevar 07761e96a3 Fix legacy build 2022-03-12 19:52:17 +01:00
Tim Schaub 182fbdeb07 Merge pull request #13466 from rycgar/main
Fix Text#setText jsDoc
2022-03-11 13:01:36 -07:00
Denis f3208a2331 Fix Text#setText jsDoc 2022-03-11 20:36:09 +01:00
Andreas Hocevar 373cf81fc0 Merge pull request #13464 from ahocevar/projection-warning
Do not warn about coordinates when view projection is configured
2022-03-10 20:13:33 +01:00
Andreas Hocevar 6f8f2cd666 Merge pull request #13463 from ahocevar/reset-empty-image
Reset image when empty
2022-03-10 20:13:04 +01:00
Andreas Hocevar 5c7b9124cc Do not warn about coordinates when view projection is configured 2022-03-10 16:52:49 +01:00
Andreas Hocevar 46ddbd7e0e Reset image when empty 2022-03-10 16:27:24 +01:00
Andreas Hocevar 7d9cf83efe Merge pull request #13460 from ahocevar/revert-13398
Revert image transition regression
2022-03-10 08:37:51 +01:00
Andreas Hocevar 2d63e29e04 Revert "Merge pull request #13398 from yonda-yonda/update_static_image_change_projection"
This reverts commit 1f8338d3b8, reversing
changes made to 10eb834337.
2022-03-09 14:43:50 +01:00
MoonE 05d7cd62b7 Merge pull request #13455 from MoonE/snap-load
Improve Snap interaction performance
2022-03-08 01:16:16 +01:00
Maximilian Krög 3b637a7939 Improve input form on snap example
Put the geometry type select input next to the 'draw' radio and select this
whenever the geometry type is changed.
2022-03-07 19:54:43 +01:00
Maximilian Krög bcebd73388 Improve performance when adding features to Snap 2022-03-07 19:54:43 +01:00
Maximilian Krög 444763f47b Set correct extent for multipoint points in Snap 2022-03-07 19:54:40 +01:00
MoonE b50b9bd887 Merge pull request #13446 from T-MAPY/interaction-snap-bug-13440
Snap Interaction can snap to Point on line segment
2022-03-07 19:30:13 +01:00
Tim Schaub f064a19717 Merge pull request #13449 from openlayers/dependabot/npm_and_yarn/rollup-2.70.0
Bump rollup from 2.69.0 to 2.70.0
2022-03-07 06:57:49 -07:00
Tim Schaub f7b5b314cb Merge pull request #13450 from openlayers/dependabot/npm_and_yarn/webpack-5.70.0
Bump webpack from 5.69.1 to 5.70.0
2022-03-07 06:56:49 -07:00
dependabot[bot] b85c6d17e8 Bump rollup from 2.69.0 to 2.70.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.69.0 to 2.70.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.69.0...v2.70.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 13:51:37 +00:00
dependabot[bot] dcdc445c5d Bump webpack from 5.69.1 to 5.70.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.69.1 to 5.70.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.69.1...v5.70.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 13:50:56 +00:00
Tim Schaub b1e92ba97e Merge pull request #13451 from openlayers/dependabot/npm_and_yarn/puppeteer-13.4.1
Bump puppeteer from 13.4.0 to 13.4.1
2022-03-07 06:50:36 -07:00
Tim Schaub c638709c18 Merge pull request #13452 from openlayers/dependabot/npm_and_yarn/karma-6.3.17
Bump karma from 6.3.16 to 6.3.17
2022-03-07 06:50:06 -07:00
Tim Schaub 9c74ee85e5 Merge pull request #13453 from openlayers/dependabot/npm_and_yarn/typescript-4.6.2
Bump typescript from 4.6.0-beta to 4.6.2
2022-03-07 06:49:37 -07:00
dependabot[bot] c7634aa00e Bump typescript from 4.6.0-beta to 4.6.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.0-beta to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits/v4.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 10:02:29 +00:00
dependabot[bot] 7f93140711 Bump karma from 6.3.16 to 6.3.17
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.16 to 6.3.17.
- [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.16...v6.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 10:02:15 +00:00
dependabot[bot] 6067048495 Bump puppeteer from 13.4.0 to 13.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.4.0 to 13.4.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/v13.4.0...v13.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 10:01:47 +00:00
Maximilian Krög 49acb39f72 Return null when not snapped 2022-03-07 08:57:31 +01:00
pala e47bd0bb93 Snap Interaction can snap to Point on line segment
Fixes #13440
2022-03-07 08:57:31 +01:00
Maximilian Krög 8b5b5db00f Add test for snap to vertex placed on line 2022-03-07 08:57:31 +01:00
MoonE e42555af6e Merge pull request #13447 from MoonE/fullscreen-uninitialized
Initialize variable before use in FullScreen control
2022-03-05 22:19:56 +01:00
Maximilian Krög 1ae1ff26a0 Initialize variable before use in FullScreen control
isInFullscreen_ was not initialized in the constructor when setClassName_
is called.

- Only remove the unnecessary classes when state changes instead of removing
  all and then adding the necessary classes again
2022-03-04 20:08:02 +01:00
Andreas Hocevar 5c1729932d Merge pull request #13444 from themoffster/fullscreen-classname
Ensure FullScreen button has classname set on render.
2022-03-04 13:24:39 +01:00
Alan Moffat 87d87a155a Ensure FullScreen button has classname set on render.
When the FullScreen icon is first rendered, the button within it is not having the inactive classname set. The class name is set on toggling fullscreen on/off - just not being set on render.
2022-03-04 11:13:02 +00:00
Tim Schaub 0c23e17e13 Merge pull request #13427 from openlayers/dependabot/npm_and_yarn/puppeteer-13.4.0
Bump puppeteer from 13.3.2 to 13.4.0
2022-03-03 05:24:01 -07:00
Tim Schaub 7a78f11f3f Merge pull request #13429 from openlayers/dependabot/npm_and_yarn/fs-extra-10.0.1
Bump fs-extra from 10.0.0 to 10.0.1
2022-03-03 05:23:20 -07:00
Tim Schaub 9850839229 Merge pull request #13430 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.0.2
Bump @rollup/plugin-commonjs from 21.0.1 to 21.0.2
2022-03-03 05:22:39 -07:00
Tim Schaub 8615d352c7 Merge pull request #13442 from openlayers/dependabot/npm_and_yarn/rollup-2.69.0
Bump rollup from 2.67.3 to 2.69.0
2022-03-03 05:21:34 -07:00
dependabot[bot] db20d33557 Bump rollup from 2.67.3 to 2.69.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.67.3 to 2.69.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.67.3...v2.69.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 12:16:54 +00:00
Tim Schaub 75b5f60c76 Merge pull request #13426 from openlayers/dependabot/npm_and_yarn/rollup/plugin-babel-5.3.1
Bump @rollup/plugin-babel from 5.3.0 to 5.3.1
2022-03-03 05:15:52 -07:00
Andreas Hocevar d38f08b41c Merge pull request #13437 from EvertEt/fix/13436
Guard PluggableMap against null renderer
2022-03-02 13:35:02 +01:00
EvertEt 17033e162d Guard PluggableMap against null renderer 2022-03-02 12:24:24 +01:00
Andreas Hocevar 4eb2acfbbb Merge pull request #13434 from M393/rendercomplete-invisible-webglpoints
Fix rendercomplete with invisible WebGLPoints layer
2022-03-02 11:51:29 +01:00
Maximilian Kroeg c5edb50557 Fix rendercomplete event with invisible WebGLPoints layer 2022-03-02 11:03:42 +01:00
Maximilian Kroeg 28b6026bc4 Test rendercomplete works with invisible layers 2022-03-02 11:03:42 +01:00
Andreas Hocevar e31f241b99 Merge pull request #13424 from ahocevar/layer-without-renderer
Handle layers without renderer properly
2022-03-02 09:57:42 +01:00
dependabot[bot] d92953d242 Bump @rollup/plugin-commonjs from 21.0.1 to 21.0.2
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.0.1 to 21.0.2.
- [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-v21.0.2/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>
2022-02-28 10:02:02 +00:00
dependabot[bot] 2f371d11c0 Bump fs-extra from 10.0.0 to 10.0.1
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 10.0.0 to 10.0.1.
- [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/10.0.0...10.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 10:01:46 +00:00
dependabot[bot] c3a8890de5 Bump puppeteer from 13.3.2 to 13.4.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.2 to 13.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v13.3.2...v13.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 10:01:10 +00:00
dependabot[bot] 184b658a2e Bump @rollup/plugin-babel from 5.3.0 to 5.3.1
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins/tree/HEAD/packages/babel) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/babel/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/babel-v5.3.1/packages/babel)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 10:00:56 +00:00
Andreas Hocevar 20e352111c Handle layers without renderer properly 2022-02-28 07:36:34 +01:00
Andreas Hocevar b5a30f945c Merge pull request #13421 from openlayers/release-v6.13.0
Updates for the 6.13.0 release
2022-02-27 17:48:14 +01:00
Andreas Hocevar bb7b52e468 Develop on 6.13.1-dev 2022-02-27 17:42:08 +01:00
Andreas Hocevar 7bf014f747 Updates for the 6.13.0 release 2022-02-27 17:35:57 +01:00
Andreas Hocevar b15318b6bb Merge pull request #13418 from ahocevar/ol-mapbox-style-rich-text
Update ol-mapbox-style for rich text labels support
2022-02-27 16:36:40 +01:00
Andreas Hocevar 49b5ad6eb9 Update ol-mapbox-style for rich text labels support 2022-02-27 16:31:15 +01:00
Andreas Hocevar 8672e7e97c Merge pull request #13417 from ahocevar/geotiff-resolution-tolerance
Increase GeoTIFF resolutions tolerance
2022-02-27 16:05:35 +01:00
Andreas Hocevar a1aff21661 Merge pull request #13415 from mike-000/graticule
Check for graticule resolution change and fix unrotated size
2022-02-24 18:18:08 +01:00
Andreas Hocevar 7b880b27d1 Increase GeoTIFF resolutions tolerance 2022-02-24 17:47:21 +01:00
mike-000 69f8a824ec Check for resolution change and fix unrotated size
Calculate unrotated width and height from frame size and resolution
Check for changes in resolution as well as extent when rendered extent fits inside frame
2022-02-24 10:53:32 +00:00
Andreas Hocevar 28c1874241 Merge pull request #13410 from ahocevar/rich-text-labels
Rich text labels
2022-02-23 17:42:09 +01:00
Andreas Hocevar 18f06b8b9a Rich text labels 2022-02-23 12:36:56 +01:00
Tim Schaub 96a90fb14e Merge pull request #13402 from openlayers/dependabot/npm_and_yarn/express-4.17.3
Bump express from 4.17.2 to 4.17.3
2022-02-21 19:22:31 -08:00
Tim Schaub 88624b0737 Merge pull request #13401 from openlayers/dependabot/npm_and_yarn/puppeteer-13.3.2
Bump puppeteer from 13.3.1 to 13.3.2
2022-02-21 19:17:08 -08:00
dependabot[bot] 799bf7b92a Bump express from 4.17.2 to 4.17.3
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.2...4.17.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 03:16:41 +00:00
Tim Schaub bf175f1fdb Merge pull request #13403 from openlayers/dependabot/npm_and_yarn/mocha-9.2.1
Bump mocha from 9.2.0 to 9.2.1
2022-02-21 19:15:48 -08:00
Tim Schaub 839ec1f411 Merge pull request #13404 from openlayers/dependabot/npm_and_yarn/webpack-5.69.1
Bump webpack from 5.68.0 to 5.69.1
2022-02-21 19:15:18 -08:00
Tim Schaub ec07cfc2d9 Merge pull request #13406 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.9.0
Bump ol-mapbox-style from 6.8.3 to 6.9.0
2022-02-21 19:14:15 -08:00
Tim Schaub 7be8173206 Merge pull request #13405 from openlayers/dependabot/npm_and_yarn/rollup-2.67.3
Bump rollup from 2.67.1 to 2.67.3
2022-02-21 19:13:26 -08:00
Tim Schaub 31497aa084 Merge pull request #13407 from openlayers/dependabot/npm_and_yarn/babel/core-7.17.5
Bump @babel/core from 7.17.2 to 7.17.5
2022-02-21 19:12:50 -08:00
dependabot[bot] 6866d4fcee Bump @babel/core from 7.17.2 to 7.17.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.2 to 7.17.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.17.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>
2022-02-21 10:02:26 +00:00
dependabot[bot] bae18ca78a Bump ol-mapbox-style from 6.8.3 to 6.9.0
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.8.3 to 6.9.0.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.8.3...v6.9.0)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 10:02:08 +00:00
dependabot[bot] 66ec79bb90 Bump rollup from 2.67.1 to 2.67.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.67.1 to 2.67.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.67.1...v2.67.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 10:01:54 +00:00
dependabot[bot] b5fe4932bb Bump webpack from 5.68.0 to 5.69.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.68.0 to 5.69.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.68.0...v5.69.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 10:01:43 +00:00
dependabot[bot] 98eaae7797 Bump mocha from 9.2.0 to 9.2.1
Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.0 to 9.2.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.2.0...v9.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 10:01:29 +00:00
dependabot[bot] 89e355e136 Bump puppeteer from 13.3.1 to 13.3.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.1 to 13.3.2.
- [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/v13.3.1...v13.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 10:01:03 +00:00
Andreas Hocevar 1f8338d3b8 Merge pull request #13398 from yonda-yonda/update_static_image_change_projection
Clear image when source's image is not ready
2022-02-21 08:42:16 +01:00
yonda-yonda a631e7ba68 clear image when source status is EMPTY. 2022-02-20 00:26:31 +09:00
MoonE 10eb834337 Merge pull request #13393 from MoonE/view-fixes
Fix setting View resolution or center to undefined
2022-02-19 13:55:08 +01:00
Maximilian Krög 5a49410d82 Center should remain valid when resolution is not set 2022-02-18 00:55:34 +01:00
Maximilian Krög ab786cff73 Test setting resolution to undefined 2022-02-18 00:52:40 +01:00
Maximilian Krög 19c034fd12 Fix setting center to undefined
It only worked when the coordinate warning was shown, but
fromUserCoordinate shouldn't have been called with undefined in
the first place.
2022-02-18 00:06:56 +01:00
MoonE 57e9a4d1a8 Merge pull request #13390 from MoonE/icon-clone
Fix clone of icon loses imgSize when cache is full
2022-02-17 20:04:32 +01:00
Andreas Hocevar 02b40a7036 Merge pull request #13392 from ahocevar/vectortile-clipping
Use same clipping method for vector and image tiles
2022-02-17 19:07:29 +01:00
Andreas Hocevar b7d022f80e Use same clipping method for vector and image tiles 2022-02-17 18:12:19 +01:00
Andreas Hocevar 004abcc8a6 Merge pull request #13391 from ahocevar/no-clipping
Less clipping of target resolution tiles
2022-02-17 16:19:00 +01:00
Andreas Hocevar 3b4a2d5966 Remove unused clip code 2022-02-17 15:49:21 +01:00
Andreas Hocevar c9ff07a695 Reduce the number of clip operations 2022-02-17 15:18:23 +01:00
Maximilian Krög ab5e4f8838 Fix cloning of Icon style when IconImage is not cached 2022-02-17 00:58:35 +01:00
Maximilian Krög c74d0a8957 Test cloning IconImage without cache 2022-02-17 00:58:35 +01:00
MoonE f99c43db4d Merge pull request #13385 from MoonE/jsdoc-references-2
Change remaining links to point to class page instead of module
2022-02-15 19:14:00 +01:00
Andreas Hocevar 76ef4f27d7 Merge pull request #13383 from ahocevar/user-projection
User projection API
2022-02-15 09:30:50 +01:00
Andreas Hocevar 4f614bc81f Remove experimental category from geographic examples 2022-02-15 08:50:29 +01:00
Andreas Hocevar 63fc00902f Warn once when suspicious coordinate are used 2022-02-15 08:50:05 +01:00
Maximilian Krög f236ff0086 Lower case first letter for function parameter 2022-02-14 22:04:26 +01:00
Maximilian Krög 5788ce51a5 Fix one more link to a class page 2022-02-14 21:53:47 +01:00
Maximilian Krög b29ab8f104 Link to class instead of module pages 2022-02-14 21:53:07 +01:00
Andreas Hocevar 924686ef71 Merge pull request #13381 from openlayers/dependabot/npm_and_yarn/babel/core-7.17.2
Bump @babel/core from 7.17.0 to 7.17.2
2022-02-14 19:22:21 +01:00
Andreas Hocevar 0755fbfd86 Merge pull request #13379 from openlayers/dependabot/npm_and_yarn/karma-6.3.16
Bump karma from 6.3.15 to 6.3.16
2022-02-14 19:21:50 +01:00
Andreas Hocevar 090986d7cc Merge pull request #13377 from openlayers/dependabot/npm_and_yarn/eslint-8.9.0
Bump eslint from 8.8.0 to 8.9.0
2022-02-14 19:19:45 +01:00
Andreas Hocevar e9b11fde4d Merge pull request #13376 from openlayers/dependabot/npm_and_yarn/puppeteer-13.3.1
Bump puppeteer from 13.1.3 to 13.3.1
2022-02-14 19:19:09 +01:00
Andreas Hocevar 75a3adccce Add useGeographic() and setUserProjection() to the API 2022-02-14 14:09:49 +01:00
Andreas Hocevar c7d7ca26ff Merge pull request #13382 from seravifer/main
Fix wrong types when using `"skipLibCheck": false`
2022-02-14 13:45:42 +01:00
Sergi Ávila f9bc546e1e Fix type on GeoJSON 2022-02-14 12:50:06 +01:00
Sergi Ávila 7e1bbd1c6d Fix type on Circle, return null coordinates 2022-02-14 12:49:19 +01:00
Sergi Ávila 087090c07d Fix wrong array generic type 2022-02-14 12:46:18 +01:00
dependabot[bot] 8d01de21fc Bump @babel/core from 7.17.0 to 7.17.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.17.0 to 7.17.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.17.2/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 10:02:25 +00:00
dependabot[bot] 4feda836f5 Bump karma from 6.3.15 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.15 to 6.3.16.
- [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.15...v6.3.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 10:01:49 +00:00
dependabot[bot] 33b62230b5 Bump eslint from 8.8.0 to 8.9.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.8.0 to 8.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.8.0...v8.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 10:01:19 +00:00
dependabot[bot] 8b28ebbb5e Bump puppeteer from 13.1.3 to 13.3.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.1.3 to 13.3.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/v13.1.3...v13.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 10:01:07 +00:00
MoonE 50c144cea2 Merge pull request #13374 from MoonE/jsdoc-references
Fix JsDoc references
2022-02-13 19:05:39 +01:00
Maximilian Krög 300cf6c2bb Replce description for WebGLHelper.DefaultAttrib 2022-02-13 15:53:18 +01:00
Maximilian Krög b9f9280260 Use code formatting for argument names in jsdoc 2022-02-13 13:39:10 +01:00
Maximilian Krög a0dd0054a9 Fix jsdoc references 2022-02-13 13:39:06 +01:00
MoonE 1abd9951d2 Merge pull request #13373 from MoonE/vector-source-is-empty
Fix VectorSource isEmpty without spatial index
2022-02-13 13:34:43 +01:00
Maximilian Krög e2c9f62cc6 Fix VectorSource isEmpty without spatial index 2022-02-13 00:08:24 +01:00
Maximilian Krög 9bfb0c1b9d Test VectorSource isEmtpty without spatial index 2022-02-13 00:06:26 +01:00
Tim Schaub 7668f4f827 Merge pull request #13372 from openlayers/dependabot/npm_and_yarn/follow-redirects-1.14.8
Bump follow-redirects from 1.14.7 to 1.14.8
2022-02-12 12:13:40 -07:00
dependabot[bot] 5508b2dfd3 Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 18:53:16 +00:00
Andreas Hocevar 0353f25257 Merge pull request #13371 from ahocevar/vectorimage
Document difference between Vector and VectorImage layers
2022-02-12 17:48:17 +01:00
Andreas Hocevar 53239f7b1e Document difference between Vector and VectorImage layers 2022-02-12 12:57:19 +01:00
MoonE b5fe0f5b86 Merge pull request #12998 from MoonE/fix-cluster-setSource-type
Fix `ol/source/Cluster#setSource` type annotation
2022-02-11 22:38:47 +01:00
Tim Schaub 437b2a0fc2 Merge pull request #13357 from tschaub/preload
Preload tiles for WebGL tile layers
2022-02-10 14:36:31 -07:00
MoonE c08f54b5d3 Merge pull request #13358 from MoonE/dispatch-events
Avoid event creation when there are no listeners
2022-02-10 20:54:09 +01:00
Tim Schaub 49fc16ef35 Merge pull request #13363 from mike-000/floor-round-ceil
Add floor, round and ceil to style expressions
2022-02-10 11:46:28 -07:00
mike-000 57db9a6a12 Add floor, round and ceil 2022-02-10 15:37:45 +00:00
Tim Schaub b120f1d147 Merge pull request #13361 from mike-000/RasterSource-WebGL
Support WebGL layers in ol/source/Raster
2022-02-10 08:02:11 -07:00
mike-000 44136af99d test with interpolated WebGL layer 2022-02-10 12:29:36 +00:00
mike-000 bf199bbe38 handle WebGL layers 2022-02-10 11:40:44 +00:00
Maximilian Krög ac0b8ff4a4 Add hasListener check around dispatchEvent calls 2022-02-09 22:27:42 +01:00
Maximilian Krög d35d1cc8ad Avoid creating event object when nobody is listening 2022-02-09 22:27:36 +01:00
Tim Schaub 6f005e1f30 Preload tiles for WebGL tile layers 2022-02-09 14:01:14 -07:00
Tim Schaub 96de98bfbb Merge pull request #13301 from EvertEt/strictnullchecks-2
Improve some null types to prepare for strictNullChecks
2022-02-09 04:51:54 -07:00
Andreas Hocevar 2144422397 Merge pull request #13351 from Amirh0sseinHZ/reset-global-alpha-to-initial-after-mutating-it-for-printing
Reset globalAlpha back to its initial after mutating it for drawing layers
2022-02-09 11:03:33 +01:00
Andreas Hocevar cf0eb2bc1a Merge pull request #13352 from Amirh0sseinHZ/remove-unnecessary-word-from-developing-md
Removing an unnecessary word from DEVELOPING.md
2022-02-09 11:02:18 +01:00
Amir df7d6c3794 Removing an unnecessary word from the guide 2022-02-09 10:16:20 +02:00
Tim Schaub 2526a04f2a Merge pull request #13338 from tschaub/get-layer-data
Get pixel data
2022-02-08 20:46:18 -07:00
Tim Schaub 093f64c07d Deprecate map.forEachLayerAtPixel() 2022-02-08 18:30:45 -07:00
Amir 1acf62b6e6 Reset globalAlpha back to its initial after mutating it for drawing layers 2022-02-09 01:50:00 +02:00
MoonE ce3b59b963 Merge pull request #13350 from MoonE/fix-type-annotation-no-comment
Remove warning for `@type` annotation by jsdoc
2022-02-09 00:38:36 +01:00
Maximilian Krög 725729344c Remove warning for @type annotation by jsdoc 2022-02-08 21:38:41 +01:00
Maximilian Krög 9f8f7afaaa Fix ol/source/Cluster#setSource type annotation 2022-02-08 21:11:23 +01:00
Tim Schaub 97a1c196cc Merge pull request #13334 from EvertEt/strictnullchecks-4
Improve some null types for strictNullChecks
2022-02-08 10:32:32 -07:00
Tim Schaub bd86639351 Keep track of when a layer is unrendered 2022-02-08 10:23:55 -07:00
Tim Schaub eb4d5e0784 Get pixel data 2022-02-07 18:35:47 -07:00
MoonE cd45663996 Merge pull request #13336 from MoonE/dispose-webgl
Dispose of webgl contexts
2022-02-07 22:38:36 +01:00
MoonE 27a5103f3f Merge pull request #13337 from MoonE/fix-rendering-test
Fix error when accessing ready property of renderer
2022-02-07 22:38:05 +01:00
Tim Schaub d9a11195e0 Merge pull request #13269 from mike-000/TileTexture-tilePixelRatio-gutter
Pass tilePixelRatio and gutter to TileTexture
2022-02-07 13:45:22 -07:00
Andreas Hocevar ec1eec829c Merge pull request #13328 from EvertEt/strictnullchecks-3
Improve some nullable map types
2022-02-07 21:12:08 +01:00
Tim Schaub 67318d3dd1 Merge pull request #13339 from openlayers/dependabot/npm_and_yarn/geotiff-2.0.4
Bump geotiff from 2.0.3 to 2.0.4
2022-02-07 07:19:36 -07:00
Tim Schaub b921577a00 Merge pull request #13340 from openlayers/dependabot/npm_and_yarn/globby-13.1.1
Bump globby from 13.1.0 to 13.1.1
2022-02-07 07:18:39 -07:00
Tim Schaub 109eb98c11 Merge pull request #13342 from openlayers/dependabot/npm_and_yarn/rollup-2.67.1
Bump rollup from 2.66.1 to 2.67.1
2022-02-07 07:18:09 -07:00
Tim Schaub c37ff91608 Merge pull request #13343 from openlayers/dependabot/npm_and_yarn/babel/core-7.17.0
Bump @babel/core from 7.16.12 to 7.17.0
2022-02-07 07:17:17 -07:00
Tim Schaub 8ab132a46c Merge pull request #13344 from openlayers/dependabot/npm_and_yarn/karma-6.3.15
Bump karma from 6.3.12 to 6.3.15
2022-02-07 07:16:20 -07:00
Tim Schaub ce388c6c30 Merge pull request #13345 from openlayers/dependabot/npm_and_yarn/webpack-5.68.0
Bump webpack from 5.67.0 to 5.68.0
2022-02-07 07:15:33 -07:00
Tim Schaub b935979bcb Merge pull request #13346 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.7.4
Bump webpack-dev-server from 4.7.3 to 4.7.4
2022-02-07 07:14:48 -07:00
Tim Schaub 859f3d19b8 Merge pull request #13348 from openlayers/dependabot/npm_and_yarn/sinon-13.0.1
Bump sinon from 13.0.0 to 13.0.1
2022-02-07 07:13:57 -07:00
dependabot[bot] cf22ae7d4e Bump sinon from 13.0.0 to 13.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 13.0.0 to 13.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v13.0.0...v13.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:03:09 +00:00
dependabot[bot] 1dd6d2ebf9 Bump webpack-dev-server from 4.7.3 to 4.7.4
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.7.3 to 4.7.4.
- [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.7.3...v4.7.4)

---
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>
2022-02-07 10:02:38 +00:00
dependabot[bot] 74eba20e9d Bump webpack from 5.67.0 to 5.68.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.67.0 to 5.68.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.67.0...v5.68.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:02:26 +00:00
dependabot[bot] 5dac75b379 Bump karma from 6.3.12 to 6.3.15
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.12 to 6.3.15.
- [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.12...v6.3.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:02:08 +00:00
dependabot[bot] 26917f5856 Bump @babel/core from 7.16.12 to 7.17.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.12 to 7.17.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.17.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>
2022-02-07 10:01:58 +00:00
dependabot[bot] 98555f641e Bump rollup from 2.66.1 to 2.67.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.66.1 to 2.67.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.66.1...v2.67.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:01:38 +00:00
dependabot[bot] 6ccb66cfdc Bump globby from 13.1.0 to 13.1.1
Bumps [globby](https://github.com/sindresorhus/globby) from 13.1.0 to 13.1.1.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v13.1.0...v13.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:01:09 +00:00
dependabot[bot] 624a58cfff Bump geotiff from 2.0.3 to 2.0.4
Bumps [geotiff](https://github.com/geotiffjs/geotiff.js) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/geotiffjs/geotiff.js/releases)
- [Commits](https://github.com/geotiffjs/geotiff.js/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: geotiff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 10:00:58 +00:00
EvertEt 7b6afcd1e9 Change map variables from undefined to null for consistency 2022-02-07 08:06:46 +01:00
Maximilian Krög eaa6146156 Fix error when accessing ready property of renderer 2022-02-07 00:26:53 +01:00
Maximilian Krög 700cdad1e2 Add missing dispose calls for webgl renderer tests 2022-02-07 00:17:32 +01:00
Maximilian Krög a86f0704f3 Fix error when disposing ol/renderer/webgl/TileLayer
- helper may not exist
- tileTextureCache not cleared when canvasCacheKey changes
2022-02-07 00:17:32 +01:00
Maximilian Krög a10872baa4 No need to update the style when no source is set 2022-02-07 00:17:29 +01:00
Tim Schaub 5fec74c089 Merge pull request #13333 from tschaub/limited-extent
Avoid rendering outside WebGL layer and source extent
2022-02-06 11:47:38 -07:00
EvertEt 25e1d6c5d6 Improve some null types for strictNullChecks 2022-02-06 19:36:30 +01:00
Tim Schaub adbbc05159 Avoid rendering outside WebGL layer and source extent 2022-02-05 21:02:22 -07:00
Tim Schaub 459cd51ae2 Quote 2022-02-05 20:58:09 -07:00
Tim Schaub a3a08d1412 Merge pull request #13332 from tschaub/duplicate-imports
Avoid duplicate imports
2022-02-05 15:19:35 -07:00
Tim Schaub ccc78d731d Allow duplicate imports in the legacy build 2022-02-05 15:01:36 -07:00
Tim Schaub f10ba5c1e3 Avoid duplicate imports 2022-02-05 11:46:26 -07:00
Andreas Hocevar cdd1537a41 Merge pull request #13294 from ahocevar/webglpoints-updatestylevariables
Add updateStyleVariables method to WebGLPoints layer
2022-02-05 01:32:47 +01:00
EvertEt 15de4bb5ab Improve some nullable map types
Closes #13326
2022-02-04 17:05:52 +01:00
Andreas Hocevar 770fcc870b Add updateStyleVariables method to WebGLPoints layer 2022-02-03 22:12:05 +01:00
Andreas Hocevar 5cfb634d89 Merge pull request #13323 from ahocevar/pointslayer-ready
Fix rendercomplete for WebGLPoints layer and subclasses
2022-02-03 22:01:24 +01:00
Maximilian Krög 93c08784af Only set renderer to ready when all messages are received 2022-02-02 22:54:16 +01:00
Maximilian Krög 613d083e46 Test points layer ready state 2022-02-02 22:54:16 +01:00
Andreas Hocevar 7c3c1ac354 Fix rendercomplete for WebGLPoints layer and subclasses 2022-02-01 17:13:37 +01:00
EvertEt e3d3d24f05 Improve some null types to prepare for strictNullChecks 2022-01-31 19:35:25 +01:00
Andreas Hocevar 10b97d3993 Merge pull request #13318 from openlayers/dependabot/npm_and_yarn/rollup-2.66.1
Bump rollup from 2.66.0 to 2.66.1
2022-01-31 13:24:50 +01:00
Andreas Hocevar 858a314000 Merge pull request #13314 from openlayers/dependabot/npm_and_yarn/karma-6.3.12
Bump karma from 6.3.11 to 6.3.12
2022-01-31 13:24:24 +01:00
Andreas Hocevar 0df65d59e2 Merge pull request #13319 from OSHistory/fixZIndexNotation
fix: fix casing for z-index
2022-01-31 13:23:49 +01:00
Andreas Hocevar 7e44b3e515 Merge pull request #13313 from openlayers/dependabot/npm_and_yarn/geotiff-2.0.3
Bump geotiff from 2.0.2 to 2.0.3
2022-01-31 13:23:24 +01:00
dependabot[bot] 57fd13fb1b Bump rollup from 2.66.0 to 2.66.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.66.0 to 2.66.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.66.0...v2.66.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 12:16:57 +00:00
Andreas Hocevar 5b53368296 Merge pull request #13317 from openlayers/dependabot/npm_and_yarn/puppeteer-13.1.3
Bump puppeteer from 13.1.1 to 13.1.3
2022-01-31 13:16:29 +01:00
Andreas Hocevar 4541746df2 Merge pull request #13316 from openlayers/dependabot/npm_and_yarn/sinon-13.0.0
Bump sinon from 12.0.1 to 13.0.0
2022-01-31 13:16:00 +01:00
Andreas Hocevar 528589b163 Update import 2022-01-31 13:14:59 +01:00
dependabot[bot] 58707a19c7 Bump karma from 6.3.11 to 6.3.12
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.11 to 6.3.12.
- [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.11...v6.3.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 12:14:29 +00:00
Andreas Hocevar 2d49a2feb8 Merge pull request #13312 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.10
Bump jsdoc from 3.6.9 to 3.6.10
2022-01-31 13:13:36 +01:00
Andreas Hocevar 6521aa74e1 Merge pull request #13311 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-10.2.4
Bump copy-webpack-plugin from 10.2.1 to 10.2.4
2022-01-31 13:12:34 +01:00
Andreas Hocevar 19c8b78ca9 Merge pull request #13310 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.5.2
Bump clean-css-cli from 5.5.0 to 5.5.2
2022-01-31 13:12:11 +01:00
OSHistory bce14074ae fix: fix casing for z-index
The CSS-property z-index had some faulty casings. Only occurs in src/ol/ol.css
2022-01-31 13:09:08 +01:00
Andreas Hocevar a72259257f Merge pull request #13309 from openlayers/dependabot/npm_and_yarn/eslint-8.8.0
Bump eslint from 8.7.0 to 8.8.0
2022-01-31 13:01:54 +01:00
Andreas Hocevar fead802107 Merge pull request #13305 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.9.2
Bump webpack-cli from 4.9.1 to 4.9.2
2022-01-31 13:01:34 +01:00
Andreas Hocevar 2a45536d0e Merge pull request #13308 from openlayers/dependabot/npm_and_yarn/globby-13.1.0
Bump globby from 13.0.0 to 13.1.0
2022-01-31 13:00:50 +01:00
dependabot[bot] c93c6424d0 Bump puppeteer from 13.1.1 to 13.1.3
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.1.1 to 13.1.3.
- [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/v13.1.1...v13.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 11:59:30 +00:00
Andreas Hocevar a4900a6d3b Merge pull request #13307 from openlayers/dependabot/npm_and_yarn/marked-4.0.12
Bump marked from 4.0.10 to 4.0.12
2022-01-31 12:58:55 +01:00
dependabot[bot] c7d11a1711 Bump webpack-cli from 4.9.1 to 4.9.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.1 to 4.9.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.9.1...webpack-cli@4.9.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>
2022-01-31 11:05:44 +00:00
dependabot[bot] 06e0439cfc Bump sinon from 12.0.1 to 13.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 12.0.1 to 13.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v12.0.1...v13.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 11:05:26 +00:00
Andreas Hocevar 711f176ea8 Merge pull request #13306 from openlayers/dependabot/npm_and_yarn/typescript-4.6.0-dev.20220131
Use exactly typescript@4.6.0-beta
2022-01-31 12:04:50 +01:00
Andreas Hocevar 14a555ab28 Use exactly typesript@4.6.0-beta 2022-01-31 11:54:48 +01:00
Frédéric Junod 530015516d Merge pull request #13315 from fredj/attribution_css_typo
Fix typo CSS class name for the expanded attributions button
2022-01-31 11:39:13 +01:00
Frederic Junod a008d5696b Fix typo CSS class name for the expanded attributions button
See #11403
2022-01-31 11:11:14 +01:00
dependabot[bot] 3fac4eab7e Bump geotiff from 2.0.2 to 2.0.3
Bumps [geotiff](https://github.com/geotiffjs/geotiff.js) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/geotiffjs/geotiff.js/releases)
- [Commits](https://github.com/geotiffjs/geotiff.js/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: geotiff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:03:11 +00:00
dependabot[bot] f0dfd75b82 Bump jsdoc from 3.6.9 to 3.6.10
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.9 to 3.6.10.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.10/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.9...3.6.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:02:59 +00:00
dependabot[bot] dc17c3750e Bump copy-webpack-plugin from 10.2.1 to 10.2.4
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.2.1 to 10.2.4.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v10.2.1...v10.2.4)

---
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>
2022-01-31 10:02:34 +00:00
dependabot[bot] f101c4d37f Bump clean-css-cli from 5.5.0 to 5.5.2
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.5.0 to 5.5.2.
- [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.5.0...v5.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:02:24 +00:00
dependabot[bot] a4f42b2fc8 Bump eslint from 8.7.0 to 8.8.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.7.0 to 8.8.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.7.0...v8.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:02:09 +00:00
dependabot[bot] 00eeefef9f Bump globby from 13.0.0 to 13.1.0
Bumps [globby](https://github.com/sindresorhus/globby) from 13.0.0 to 13.1.0.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v13.0.0...v13.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:01:54 +00:00
dependabot[bot] 02c8b1ad58 Bump marked from 4.0.10 to 4.0.12
Bumps [marked](https://github.com/markedjs/marked) from 4.0.10 to 4.0.12.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.10...v4.0.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:01:42 +00:00
dependabot[bot] d9a21dd497 Bump typescript from 4.6.0-beta to 4.6.0-dev.20220131
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.0-beta to 4.6.0-dev.20220131.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 10:01:26 +00:00
Andreas Hocevar 12f8bae261 Merge pull request #13299 from ahocevar/tile-types
Improve types for tile layers
2022-01-30 18:43:15 +01:00
Andreas Hocevar 89c8c909dc Merge pull request #13298 from ahocevar/webglpoints-assert-point
Document geometry type
2022-01-30 18:42:44 +01:00
MoonE b255e85be9 Merge pull request #13297 from MoonE/from-render-feature
Add function to convert RenderFeature to Feature
2022-01-30 13:53:47 +01:00
Andreas Hocevar c92e1ec9ab Improve types for tile layers 2022-01-30 09:10:29 +01:00
Andreas Hocevar 7819c180af Document point geometry type requirement 2022-01-30 08:22:09 +01:00
Maximilian Krög f0e768bb9a Remove case of MulitPolygon RenderFeature 2022-01-29 21:51:29 +01:00
Maximilian Krög 856f239280 Add function to convert RenderFeature to Feature 2022-01-29 17:52:07 +01:00
Maximilian Krög f2d65ba0ab Only set id if it is defined when creating feature 2022-01-29 16:06:01 +01:00
Andreas Hocevar 9e4d943239 Merge pull request #13292 from ahocevar/geotiff-2
Update to geotiff@2
2022-01-28 15:57:40 +01:00
Andreas Hocevar fd779c1311 Merge pull request #13293 from ahocevar/setstyle-reset-variables
Re-assign style variables on setStyle()
2022-01-28 15:53:34 +01:00
Andreas Hocevar 2c87fcb4f9 Merge pull request #13261 from XiaofengZeng/ToFixAPIDoc
add @api comment on getAllLayers method
2022-01-28 11:44:50 +01:00
Andreas Hocevar 11e12ef94e Re-assign variables on setStyle() 2022-01-28 07:48:21 +01:00
Andreas Hocevar 59600a0d68 Merge pull request #13290 from constantinius/geotiff-source-options
Allowing to pass additional options to the geotiff.js source
2022-01-28 07:44:35 +01:00
Andreas Hocevar b5c91b8f05 Update to geotiff@2 2022-01-27 22:31:51 +01:00
Fabian Schindler 441cce8dc7 Update src/ol/source/GeoTIFF.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-27 14:45:25 +01:00
Fabian Schindler aea62119b2 Update src/ol/source/GeoTIFF.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-27 14:44:59 +01:00
Andreas Hocevar a1454ce18f Merge pull request #13291 from ahocevar/generics
Defaults for generic types
2022-01-27 11:03:50 +01:00
Andreas Hocevar 94cc414ea2 Defaults for the Layer, Source and Feature generics 2022-01-26 22:40:27 +01:00
Andreas Hocevar 2e5c1f2af9 Updates for TypeScript v4.6.0-beta 2022-01-26 22:40:27 +01:00
Fabian Schindler 1b71d39292 Adding typedef to declare all possible options for
geotiff.js sources
2022-01-26 16:46:47 +01:00
Fabian Schindler f062b15bd5 Allowing to pass additional options to the
geotiff.js source
2022-01-25 21:52:27 +01:00
Andreas Hocevar deaa0ccc2a Merge pull request #13281 from openlayers/dependabot/npm_and_yarn/globby-13.0.0
Bump globby from 12.2.0 to 13.0.0
2022-01-24 17:51:53 +01:00
Andreas Hocevar c0bc6efb39 Merge pull request #13278 from openlayers/dependabot/npm_and_yarn/babel/core-7.16.12
Bump @babel/core from 7.16.7 to 7.16.12
2022-01-24 17:51:28 +01:00
Andreas Hocevar 7619dc3342 Merge pull request #13277 from openlayers/dependabot/npm_and_yarn/webpack-5.67.0
Bump webpack from 5.66.0 to 5.67.0
2022-01-24 17:44:53 +01:00
Andreas Hocevar c329c2bee6 Merge pull request #13280 from openlayers/dependabot/npm_and_yarn/puppeteer-13.1.1
Bump puppeteer from 13.0.1 to 13.1.1
2022-01-24 17:37:27 +01:00
Andreas Hocevar 9cae73ec45 Merge pull request #13279 from openlayers/dependabot/npm_and_yarn/rollup-2.66.0
Bump rollup from 2.64.0 to 2.66.0
2022-01-24 17:37:00 +01:00
dependabot[bot] e8b7125d86 Bump globby from 12.2.0 to 13.0.0
Bumps [globby](https://github.com/sindresorhus/globby) from 12.2.0 to 13.0.0.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v12.2.0...v13.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>
2022-01-24 16:36:53 +00:00
Andreas Hocevar 01d00aefb6 Merge pull request #13276 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.16.11
Bump @babel/preset-env from 7.16.8 to 7.16.11
2022-01-24 17:36:33 +01:00
dependabot[bot] a99a94b479 Bump webpack from 5.66.0 to 5.67.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.66.0 to 5.67.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.66.0...v5.67.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 16:36:20 +00:00
Andreas Hocevar 3453ccefe1 Merge pull request #13275 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-10.2.1
Bump copy-webpack-plugin from 10.2.0 to 10.2.1
2022-01-24 17:35:51 +01:00
Andreas Hocevar 0a88fe81a1 Merge pull request #13274 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.9
Bump jsdoc from 3.6.7 to 3.6.9
2022-01-24 17:35:24 +01:00
Andreas Hocevar ab65622273 Merge pull request #13273 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.8.3
Bump ol-mapbox-style from 6.8.2 to 6.8.3
2022-01-24 17:35:06 +01:00
Andreas Hocevar 40875e00c6 Merge pull request #13272 from openlayers/dependabot/npm_and_yarn/mocha-9.2.0
Bump mocha from 9.1.4 to 9.2.0
2022-01-24 17:34:40 +01:00
dependabot[bot] 6d241deabe Bump puppeteer from 13.0.1 to 13.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.1 to 13.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/v13.0.1...v13.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:03:08 +00:00
dependabot[bot] 3504635ecd Bump rollup from 2.64.0 to 2.66.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.64.0 to 2.66.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.64.0...v2.66.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:02:55 +00:00
dependabot[bot] 984d841d46 Bump @babel/core from 7.16.7 to 7.16.12
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.7 to 7.16.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.16.12/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:02:42 +00:00
dependabot[bot] 1cc9a6dbb1 Bump @babel/preset-env from 7.16.8 to 7.16.11
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.8 to 7.16.11.
- [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.16.11/packages/babel-preset-env)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:02:13 +00:00
dependabot[bot] 9f84814c9b Bump copy-webpack-plugin from 10.2.0 to 10.2.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.2.0 to 10.2.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/v10.2.0...v10.2.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>
2022-01-24 10:01:55 +00:00
dependabot[bot] ac55fc91e8 Bump jsdoc from 3.6.7 to 3.6.9
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.7 to 3.6.9.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.9/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.7...3.6.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:01:45 +00:00
dependabot[bot] 4be8138d20 Bump ol-mapbox-style from 6.8.2 to 6.8.3
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.8.2 to 6.8.3.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.8.2...v6.8.3)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:01:25 +00:00
dependabot[bot] 6d14957d5c Bump mocha from 9.1.4 to 9.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.4 to 9.2.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.1.4...v9.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 10:01:10 +00:00
MoonE 239a082dbf Merge pull request #13229 from MoonE/apidoc-dyn-navigation-loading
Load api navigation dynamically to reduce needed disk space
2022-01-23 11:21:31 +01:00
Andreas Hocevar 5f02141bca Merge pull request #13271 from mike-000/utfgrid
Remove unneeded `src=""`
2022-01-23 11:11:12 +01:00
mike-000 29da609dab Remove meaningless src="" 2022-01-22 23:08:31 +00:00
Maximilian Krög 14c5e9a7e8 Load api navigation dynamically to reduce needed disk space 2022-01-22 22:29:33 +01:00
mike-000 6a26e6a274 test gutter 2022-01-20 17:51:17 +00:00
mike-000 2a421b9362 test tilePixelRatio 2022-01-20 17:51:05 +00:00
mike-000 7af366586f Pass tilePixelRatio and gutter to TileTexture 2022-01-20 17:50:49 +00:00
Andreas Hocevar 30d27a1d59 Merge pull request #13212 from ahocevar/multisource-webgl
Support multiple sources for WebGL tile layers
2022-01-19 08:43:22 +01:00
XiaofengZeng 705a37935e add @api comment on getAllLayers method 2022-01-19 11:25:17 +08:00
Andreas Hocevar d46940acc0 Merge pull request #13259 from mike-000/LiteralSymbolStyle-CORS
Add crossOrigin option to LiteralSymbolStyle
2022-01-19 00:21:05 +01:00
mike-000 70ee68c649 Add crossOrigin option
Co-Authored-By: Andreas Hocevar <andreas.hocevar@gmail.com>
2022-01-18 23:14:30 +00:00
Andreas Hocevar 75f66757ef Simplify example, improve documentation. 2022-01-18 20:05:07 +01:00
Tim Schaub 3e216edbe8 Merge pull request #13246 from openlayers/dependabot/npm_and_yarn/eslint-8.7.0
Bump eslint from 8.6.0 to 8.7.0
2022-01-17 05:59:36 -07:00
Tim Schaub 625334de72 Merge pull request #13247 from openlayers/dependabot/npm_and_yarn/mocha-9.1.4
Bump mocha from 9.1.3 to 9.1.4
2022-01-17 05:52:04 -07:00
dependabot[bot] ff1017531b Bump eslint from 8.6.0 to 8.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.6.0 to 8.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.6.0...v8.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 12:51:38 +00:00
Tim Schaub 3ddb037d4a Merge pull request #13248 from openlayers/dependabot/npm_and_yarn/webpack-sources-3.2.3
Bump webpack-sources from 3.2.2 to 3.2.3
2022-01-17 05:51:13 -07:00
Tim Schaub c4f1c78848 Merge pull request #13249 from openlayers/dependabot/npm_and_yarn/webpack-5.66.0
Bump webpack from 5.65.0 to 5.66.0
2022-01-17 05:50:33 -07:00
Tim Schaub 8e189c0dca Merge pull request #13250 from openlayers/dependabot/npm_and_yarn/globby-12.2.0
Bump globby from 12.0.2 to 12.2.0
2022-01-17 05:49:34 -07:00
Tim Schaub 46c8523875 Merge pull request #13251 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.16.8
Bump @babel/preset-env from 7.16.7 to 7.16.8
2022-01-17 05:48:34 -07:00
Tim Schaub 7fd01645fd Merge pull request #13252 from openlayers/dependabot/npm_and_yarn/rollup-2.64.0
Bump rollup from 2.63.0 to 2.64.0
2022-01-17 05:47:56 -07:00
Tim Schaub 0dc11324ff Merge pull request #13253 from openlayers/dependabot/npm_and_yarn/karma-6.3.11
Bump karma from 6.3.10 to 6.3.11
2022-01-17 05:47:05 -07:00
dependabot[bot] 76daa66e10 Bump karma from 6.3.10 to 6.3.11
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.10 to 6.3.11.
- [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.10...v6.3.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 10:02:43 +00:00
dependabot[bot] 2f2c6b4e70 Bump rollup from 2.63.0 to 2.64.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.63.0 to 2.64.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.63.0...v2.64.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 10:02:24 +00:00
dependabot[bot] 12cb31087c Bump @babel/preset-env from 7.16.7 to 7.16.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.7 to 7.16.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.16.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>
2022-01-17 10:02:11 +00:00
dependabot[bot] dffece49e9 Bump globby from 12.0.2 to 12.2.0
Bumps [globby](https://github.com/sindresorhus/globby) from 12.0.2 to 12.2.0.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v12.0.2...v12.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 10:01:52 +00:00
dependabot[bot] ff588d29c2 Bump webpack from 5.65.0 to 5.66.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.65.0 to 5.66.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.65.0...v5.66.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 10:01:42 +00:00
dependabot[bot] 58d0cc6b19 Bump webpack-sources from 3.2.2 to 3.2.3
Bumps [webpack-sources](https://github.com/webpack/webpack-sources) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/webpack/webpack-sources/releases)
- [Commits](https://github.com/webpack/webpack-sources/compare/v3.2.2...v3.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 10:01:29 +00:00
dependabot[bot] d220138953 Bump mocha from 9.1.3 to 9.1.4
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.3 to 9.1.4.
- [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.3...v9.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 10:01:15 +00:00
Tim Schaub af6dce3cf3 Merge pull request #13243 from openlayers/dependabot/npm_and_yarn/marked-4.0.10
Bump marked from 4.0.9 to 4.0.10
2022-01-14 21:12:44 -07:00
dependabot[bot] feb396631f Bump marked from 4.0.9 to 4.0.10
Bumps [marked](https://github.com/markedjs/marked) from 4.0.9 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.9...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 01:53:33 +00:00
Tim Schaub b1d7c48313 Merge pull request #13242 from tschaub/avoid-unpkg-redirect
Avoid the redirect from unpkg.com
2022-01-14 14:17:33 -07:00
Tim Schaub 6c03b69d8c Avoid the redirect from unpkg.com 2022-01-14 13:53:23 -07:00
Tim Schaub 4fb679d3fc Merge pull request #13241 from openlayers/release-v6.12.0
Updates for the 6.12.0 release
2022-01-14 13:27:56 -07:00
Tim Schaub 59bf2998ad Develop on 6.12.1-dev 2022-01-14 13:13:32 -07:00
Tim Schaub b04d542a3a Updates for the 6.12.0 release 2022-01-14 13:04:59 -07:00
Tim Schaub f43df3c1e2 Merge pull request #13240 from openlayers/audit-fix
Transitive dependency update
2022-01-14 13:00:13 -07:00
Tim Schaub c96fee5ba2 Transitive dependency update 2022-01-14 12:51:28 -07:00
Andreas Hocevar 0a439b0129 Merge pull request #13236 from mike-000/reset-interpolation-postrender
Re-enable image smoothing after rendering
2022-01-14 18:47:15 +01:00
Andreas Hocevar ff5b4177c8 Merge pull request #13237 from mike-000/className-with-declutter
Describe use of className with declutter
2022-01-14 18:17:16 +01:00
mike-000 b5196a65a1 Describe use of className with declutter 2022-01-14 12:35:36 +00:00
mike-000 ec2e3f4f23 Set interpolate for use by VectorImage layers 2022-01-14 10:31:18 +00:00
mike-000 1c81f60fec re-enable image smoothing after rendering 2022-01-14 10:31:17 +00:00
Andreas Hocevar 0004b2594d Support multiple sources for layers 2022-01-13 17:42:52 +01:00
Andreas Hocevar 89f632fa7e Merge pull request #13231 from lklepner/development-tips-fix
added run to npm command
2022-01-12 14:35:50 +01:00
Lou Klepner 11329bb776 added run to npm command 2022-01-12 07:45:15 -05:00
Tim Schaub b98a95d1b4 Merge pull request #13228 from lklepner/development-tips
Document how to link package during development
2022-01-11 16:24:02 -07:00
Tim Schaub 0fbe83edf7 Merge pull request #13227 from tschaub/default-cors-mode
Default CORS mode for WebGL rendered sources
2022-01-11 16:22:03 -07:00
Lou Klepner 2dfef3f125 added linking instructions 2022-01-11 17:33:55 -05:00
Tim Schaub 1a8df049e4 Merge pull request #13226 from tschaub/gl-wrap-x
Support the wrapX option for WebGL rendered tile sources
2022-01-11 14:23:46 -07:00
Tim Schaub f511209789 Merge pull request #13224 from tschaub/mapbox-style-update
Update ol-mapbox-style
2022-01-11 14:22:54 -07:00
Tim Schaub e71a8b65e1 Default CORS request mode for tiles used in WebGL rendering 2022-01-11 14:21:48 -07:00
Tim Schaub 647a0d8ece Support the wrapX option for WebGL rendered tile sources 2022-01-11 12:48:49 -07:00
Tim Schaub 71f737b58a Update ol-mapbox-style 2022-01-11 10:01:14 -07:00
Andreas Hocevar 1f761d943f Merge pull request #13219 from ahocevar/modify-delete-no-event
Do not fire modifyend event when nothing was modified
2022-01-11 13:56:08 +01:00
Andreas Hocevar 0816746505 Merge pull request #13221 from M393/vectortile-interpolate
Draw VectorTiles with interpolate in hybrid mode again
2022-01-11 12:56:17 +01:00
Maximilian Kroeg 430f354406 Draw VectorTiles with interpolate in hybrid mode again 2022-01-11 12:49:07 +01:00
Andreas Hocevar 48ce451f53 Do not fire modifyend event when nothing was modified 2022-01-11 12:45:08 +01:00
Andreas Hocevar 2f9a9af809 Merge pull request #13216 from EvertEt/typos
Fix some typos in ModifyInteraction documentation
2022-01-11 11:18:19 +01:00
Andreas Hocevar bad590d0de Merge pull request #13217 from EvertEt/fix/13213
Fix MVT incorrect feature data handling
2022-01-11 11:16:46 +01:00
EvertEt 6a26ff4204 Fix MVT incorrect feature data handling
Closes #13213
2022-01-11 11:03:24 +01:00
EvertEt cd840aaf88 Fix some typos in ModifyInteraction documentation 2022-01-11 11:03:04 +01:00
Andreas Hocevar e98607e344 Merge pull request #13209 from openlayers/dependabot/npm_and_yarn/karma-6.3.10
Bump karma from 6.3.9 to 6.3.10
2022-01-10 13:36:06 +01:00
Andreas Hocevar 7c9822b9e7 Merge pull request #13211 from openlayers/dependabot/npm_and_yarn/shx-0.3.4
Bump shx from 0.3.3 to 0.3.4
2022-01-10 13:29:13 +01:00
dependabot[bot] ed758f7655 Bump karma from 6.3.9 to 6.3.10
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.9 to 6.3.10.
- [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.9...v6.3.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 12:29:05 +00:00
Andreas Hocevar ff60daaa49 Merge pull request #13210 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.1.3
Bump @rollup/plugin-node-resolve from 13.1.2 to 13.1.3
2022-01-10 13:28:48 +01:00
Andreas Hocevar f47b332512 Merge pull request #13208 from openlayers/dependabot/npm_and_yarn/rollup-2.63.0
Bump rollup from 2.62.0 to 2.63.0
2022-01-10 13:28:10 +01:00
Andreas Hocevar 1c0b6e2fe8 Merge pull request #13207 from openlayers/dependabot/npm_and_yarn/marked-4.0.9
Bump marked from 4.0.8 to 4.0.9
2022-01-10 13:27:49 +01:00
dependabot[bot] 3d8c98c865 Bump shx from 0.3.3 to 0.3.4
Bumps [shx](https://github.com/shelljs/shx) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/shelljs/shx/releases)
- [Changelog](https://github.com/shelljs/shx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shx/compare/v0.3.3...v0.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 10:01:58 +00:00
dependabot[bot] acb2c2a69d Bump @rollup/plugin-node-resolve from 13.1.2 to 13.1.3
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.1.2 to 13.1.3.
- [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.1.3/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>
2022-01-10 10:01:48 +00:00
dependabot[bot] b717d63b4c Bump rollup from 2.62.0 to 2.63.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.62.0 to 2.63.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.62.0...v2.63.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 10:01:17 +00:00
dependabot[bot] dbba580f82 Bump marked from 4.0.8 to 4.0.9
Bumps [marked](https://github.com/markedjs/marked) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.8...v4.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 10:00:59 +00:00
Tim Schaub 866c641c87 Merge pull request #13205 from tschaub/new-changelog
Format the changelog so contributors can be highlighted
2022-01-09 07:32:33 -07:00
Tim Schaub 076fc70b6c Format the changelog so contributors can be highlighted 2022-01-08 19:43:00 -07:00
Tim Schaub a1643783c5 Merge pull request #13204 from openlayers/release-v6.11.0
Updates for the 6.11.0 release
2022-01-08 16:49:39 -07:00
Tim Schaub 28ca752a64 Develop on 6.11.1-dev 2022-01-08 16:34:38 -07:00
Tim Schaub bd8a454df1 Updates for the 6.11.0 release 2022-01-08 16:17:52 -07:00
Andreas Hocevar 6de9c828ab Merge pull request #13195 from ahocevar/box-selection
Use getFeaturesInExtent
2022-01-08 21:53:16 +01:00
Tim Schaub f13838470e Merge pull request #13200 from mike-000/sea-level
Use interpolate option in Sea Level example
2022-01-08 08:43:24 -07:00
Tim Schaub a9210db25c Merge pull request #13201 from mike-000/typo
Fix typo in example description
2022-01-08 08:38:31 -07:00
Tim Schaub 85d5e5dfad Merge pull request #13177 from tschaub/ecoregions
Use ecoregions data
2022-01-08 08:32:46 -07:00
Tim Schaub 0e93a3118c Merge pull request #13198 from tschaub/no-color
Avoid failure if existing target has no background color
2022-01-08 08:31:47 -07:00
mike-000 449cfd15b1 Fix typo 2022-01-08 14:16:29 +00:00
mike-000 07ebc48516 Replace imageSmoothingEnabled with interpolate 2022-01-08 14:08:42 +00:00
Tim Schaub a963ab7d1d Avoid failure if existing target has no background color 2022-01-07 15:05:31 -07:00
Tim Schaub 39b2de829e Remove countries from examples data 2022-01-07 13:58:31 -07:00
Tim Schaub 38d4a8f13f Update Sphere Mollweide example 2022-01-07 13:55:34 -07:00
Tim Schaub 197dd2e06d Update translate features example 2022-01-07 13:53:01 -07:00
Tim Schaub 4ce7f77749 Update label decluttering example 2022-01-07 13:50:43 -07:00
Tim Schaub 7f0b6b3f7a Update multi-select example 2022-01-07 13:47:08 -07:00
Tim Schaub a64102f097 Update modify features example 2022-01-07 13:39:46 -07:00
Tim Schaub 22609f7a7d Update geographic editing example 2022-01-07 13:37:05 -07:00
Tim Schaub 35e1d29d6b Update canvas gradient example 2022-01-07 13:14:52 -07:00
Tim Schaub eed400ca1c Update select on hover example 2022-01-07 13:00:35 -07:00
Tim Schaub 73f54c1e6c Update vector image layer example 2022-01-07 12:51:28 -07:00
Tim Schaub 71af0eee43 Update select features example 2022-01-07 12:45:27 -07:00
Tim Schaub 43e06a7d57 Update MapboxGL layer example 2022-01-07 12:45:27 -07:00
Tim Schaub 73f36adaaf Update hit detection example 2022-01-07 12:45:27 -07:00
Tim Schaub 2d96c92ac8 Update geojson-vt example 2022-01-07 12:45:27 -07:00
Tim Schaub 9024867893 Update extent interaction example 2022-01-07 12:45:27 -07:00
Tim Schaub 9aa3c00879 Update export map example 2022-01-07 12:45:27 -07:00
Tim Schaub faddbf098b Update box selection example 2022-01-07 12:45:26 -07:00
Tim Schaub 539eae1398 Update vector layer example 2022-01-07 12:45:26 -07:00
Tim Schaub e0aa161302 Merge pull request #13186 from mike-000/WebGL-getDataAtPixel
Add getDataAtPixel() method for WebGL
2022-01-07 12:05:10 -07:00
mike-000 9c955bc86d Update forEachLayerAtPixel description 2022-01-07 18:25:20 +00:00
Tim Schaub ad7b95667f Merge pull request #13196 from bradh/contrast_typo_2022-01-07
typo fix for cog-stretch example
2022-01-06 21:22:47 -07:00
Brad fc535ab4d0 typo fix for cog-stretch example 2022-01-07 13:29:51 +11:00
Andreas Hocevar c785c2813b Filter for actual geometry intersection 2022-01-06 21:10:26 +01:00
Andreas Hocevar a2388756f2 Use getFeaturesInExtent 2022-01-06 20:07:34 +01:00
Andreas Hocevar 69c02aa6c8 Merge pull request #13190 from ahocevar/basevector-type
Fix base vector layer template generics
2022-01-05 16:11:58 +01:00
Andreas Hocevar f6496aa409 Fix base vector layer template generics 2022-01-04 18:04:53 +01:00
Tim Schaub 2893b78302 Merge pull request #13182 from openlayers/dependabot/npm_and_yarn/eslint-8.6.0
Bump eslint from 8.5.0 to 8.6.0
2022-01-03 07:34:36 -07:00
Tim Schaub 9553396c31 Merge pull request #13184 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.1.2
Bump @rollup/plugin-node-resolve from 13.1.1 to 13.1.2
2022-01-03 07:33:01 -07:00
Tim Schaub 13101e3ab4 Merge pull request #13183 from openlayers/dependabot/npm_and_yarn/babel/core-7.16.7
Bump @babel/core from 7.16.5 to 7.16.7
2022-01-03 07:32:23 -07:00
Tim Schaub 2dd4f71b51 Merge pull request #13185 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.7.2
Bump webpack-dev-server from 4.7.1 to 4.7.2
2022-01-03 07:31:49 -07:00
Tim Schaub 9db298987b Merge pull request #13181 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.16.7
Bump @babel/preset-env from 7.16.5 to 7.16.7
2022-01-03 07:30:27 -07:00
mike-000 766a336650 Add getDataAtPixel() method for WebGL 2022-01-03 13:00:56 +00:00
mike-000 d85be48da2 Test getDataAtPixel() method for WebGL 2022-01-03 13:00:55 +00:00
dependabot[bot] ae629301e9 Bump webpack-dev-server from 4.7.1 to 4.7.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.7.1 to 4.7.2.
- [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.7.1...v4.7.2)

---
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>
2022-01-03 10:02:05 +00:00
dependabot[bot] 7639eff49a Bump @rollup/plugin-node-resolve from 13.1.1 to 13.1.2
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.1.1 to 13.1.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.1.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>
2022-01-03 10:01:52 +00:00
dependabot[bot] 654929bae2 Bump @babel/core from 7.16.5 to 7.16.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.5 to 7.16.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.16.7/packages/babel-core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 10:01:42 +00:00
dependabot[bot] 7dd45c66ed Bump eslint from 8.5.0 to 8.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.5.0 to 8.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.5.0...v8.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 10:01:25 +00:00
dependabot[bot] 1193476442 Bump @babel/preset-env from 7.16.5 to 7.16.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.5 to 7.16.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.16.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>
2022-01-03 10:01:10 +00:00
Andreas Hocevar 83d3bbf0ab Merge pull request #13180 from ahocevar/geotiff-es
Always use ES modules from geotiff.js
2022-01-02 11:02:43 +01:00
Andreas Hocevar 665da47437 Merge pull request #13179 from ahocevar/blob-or-buffer
Use Buffer and data uri when Blob is not available
2022-01-02 11:01:40 +01:00
Andreas Hocevar 00b7bc60ac Use Buffer and data uri when Blob is not available 2022-01-01 22:47:22 +01:00
Andreas Hocevar 93abfe78a3 Always use ES modules from geotiff.js 2022-01-01 22:41:11 +01:00
Tim Schaub 3506176328 Merge pull request #13178 from tschaub/layer-background
Use background property for vector layers
2022-01-01 11:56:29 -07:00
Tim Schaub 275ecca473 Use background property for vector layers 2022-01-01 11:51:06 -07:00
MoonE 9b0878a94a Merge pull request #13175 from MoonE/nodejs-12-compatibility
Allow nodejs 12 to build the examples again
2021-12-31 23:00:24 +01:00
Tim Schaub c500fdc4ad Merge pull request #13176 from mike-000/datatile-attributions
Add `attributions` and `attributionsCollapsible` options to `ol/source/DataTile`
2021-12-31 09:24:09 -07:00
mike-000 b1b09619bb Add attributions/attributionsCollapsible options 2021-12-31 14:20:33 +00:00
Maximilian Krög d63a7ae497 Allow nodejs 12 to build the examples again 2021-12-31 11:06:43 +01:00
Andreas Hocevar bc2969fd78 Merge pull request #13171 from mike-000/4326-scale-bar
Correct scale bar in EPSG:4326
2021-12-30 17:51:18 +01:00
mike-000 37f117b782 Test scalebar text in EPSG:4326 2021-12-29 23:55:50 +00:00
mike-000 c8a7a83e1f correct getScaleForResolution() 2021-12-29 22:43:53 +00:00
mike-000 e8b4011cf4 new example 2021-12-29 22:43:53 +00:00
Tim Schaub d6d4b878c2 Merge pull request #13168 from openlayers/release-v6.10.0
Release 6.10.0
2021-12-28 15:59:06 -07:00
Tim Schaub 6570416343 Develop on 6.10.1-dev 2021-12-28 15:52:47 -07:00
Tim Schaub 02c1f4914a Changes for 6.10.0 2021-12-28 15:39:43 -07:00
Tim Schaub f0d488c549 Merge pull request #13155 from tschaub/data-tile-interpolation
Allow interpolation to be configured for data tile sources
2021-12-28 14:16:53 -07:00
Tim Schaub e2883fb658 Deprecate the imageSmoothing option for sources 2021-12-27 15:30:48 -07:00
Andreas Hocevar bec4b3028a Merge pull request #13165 from ahocevar/topojson
Do not exceed maximum call stack when parsing TopoJSON
2021-12-27 23:30:19 +01:00
Tim Schaub 8d8632bff7 Allow interpolation to be configured for data tile sources 2021-12-27 10:11:36 -07:00
Tim Schaub 3edb5d6ddc Merge pull request #13162 from openlayers/dependabot/npm_and_yarn/yargs-17.3.1
Bump yargs from 17.3.0 to 17.3.1
2021-12-27 10:11:06 -07:00
Andreas Hocevar 6e8ae4a714 Do not exceed maximum call stack when parsing TopoJSON 2021-12-27 18:08:20 +01:00
Andreas Hocevar 8ab025a77d Merge pull request #13158 from ahocevar/clusters
Add example for dynamic clusters
2021-12-27 17:26:44 +01:00
Andreas Hocevar c5ce37b484 Add example for dynamic clusters 2021-12-27 16:59:25 +01:00
Andreas Hocevar dabebdf9ff Merge pull request #13163 from openlayers/dependabot/npm_and_yarn/rollup-2.62.0
Bump rollup from 2.61.1 to 2.62.0
2021-12-27 16:04:59 +01:00
dependabot[bot] 0058ea021a Bump rollup from 2.61.1 to 2.62.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.61.1 to 2.62.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.61.1...v2.62.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-12-27 14:25:34 +00:00
Andreas Hocevar 5c848eb697 Merge pull request #13161 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.7.1
Bump webpack-dev-server from 4.6.0 to 4.7.1
2021-12-27 15:25:18 +01:00
Andreas Hocevar 46a630eb9a Merge pull request #13160 from openlayers/dependabot/npm_and_yarn/puppeteer-13.0.1
Bump puppeteer from 13.0.0 to 13.0.1
2021-12-27 15:23:51 +01:00
dependabot[bot] e03366feb2 Bump yargs from 17.3.0 to 17.3.1
Bumps [yargs](https://github.com/yargs/yargs) from 17.3.0 to 17.3.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.3.0...v17.3.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-12-27 10:01:20 +00:00
dependabot[bot] a48f50b249 Bump webpack-dev-server from 4.6.0 to 4.7.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.6.0 to 4.7.1.
- [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.6.0...v4.7.1)

---
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-12-27 10:01:05 +00:00
dependabot[bot] d0741d628d Bump puppeteer from 13.0.0 to 13.0.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.0 to 13.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/v13.0.0...v13.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 10:00:46 +00:00
Tim Schaub 6ac4b66655 Merge pull request #13156 from tschaub/tile-range
Ensure that tile range covers all pixels
2021-12-24 03:55:12 -07:00
Tim Schaub 2d510e71a9 Ensure that tile range covers all pixels 2021-12-23 17:50:49 -07:00
Tim Schaub 45c38eabc4 Merge pull request #13154 from mike-000/export-map
Update Export Map example to handle WebGL
2021-12-23 07:58:59 -07:00
Tim Schaub a4ee7eee10 Merge pull request #13147 from tschaub/palette
Support rendering with a palette in WebGL
2021-12-23 06:28:46 -07:00
mike-000 f4906b83c9 Add Heatmap layer to example 2021-12-23 12:23:08 +00:00
Tim Schaub 71fc4be2eb Merge pull request #13142 from mike-000/transpacific-flights
Include transpacific flights in Flight Animation example
2021-12-22 11:38:12 -07:00
Tim Schaub 59186f2afd Support paletted rendering in WebGL 2021-12-22 11:14:46 -07:00
Olivier Guyot 0c11a7514d Merge pull request #13150 from mike-000/heatmap-opacity
Include layer opacity in Heatmap shader
2021-12-22 12:28:03 +01:00
mike-000 351ca5866b update docs to include u_opacity 2021-12-22 10:48:25 +00:00
mike-000 bdb7b9740b new test 2021-12-21 23:21:41 +00:00
Andreas Hocevar 61f05fae74 Merge pull request #13149 from ahocevar/select-layer
Add layer also for programmatically selected features
2021-12-21 20:31:29 +01:00
Tim Schaub 4fe091c02d Merge pull request #13151 from mike-000/null-attributes
Avoid error accessing attributes when context is lost
2021-12-21 11:47:08 -07:00
mike-000 792f937aa5 don't try to access properties of null attributes 2021-12-21 17:21:25 +00:00
mike-000 4acb45dc78 include layer opacity in shader 2021-12-21 17:07:57 +00:00
Andreas Hocevar 4f7cadd17d Add layer also for programmatically selected features 2021-12-21 08:25:57 +01:00
Tim Schaub 5267e30d6d Merge pull request #13144 from mike-000/popup
Replace deprecated syntax in example
2021-12-20 15:18:15 -07:00
mike-000 abdb313ad7 replace deprecated syntax 2021-12-20 15:50:01 +00:00
mike-000 ff22f9ace9 show transpacific flights 2021-12-20 15:15:59 +00:00
Andreas Hocevar e5a32f533e Merge pull request #13131 from ahocevar/unset-canvas
Unset canvas css in stylesheet
2021-12-20 13:48:46 +01:00
Andreas Hocevar 28bc9650d7 Merge pull request #13140 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.1.1
Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.1
2021-12-20 11:31:48 +01:00
Andreas Hocevar bb3140550d Merge pull request #13132 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-10.2.0
Bump copy-webpack-plugin from 10.1.0 to 10.2.0
2021-12-20 11:14:55 +01:00
Andreas Hocevar 2e03069440 Merge pull request #13141 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-5.3.0
Bump webpack-dev-middleware from 5.2.2 to 5.3.0
2021-12-20 11:14:25 +01:00
Andreas Hocevar dbd4dda0cd Merge pull request #13133 from openlayers/dependabot/npm_and_yarn/eslint-8.5.0
Bump eslint from 8.4.1 to 8.5.0
2021-12-20 11:13:49 +01:00
Andreas Hocevar 76e294566e Merge pull request #13139 from openlayers/dependabot/npm_and_yarn/babel/core-7.16.5
Bump @babel/core from 7.16.0 to 7.16.5
2021-12-20 11:13:27 +01:00
Andreas Hocevar 1f2ce78567 Merge pull request #13136 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.16.5
Bump @babel/preset-env from 7.16.4 to 7.16.5
2021-12-20 11:12:46 +01:00
Andreas Hocevar 1413a13385 Merge pull request #13137 from openlayers/dependabot/npm_and_yarn/express-4.17.2
Bump express from 4.17.1 to 4.17.2
2021-12-20 11:12:22 +01:00
Andreas Hocevar c307df47fa Merge pull request #13138 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.8.1
Bump ol-mapbox-style from 6.7.0 to 6.8.1
2021-12-20 11:11:52 +01:00
Andreas Hocevar 386671f5ef Merge pull request #13134 from openlayers/dependabot/npm_and_yarn/marked-4.0.8
Bump marked from 4.0.7 to 4.0.8
2021-12-20 11:11:27 +01:00
dependabot[bot] dbe7358b52 Bump webpack-dev-middleware from 5.2.2 to 5.3.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.2.2 to 5.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/v5.2.2...v5.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:03:04 +00:00
dependabot[bot] 2e2bfeb708 Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.1
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.6 to 13.1.1.
- [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.1.1/packages/node-resolve)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:02:52 +00:00
dependabot[bot] 7fbe54686c Bump @babel/core from 7.16.0 to 7.16.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.16.0 to 7.16.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.16.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-12-20 10:02:39 +00:00
dependabot[bot] bb0470ef8b Bump ol-mapbox-style from 6.7.0 to 6.8.1
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.7.0 to 6.8.1.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.7.0...v6.8.1)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:02:28 +00:00
dependabot[bot] 74c7e21c6f Bump express from 4.17.1 to 4.17.2
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.1...4.17.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:02:14 +00:00
dependabot[bot] d53ce74027 Bump @babel/preset-env from 7.16.4 to 7.16.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.4 to 7.16.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.16.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-12-20 10:01:58 +00:00
dependabot[bot] 6e4f862a3d Bump marked from 4.0.7 to 4.0.8
Bumps [marked](https://github.com/markedjs/marked) from 4.0.7 to 4.0.8.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.7...v4.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:01:29 +00:00
dependabot[bot] 2664733ea8 Bump eslint from 8.4.1 to 8.5.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.1 to 8.5.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.4.1...v8.5.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-12-20 10:01:13 +00:00
dependabot[bot] 89bcfd068c Bump copy-webpack-plugin from 10.1.0 to 10.2.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.1.0 to 10.2.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/v10.1.0...v10.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 10:01:00 +00:00
Andreas Hocevar c33adb1035 Unset canvas css in stylesheet 2021-12-20 09:57:41 +01:00
Tim Schaub 4700e8a17b Merge pull request #13130 from tschaub/lazy-gl
Allow WebGL tile layers to be constructed without a source
2021-12-19 17:10:44 -07:00
Tim Schaub 34c84cf107 Allow WebGL tile layers to be constructed without a source 2021-12-19 09:58:40 -07:00
Tim Schaub 568327e693 Merge pull request #13126 from tschaub/preserve-drawing-buffer
Preserve the drawing buffer by default for WebGL layers
2021-12-19 08:16:55 -07:00
Tim Schaub c75e127734 Merge pull request #13127 from mike-000/patch-2
Fix for range slider on IE
2021-12-18 15:54:18 -07:00
mike-000 7efb9e3ba7 Fix for range slider on IE 2021-12-18 20:42:15 +00:00
Tim Schaub 0cc3bae8fe Preserve the drawing buffer by default for WebGL layers 2021-12-18 12:25:03 -07:00
Andreas Hocevar c8cfbfccf8 Merge pull request #13095 from ahocevar/rendercomplete-tiles
Render is only complete when no tiles are queued
2021-12-17 16:06:51 +01:00
Andreas Hocevar ae637bf683 Merge pull request #13120 from ahocevar/view-properties
Populate view's object properties
2021-12-16 22:09:08 +01:00
Andreas Hocevar 0e3477ec24 Merge pull request #13102 from jipexu/main
update line-arrows example
2021-12-16 22:08:41 +01:00
Tim Schaub a8baab7561 Merge pull request #13119 from tschaub/webgl-compose-events
Dispatch precompose and postcompose events for WebGL layers
2021-12-16 12:42:20 -07:00
Andreas Hocevar 628e5c1c90 Also update zoom property 2021-12-16 12:32:57 +01:00
Tim Schaub 68ea485e69 Dispatch precompose and postcompose events for WebGL layers 2021-12-15 16:59:51 -07:00
Andreas Hocevar f6cb4c296d Populate view's object properties 2021-12-16 00:11:15 +01:00
Tim Schaub 848965b25c Merge pull request #13118 from tschaub/webgl-opacity
Add a layer opacity example
2021-12-15 09:47:58 -07:00
Tim Schaub 3f73a2f04f Add a layer opacity example 2021-12-15 09:42:46 -07:00
Tim Schaub 3643144108 Merge pull request #13115 from tschaub/lazy-blob
Lazily create resources for worker
2021-12-15 06:49:21 -07:00
Tim Schaub 6958ca3101 Lazily create resources for worker 2021-12-14 16:54:06 -07:00
Tim Schaub 35a6825f74 Merge pull request #13103 from tschaub/limited-precision-rounding
Assume limited precision when rounding
2021-12-13 11:23:12 -07:00
Tim Schaub 4f6f66f966 Merge pull request #13106 from openlayers/dependabot/npm_and_yarn/webpack-5.65.0
Bump webpack from 5.64.4 to 5.65.0
2021-12-13 07:43:10 -07:00
Tim Schaub 288411f86c Merge pull request #13108 from openlayers/dependabot/npm_and_yarn/rollup-2.61.1
Bump rollup from 2.60.2 to 2.61.1
2021-12-13 07:38:37 -07:00
dependabot[bot] 056f6c30fb Bump webpack from 5.64.4 to 5.65.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.4 to 5.65.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.4...v5.65.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-12-13 14:37:35 +00:00
Tim Schaub 2494bee7c8 Merge pull request #13107 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-10.1.0
Bump copy-webpack-plugin from 10.0.0 to 10.1.0
2021-12-13 07:36:48 -07:00
Tim Schaub 96b2e88c5f Merge pull request #13105 from openlayers/dependabot/npm_and_yarn/eslint-8.4.1
Bump eslint from 8.4.0 to 8.4.1
2021-12-13 07:35:19 -07:00
dependabot[bot] 427317fa42 Bump rollup from 2.60.2 to 2.61.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.2 to 2.61.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.60.2...v2.61.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-12-13 14:29:08 +00:00
Tim Schaub 14e9b83954 Merge pull request #13109 from openlayers/dependabot/npm_and_yarn/marked-4.0.7
Bump marked from 4.0.6 to 4.0.7
2021-12-13 07:28:51 -07:00
dependabot[bot] d4e057bc10 Bump copy-webpack-plugin from 10.0.0 to 10.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 10.0.0 to 10.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/v10.0.0...v10.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 14:28:46 +00:00
dependabot[bot] fc2cb2e876 Bump eslint from 8.4.0 to 8.4.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.4.0...v8.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 14:28:22 +00:00
Tim Schaub d6e47de6ea Merge pull request #13110 from openlayers/dependabot/npm_and_yarn/puppeteer-13.0.0
Bump puppeteer from 12.0.1 to 13.0.0
2021-12-13 07:28:18 -07:00
Tim Schaub 15a6eda515 Merge pull request #13111 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.5.0
Bump clean-css-cli from 5.4.2 to 5.5.0
2021-12-13 07:27:24 -07:00
dependabot[bot] c1fc7db3f7 Bump clean-css-cli from 5.4.2 to 5.5.0
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.4.2 to 5.5.0.
- [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.4.2...v5.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 10:02:29 +00:00
dependabot[bot] 762d0768b4 Bump puppeteer from 12.0.1 to 13.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 12.0.1 to 13.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/v12.0.1...v13.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-12-13 10:02:17 +00:00
dependabot[bot] fc4a05ccf4 Bump marked from 4.0.6 to 4.0.7
Bumps [marked](https://github.com/markedjs/marked) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.6...v4.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-12-13 10:02:06 +00:00
Tim Schaub 78bf0a3679 Assume limited precision when rounding 2021-12-11 15:57:42 -07:00
jeanpierre fafcb65fff update line-arrows example
as same behavior as  #13074

Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
2021-12-09 18:43:56 +01:00
Tim Schaub 01c81373b3 Merge pull request #13097 from mike-000/terrain-rgb-tileSize
Use correct terrain-rgb tile size and update max zoom
2021-12-09 10:40:21 -06:00
Tim Schaub 6dff267272 Merge pull request #13101 from M393/view-set-center-undefined
Fix View set center to undefined
2021-12-09 10:37:31 -06:00
Maximilian Kroeg fa80e2d064 Fix setting center to undefined 2021-12-09 15:41:15 +01:00
Maximilian Kroeg e79d9d386b Add test for setting center to undefined 2021-12-09 15:41:15 +01:00
mike-000 1cb6465702 Update tile source maxZoom 2021-12-08 17:28:33 +00:00
mike-000 db99de6903 Use correct terrain-rgb tile size 2021-12-08 17:28:18 +00:00
mike-000 8de93330b5 Use correct terrain-rgb tile size 2021-12-08 17:08:45 +00:00
Andreas Hocevar c59047c965 Render is only complete when no tiles are queued 2021-12-07 11:32:41 +01:00
Andreas Hocevar 238695a107 Merge pull request #13085 from ahocevar/layer-background
Add layer background
2021-12-06 20:39:19 +01:00
Tim Schaub 5db09b3817 Merge pull request #13091 from openlayers/dependabot/npm_and_yarn/rollup-2.60.2
Bump rollup from 2.60.1 to 2.60.2
2021-12-06 06:47:09 -07:00
Tim Schaub 431a054a7d Merge pull request #13089 from openlayers/dependabot/npm_and_yarn/eslint-8.4.0
Bump eslint from 8.3.0 to 8.4.0
2021-12-06 06:44:27 -07:00
Tim Schaub 9e8ee1c05d Merge pull request #13090 from openlayers/dependabot/npm_and_yarn/marked-4.0.6
Bump marked from 4.0.5 to 4.0.6
2021-12-06 06:42:44 -07:00
dependabot[bot] 3f4f922106 Bump rollup from 2.60.1 to 2.60.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.1 to 2.60.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.60.1...v2.60.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-12-06 13:41:19 +00:00
Tim Schaub 30ecf117ac Merge pull request #13093 from openlayers/dependabot/npm_and_yarn/yargs-17.3.0
Bump yargs from 17.2.1 to 17.3.0
2021-12-06 06:41:02 -07:00
Tim Schaub 7f6a479805 Merge pull request #13092 from openlayers/dependabot/npm_and_yarn/puppeteer-12.0.1
Bump puppeteer from 12.0.0 to 12.0.1
2021-12-06 06:40:01 -07:00
Tim Schaub 0326447611 Merge pull request #13088 from openlayers/dependabot/npm_and_yarn/geotiff-1.0.9
Bump geotiff from 1.0.8 to 1.0.9
2021-12-06 06:39:03 -07:00
Tim Schaub ce751f26dc Merge pull request #13083 from tschaub/band-expression
Support expressions for band arguments
2021-12-06 06:35:11 -07:00
dependabot[bot] be205b325d Bump yargs from 17.2.1 to 17.3.0
Bumps [yargs](https://github.com/yargs/yargs) from 17.2.1 to 17.3.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.2.1...v17.3.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-12-06 10:02:25 +00:00
dependabot[bot] 3ebd1d7f1d Bump puppeteer from 12.0.0 to 12.0.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 12.0.0 to 12.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/v12.0.0...v12.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 10:02:08 +00:00
dependabot[bot] 72c78e3e92 Bump marked from 4.0.5 to 4.0.6
Bumps [marked](https://github.com/markedjs/marked) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.5...v4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 10:01:47 +00:00
dependabot[bot] 6c7d8f6af9 Bump eslint from 8.3.0 to 8.4.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.3.0...v8.4.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-12-06 10:01:35 +00:00
dependabot[bot] 28fc19e6ae Bump geotiff from 1.0.8 to 1.0.9
Bumps [geotiff](https://github.com/geotiffjs/geotiff.js) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/geotiffjs/geotiff.js/releases)
- [Commits](https://github.com/geotiffjs/geotiff.js/compare/v1.0.8...v1.0.9)

---
updated-dependencies:
- dependency-name: geotiff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 10:01:16 +00:00
Tim Schaub f5803ad6ca Support expressions for band arguments 2021-12-05 17:04:50 -07:00
Andreas Hocevar 67c183958a Use applyBackground instead of custom code 2021-12-06 00:07:16 +01:00
Andreas Hocevar 3638df90f8 Add layer background 2021-12-06 00:07:15 +01:00
Andreas Hocevar 4ed1226411 Merge pull request #13084 from ahocevar/normalize-urls
Normalize relative sprite and glyph urls for style url
2021-12-04 17:35:09 +01:00
Andreas Hocevar 60c4268569 Normalize relative urls for style url 2021-12-04 14:36:08 +01:00
Tim Schaub 747967e797 Merge pull request #13020 from tschaub/set-style
Allow WebGL tile layer style to be updated
2021-12-03 17:24:26 -07:00
Andreas Hocevar d86464a812 Merge pull request #13073 from ahocevar/image-decode-fallback
Fall back to standard load handling when decode fails
2021-12-03 07:19:13 +01:00
Tim Schaub acea9dc822 Rendering test for setting layer style 2021-12-02 17:16:35 -07:00
Tim Schaub 686a6f147d Add example of resetting a layer style 2021-12-02 16:32:00 -07:00
Tim Schaub c2fc800fc1 Allow WebGL tile layer style to be updated 2021-12-02 16:32:00 -07:00
Andreas Hocevar d95e507af3 Merge pull request #13077 from jipexu/main
update draw and modify features example
2021-12-02 18:24:12 +01:00
jipexu b24f0c9f1b Update examples/draw-and-modify-features.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-12-02 18:12:10 +01:00
jipexu 9d94485b48 Update examples/draw-and-modify-features.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-12-02 18:11:53 +01:00
jipexu f73a891797 Update examples/draw-and-modify-features.js
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2021-12-02 18:11:23 +01:00
jeanpierre 004f429ee2 Update draw-and-modify-features.js
Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
2021-12-02 16:58:08 +01:00
jeanpierre bad0105352 Update draw-and-modify-features.js
import

Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
2021-12-02 16:52:56 +01:00
jeanpierre cea1c79803 Update draw-and-modify-features.js
forget import ..?

Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
2021-12-02 16:41:00 +01:00
jipexu 8e8d8598b9 update draw and modify features example
update draw and modify features example

Co-Authored-By: Andreas Hocevar <211514+ahocevar@users.noreply.github.com>
2021-12-02 15:46:01 +01:00
Tim Schaub ed07d60314 Merge pull request #13069 from tschaub/geotiff-stats
Normalize based on GDAL stats metadata
2021-12-02 04:59:43 -07:00
Andreas Hocevar 2d92756f84 Fall back to standard load handling when decode fails 2021-12-02 08:34:51 +01:00
Andreas Hocevar eb76d072a9 Merge pull request #13070 from ahocevar/mapboxvector-minzoom
Use source minzoom if not configured otherwise
2021-12-02 06:25:12 +01:00
Andreas Hocevar 544e55fe1a Use source minzoom if not configured otherwise 2021-12-02 06:19:21 +01:00
Tim Schaub 04ac30009b Normalize based on GDAL stats metadata 2021-12-01 09:46:37 -07:00
Tim Schaub 38bff05e43 Merge pull request #13065 from jipexu/main
Fix typo in example
2021-12-01 07:21:10 -07:00
Tim Schaub 43c40eb6d6 Merge pull request #13060 from tschaub/less-nodata
Avoid fetching data outside the grid extent
2021-12-01 07:12:21 -07:00
jipexu 3a57a873bc typo
visibile => visible
2021-12-01 12:19:22 +01:00
Tim Schaub 3ef40f8e22 Allow wrapX to be set on GeoTIFF sources 2021-11-30 16:49:21 -07:00
Tim Schaub 3bf1aef8e2 Avoid loading tiles outside the grid extent 2021-11-30 16:30:51 -07:00
Tim Schaub a788c9bd1e Merge pull request #13057 from openlayers/dependabot/npm_and_yarn/puppeteer-12.0.0
Bump puppeteer from 11.0.0 to 12.0.0
2021-11-29 08:15:54 -07:00
Tim Schaub eaea5b3bdc Update expectations 2021-11-29 08:10:09 -07:00
Tim Schaub b678c51234 Merge pull request #13055 from openlayers/dependabot/npm_and_yarn/webpack-5.64.4
Bump webpack from 5.64.2 to 5.64.4
2021-11-29 08:04:47 -07:00
Andreas Hocevar 2e755764ec Merge pull request #13054 from ahocevar/ogc-api-tilesets
Updates for newer version of the OGC API spec draft
2021-11-29 16:02:49 +01:00
dependabot[bot] dbec83b8d9 Bump webpack from 5.64.2 to 5.64.4
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.2 to 5.64.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.2...v5.64.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 14:15:08 +00:00
Tim Schaub ad21ed7840 Merge pull request #13056 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.6.0
Bump webpack-dev-server from 4.5.0 to 4.6.0
2021-11-29 07:14:23 -07:00
Tim Schaub 68332c48b5 Merge pull request #13058 from openlayers/dependabot/npm_and_yarn/marked-4.0.5
Bump marked from 4.0.4 to 4.0.5
2021-11-29 07:13:50 -07:00
Andreas Hocevar 7d8afea8a7 Fix axis order 2021-11-29 13:52:14 +01:00
dependabot[bot] 6432a16a98 Bump marked from 4.0.4 to 4.0.5
Bumps [marked](https://github.com/markedjs/marked) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.4...v4.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 10:01:54 +00:00
dependabot[bot] 7fa8081226 Bump puppeteer from 11.0.0 to 12.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 11.0.0 to 12.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/v11.0.0...v12.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-11-29 10:01:39 +00:00
dependabot[bot] dcc7c27ec0 Bump webpack-dev-server from 4.5.0 to 4.6.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.5.0 to 4.6.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.5.0...v4.6.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-11-29 10:01:11 +00:00
Andreas Hocevar 8e6f451553 Updates for newer version of the OGC API spec draft 2021-11-29 10:42:28 +01:00
Andreas Hocevar b9b1b535dd Merge pull request #13045 from ahocevar/mapbox-vector
Fix tiles and background handling
2021-11-25 16:04:01 +01:00
Andreas Hocevar cafba311de Fix test styles to make them valid 2021-11-24 11:59:50 +01:00
Andreas Hocevar e00d005088 Fix tiles and background handling 2021-11-24 10:53:55 +01:00
Tim Schaub 87d37937c5 Merge pull request #13032 from openlayers/dependabot/npm_and_yarn/webpack-5.64.2
Bump webpack from 5.64.0 to 5.64.2
2021-11-22 09:05:24 -07:00
dependabot[bot] 243d466ece Bump webpack from 5.64.0 to 5.64.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.0 to 5.64.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.0...v5.64.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 15:55:40 +00:00
Tim Schaub 104e3364bd Merge pull request #13033 from openlayers/dependabot/npm_and_yarn/webpack-sources-3.2.2
Bump webpack-sources from 3.2.1 to 3.2.2
2021-11-22 08:54:55 -07:00
Tim Schaub a9bd6cd00e Merge pull request #13034 from openlayers/dependabot/npm_and_yarn/rollup-2.60.1
Bump rollup from 2.60.0 to 2.60.1
2021-11-22 08:54:24 -07:00
Tim Schaub 2960668698 Merge pull request #13035 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-10.0.0
Bump copy-webpack-plugin from 9.1.0 to 10.0.0
2021-11-22 08:52:47 -07:00
Tim Schaub 9636e4ddd7 Merge pull request #13036 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-5.2.2
Bump webpack-dev-middleware from 5.2.1 to 5.2.2
2021-11-22 08:52:02 -07:00
Tim Schaub d684cb01e6 Merge pull request #13037 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.16.4
Bump @babel/preset-env from 7.16.0 to 7.16.4
2021-11-22 08:51:35 -07:00
Tim Schaub 5853dc2d19 Merge pull request #13038 from openlayers/dependabot/npm_and_yarn/marked-4.0.4
Bump marked from 4.0.3 to 4.0.4
2021-11-22 08:50:50 -07:00
Tim Schaub 100c4a2baf Merge pull request #13039 from openlayers/dependabot/npm_and_yarn/eslint-8.3.0
Bump eslint from 8.2.0 to 8.3.0
2021-11-22 08:50:25 -07:00
Tim Schaub e2daac9c4e Merge pull request #13040 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.5.3
Bump ol-mapbox-style from 6.5.2 to 6.5.3
2021-11-22 08:49:13 -07:00
Tim Schaub 14b254aeb6 Merge pull request #13041 from openlayers/dependabot/npm_and_yarn/karma-6.3.9
Bump karma from 6.3.8 to 6.3.9
2021-11-22 08:48:09 -07:00
dependabot[bot] 7c59869549 Bump karma from 6.3.8 to 6.3.9
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.8 to 6.3.9.
- [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.8...v6.3.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:03:18 +00:00
dependabot[bot] b91f8398d2 Bump ol-mapbox-style from 6.5.2 to 6.5.3
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:03:02 +00:00
dependabot[bot] ce3b1dc371 Bump eslint from 8.2.0 to 8.3.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.2.0...v8.3.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-11-22 10:02:48 +00:00
dependabot[bot] c10af22f27 Bump marked from 4.0.3 to 4.0.4
Bumps [marked](https://github.com/markedjs/marked) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.3...v4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:02:23 +00:00
dependabot[bot] a6c869f8f2 Bump @babel/preset-env from 7.16.0 to 7.16.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.16.0 to 7.16.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.16.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-11-22 10:02:11 +00:00
dependabot[bot] c96ce1d9c3 Bump webpack-dev-middleware from 5.2.1 to 5.2.2
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.2.1 to 5.2.2.
- [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/v5.2.1...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:01:51 +00:00
dependabot[bot] 3058b3730a Bump copy-webpack-plugin from 9.1.0 to 10.0.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 9.1.0 to 10.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/v9.1.0...v10.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:01:40 +00:00
dependabot[bot] e4cb2aae12 Bump rollup from 2.60.0 to 2.60.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.60.0 to 2.60.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.60.0...v2.60.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-11-22 10:01:23 +00:00
dependabot[bot] 9e7d3fd07b Bump webpack-sources from 3.2.1 to 3.2.2
Bumps [webpack-sources](https://github.com/webpack/webpack-sources) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/webpack/webpack-sources/releases)
- [Commits](https://github.com/webpack/webpack-sources/compare/v3.2.1...v3.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 10:01:07 +00:00
MoonE ea2e87c563 Merge pull request #13030 from MoonE/geographic-popover-fix
Correctly set popover position in geographic example
2021-11-21 22:37:32 +01:00
Tim Schaub 8665cee8cc Merge pull request #13031 from tschaub/to-promise
Allow data tile source loader to return a value or a promise
2021-11-21 11:56:05 -07:00
Tim Schaub f6f34f82e5 Allow data tile source loader to return a value or a promise 2021-11-20 13:55:33 -07:00
Andreas Hocevar 332672ca1e Merge pull request #13026 from ahocevar/graticule-docs
Fix strokeStyle documentation
2021-11-20 21:04:46 +01:00
Maximilian Krög 89baa4aa01 Correctly set popover position in geographic example 2021-11-20 17:47:55 +01:00
Andreas Hocevar b88a466601 Fix strokeStyle documentation 2021-11-20 17:25:14 +01:00
Tim Schaub fcb39c84ce Merge pull request #13027 from openlayers/revert-13022-codeql-tweak
Restore the security scan workflow
2021-11-20 09:24:37 -07:00
Andreas Hocevar 5ccea03e04 Merge pull request #13025 from ahocevar/mapboxvector-background
Add background to MapboxVector layer
2021-11-20 17:19:46 +01:00
Tim Schaub 036d9bf310 Merge pull request #13013 from mike-000/unpack-alignment
Use appropriate UNPACK_ALIGNMENT for data textures
2021-11-19 21:19:09 -07:00
Tim Schaub 611d455708 Tests for and adjustments to unpack alignment handling 2021-11-19 21:11:32 -07:00
mike-000 dc7303967c Use appropriate unpackAlignment for data textures 2021-11-19 21:11:32 -07:00
Tim Schaub 6665b3325b Update the security scan task 2021-11-19 11:57:19 -07:00
Tim Schaub f2023cda96 Revert "Remove the security scan workflow" 2021-11-19 11:54:54 -07:00
Tim Schaub a715b1f5c6 Merge pull request #13021 from tschaub/more-generic
Add the renderer type to generic layer template variables
2021-11-19 11:07:52 -07:00
Tim Schaub 6f80ba93c8 Add the renderer type to generic layer template variables 2021-11-19 10:56:37 -07:00
Tim Schaub 224f4c5c7f Merge pull request #13022 from tschaub/codeql-tweak
Update the security scan task
2021-11-19 10:54:39 -07:00
Andreas Hocevar d4cc76f3f1 Add background to MapboxVector layer 2021-11-19 18:17:55 +01:00
Tim Schaub 26d5b2163a Remove CodeQL workflow 2021-11-19 08:36:36 -07:00
Tim Schaub 6f2afe0088 Update the security scan task 2021-11-18 15:56:24 -07:00
Tim Schaub 79285ab7dd Merge pull request #13015 from tschaub/types
Additional types for WebGL renderer, sources, and tiles
2021-11-16 17:13:46 -07:00
Tim Schaub 871dd0c3c6 Merge pull request #13012 from tschaub/unused
Remove unused dependencies
2021-11-16 11:30:33 -07:00
Tim Schaub f336cf30b0 Additional types for WebGL renderer, sources, and tiles 2021-11-16 11:24:41 -07:00
Tim Schaub 71020bb5e4 Merge pull request #12976 from mike-000/WebGL-ReprojTile
Handle ReprojTile in ol/layer/WebGLTile
2021-11-16 09:40:00 -07:00
Tim Schaub 996a6af6a3 Remove unused dependencies 2021-11-16 09:31:16 -07:00
Tim Schaub 088ba698ee Merge pull request #13011 from tschaub/workflow-update
Use registry URL when publishing
2021-11-16 09:09:17 -07:00
Tim Schaub aa2b55aefe Use registry URL when publishing 2021-11-16 08:58:06 -07:00
Tim Schaub 0d0808fda1 Merge pull request #13009 from tschaub/deploy-preview
Use workflow_run event to deploy pull request previews
2021-11-16 06:16:37 -07:00
Tim Schaub 45c8ad37c8 Use workflow_run event to deploy pull request previews 2021-11-15 15:31:57 -07:00
Andreas Hocevar 1160b4f720 Merge pull request #13001 from openlayers/dependabot/npm_and_yarn/webpack-5.64.0
Bump webpack from 5.62.1 to 5.64.0
2021-11-15 12:58:15 +01:00
dependabot[bot] 3b12f1456e Bump webpack from 5.62.1 to 5.64.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.62.1 to 5.64.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.62.1...v5.64.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-11-15 11:39:14 +00:00
Andreas Hocevar 92c7e6e9e8 Merge pull request #13002 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-5.2.5
Bump terser-webpack-plugin from 5.2.4 to 5.2.5
2021-11-15 12:38:39 +01:00
Andreas Hocevar adf814a99c Merge pull request #13003 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-9.1.0
Bump copy-webpack-plugin from 9.0.1 to 9.1.0
2021-11-15 12:38:19 +01:00
Andreas Hocevar 82ae25e008 Merge pull request #13004 from openlayers/dependabot/npm_and_yarn/rollup-2.60.0
Bump rollup from 2.59.0 to 2.60.0
2021-11-15 12:37:58 +01:00
Andreas Hocevar c864de9fd1 Merge pull request #13005 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.5.0
Bump webpack-dev-server from 4.4.0 to 4.5.0
2021-11-15 12:37:35 +01:00
Andreas Hocevar fc40e87f89 Merge pull request #13006 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.5.2
Bump ol-mapbox-style from 6.5.1 to 6.5.2
2021-11-15 12:37:10 +01:00
Andreas Hocevar f9365d5a8e Merge pull request #13007 from openlayers/dependabot/npm_and_yarn/marked-4.0.3
Bump marked from 4.0.0 to 4.0.3
2021-11-15 12:36:46 +01:00
Andreas Hocevar 55e14cff55 Merge pull request #13008 from openlayers/dependabot/npm_and_yarn/glob-7.2.0
Bump glob from 7.1.7 to 7.2.0
2021-11-15 12:36:19 +01:00
dependabot[bot] d2939fa9e7 Bump glob from 7.1.7 to 7.2.0
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0.
- [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.7...v7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 10:02:45 +00:00
dependabot[bot] 00ac4b60b7 Bump marked from 4.0.0 to 4.0.3
Bumps [marked](https://github.com/markedjs/marked) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.0...v4.0.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-11-15 10:02:21 +00:00
dependabot[bot] 2e6f55f83f Bump ol-mapbox-style from 6.5.1 to 6.5.2
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.5.1 to 6.5.2.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.5.1...v6.5.2)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 10:02:10 +00:00
dependabot[bot] 7ae3d34859 Bump webpack-dev-server from 4.4.0 to 4.5.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.4.0 to 4.5.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.4.0...v4.5.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-11-15 10:01:56 +00:00
dependabot[bot] 281841eeb6 Bump rollup from 2.59.0 to 2.60.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.59.0 to 2.60.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.59.0...v2.60.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-11-15 10:01:41 +00:00
dependabot[bot] ec6ad7d2d6 Bump copy-webpack-plugin from 9.0.1 to 9.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 9.0.1 to 9.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/v9.0.1...v9.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 10:01:28 +00:00
dependabot[bot] e709095b18 Bump terser-webpack-plugin from 5.2.4 to 5.2.5
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.2.4 to 5.2.5.
- [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.2.4...v5.2.5)

---
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-11-15 10:01:11 +00:00
Tim Schaub c8da29cdec Merge pull request #12965 from tschaub/shared-context
Allow canvas reuse for WebGL layers
2021-11-14 12:43:03 -07:00
Tim Schaub a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00
MoonE a1b8f08bca Merge pull request #12999 from MoonE/fix-style-apidoc
Fix style related apidoc issues
2021-11-14 17:59:59 +01:00
Maximilian Krög c47fac19b5 Fix style related apidoc issues 2021-11-14 16:56:59 +01:00
MoonE 03efc13357 Merge pull request #12978 from EvertEt/patch-1
Add null to style jsdoc of VectorImage
2021-11-14 16:46:52 +01:00
EvertEt d366d283b1 Add null to style jsdoc of VectorImage and VectorTile
Similar to BaseVector
2021-11-14 10:54:05 +01:00
Tim Schaub ba6a769917 Merge pull request #12997 from tschaub/lazy-helper
Lazily create the WebGL helper
2021-11-13 14:09:45 -07:00
Tim Schaub 92826bd0fc Merge pull request #12996 from mike-000/align-labels
Align labels with the Select elements in the Raster Reprojection example
2021-11-13 11:40:14 -07:00
Tim Schaub 0dfbedb099 Lazily create the WebGL helper 2021-11-13 11:37:09 -07:00
mike-000 12cdaed2c5 align labels 2021-11-13 13:48:53 +00:00
mike-000 883f22d6fe align labels 2021-11-13 13:35:22 +00:00
Tim Schaub 1d94477ed3 Merge pull request #12994 from tschaub/layer-map-property
Add a map property to layers
2021-11-13 05:22:58 -07:00
Tim Schaub 371bb85350 Add a map property to layers 2021-11-12 17:54:10 -07:00
Tim Schaub 080fe8ca67 Merge pull request #12987 from tschaub/karma-update
Browser test config update
2021-11-12 06:41:29 -07:00
Tim Schaub 70dbe21520 Test config update 2021-11-10 14:33:13 -07:00
Tim Schaub 924b85f4ca Merge pull request #12939 from tschaub/dynamic-colors
Example that demonstrates a color expression using variables
2021-11-09 06:35:38 -07:00
Tim Schaub e5dc6588ad Merge pull request #12968 from openlayers/dependabot/npm_and_yarn/sinon-12.0.1
Bump sinon from 11.1.2 to 12.0.1
2021-11-08 17:16:30 -07:00
Andreas Hocevar bc0ad8e8c9 Merge pull request #12969 from openlayers/dependabot/npm_and_yarn/marked-4.0.0
Bump marked from 3.0.8 to 4.0.0
2021-11-08 17:12:18 +01:00
Andreas Hocevar fff8506e35 Use path for sinon entry point 2021-11-08 17:11:30 +01:00
Andreas Hocevar b86f9df8bd Account for removed default export of marked 2021-11-08 16:35:23 +01:00
Andreas Hocevar 4e8736d9f0 Merge pull request #12973 from openlayers/dependabot/npm_and_yarn/eslint-8.2.0
Bump eslint from 8.1.0 to 8.2.0
2021-11-08 16:14:15 +01:00
dependabot[bot] 0f5102b249 Bump eslint from 8.1.0 to 8.2.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.1.0...v8.2.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-11-08 15:02:51 +00:00
Andreas Hocevar 32a3ef78aa Merge pull request #12972 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-2.1.2
Bump karma-firefox-launcher from 2.1.1 to 2.1.2
2021-11-08 16:02:14 +01:00
Andreas Hocevar 656014dbc4 Merge pull request #12971 from openlayers/dependabot/npm_and_yarn/puppeteer-11.0.0
Bump puppeteer from 10.4.0 to 11.0.0
2021-11-08 16:01:26 +01:00
Andreas Hocevar 0209827b90 Merge pull request #12970 from openlayers/dependabot/npm_and_yarn/karma-6.3.8
Bump karma from 6.3.6 to 6.3.8
2021-11-08 16:00:10 +01:00
Andreas Hocevar ceb7192a63 Merge pull request #12967 from openlayers/dependabot/npm_and_yarn/webpack-5.62.1
Bump webpack from 5.61.0 to 5.62.1
2021-11-08 15:56:40 +01:00
mike-000 4a80ebe1fc expire cache for tileGrid projection 2021-11-08 12:39:18 +00:00
mike-000 f4134b873b Handle ReprojTile 2021-11-08 12:39:17 +00:00
dependabot[bot] 55af918a0e Bump karma-firefox-launcher from 2.1.1 to 2.1.2
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 2.1.1 to 2.1.2.
- [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.1...v2.1.2)

---
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-11-08 10:02:20 +00:00
dependabot[bot] f0c6dff14e Bump puppeteer from 10.4.0 to 11.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.4.0 to 11.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/v10.4.0...v11.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-11-08 10:02:09 +00:00
dependabot[bot] d4eb473252 Bump karma from 6.3.6 to 6.3.8
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.6 to 6.3.8.
- [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.6...v6.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 10:01:55 +00:00
dependabot[bot] 7679128245 Bump marked from 3.0.8 to 4.0.0
Bumps [marked](https://github.com/markedjs/marked) from 3.0.8 to 4.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.8...v4.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-11-08 10:01:36 +00:00
dependabot[bot] 5addb14e60 Bump sinon from 11.1.2 to 12.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 11.1.2 to 12.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v11.1.2...v12.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 10:01:21 +00:00
dependabot[bot] e9d0323e90 Bump webpack from 5.61.0 to 5.62.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.61.0 to 5.62.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.61.0...v5.62.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-11-08 10:01:08 +00:00
Andreas Hocevar 6a0d0c1eeb Merge pull request #12962 from ahocevar/opacity-no-sharing
No context sharing when layer opacity is set
2021-11-05 23:09:36 +01:00
Tim Schaub 10aa3d16ab Merge pull request #12964 from tschaub/new-bing-key
Updated Bing Maps key
2021-11-05 15:32:41 -06:00
Tim Schaub 2ec760d9a5 New Bing Maps key 2021-11-05 15:26:17 -06:00
Andreas Hocevar 57eaf69c1a Add rendering test 2021-11-05 21:16:18 +01:00
Andreas Hocevar 58806aaec1 No context sharing when layer opacity is set 2021-11-05 15:00:56 +01:00
Andreas Hocevar 6e5e94a447 Merge pull request #12958 from mike-000/reuse-temporary-canvas
Reuse temporary canvas in getDataAtPixel()
2021-11-04 14:30:06 +01:00
mike-000 655a49de7b Reuse temporary canvas in getDataAtPixel() 2021-11-04 13:09:16 +00:00
MoonE fa2f730442 Merge pull request #12893 from andrewcoder002/main
Allow map target to be an external window
2021-11-03 21:20:24 +01:00
Andreas Hocevar 6bfef64e89 Merge pull request #12955 from ahocevar/mapbox-vector-layer
Make MapboxVector layer work in more access key scenarios
2021-11-03 13:45:17 +01:00
Andreas Hocevar 1697d1b647 Use URL constructor
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-11-03 13:37:47 +01:00
Maximilian Krög 07fa1adfe8 Use more structured yaml for examples source path 2021-11-02 22:10:27 +01:00
Maximilian Krög 12de93b397 Fixed unusable overlay in fullscreen mode 2021-11-02 22:10:27 +01:00
Andreas Hocevar cbac16e21f Make MapboxVector layer work in more access key scenarios 2021-11-02 20:45:30 +01:00
Maximilian Krög a10bc713f2 Configure additional sources displayed below map 2021-11-02 00:21:12 +01:00
Maximilian Krög ca9fc92f70 Example builder code cleanup
Add function for transforming js source and cloaking
Use  to parse source for import statements
Use now released parcel 2.0.0
2021-11-02 00:21:12 +01:00
Maximilian Krög 46d9e8db8e Fix codesandbox edit for offscreen-canvas example 2021-11-02 00:21:12 +01:00
Maximilian Krög 8cff620691 Improve unusable map window
As long as the original window is visible animation frames will run
and the external map will be usable
2021-11-02 00:21:12 +01:00
Maximilian Krög 50dc9f1f88 Fix map tests 2021-11-02 00:21:11 +01:00
Maximilian Krög 9a6bb4d751 Fix FullScreen state when changing target in fullscreen mode 2021-11-02 00:21:11 +01:00
andrewcoder002 f74cd62827 Update external-map.js
Handle situations when main window loose focus - e.g. by selecting of differen browser tab.
2021-11-02 00:21:11 +01:00
Maximilian Krög 7bed63bf3f Improve window open and close handling
Use pagehide event instead of beforeunload, seems to be more reliable
Add a timeout and info message when opening the window fails
2021-11-02 00:21:11 +01:00
Maximilian Krög 5149224354 Improve code and its formatting 2021-11-02 00:21:11 +01:00
andrewcoder002 f2f9f68840 Update condition.js 2021-11-02 00:21:11 +01:00
andrewcoder002 f353d52da3 Update external-map.js 2021-11-02 00:21:11 +01:00
andrewcoder002 f4739df907 Update external-map.js 2021-11-02 00:21:10 +01:00
andrewcoder002 8f24467ea4 Update PluggableMap.js 2021-11-02 00:21:10 +01:00
Maximilian Krög 770f53b5e3 Make FullScreen control work in external window 2021-11-02 00:21:10 +01:00
andrewcoder002 a807af75f1 Update external-map.js 2021-11-02 00:21:10 +01:00
andrewcoder002 c799cf0cfd Update external-map-map.html
Handle situation when user reloads external map window
2021-11-02 00:21:10 +01:00
Maximilian Krög d1560176ba Fix mouse interactions with tabindex in external window 2021-11-02 00:21:10 +01:00
Maximilian Krög 86801d1151 Make external map example work 2021-11-02 00:21:09 +01:00
andrewcoder002 7a74ba606a Test case of new functionality
Test case of new functionality that enables to switch map to another browser window and back
2021-11-02 00:21:09 +01:00
andrewcoder002 bc064aba36 Update PluggableMap.js
Removing listener when the target is changed again.
2021-11-02 00:21:09 +01:00
andrewcoder002 b51d16b575 Update PluggableMap.js
Just changed formatting
2021-11-02 00:21:09 +01:00
andrewcoder002 7d3abbd5ca Update PluggableMap.js 2021-11-02 00:21:03 +01:00
Tim Schaub d1930d4a3f Merge pull request #12948 from openlayers/dependabot/npm_and_yarn/webpack-5.61.0
Bump webpack from 5.59.1 to 5.61.0
2021-11-01 06:44:25 -06:00
Tim Schaub 9da64fd73b Merge pull request #12945 from openlayers/dependabot/npm_and_yarn/rollup-2.59.0
Bump rollup from 2.58.3 to 2.59.0
2021-11-01 06:41:32 -06:00
Tim Schaub 37ddae4349 Merge pull request #12946 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.16.0
Bump @babel/preset-env from 7.15.8 to 7.16.0
2021-11-01 06:39:30 -06:00
Tim Schaub 0645ea909e Merge pull request #12947 from openlayers/dependabot/npm_and_yarn/babel/core-7.16.0
Bump @babel/core from 7.15.8 to 7.16.0
2021-11-01 06:38:35 -06:00
dependabot[bot] 166175b4ed Bump webpack from 5.59.1 to 5.61.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.59.1 to 5.61.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.59.1...v5.61.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-11-01 12:36:51 +00:00
Tim Schaub b0312b7bc9 Merge pull request #12949 from openlayers/dependabot/npm_and_yarn/karma-6.3.6
Bump karma from 6.3.5 to 6.3.6
2021-11-01 06:36:09 -06:00
Tim Schaub e9bf7ccc61 Merge pull request #12944 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.4.0
Bump webpack-dev-server from 4.3.1 to 4.4.0
2021-11-01 06:35:26 -06:00
dependabot[bot] 2e9f41ce34 Bump karma from 6.3.5 to 6.3.6
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.5 to 6.3.6.
- [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.5...v6.3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 10:02:55 +00:00
dependabot[bot] 2feb88cd20 Bump @babel/core from 7.15.8 to 7.16.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.15.8 to 7.16.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.16.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-11-01 10:02:22 +00:00
dependabot[bot] 01bf4c32d9 Bump @babel/preset-env from 7.15.8 to 7.16.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.8 to 7.16.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.16.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-11-01 10:02:04 +00:00
dependabot[bot] f9db2c3845 Bump rollup from 2.58.3 to 2.59.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.58.3 to 2.59.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.58.3...v2.59.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-11-01 10:01:28 +00:00
dependabot[bot] e4baee4c0c Bump webpack-dev-server from 4.3.1 to 4.4.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.3.1 to 4.4.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.3.1...v4.4.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-11-01 10:01:11 +00:00
Andreas Hocevar b7cd60a7d4 Merge pull request #12935 from mrpan/fixbug_declutter
fix bug #12913
2021-11-01 09:10:12 +01:00
Andreas Hocevar c2877d56cb Apply suggestions from code review 2021-10-31 09:18:47 +01:00
Tim Schaub 0e19c9aa2b Example that demonstrates a color expression using variables 2021-10-29 11:48:41 -06:00
Tim Schaub fdba3ecf0e Merge pull request #12933 from tschaub/gl-render-events
Include WebGL context in render events for WebGL layers
2021-10-29 10:47:57 -06:00
Tim Schaub 2adf74ece4 Include WebGL context in render events for WebGL layers 2021-10-29 08:39:47 -06:00
Edward Nash 7b1c01c502 Add tests parsing multiple complex GML properties 2021-10-29 16:36:17 +02:00
Edward Nash e1b4634fa4 Correct parsing multi-properties with attributes
When parsing GML then conversion of properties containing XML attributes
to objects with a _content_ property must occur before the handling of
multiple attributes (conversion/adding to an array), as otherwise the
_content_ property and attributes are set on the array and not on the
array element.

Prior to this change, only multiple properties without attributes could
be correctly parsed.

Example problemeatic GML section:
<Link xlink:href="http://example.com/a"/>
<Link xlink:href="http://example.com/b"/>

Resulting property as JSON extract after this change:
{
  "Link": [
    {
      "_content_": undefined,
      "xlink:href": "http://example.com/a",
    },
    {
      "_content_": undefined,
      "xlink:href": "http://example.com/b"
    }
  ]
}

Prior to this change, the _content_ property and the properties for the
XML attributes would be set on the resulting JS Array object, with
previous entries being represented as nested arrays.
2021-10-29 16:35:05 +02:00
giserpan 26c6538531 fix bug when select interaction crashes with empty vector layer when declutter: true 2021-10-29 16:17:08 +08:00
Tim Schaub aff751bdf0 Merge pull request #12917 from mike-000/removeFeature-2
Make removeFeature consistent with other remove methods
2021-10-27 14:20:10 -06:00
Tim Schaub 1b17f347c0 Add test for new removeFeature behavior 2021-10-27 14:11:55 -06:00
Tim Schaub 3bc28f2125 Merge pull request #12918 from mike-000/setDisplacement-2
Add setDisplacement method to ol/style/Image and subclasses
2021-10-26 17:05:48 -06:00
Tim Schaub f1c0781eb2 Example style update 2021-10-26 16:55:56 -06:00
MoonE d742c38163 Merge pull request #12930 from MoonE/view-animation-test
Fix flaky view animation test
2021-10-27 00:21:04 +02:00
Maximilian Krög 687cffb5d9 Fix flaky view animation test 2021-10-26 21:52:10 +02:00
Tim Schaub dc8c9cfabb Merge pull request #12923 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.0.1
Bump @rollup/plugin-commonjs from 21.0.0 to 21.0.1
2021-10-25 10:02:53 -10:00
Tim Schaub 660f646d1a Merge pull request #12922 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.9.1
Bump webpack-cli from 4.9.0 to 4.9.1
2021-10-25 10:00:30 -10:00
Tim Schaub 30054879e8 Merge pull request #12929 from openlayers/dependabot/npm_and_yarn/rollup-2.58.3
Bump rollup from 2.58.0 to 2.58.3
2021-10-25 09:59:49 -10:00
Tim Schaub 856066d05c Merge pull request #12920 from openlayers/dependabot/npm_and_yarn/marked-3.0.8
Bump marked from 3.0.7 to 3.0.8
2021-10-25 09:53:49 -10:00
Tim Schaub 380cfd12cb Merge pull request #12924 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.4.2
Bump clean-css-cli from 5.4.1 to 5.4.2
2021-10-25 09:53:13 -10:00
dependabot[bot] bfdd566bef Bump rollup from 2.58.0 to 2.58.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.58.0 to 2.58.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.58.0...v2.58.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-10-25 19:53:05 +00:00
Tim Schaub bf20ab4367 Merge pull request #12926 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.6
Bump @rollup/plugin-node-resolve from 13.0.5 to 13.0.6
2021-10-25 09:51:39 -10:00
Tim Schaub 06a083adda Merge pull request #12928 from openlayers/dependabot/npm_and_yarn/babel-loader-8.2.3
Bump babel-loader from 8.2.2 to 8.2.3
2021-10-25 09:50:54 -10:00
Tim Schaub 062096b641 Merge pull request #12921 from openlayers/dependabot/npm_and_yarn/webpack-5.59.1
Bump webpack from 5.58.2 to 5.59.1
2021-10-25 09:50:10 -10:00
Tim Schaub 0064b3c18e Merge pull request #12927 from openlayers/dependabot/npm_and_yarn/eslint-8.1.0
Bump eslint from 8.0.1 to 8.1.0
2021-10-25 09:48:40 -10:00
Tim Schaub 8703ddfab6 Merge pull request #12919 from openlayers/dependabot/npm_and_yarn/karma-6.3.5
Bump karma from 6.3.4 to 6.3.5
2021-10-25 09:47:33 -10:00
dependabot[bot] cbc2fd2997 Bump babel-loader from 8.2.2 to 8.2.3
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 10:03:03 +00:00
dependabot[bot] 74e8522509 Bump eslint from 8.0.1 to 8.1.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.0.1...v8.1.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-10-25 10:02:52 +00:00
dependabot[bot] 96565935f8 Bump @rollup/plugin-node-resolve from 13.0.5 to 13.0.6
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.5 to 13.0.6.
- [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.6/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-10-25 10:02:34 +00:00
dependabot[bot] 0c8821a01a Bump clean-css-cli from 5.4.1 to 5.4.2
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.4.1 to 5.4.2.
- [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.4.1...v5.4.2)

---
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-10-25 10:02:05 +00:00
dependabot[bot] a169aaab37 Bump @rollup/plugin-commonjs from 21.0.0 to 21.0.1
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 21.0.0 to 21.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-v21.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-10-25 10:01:49 +00:00
dependabot[bot] 6ae34e6590 Bump webpack-cli from 4.9.0 to 4.9.1
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.0 to 4.9.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.9.0...webpack-cli@4.9.1)

---
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-10-25 10:01:32 +00:00
dependabot[bot] bc1f1773fe Bump webpack from 5.58.2 to 5.59.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.58.2 to 5.59.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.58.2...v5.59.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-10-25 10:01:21 +00:00
dependabot[bot] a1166fe9a8 Bump marked from 3.0.7 to 3.0.8
Bumps [marked](https://github.com/markedjs/marked) from 3.0.7 to 3.0.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/v3.0.7...v3.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 10:01:06 +00:00
dependabot[bot] 7d4b931909 Bump karma from 6.3.4 to 6.3.5
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.5.
- [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.4...v6.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 10:00:50 +00:00
mike-000 6640d2d069 new example 2021-10-25 10:55:21 +01:00
mike-000 f16482b420 Test setDisplacement 2021-10-25 10:28:54 +01:00
mike-000 eb0bfc970e Test setDisplacement
Test getAnchor with displacement
2021-10-25 10:27:18 +01:00
mike-000 a0da16e4e9 handle updateable displacement 2021-10-25 10:22:40 +01:00
mike-000 9267d2994d handle updateable displacement 2021-10-25 10:20:36 +01:00
mike-000 1249ecee45 add setDisplacement method 2021-10-25 10:18:18 +01:00
mike-000 855fc6f5bc removeFeature consistent with other remove methods
Make returning the removed feature a TODO
2021-10-24 20:33:48 +01:00
Tim Schaub 658f55d03f Merge pull request #12915 from tschaub/test-deploy
Test the new pull request deploy previews
2021-10-22 22:58:49 -10:00
Tim Schaub fc03078e2a Include charset 2021-10-22 22:46:06 -10:00
Tim Schaub c72101ff2e Add status context 2021-10-22 22:45:42 -10:00
Tim Schaub 2c757bc8fa Add commit status with preview URL 2021-10-22 22:31:50 -10:00
Tim Schaub 635a236ab8 Use SHA for pull request head 2021-10-22 22:08:07 -10:00
Tim Schaub ac65eed669 Merge pull request #12916 from openlayers/fix-deploy
Updates to deploy-preview job
2021-10-22 21:22:02 -10:00
Tim Schaub 5ac9dbeb89 Use pull request head 2021-10-22 21:14:47 -10:00
Tim Schaub cc30a38d7d Merge pull request #12914 from tschaub/netlify-action
Build site preview as a GitHub action
2021-10-22 14:41:29 -10:00
Tim Schaub ba6d6f3bb4 Build site preview as a GitHub action 2021-10-22 14:27:34 -10:00
Andreas Hocevar 36f94f57ce Merge pull request #12891 from mike-000/compatibility
Restore browser compatibility where possible
2021-10-18 19:31:40 +02:00
Tim Schaub f849595dfd Merge pull request #12902 from openlayers/dependabot/npm_and_yarn/eslint-8.0.1
Bump eslint from 7.32.0 to 8.0.1
2021-10-18 06:31:01 -10:00
Tim Schaub c55f882e49 Merge pull request #12904 from openlayers/dependabot/npm_and_yarn/mocha-9.1.3
Bump mocha from 9.1.2 to 9.1.3
2021-10-18 06:30:50 -10:00
dependabot[bot] 106c114914 Bump mocha from 9.1.2 to 9.1.3
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.2 to 9.1.3.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.1.2...v9.1.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-10-18 16:25:32 +00:00
dependabot[bot] 5faf95b9fb Bump eslint from 7.32.0 to 8.0.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 16:25:08 +00:00
Tim Schaub b0bb7846db Merge pull request #12905 from openlayers/dependabot/npm_and_yarn/glob-7.2.0
Bump glob from 7.1.7 to 7.2.0
2021-10-18 06:23:55 -10:00
Tim Schaub 243629510d Merge pull request #12903 from openlayers/dependabot/npm_and_yarn/webpack-5.58.2
Bump webpack from 5.58.1 to 5.58.2
2021-10-18 06:23:06 -10:00
mike-000 2f713775d0 Update polyfills 2021-10-18 16:11:39 +01:00
mike-000 94a125357e Avoid startsWith for browser compatibility 2021-10-18 16:10:08 +01:00
mike-000 895749707f Use core-js cdn for some polyfills 2021-10-18 16:10:08 +01:00
dependabot[bot] b39f403641 Bump glob from 7.1.7 to 7.2.0
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0.
- [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.7...v7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 10:01:54 +00:00
dependabot[bot] ed379f4c0e Bump webpack from 5.58.1 to 5.58.2
Bumps [webpack](https://github.com/webpack/webpack) from 5.58.1 to 5.58.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.58.1...v5.58.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 10:01:19 +00:00
Tim Schaub 52576a4485 Merge pull request #12899 from tschaub/use-vite
Update docs to mention Vite
2021-10-17 03:34:51 -06:00
Maximilian Krög d8686598df Update heading and default port used 2021-10-17 01:33:06 +02:00
Tim Schaub d52392dabe Update docs to mention Vite 2021-10-15 07:05:44 -06:00
mike-000 a2291abf1d also transpile .mjs 2021-10-13 10:17:50 +01:00
Tim Schaub bbc99e729b Merge pull request #12890 from openlayers/release-v6.9.0
Release 6.9.0
2021-10-12 14:09:34 -06:00
Tim Schaub d3138e4e98 Develop on 6.9.1-dev 2021-10-12 13:58:27 -06:00
Tim Schaub f86bad7459 Updates for 6.9.0 2021-10-12 13:47:14 -06:00
Tim Schaub 2e531377e2 Merge pull request #12813 from mike-000/fix-zero-size
Do not replace icon color if image not loaded
2021-10-12 13:33:34 -06:00
Tim Schaub deb523f6f5 Merge pull request #12870 from ahocevar/legacy-publicpath
Fix publicPath problem in legacy build
2021-10-12 13:30:33 -06:00
Tim Schaub 4718ec500b Merge pull request #12889 from tschaub/updates
Simplified ESLint config
2021-10-12 13:29:08 -06:00
Tim Schaub 5b4c682f2a Merge pull request #12875 from tschaub/raster-loop
Only trigger change event if animating a tile transition
2021-10-12 13:27:53 -06:00
Tim Schaub 9224678627 Simplified ESLint config 2021-10-12 09:03:53 -06:00
Tim Schaub df7a911687 Merge pull request #12885 from MatthijsBon/master
Fix typeDefs for several Control modules
2021-10-12 08:23:45 -06:00
Matthijs Bon 72cb135aff Update typeDefs for labelActive
Add description that 'span' element can be used and add HTMLElement as type
2021-10-12 11:29:35 +02:00
Tim Schaub 5293efc6e2 Merge pull request #12881 from openlayers/dependabot/npm_and_yarn/webpack-5.58.1
Bump webpack from 5.56.1 to 5.58.1
2021-10-11 08:05:20 -06:00
Matthijs Bon 4cbf04d029 Update typeDefs for Fullscreen Options
Remove line stating that a 'span' is also a valid inactiveClassName value.
2021-10-11 14:48:04 +02:00
dependabot[bot] bc04e96556 Bump webpack from 5.56.1 to 5.58.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.56.1 to 5.58.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.56.1...v5.58.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-10-11 12:44:38 +00:00
Tim Schaub 6a03e1c34f Merge pull request #12882 from openlayers/dependabot/npm_and_yarn/marked-3.0.7
Bump marked from 3.0.4 to 3.0.7
2021-10-11 06:40:27 -06:00
Tim Schaub f7efb60843 Merge pull request #12878 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.3.1
Bump webpack-dev-server from 4.3.0 to 4.3.1
2021-10-11 06:39:23 -06:00
Tim Schaub 9ee1768a1d Merge pull request #12879 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.15.8
Bump @babel/preset-env from 7.15.6 to 7.15.8
2021-10-11 06:38:51 -06:00
Tim Schaub 4e5a7fba77 Merge pull request #12880 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.15.8
Bump @babel/eslint-parser from 7.15.7 to 7.15.8
2021-10-11 06:38:13 -06:00
Tim Schaub f26130ee54 Merge pull request #12884 from openlayers/dependabot/npm_and_yarn/babel/core-7.15.8
Bump @babel/core from 7.15.5 to 7.15.8
2021-10-11 06:36:16 -06:00
Tim Schaub cb6a00e13a Merge pull request #12877 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.9.0
Bump webpack-cli from 4.8.0 to 4.9.0
2021-10-11 06:34:49 -06:00
dependabot[bot] 60c259df02 Bump @babel/core from 7.15.5 to 7.15.8
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.15.5 to 7.15.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.15.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-10-11 10:03:15 +00:00
dependabot[bot] aa110486a1 Bump marked from 3.0.4 to 3.0.7
Bumps [marked](https://github.com/markedjs/marked) from 3.0.4 to 3.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/v3.0.4...v3.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-10-11 10:02:29 +00:00
dependabot[bot] 33bffbcdad Bump @babel/eslint-parser from 7.15.7 to 7.15.8
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.15.7 to 7.15.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.15.8/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-10-11 10:01:54 +00:00
dependabot[bot] c4e10a34c8 Bump @babel/preset-env from 7.15.6 to 7.15.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.6 to 7.15.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.15.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-10-11 10:01:41 +00:00
dependabot[bot] c1be8cf618 Bump webpack-dev-server from 4.3.0 to 4.3.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.3.0 to 4.3.1.
- [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.3.0...v4.3.1)

---
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-10-11 10:01:22 +00:00
dependabot[bot] 1872b56355 Bump webpack-cli from 4.8.0 to 4.9.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.8.0 to 4.9.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.8.0...webpack-cli@4.9.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-10-11 10:01:10 +00:00
Matthijs Bon 6bc8d0cd96 Fix typeDef for label
Allow string, Text and HTMLElement, instead of only string and HTMLElement
2021-10-11 10:11:44 +02:00
Matthijs Bon d4bc7d3f39 Update typeDefs for Attribution and Control
For consistency with docs, update type for labels to {string|HTMLElement}
2021-10-11 10:05:47 +02:00
Tim Schaub 60790fea18 Only trigger change event if animating a tile transition 2021-10-10 13:03:09 -06:00
Andreas Hocevar 77ca0c2de5 Fix publicPath problem in legacy build 2021-10-08 11:11:00 +02:00
Andreas Hocevar c0009d5985 Merge pull request #12861 from ahocevar/geotiff
Update geotiff to 1.0.8; allow version range
2021-10-06 19:32:25 +02:00
Tim Schaub c85a6016c4 Merge pull request #12865 from tschaub/doc-update
Add a note about installing git before using create-ol-app
2021-10-06 10:45:55 -06:00
Tim Schaub d5a27dae4f Add a note about installing git before using create-ol-app 2021-10-06 09:01:20 -06:00
Andreas Hocevar 0186ca74f1 Update geotiff to 1.0.8; allow version range 2021-10-06 13:23:47 +02:00
Andreas Hocevar 9834f683b9 Merge pull request #12854 from openlayers/dependabot/npm_and_yarn/webpack-5.56.1
Bump webpack from 5.54.0 to 5.56.1
2021-10-04 13:04:02 +02:00
dependabot[bot] 4f5e59d7f0 Bump webpack from 5.54.0 to 5.56.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.54.0 to 5.56.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.54.0...v5.56.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-10-04 10:58:17 +00:00
Andreas Hocevar 940011fb56 Merge pull request #12857 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.3.0
Bump webpack-dev-server from 4.2.1 to 4.3.0
2021-10-04 12:57:29 +02:00
Andreas Hocevar 974fdebafa Merge pull request #12856 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.0.0
Bump @rollup/plugin-commonjs from 20.0.0 to 21.0.0
2021-10-04 12:55:43 +02:00
Andreas Hocevar fb0550ea5c Merge pull request #12855 from openlayers/dependabot/npm_and_yarn/rollup-2.58.0
Bump rollup from 2.57.0 to 2.58.0
2021-10-04 12:55:10 +02:00
Andreas Hocevar b55f8e8f40 Merge pull request #12853 from openlayers/dependabot/npm_and_yarn/clean-css-cli-5.4.1
Bump clean-css-cli from 5.3.3 to 5.4.1
2021-10-04 12:52:38 +02:00
dependabot[bot] d8d4f21437 Bump webpack-dev-server from 4.2.1 to 4.3.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.2.1 to 4.3.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.2.1...v4.3.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-10-04 10:02:17 +00:00
dependabot[bot] 7c556951c8 Bump @rollup/plugin-commonjs from 20.0.0 to 21.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 20.0.0 to 21.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-v21.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-10-04 10:01:58 +00:00
dependabot[bot] b15de51344 Bump rollup from 2.57.0 to 2.58.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.57.0 to 2.58.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.57.0...v2.58.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-10-04 10:01:43 +00:00
dependabot[bot] 4822589e26 Bump clean-css-cli from 5.3.3 to 5.4.1
Bumps [clean-css-cli](https://github.com/clean-css/clean-css-cli) from 5.3.3 to 5.4.1.
- [Release notes](https://github.com/clean-css/clean-css-cli/releases)
- [Changelog](https://github.com/clean-css/clean-css-cli/blob/master/History.md)
- [Commits](https://github.com/clean-css/clean-css-cli/compare/v5.3.3...v5.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 10:01:07 +00:00
Tim Schaub 00e880f534 Merge pull request #12847 from tschaub/geotiff-types
Add more definitions for GeoTIFF types
2021-10-03 13:51:10 -06:00
MoonE f4c2cbdb9b Merge pull request #12850 from MoonE/view-not-def-animation-fix
Fix issues with animate on View without center or resolution
2021-10-03 19:57:26 +02:00
Maximilian Krög 1be2c459c4 Fix end state for animation on view with invalid state 2021-10-03 00:22:18 +02:00
Maximilian Krög 84729e985f Add test for animation on view with invalid state 2021-10-03 00:19:05 +02:00
Tim Schaub 6506efab0c Add more definitions for GeoTIFF types 2021-10-01 17:06:13 -06:00
Tim Schaub 243b21a2e1 Merge pull request #12846 from tschaub/extract-fill-values
Use nodata values in the GeoTIFF headers for fill value
2021-10-01 13:54:07 -06:00
Tim Schaub 9d709cb3d9 Additional documentation on the nodata property 2021-10-01 13:48:35 -06:00
Tim Schaub ba444117bb Use nodata values in the GeoTIFF headers for fill value 2021-10-01 11:47:27 -06:00
Tim Schaub 78a4efab8c Merge pull request #12837 from mike-000/getDataAtPixel
forEachLayerAtPixel return null for unsupported layer types
2021-09-30 04:13:36 -06:00
mike-000 54871b6c52 return null for unsupported layer types 2021-09-30 10:32:48 +01:00
Tim Schaub 709139c657 Merge pull request #12836 from tschaub/denormalized
Support a normalize option on the GeoTIFF source
2021-09-29 15:57:27 -06:00
MoonE 9e37182649 Merge pull request #12646 from ashchurova/fix-8136-hit-detection-custom-renderer
Support for hit detection in styles with custom rendering
2021-09-29 20:22:57 +02:00
Tim Schaub d7b0191c78 Support a normalize option on the GeoTIFF source 2021-09-29 10:25:22 -06:00
MoonE 5f118b0244 Merge pull request #12831 from MoonE/fix-emptied-vectorimage
Fix rendering VectorImage with no features in view extent
2021-09-28 23:28:00 +02:00
Andreas Hocevar e74d15659f Merge pull request #12830 from ejn/bugfix/overviewmap-layers-type
bugfix: Fix type of `layers` option in `OverviewMap`
2021-09-28 11:43:09 +02:00
Maximilian Krög 1942f3f91b Fix rendering VectorImage with no features in view extent 2021-09-27 23:04:58 +02:00
Maximilian Krög 2d3d6cae31 Test VectorImage rendering view extent with no features 2021-09-27 23:04:55 +02:00
Tim Schaub f2f5a51455 Merge pull request #12822 from openlayers/dependabot/npm_and_yarn/glob-7.2.0
Bump glob from 7.1.7 to 7.2.0
2021-09-27 11:09:29 -06:00
Tim Schaub 1c4bcd7ceb Merge pull request #12824 from openlayers/dependabot/npm_and_yarn/rollup-2.57.0
Bump rollup from 2.56.3 to 2.57.0
2021-09-27 11:09:05 -06:00
Tim Schaub fd178c71e6 Merge pull request #12818 from openlayers/dependabot/npm_and_yarn/threads-1.7.0
Bump threads from 1.6.5 to 1.7.0
2021-09-27 10:47:17 -06:00
dependabot[bot] aee95cf690 Bump rollup from 2.56.3 to 2.57.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.56.3 to 2.57.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.56.3...v2.57.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-09-27 16:44:18 +00:00
Tim Schaub a32dc03a78 Merge pull request #12821 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.0.5
Bump @rollup/plugin-node-resolve from 13.0.4 to 13.0.5
2021-09-27 10:43:25 -06:00
Tim Schaub 17b8e80f0a Merge pull request #12823 from openlayers/dependabot/npm_and_yarn/walk-2.3.15
Bump walk from 2.3.14 to 2.3.15
2021-09-27 10:42:58 -06:00
Tim Schaub b3c417d1c2 Merge pull request #12819 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-5.2.1
Bump webpack-dev-middleware from 5.1.0 to 5.2.1
2021-09-27 10:42:02 -06:00
Tim Schaub 06884c1f35 Merge pull request #12820 from openlayers/dependabot/npm_and_yarn/mocha-9.1.2
Bump mocha from 9.1.1 to 9.1.2
2021-09-27 10:41:26 -06:00
Tim Schaub 13da248cbf Merge pull request #12817 from openlayers/dependabot/npm_and_yarn/yargs-17.2.1
Bump yargs from 17.1.1 to 17.2.1
2021-09-27 10:40:45 -06:00
dependabot[bot] 2274598ea3 Bump glob from 7.1.7 to 7.2.0
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.7 to 7.2.0.
- [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.7...v7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 16:38:52 +00:00
Tim Schaub c5a4e842a3 Merge pull request #12825 from openlayers/dependabot/npm_and_yarn/webpack-5.54.0
Bump webpack from 5.53.0 to 5.54.0
2021-09-27 10:37:56 -06:00
Tim Schaub b929e02f78 Merge pull request #12826 from openlayers/dependabot/npm_and_yarn/puppeteer-10.4.0
Bump puppeteer from 10.2.0 to 10.4.0
2021-09-27 10:36:59 -06:00
Edward Nash a4186fae3c bugfix: Fix type of layers option in OverviewMap
* The foundation Layer class is BaseLayer and not Layer
2021-09-27 13:33:24 +02:00
Tim Schaub bfb6c0ffb5 Merge pull request #12815 from tschaub/typo
Spelling correction
2021-09-27 05:18:09 -06:00
dependabot[bot] 9d167413e7 Bump puppeteer from 10.2.0 to 10.4.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.2.0 to 10.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v10.2.0...v10.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:03:07 +00:00
dependabot[bot] bec5e9676a Bump webpack from 5.53.0 to 5.54.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.53.0 to 5.54.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.53.0...v5.54.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-27 10:02:51 +00:00
dependabot[bot] 676f538642 Bump walk from 2.3.14 to 2.3.15
Bumps [walk](https://github.com/coolaj86/node-walk) from 2.3.14 to 2.3.15.
- [Release notes](https://github.com/coolaj86/node-walk/releases)
- [Commits](https://github.com/coolaj86/node-walk/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:02:16 +00:00
dependabot[bot] c81a486615 Bump @rollup/plugin-node-resolve from 13.0.4 to 13.0.5
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 13.0.4 to 13.0.5.
- [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.5/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-09-27 10:01:52 +00:00
dependabot[bot] 722769695d Bump mocha from 9.1.1 to 9.1.2
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.1 to 9.1.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.1.1...v9.1.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-09-27 10:01:41 +00:00
dependabot[bot] 9511063f7e Bump webpack-dev-middleware from 5.1.0 to 5.2.1
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.1.0 to 5.2.1.
- [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/v5.1.0...v5.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:01:18 +00:00
dependabot[bot] d755fbc507 Bump threads from 1.6.5 to 1.7.0
Bumps [threads](https://github.com/andywer/threads.js) from 1.6.5 to 1.7.0.
- [Release notes](https://github.com/andywer/threads.js/releases)
- [Changelog](https://github.com/andywer/threads.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/andywer/threads.js/compare/v1.6.5...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:01:06 +00:00
dependabot[bot] f7aba759c2 Bump yargs from 17.1.1 to 17.2.1
Bumps [yargs](https://github.com/yargs/yargs) from 17.1.1 to 17.2.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.1.1...v17.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 10:00:49 +00:00
Tim Schaub 79cfeb9a07 Spelling correction 2021-09-26 20:11:40 -06:00
mike-000 564d4f867f Do not replace color if image not loaded 2021-09-25 13:24:39 +01:00
Andreas Hocevar d66f2f4091 Merge pull request #12812 from openlayers/release-v6.8.1
Release v6.8.1
2021-09-25 09:15:50 +00:00
Andreas Hocevar 481dc9792c Fix typo 2021-09-25 09:06:15 +00:00
Andreas Hocevar 5c61d5b06c Develop on 6.8.2-dev 2021-09-25 09:05:12 +00:00
Andreas Hocevar b068a339f5 Update package version to 6.8.1 2021-09-25 09:02:23 +00:00
Andreas Hocevar 7ac93be8dd Changelog for v6.8.1 2021-09-25 09:01:39 +00:00
Tim Schaub 7a6b9f8a33 Merge pull request #12811 from tschaub/inheritance
Controls inherit font size from parent
2021-09-25 08:20:30 +00:00
Tim Schaub ef5d00cb9a Controls inherit font size from parent 2021-09-25 06:31:36 +00:00
Tim Schaub 2a0a71107e Merge pull request #12810 from openlayers/release-v6.8.0
Release v6.8.0
2021-09-24 20:07:58 +00:00
Tim Schaub 6b1232b922 Back to development 2021-09-24 19:54:37 +00:00
Tim Schaub a2d6bd3d85 Updates for 6.8 2021-09-24 19:51:28 +00:00
Tim Schaub 264f155fe3 Merge pull request #12785 from mike-000/Promise.allSettled
Promise.allSettled polyfill and other browser compatibilty
2021-09-24 19:32:53 +00:00
Tim Schaub 0b1d0c9b6e Merge pull request #12807 from tschaub/style-tweaks
Updated styles
2021-09-24 14:12:56 +00:00
Tim Schaub f5169aafd3 Merge pull request #12806 from tschaub/simpler-sea-level
Update to the WebGL sea level example
2021-09-24 13:50:19 +00:00
Tim Schaub 3db0bf1c6d Update to the WebGL sea level example 2021-09-24 13:41:19 +00:00
Tim Schaub f5052149d1 Updated styles 2021-09-24 13:40:54 +00:00
Tim Schaub 01bd84d1fc Merge pull request #12808 from tschaub/rendering-tests
Update expectations for vector tile icon label rendering
2021-09-24 13:40:35 +00:00
Tim Schaub a5e236fe0c Update expectations for vector tile icon label rendering 2021-09-24 13:24:14 +00:00
Andreas Hocevar 2e222083de Merge pull request #12804 from ahocevar/vectortiles-simpler-faster
Make vector tiles rendering simpler and a bit faster
2021-09-23 20:38:17 +00:00
Tim Schaub b03b6b2e87 Merge pull request #12802 from tschaub/enqueue-next
Enqueue tiles at the next step in the animation
2021-09-23 20:37:38 +00:00
Andreas Hocevar 9aa890217c Render images only when we have frame budget left 2021-09-23 20:11:26 +00:00
Andreas Hocevar 74a628ac85 Remove unused tile image render queue 2021-09-23 19:47:10 +00:00
Tim Schaub 4dc66ef8e3 Enqueue tiles at the next resolution in the animation 2021-09-23 17:28:39 +00:00
Andreas Hocevar 1bd0d8187f Merge pull request #12801 from ahocevar/latest-ol-mapbox-style
Update ol-mapbox-style to latest version without ol peer dependency
2021-09-23 16:35:34 +00:00
Andreas Hocevar 6d427050ce Merge pull request #12792 from ahocevar/no-render-work-when-no-features
Do not do any canvas work when there are no features to render
2021-09-23 16:34:47 +00:00
Andreas Hocevar 03f8bf47e1 Update ol-mapbox-style to latest version without ol peer dependency 2021-09-23 14:41:57 +00:00
Andreas Hocevar 3a2c33f827 Merge pull request #12797 from ahocevar/dependency-updates
Update geotiff
2021-09-23 14:28:55 +00:00
Andreas Hocevar 276d6cb914 Update related dependencies 2021-09-23 13:35:11 +00:00
Tim Schaub 2435321133 Merge pull request #12799 from tschaub/dispose-webgl-points
All layers now call dispose on the renderer
2021-09-23 13:26:22 +00:00
Andreas Hocevar c934f08866 Update geotiff 2021-09-23 13:24:58 +00:00
Tim Schaub f357495574 All layers now call dispose on the renderer 2021-09-23 13:14:22 +00:00
Tim Schaub 0db6a021c2 Merge pull request #12798 from tschaub/dispose-webgl-tilelayer
More cleanup in the WebGL tile layer's dispose method
2021-09-23 12:34:23 +00:00
Tim Schaub a332842540 More cleanup in the WebGL tile layer's dispose method 2021-09-23 12:00:00 +00:00
Tim Schaub 2ebbee2340 Merge pull request #12795 from mike-000/wmts
New tile source for the WMTS example
2021-09-22 23:51:50 +00:00
mike-000 1776f13f4c Update the tile source 2021-09-22 16:25:17 +01:00
Tim Schaub 81bdd513df Merge pull request #12793 from tschaub/set-layers
Add a method to set the map layers
2021-09-22 03:17:37 -05:00
Tim Schaub a63735a649 Add a method to set the map layers 2021-09-21 13:34:35 +00:00
Andreas Hocevar 46b21c2588 Do not do any canvas work when there are no features to render 2021-09-21 11:21:01 +00:00
Andreas Hocevar b50f4ce107 Merge pull request #12789 from ahocevar/mapbox-vector-layer-tilejson
Handle TileJSON urls in Mapbox Style document
2021-09-21 11:08:51 +00:00
Tim Schaub 0505d5d379 Merge pull request #12790 from tschaub/view-promise
Allow maps to be configured with a promise for view props
2021-09-21 05:35:14 -05:00
Tim Schaub d5813deb08 Allow maps to be configured with a promise for view props 2021-09-21 10:25:29 +00:00
Andreas Hocevar 8585d4382b Handle TileJSON urls in Mapbox Style document 2021-09-20 23:37:53 +00:00
Tim Schaub 79a54e33bb Merge pull request #12784 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.2.1
Bump webpack-dev-server from 4.2.0 to 4.2.1
2021-09-20 12:48:55 -05:00
Tim Schaub 0a2404089e Merge pull request #12783 from openlayers/dependabot/npm_and_yarn/marked-3.0.4
Bump marked from 3.0.3 to 3.0.4
2021-09-20 12:48:27 -05:00
Tim Schaub c3cdba3d00 Merge pull request #12782 from openlayers/dependabot/npm_and_yarn/webpack-sources-3.2.1
Bump webpack-sources from 3.2.0 to 3.2.1
2021-09-20 12:48:01 -05:00
Tim Schaub 67034faa60 Merge pull request #12781 from openlayers/dependabot/npm_and_yarn/webpack-5.53.0
Bump webpack from 5.52.1 to 5.53.0
2021-09-20 12:47:30 -05:00
Tim Schaub 878721468e Merge pull request #12780 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.15.7
Bump @babel/eslint-parser from 7.15.4 to 7.15.7
2021-09-20 12:46:59 -05:00
mike-000 ff6aee0d45 Additional requirements for ol/source/GeoTIFF 2021-09-20 12:25:18 +01:00
mike-000 8be8660b91 Fix range slider for better browser support 2021-09-20 11:39:21 +01:00
mike-000 3b108ef058 add NumpyLoader 2021-09-20 11:25:21 +01:00
mike-000 208e2cb022 Polyfill for Promise.allSettled 2021-09-20 11:21:21 +01:00
mike-000 b4275f887e Polyfill for Promise.allSettled 2021-09-20 11:17:59 +01:00
dependabot[bot] 7478705871 Bump webpack-dev-server from 4.2.0 to 4.2.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.2.0 to 4.2.1.
- [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.2.0...v4.2.1)

---
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-09-20 10:02:11 +00:00
dependabot[bot] 5dffb0e94e Bump marked from 3.0.3 to 3.0.4
Bumps [marked](https://github.com/markedjs/marked) from 3.0.3 to 3.0.4.
- [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.3...v3.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:01:57 +00:00
dependabot[bot] 1d4c40b05e Bump webpack-sources from 3.2.0 to 3.2.1
Bumps [webpack-sources](https://github.com/webpack/webpack-sources) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/webpack/webpack-sources/releases)
- [Commits](https://github.com/webpack/webpack-sources/compare/v3.2.0...v3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 10:01:21 +00:00
dependabot[bot] e40c029f9f Bump webpack from 5.52.1 to 5.53.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.52.1 to 5.53.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.52.1...v5.53.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-20 10:01:11 +00:00
dependabot[bot] 1344ee83a3 Bump @babel/eslint-parser from 7.15.4 to 7.15.7
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.15.4 to 7.15.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.15.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-09-20 10:00:56 +00:00
Andreas Hocevar b2f1d081ed Merge pull request #12777 from ahocevar/fix-offscreen-canvas
Fix offscreen-canvas example
2021-09-18 22:47:26 +02:00
Andreas Hocevar b7e3695cac Merge pull request #12778 from ahocevar/vectortile-remove-extra-work
Do not render vector tiles unless they are being used
2021-09-18 22:46:41 +02:00
Tim Schaub 391af5a466 Merge pull request #12773 from tschaub/lazy-gl-extensions
Enable WebGL extensions when required
2021-09-18 07:26:26 -06:00
MoonE 964b1af72a Merge pull request #12774 from MoonE/fix-text-declutter
Fix text decluttering when segment length is zero
2021-09-18 11:09:15 +02:00
Andreas Hocevar 610fd69120 Do not render vector tiles unless they are being used 2021-09-18 11:02:55 +02:00
Andreas Hocevar 35b3262e0b Fix offscreen-canvas example 2021-09-18 10:30:34 +02:00
Andreas Hocevar e5193ffa6e Use a more restrictive Mapbox token 2021-09-18 09:28:25 +02:00
Maximilian Krög 4be657a28f Fix text decluttering when segment length is zero 2021-09-17 23:09:56 +02:00
Tim Schaub 367d77d1dc Merge pull request #12770 from tschaub/avoid-clamped
Use Uint8Array instead of Uint8ClampedArray for increased browser compatibility
2021-09-17 14:29:59 -06:00
Tim Schaub da256e6c00 Enable WebGL extensions when required 2021-09-17 14:14:12 -06:00
Andreas Hocevar 0d06f7b493 Merge pull request #12759 from jumpinjackie/fix/control-typings
#12758: Allow undefined to be passed to control setMap(). Also fix type of getMap()
2021-09-17 08:07:39 +02:00
Tim Schaub 836aa4900e Use Uint8Array instead of Uint8ClampedArray for browser compatibility 2021-09-16 15:10:35 -06:00
Andreas Hocevar c57c898381 Merge pull request #12760 from ahocevar/opacity
Fix opacity handling for tile and vector layers
2021-09-16 19:49:47 +02:00
Tim Schaub a1eb2481ba Merge pull request #12764 from webwitcher/imageinformationresponse-fix
Fix ImageInformationResponse typedef
2021-09-16 10:16:32 -06:00
Tim Schaub 87aa801939 Merge pull request #12769 from tschaub/fix-anchor
Remove extra closing anchor tag
2021-09-16 10:08:09 -06:00
Tim Schaub 0fb5237de2 Remove extra closing anchor tag 2021-09-16 09:59:22 -06:00
Tim Schaub 506b176ef2 Merge pull request #12761 from theduckylittle/datatile-float-textures
Add Float Textures for GL Rendering / DataTiles
2021-09-16 09:56:29 -06:00
Tim Schaub 0783a8211f Adjustments to NumpyTiles example 2021-09-16 09:44:43 -06:00
Martin Hauck c86841dae0 Update src/ol/format/IIIFInfo.js
Co-authored-by: Simon Seyock <8100558+simonseyock@users.noreply.github.com>
2021-09-16 17:15:11 +02:00
Duck 3fc8217254 Add example featuring numpytiles 2021-09-16 07:09:31 -07:00
Martin Hauck e955eeff21 Fix ImageInformationResponse typedef
`TileInfo` should be an array to conform to https://iiif.io/api/image
2021-09-16 11:41:33 +02:00
Andreas Hocevar 2f5e6906b9 Fix opacity handling for tile and vector layers 2021-09-16 08:49:32 +02:00
Duck 05615df1a3 Allow TileTexture to select float or int based textures. 2021-09-15 15:10:55 -07:00
Duck f2472b7801 Allow DataTile source to include more than four bands. 2021-09-15 15:10:26 -07:00
Duck 17394cc8be Ensure the texture is loaded into the correct index.
The previous code would try to load subsequent textures into the 0th slot.
2021-09-15 15:10:08 -07:00
Duck 5afd25150f Add additional extension requirements for floating point textures. 2021-09-15 09:35:23 -07:00
mike-000 cb6995d71a Various fixes for browser compatibility issues (#12740)
* Replace Math.log2 with ol/math.log2
* TypedArray.from() browser compatibility fallback
* listen for input and change events for range
2021-09-15 08:45:12 -06:00
Tim Schaub f9454ba8e3 Merge pull request #12741 from mike-000/GMLBase
Minimal documentation for GMLBase
2021-09-15 08:42:08 -06:00
Tim Schaub 77e457a676 Merge pull request #12750 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-4.2.0
Bump webpack-dev-server from 4.1.0 to 4.2.0
2021-09-15 08:38:20 -06:00
Jackie Ng 67d885d6ef #12758: Allow undefined to be passed to control setMap(). Consequently the return type of getMap() now can also be undefined as well. 2021-09-16 00:05:53 +10:00
Anna Shchurova 2b5ea17d79 Moved layer declaration in the sample 2021-09-15 08:20:00 -04:00
Anna Shchurova 3ec1ed6bf0 Changed based on review comments 2021-09-13 19:22:27 -04:00
Anna Shchurova d2a2234eec Added sample for custom hit renderer 2021-09-13 16:42:48 -04:00
Andreas Hocevar 0efdef9b40 Merge pull request #12749 from openlayers/dependabot/npm_and_yarn/marked-3.0.3
Bump marked from 3.0.2 to 3.0.3
2021-09-13 17:49:23 +02:00
Andreas Hocevar 860546800f Merge pull request #12748 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.4.2
Bump ol-mapbox-style from 6.4.1 to 6.4.2
2021-09-13 17:48:56 +02:00
Andreas Hocevar cccdaf7546 Merge pull request #12747 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-5.2.4
Bump terser-webpack-plugin from 5.2.3 to 5.2.4
2021-09-13 17:48:24 +02:00
Andreas Hocevar ee8fe615f2 Merge pull request #12746 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.15.6
Bump @babel/preset-env from 7.15.4 to 7.15.6
2021-09-13 17:47:55 +02:00
Andreas Hocevar d4f77349e7 Merge pull request #12745 from openlayers/dependabot/npm_and_yarn/webpack-5.52.1
Bump webpack from 5.52.0 to 5.52.1
2021-09-13 17:47:18 +02:00
Andreas Hocevar 2523929c4f Merge pull request #12744 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-5.1.0
Bump webpack-dev-middleware from 5.0.0 to 5.1.0
2021-09-13 17:46:41 +02:00
Andreas Hocevar 11ea89468a Merge pull request #12743 from mike-000/patch-3
Remove docs reference to unmanaged layer and Select
2021-09-13 17:45:45 +02:00
dependabot[bot] ee7b877b9f Bump webpack-dev-server from 4.1.0 to 4.2.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.1.0 to 4.2.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.1.0...v4.2.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-13 10:02:15 +00:00
dependabot[bot] bac66e6cbc Bump marked from 3.0.2 to 3.0.3
Bumps [marked](https://github.com/markedjs/marked) from 3.0.2 to 3.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/v3.0.2...v3.0.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-09-13 10:02:03 +00:00
dependabot[bot] 08e1f2e8ef Bump ol-mapbox-style from 6.4.1 to 6.4.2
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.4.1 to 6.4.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.4.1...v6.4.2)

---
updated-dependencies:
- dependency-name: ol-mapbox-style
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 10:01:47 +00:00
dependabot[bot] 24948708e4 Bump terser-webpack-plugin from 5.2.3 to 5.2.4
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 5.2.3 to 5.2.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.2.3...v5.2.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-09-13 10:01:35 +00:00
dependabot[bot] 5eee0277d2 Bump @babel/preset-env from 7.15.4 to 7.15.6
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.15.4 to 7.15.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.15.6/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-13 10:01:18 +00:00
dependabot[bot] 4c278a801f Bump webpack from 5.52.0 to 5.52.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.52.0 to 5.52.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.52.0...v5.52.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 10:01:04 +00:00
dependabot[bot] 5ed413ee3c Bump webpack-dev-middleware from 5.0.0 to 5.1.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.0.0 to 5.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/v5.0.0...v5.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 10:00:50 +00:00
mike-000 5d937b8c5b Remove docs reference to unmanaged layer 2021-09-13 10:27:16 +01:00
mike-000 a5ed3ce853 Change Select to Draw to describe unmanaged layers 2021-09-13 10:20:30 +01:00
mike-000 7b725cfdf0 add @api 2021-09-12 16:20:22 +01:00
Andreas Hocevar c5fafbd6c2 Merge pull request #12734 from ahocevar/still-ie11-why-oh-why
Continue supporting IE11 in examples and legacy build
2021-09-11 17:23:03 +02:00
Andreas Hocevar 6085964b61 Merge pull request #12739 from mike-000/patch-2
Change canvas style from initial to unset
2021-09-10 21:50:28 +02:00
mike-000 e0c15c28dc Change canvas style from initial to unset 2021-09-10 20:18:20 +01:00
Andreas Hocevar c128051802 Add polyfills to legacy build preview 2021-09-10 18:32:26 +02:00
Andreas Hocevar 0f2ec4d9c5 Add legacy build test map to site/index.html 2021-09-10 18:15:09 +02:00
Andreas Hocevar ccb9ff6f37 Configure builds so they actually work 2021-09-10 18:15:08 +02:00
Andreas Hocevar f0b3ce635a Merge pull request #12731 from ahocevar/user-resolution
Handle resolution and tile loadingstrategy with user projection
2021-09-10 17:52:48 +02:00
Tim Schaub bb20ca3c23 Merge pull request #12736 from simonseyock/onsignature-return
OnSignatures return more specific type
2021-09-10 08:33:47 -06:00
Andreas Hocevar b4d93141ec Do not mangle properties for built examples 2021-09-10 16:28:42 +02:00
Simon Seyock ce4f6ccb0d OnSignatures return more specific type 2021-09-10 16:11:38 +02:00
Andreas Hocevar fa8aa81840 Continue supporting IE11 in examples and legacy buld 2021-09-10 13:40:25 +02:00
Andreas Hocevar 26fd8a8f59 Better distinguish new example from existing one 2021-09-10 13:15:17 +02:00
Andreas Hocevar 87bcfdeaa4 Merge pull request #12732 from mike-000/patch-1
Add <meta charset="utf-8"> to Quick Start
2021-09-10 13:10:24 +02:00
mike-000 5cf5b7aeb1 Add <meta charset="utf-8"> to Quick Start 2021-09-10 10:14:05 +01:00
Andreas Hocevar 50e89080a4 Use view projection tile grid in tile loadingstrategy 2021-09-10 02:01:47 +02:00
Andreas Hocevar c9593b0cf6 Adjust resolution for user extent 2021-09-10 02:01:46 +02:00
Tim Schaub 22a0a209ac Merge pull request #12728 from openlayers/release-v6.7.0
Release v6.7.0
2021-09-09 11:44:08 -06:00
Tim Schaub eddf8df139 Develop on 6.7.1-dev 2021-09-09 11:35:21 -06:00
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
Anna Shchurova a281b7c1aa Added unit tests for hit detection 2021-09-08 17:05:00 -04: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
Anna Shchurova eafcbb3ec0 Fixed lint 2021-08-23 13:42:56 -04:00
Anna Shchurova 820c123335 Added 'default' section and fixed more linting errors 2021-08-23 13:02:26 -04: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
Anna Shchurova 711ae69bb5 Fixed linting errors 2021-08-20 21:55:05 -04:00
Anna Shchurova ba65896cef Fixed case for POINT 2021-08-20 15:50:04 -04:00
Anna Shchurova aa58a358ea Added new 'hitDEtectionRenderer' property to ol.style.Style and used it in custom drawing 2021-08-20 15:10:59 -04: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
1525 changed files with 85407 additions and 33515 deletions
-7
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"
-1
View File
@@ -1,4 +1,3 @@
examples/Jugl.js
examples/resources/ examples/resources/
build/package/**/*webgl* build/package/**/*webgl*
config/jsdoc/api/template/static/scripts/ config/jsdoc/api/template/static/scripts/
+1 -1
View File
@@ -1,6 +1,6 @@
# These are supported funding model platforms # 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 patreon: # Replace with a single Patreon username
open_collective: openlayers open_collective: openlayers
ko_fi: # Replace with a single Ko-fi username ko_fi: # Replace with a single Ko-fi username
-4
View File
@@ -1,4 +0,0 @@
name: "OpenLayers CodeQL Config"
paths:
- src
+12
View File
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
versioning-strategy: increase-if-necessary
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
+32
View File
@@ -0,0 +1,32 @@
name: Build Preview
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm ci
- run: ./tasks/build-website.sh -v dev -l dev
- uses: actions/upload-artifact@v3
with:
name: site
path: build/site
- name: Store pull request number for later use
run: |
mkdir -p build/pr
echo ${{github.event.number}} > build/pr/number
- uses: actions/upload-artifact@v3
with:
name: pr
path: build/pr
+96
View File
@@ -0,0 +1,96 @@
name: Deploy Website (Preview)
on:
workflow_run:
workflows: ["Build Preview"]
types:
- completed
jobs:
deploy-preview:
runs-on: ubuntu-latest
if: ${{github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'}}
steps:
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install --global netlify-cli@6
- run: npm install unzipper@0.10
- name: Get pull request number
uses: actions/github-script@v6
id: pull-request-number
with:
result-encoding: string
script: |
const unzipper = require('unzipper');
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: ${{github.event.workflow_run.id}}
});
const artifact = artifacts.data.artifacts.filter(
artifact => artifact.name === 'pr'
)[0];
if (!artifact) {
throw new Error('No pr artifact found');
}
const download = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: artifact.id,
archive_format: 'zip'
});
const directory = await unzipper.Open.buffer(Buffer.from(download.data));
const file = directory.files.find(d => d.path === 'number');
const content = await file.buffer();
return content.toString();
- uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build-preview.yml
pr: ${{steps.pull-request-number.outputs.result}}
name: site
path: build/site
- name: Deploy to Netlify
env:
NETLIFY_AUTH_TOKEN: ${{secrets.NETLIFY_AUTH_TOKEN}}
NETLIFY_SITE_ID: ${{secrets.NETLIFY_SITE_ID}}
run: netlify deploy --dir=build/site --alias=deploy-preview-${{steps.pull-request-number.outputs.result}}
- name: Add comment to pull request
uses: actions/github-script@v6
with:
script: |
const pullRequestNumber = parseInt(${{steps.pull-request-number.outputs.result}}, 10);
const start = ':package:';
const author = 'github-actions[bot]';
const comments = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pullRequestNumber
});
const commentExists = comments.data.some(
comment => comment.user.login === author && comment.body.startsWith(start)
);
if (!commentExists) {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pullRequestNumber,
body: `${start} Preview the website for this branch here: https://deploy-preview-${pullRequestNumber}--ol-site.netlify.app/.`
});
} else {
console.log(`Preview URL comment already added to PR #${pullRequestNumber}`);
}
+71
View File
@@ -0,0 +1,71 @@
name: Deploy Website
on:
push:
branches:
- main
tags:
- 'v*.*.*'
concurrency:
group: "deploy"
jobs:
deploy-branch:
if: startsWith(github.ref, 'refs/heads/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build Website
run: ./tasks/build-website.sh -l $(node tasks/get-latest-release.js)
- name: Check out openlayers.github.io
uses: actions/checkout@v3
with:
repository: openlayers/openlayers.github.io
ssh-key: ${{ secrets.OPENLAYERS_GITHUB_IO_KEY }}
path: openlayers.github.io
- run: |
cp -r build/site/* openlayers.github.io/dist/
cd openlayers.github.io
if [ -n "$(git status --porcelain)" ]; then
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
git add .
git commit -m "Website updates"
git push origin main
fi
deploy-tag:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Assert Latest Release
run: node tasks/newest-tag.js --tag ${GITHUB_REF_NAME}
- name: Build Website
run: ./tasks/build-website.sh -l ${GITHUB_REF_NAME} -v ${GITHUB_REF_NAME}
- name: Check out openlayers.github.io
uses: actions/checkout@v3
with:
repository: openlayers/openlayers.github.io
ssh-key: ${{ secrets.OPENLAYERS_GITHUB_IO_KEY }}
path: openlayers.github.io
- run: |
cp -r build/site/* openlayers.github.io/dist/
cd openlayers.github.io
if [ -n "$(git status --porcelain)" ]; then
git config user.name "$(git --no-pager log --format=format:'%an' -n 1)"
git config user.email "$(git --no-pager log --format=format:'%ae' -n 1)"
git add .
git commit -m "Website updates"
git push origin main
fi
+33 -7
View File
@@ -1,19 +1,25 @@
name: Publish name: Publish Package
on: on:
push: push:
branches: branches:
- main - main
tags:
- 'v*.*.*'
permissions:
contents: read
jobs: jobs:
publish-npm: publish-branch:
if: startsWith(github.ref, 'refs/heads/')
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v3
- uses: actions/setup-node@v1 - uses: actions/setup-node@v3
with: with:
node-version: 12 node-version: '18'
registry-url: https://registry.npmjs.org/ registry-url: 'https://registry.npmjs.org'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
- name: Publish - name: Publish
@@ -24,4 +30,24 @@ jobs:
cd build/ol cd build/ol
npm publish --tag dev npm publish --tag dev
env: env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}} NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
publish-tag:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Assert Latest Release
run: node tasks/newest-tag.js --tag ${GITHUB_REF_NAME}
- name: Publish
run: |
npm run build-package
cd build/ol
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
+21
View File
@@ -0,0 +1,21 @@
name: Create Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build Release Assets
run: ./tasks/build-website.sh -l ${GITHUB_REF_NAME} -v ${GITHUB_REF_NAME}
- name: Create Release
run: node tasks/create-release.js --token ${{secrets.GITHUB_TOKEN}} --tag ${GITHUB_REF_NAME} --legacy build/${GITHUB_REF_NAME}-legacy.zip --site build/${GITHUB_REF_NAME}-site.zip
+11 -17
View File
@@ -10,31 +10,25 @@ on:
schedule: schedule:
- cron: '0 0 * * 0' # At 00:00 on Sunday - cron: '0 0 * * 0' # At 00:00 on Sunday
permissions:
contents: read
jobs: jobs:
codeql: codeql:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/analyze to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - uses: actions/checkout@v3
uses: actions/checkout@v2
with:
# Must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head of the pull request.
# 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 - name: Initialize CodeQL
uses: github/codeql-action/init@v1 uses: github/codeql-action/init@v2
with: with:
languages: javascript languages: javascript
config-file: ./.github/codeql/config.yml source-root: src
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1 uses: github/codeql-action/analyze@v2
+67 -71
View File
@@ -11,40 +11,25 @@ on:
env: env:
CI: true CI: true
permissions:
contents: read
jobs: jobs:
pretest: pretest:
name: Pre-Test (Node ${{ matrix.node }} / ${{ matrix.os }}) name: Pre-Test
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps: steps:
- name: Clone Repository - name: Clone Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set Node.js Version - name: Set Node.js Version
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: 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 - name: Install Dependencies
run: npm ci run: npm ci
@@ -52,79 +37,90 @@ jobs:
- name: Run Tests - name: Run Tests
run: npm run pretest run: npm run pretest
spec: browser:
name: Spec (Node ${{ matrix.node }} / ${{ matrix.os }}) name: Browser
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps: steps:
- name: Clone Repository - name: Clone Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set Node.js Version - name: Set Node.js Version
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: 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 - name: Install Dependencies
run: npm ci run: npm ci
- name: Run Tests - name: Run Tests
run: npm run test-spec run: npm run test-browser
rendering: node:
name: Rendering (Node ${{ matrix.node }} / ${{ matrix.os }}) name: Node
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps: steps:
- name: Clone Repository - name: Clone Repository
uses: actions/checkout@v2 uses: actions/checkout@v3
- name: Set Node.js Version - name: Set Node.js Version
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node }} node-version: '16'
- name: Determine Cache Directory - name: Install Dependencies
id: npm-cache run: npm ci
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Configure Job Cache - name: Run Tests
uses: actions/cache@v1 run: npm run test-node
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Set Node.js Version
uses: actions/setup-node@v3
with: with:
path: ${{ steps.npm-cache.outputs.dir }} node-version: '16'
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: | - name: Install Dependencies
${{ runner.os }}-node- run: npm ci
- name: Build the Package
run: npm run build-package
- name: Generate the Full Build
run: "npm run build-full"
rendering:
name: Rendering
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Set Node.js Version
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm ci
@@ -134,7 +130,7 @@ jobs:
- name: Store Rendering Test Artifacts - name: Store Rendering Test Artifacts
if: ${{ always() }} if: ${{ always() }}
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: rendering-tests name: rendering-tests
path: rendering/cases/**/actual.png path: test/rendering/cases/**/actual.png
+1
View File
@@ -0,0 +1 @@
16
+5 -5
View File
@@ -4,7 +4,7 @@ Thanks for your interest in contributing to OpenLayers. Please see the project'
## Asking Questions ## 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). 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 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 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 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 `git apply --patch` and `git rebase` can help you create a clean commit
history. history.
[Reviewboard.org](http://www.reviewboard.org/docs/codebase/dev/git/clean-commits/) [Reviewboard.org](https://www.reviewboard.org/docs/codebase/dev/git/clean-commits/)
and [Pro GIT](http://git-scm.com/book/en/Git-Tools-Rewriting-History) have and [Pro GIT](https://git-scm.com/book/en/Git-Tools-Rewriting-History) have
explain how to use them. 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 Commit messages should be short, begin with a verb in the imperative, and
contain no trailing punctuation. We follow 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. for the formatting of commit messages.
Git commit message should look like: Git commit message should look like:
+24 -2
View File
@@ -2,7 +2,7 @@
## Setting up development environment ## Setting up development environment
You will obviously start by You will start by
[forking](https://github.com/openlayers/openlayers/fork) the OpenLayers repository. [forking](https://github.com/openlayers/openlayers/fork) the OpenLayers repository.
### Development dependencies ### Development dependencies
@@ -10,7 +10,7 @@ You will obviously start by
The minimum requirements are: The minimum requirements are:
* Git * 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`. The executables `git` and `node` should be in your `PATH`.
@@ -26,6 +26,28 @@ To run the examples you first need to start the dev server:
Then, load <http://localhost:8080/> in your browser. Then, load <http://localhost:8080/> in your browser.
## Linking Package
The `ol` package is published from the `build/ol` folder of the `openlayers` repo.
After you've cloned the `openlayers` repo locally run the `npm build-package` to prepare the build then use the `npm link` command to connect it your project.
Below is an example of how to build and link it to "sample-project"
$ cd openlayers
$ npm run build-package
$ cd build/ol
$ npm link
$ cd /sample-project
$ npm link ol
To remove the link run the following commands
$ cd sample-project
$ npm unlink --no-save ol
$ cd ../openlayers
$ npm unlink
## Running tests ## Running tests
To run the tests once: To run the tests once:
+32 -61
View File
@@ -23,7 +23,7 @@ new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new XYZ({ source: new XYZ({
url: 'https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png' url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
}) })
}) })
], ],
@@ -36,88 +36,59 @@ new Map({
See the following examples for more detail on bundling OpenLayers with your application: See the following examples for more detail on bundling OpenLayers with your application:
* Using [Vite](https://github.com/openlayers/ol-vite)
* Using [Rollup](https://github.com/openlayers/ol-rollup) * Using [Rollup](https://github.com/openlayers/ol-rollup)
* Using [Webpack](https://github.com/openlayers/ol-webpack) * Using [webpack](https://github.com/openlayers/ol-webpack)
* Using [Parcel](https://github.com/openlayers/ol-parcel) * Using [Parcel](https://github.com/openlayers/ol-parcel)
* Using [Browserify](https://github.com/openlayers/ol-browserify)
For more detail on quick prototyping without the use of a Node.js based setup, see the [Skypack](https://github.com/openlayers/ol-skypack) example.
## Sponsors ## Sponsors
OpenLayers appreciates contributions of all kinds. We especially want to thank our fiscal sponsors who contribute to ongoing project maintenance. 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. > Pozi helps connect communities through spatial thinking.
> We love Openlayers and it forms a core part of our platform. > We love Openlayers and it forms a core part of our platform.
> https://pozi.com/ https://app.pozi.com/ > 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 [![GeoSolutions logo](./sponsor-logos/geosolutions.png)](https://www.geosolutionsgroup.com/)
{
"compilerOptions": {
"checkJs": true,
"baseUrl": "./",
"paths": {
"ol": ["node_modules/ol/src"],
"ol/*": ["node_modules/ol/src/*"]
}
},
"include": [
"**/*.js",
"node_modules/ol/**/*.js"
],
"typeAcquisition": {
"exclude": ["ol"]
}
}
```
</details> > Your one-stop-shop for geospatial open source software.
<details><summary>tsconfig.json</summary> > https://www.geosolutionsgroup.com/
```json <br>
{
"compilerOptions": {
"allowJs": true,
"baseUrl": "./",
"paths": {
"ol": ["node_modules/ol/src"],
"ol/*": ["node_modules/ol/src/*"]
}
},
"include": [
"**/*.ts",
"node_modules/ol/**/*"
],
"typeAcquisition": {
"exclude": ["ol"]
}
}
```
</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.
## TypeScript support
The [ol package](https://npmjs.com/package/ol) includes auto-generated TypeScript declarations as `*.d.ts` files.
## Supported Browsers ## 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 (with greater than 1% global usage). This includes Chrome, Firefox, Safari and Edge. For older browsers, [polyfills](https://polyfill.io/) will likely need to be added.
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).
## Documentation ## Documentation
@@ -133,7 +104,7 @@ Please see our guide on [contributing](CONTRIBUTING.md) if you're interested in
## Community ## 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 - Follow [@openlayers](https://twitter.com/openlayers) on Twitter
![Test Status](https://github.com/openlayers/openlayers/workflows/Test/badge.svg) ![Test Status](https://github.com/openlayers/openlayers/workflows/Test/badge.svg)
+191
View File
@@ -1,5 +1,196 @@
## Upgrade notes ## Upgrade notes
### Next version
#### Notice to full build users
If you have been using the full (or legacy) build of the library, note that the location of these scripts is changing for this and future releases. The previous locations were not stable, and although we do not recommend linking to the full build for production applications, there are many instances of this that were breaking due to changing URLs. See the [download page](https://openlayers.org/download/) for details on the new versioned URLs for the full build.
#### Deprecation of `ol/AssertionError` and error codes
Future versions will no longer throw `ol/AssertionError` with an error `code`. Instead, they will throw `Error` with just the error message.
#### Updating parameters in `ol/source/ImageWMS` and `ol/source/TileWMS`
The `updateParams()` method will be the only way to update parameters. Changes made directly to the `params` object passed as a constructor option will have no effect.
### 7.0.0
#### Removal of deprecated properties and methods
* The `tilePixelRatio` has been removed from the `DataTile` source.
* The `imageSmoothing` option has been removed from sources.
* The `undefinedHTML` option has been removed from the `MousePosition` control.
* The `forEachLayerAtPixel` method has been removed from the `Map` class.
* Deprecated options have been removed from the `Overlay` component.
* The `labelCache` has been removed from the `ol/render/canvas.js` module.
#### Internet Explorer is no longer supported
Please see https://docs.microsoft.com/en-us/lifecycle/announcements/internet-explorer-11-end-of-support.
#### ol/coordinate.js
The `toStringHDMS` function from the `ol/coordinate.js` module now formats longitude, latitude pairs so that the minutes and seconds are omitted if they are zero. This changes the values displayed on graticules.
#### ol/layer/Graticule
The default `intervals` now align with integer minutes and seconds better suited to the default label formatter. If formatting in decimal degrees you may wish to specify custom `intervals` suited to that format.
#### ol/Collection
Inserting with `setAt` or `insertAt` beyond the current length used to create a sparse Collection with `undefined` inserted for any missing indexes. This will now throw an error instead.
#### ol/control/MousePosition
The control will now by default keep displaying the last mouse position when the mouse leaves the viewport. With `placeholder: '&#160;'` you can keep the old behaviour. The `placeholder` option no longer accepts `false` as a valid value, instead simply omit the option. The `undefinedHTML` option has been removed. You should use `placeholder` instead.
#### ol/PluggableMap
The `PluggableMap` class has been removed. If you want to create a custom map class, extend the `Map` class instead.
#### ol/style/Icon and ol/style/RegularShape
`ol/style/Image` and subclasses `displacement` is no longer scaled with the image. If you previously expected this unintended behavior you should now increase the displacement when setting the scale.
### 6.15.0
#### Deprecated `tilePixelRatio` option for data tile sources.
If you were previously trying to scale data tiles using the `tilePixelRatio` property for data tile sources (this is rare), you should now use the explicit `tileSize` and `tileGrid` properties. The source's `tileSize` represents the source tile dimensions and the tile grid's `tileSize` represents the desired rendered dimensions.
```js
const source = new DataTileSource({
tileSize: [512, 512], // source tile size
tileGrid: createXYZ({tileSize: [256, 256]}), // rendered tile size
});
```
#### Fixed coordinate dimension handling in `ol/proj`'s `addCoordinateTransforms`
The `forward` and `inverse` functions passed to `addCooordinateTransforms` now receive a coordinate with all dimensions of the original coordinate, not just two. If you previosly had coordinates with more than two dimensions and added a transform like
```js
addCoordinateTransforms(
'EPSG:4326',
new Projection({code: 'latlong', units: 'degrees'}),
function(coordinate) { return coordinate.reverse(); },
function(coordinate) { return coordinate.reverse(); }
);
```
you have to change that to
```js
addCoordinateTransforms(
'EPSG:4326',
new Projection({code: 'latlong', units: 'degrees'}),
function(coordinate) { return coordinate.slice(0, 2).reverse() },
function(coordinate) { return coordinate.slice(0, 2).reverse() }
);
```
#### Replacement of string enums with union types
This change only affects users that were using the non-API string enums
* ol/OverlayPositioning
* ol/extent/Corner
* ol/format/FormatType
* ol/geom/GeometryType
* ol/source/State
* ol/source/WMSServerType
* ol/source/WMTSRequestEncoding
Instead of these, use the respective `string`s, which are now typesafe by means of union types.
### v6.14.0
No special changes are required when upgrading to the 6.14.0 release.
### v6.13.0
#### New `layer.getData()` method
Raster layers (static images, image tiles, data tiles) have a new `layer.getData(pixel)` method that returns the pixel data at the provided location. The return value depends on the underlying source data type. For example, a GeoTIFF may return a `Float32Array` with one value per band, while a PNG rendered from a tile layer will return a `Uint8ClampedArray` of RGBA values.
If you were previously using the `map.forEachLayerAtPixel()` method, you should use the new `layer.getData()` method instead. The old method returns composite pixel values from multiple layers and is limited to RGBA values. The new method doesn't suffer from these shortcomings and is more performant.
#### Deprecated `map.forEachLayerAtPixel()` method
The `map.forEachLayerAtPixel()` method has been deprecated. It will be removed (or its behavior may change) in the next major release. Please use the `layer.getData()` method instead.
### v6.12.0
No special changes are required when upgrading to the 6.12.0 release.
### v6.11.0
No special changes are required when upgrading to the 6.11.0 release.
### v6.10.0
#### New `interpolate` option for sources
Sources now have an `interpolate` option. This option controls whether data from the source is interpolated when resampling.
For `ol/source/DataTile` sources, the default is `interpolate: false`. This means that when a data tile source is used with a WebGL tile layer renderer, your style expression will have access to pixel values in the data tiles without interpolation. If this option is set to true, linear interpolation will be used when over- or under-sampling the data.
#### Deprecation of the `imageSmoothing` option for sources
The `imageSmoothing` option for sources has been deprecated and will be removed in the next major release. Use the `interpolate` option instead.
```js
// if you were using `imageSmoothing`
const before = new TileSource({
imageSmoothing: false
});
// use the `interpolate` option instead
const after = new TileSource({
interpolate: false
});
```
### v6.9.0
There should be nothing special required when upgrading from v6.8 to v6.9.
### v6.8.0
There should be nothing special required when upgrading from v6.7 to v6.8.
### 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 ### v6.5.0
#### Units of the `hitTolerance` option fixed #### Units of the `hitTolerance` option fixed
+200
View File
@@ -0,0 +1,200 @@
# 6.10.0
Just in time for the new year, the 6.10 release brings another great batch of features and fixes for your OpenLayers applications.
#### WebGL rendering
You can now update the style for your WebGL tile layers with `layer.setStyle()`. Keep in mind that it is more efficient to use style variables if you want to adjust styling on every render frame. However, in cases where you want to completely reconfigure the style, you can use the new `layer.setStyle()` method.
Additional WebGL tile layer rendering enhancements:
* A new `palette` operator was added that allows styling raster data based on a colormap.
* The `band` operator accepts expressions for the band number (in addition to numeric literals) allowing for bands to be set by user provided style variables, for example.
* Tile layers now dispatch `prerender`, `postrender`, `precompose` and `postcompose` events with access to the WebGL rendering context.
* Layers that are adjacent to one another now share a single canvas element and rendering context allowing for more layers in your maps before exhausting the browser's context limit.
#### Vector tiles
The Mapbox vector layer now works more easily with other vector tile providers. In addition, vector tile layers can now be configured with a background color.
#### New `interpolate` option for sources
Sources now have an `interpolate` option. This option controls whether data from the source is interpolated when resampling.
For `ol/source/DataTile` sources, the default is `interpolate: false`. This means that when a data tile source is used with a WebGL tile layer renderer, your style expression will have access to pixel values in the data tiles without interpolation. If this option is set to true, linear interpolation will be used when over- or under-sampling the data.
#### Deprecation of the `imageSmoothing` option for sources
The `imageSmoothing` option for sources has been deprecated and will be removed in the next major release. Use the `interpolate` option instead.
```js
// if you were using `imageSmoothing`
const before = new TileSource({
imageSmoothing: false
});
// use the `interpolate` option instead
const after = new TileSource({
interpolate: false
});
```
#### List of all changes
See below for more features and fixes.
* [#13155](https://github.com/openlayers/openlayers/pull/13155) - Allow interpolation to be configured for data tile sources ([@tschaub](https://github.com/tschaub))
* [#13165](https://github.com/openlayers/openlayers/pull/13165) - Do not exceed maximum call stack when parsing TopoJSON ([@ahocevar](https://github.com/ahocevar))
* [#13158](https://github.com/openlayers/openlayers/pull/13158) - Add example for dynamic clusters ([@ahocevar](https://github.com/ahocevar))
* [#13156](https://github.com/openlayers/openlayers/pull/13156) - Ensure that tile range covers all pixels ([@tschaub](https://github.com/tschaub))
* [#13154](https://github.com/openlayers/openlayers/pull/13154) - Update Export Map example to handle WebGL ([@mike-000](https://github.com/mike-000))
* [#13147](https://github.com/openlayers/openlayers/pull/13147) - Support rendering with a palette in WebGL ([@tschaub](https://github.com/tschaub))
* [#13142](https://github.com/openlayers/openlayers/pull/13142) - Include transpacific flights in Flight Animation example ([@mike-000](https://github.com/mike-000))
* [#13150](https://github.com/openlayers/openlayers/pull/13150) - Include layer opacity in Heatmap shader ([@mike-000](https://github.com/mike-000))
* [#13149](https://github.com/openlayers/openlayers/pull/13149) - Add layer also for programmatically selected features ([@ahocevar](https://github.com/ahocevar))
* [#13151](https://github.com/openlayers/openlayers/pull/13151) - Avoid error accessing attributes when context is lost ([@mike-000](https://github.com/mike-000))
* [#13144](https://github.com/openlayers/openlayers/pull/13144) - Replace deprecated syntax in example ([@mike-000](https://github.com/mike-000))
* [#13131](https://github.com/openlayers/openlayers/pull/13131) - Unset canvas css in stylesheet ([@ahocevar](https://github.com/ahocevar))
* [#13130](https://github.com/openlayers/openlayers/pull/13130) - Allow WebGL tile layers to be constructed without a source ([@tschaub](https://github.com/tschaub))
* [#13126](https://github.com/openlayers/openlayers/pull/13126) - Preserve the drawing buffer by default for WebGL layers ([@tschaub](https://github.com/tschaub))
* [#13127](https://github.com/openlayers/openlayers/pull/13127) - Fix for range slider on IE ([@mike-000](https://github.com/mike-000))
* [#13095](https://github.com/openlayers/openlayers/pull/13095) - Render is only complete when no tiles are queued ([@ahocevar](https://github.com/ahocevar))
* [#13120](https://github.com/openlayers/openlayers/pull/13120) - Populate view's object properties ([@ahocevar](https://github.com/ahocevar))
* [#13102](https://github.com/openlayers/openlayers/pull/13102) - update line-arrows example ([@jipexu](https://github.com/jipexu))
* [#13119](https://github.com/openlayers/openlayers/pull/13119) - Dispatch precompose and postcompose events for WebGL layers ([@tschaub](https://github.com/tschaub))
* [#13118](https://github.com/openlayers/openlayers/pull/13118) - Add a layer opacity example ([@tschaub](https://github.com/tschaub))
* [#13115](https://github.com/openlayers/openlayers/pull/13115) - Lazily create resources for worker ([@tschaub](https://github.com/tschaub))
* [#13103](https://github.com/openlayers/openlayers/pull/13103) - Assume limited precision when rounding ([@tschaub](https://github.com/tschaub))
* [#13097](https://github.com/openlayers/openlayers/pull/13097) - Use correct terrain-rgb tile size and update max zoom ([@mike-000](https://github.com/mike-000))
* [#13101](https://github.com/openlayers/openlayers/pull/13101) - Fix View set center to undefined ([@M393](https://github.com/M393))
* [#13085](https://github.com/openlayers/openlayers/pull/13085) - Add layer background ([@ahocevar](https://github.com/ahocevar))
* [#13083](https://github.com/openlayers/openlayers/pull/13083) - Support expressions for band arguments ([@tschaub](https://github.com/tschaub))
* [#13084](https://github.com/openlayers/openlayers/pull/13084) - Normalize relative sprite and glyph urls for style url ([@ahocevar](https://github.com/ahocevar))
* [#13020](https://github.com/openlayers/openlayers/pull/13020) - Allow WebGL tile layer style to be updated ([@tschaub](https://github.com/tschaub))
* [#13073](https://github.com/openlayers/openlayers/pull/13073) - Fall back to standard load handling when decode fails ([@ahocevar](https://github.com/ahocevar))
* [#13077](https://github.com/openlayers/openlayers/pull/13077) - update draw and modify features example ([@jipexu](https://github.com/jipexu))
* [#13069](https://github.com/openlayers/openlayers/pull/13069) - Normalize based on GDAL stats metadata ([@tschaub](https://github.com/tschaub))
* [#13070](https://github.com/openlayers/openlayers/pull/13070) - Use source minzoom if not configured otherwise ([@ahocevar](https://github.com/ahocevar))
* [#13065](https://github.com/openlayers/openlayers/pull/13065) - Fix typo in example ([@jipexu](https://github.com/jipexu))
* [#13060](https://github.com/openlayers/openlayers/pull/13060) - Avoid fetching data outside the grid extent ([@tschaub](https://github.com/tschaub))
* [#13054](https://github.com/openlayers/openlayers/pull/13054) - Updates for newer version of the OGC API spec draft ([@ahocevar](https://github.com/ahocevar))
* [#13045](https://github.com/openlayers/openlayers/pull/13045) - Fix tiles and background handling ([@ahocevar](https://github.com/ahocevar))
* [#13030](https://github.com/openlayers/openlayers/pull/13030) - Correctly set popover position in geographic example ([@MoonE](https://github.com/MoonE))
* [#13031](https://github.com/openlayers/openlayers/pull/13031) - Allow data tile source loader to return a value or a promise ([@tschaub](https://github.com/tschaub))
* [#13026](https://github.com/openlayers/openlayers/pull/13026) - Fix strokeStyle documentation ([@ahocevar](https://github.com/ahocevar))
* [#13027](https://github.com/openlayers/openlayers/pull/13027) - Restore the security scan workflow ([@openlayers](https://github.com/openlayers))
* [#13025](https://github.com/openlayers/openlayers/pull/13025) - Add background to MapboxVector layer ([@ahocevar](https://github.com/ahocevar))
* [#13013](https://github.com/openlayers/openlayers/pull/13013) - Use appropriate UNPACK_ALIGNMENT for data textures ([@mike-000](https://github.com/mike-000))
* [#13021](https://github.com/openlayers/openlayers/pull/13021) - Add the renderer type to generic layer template variables ([@tschaub](https://github.com/tschaub))
* [#13022](https://github.com/openlayers/openlayers/pull/13022) - Update the security scan task ([@tschaub](https://github.com/tschaub))
* [#13015](https://github.com/openlayers/openlayers/pull/13015) - Additional types for WebGL renderer, sources, and tiles ([@tschaub](https://github.com/tschaub))
* [#13012](https://github.com/openlayers/openlayers/pull/13012) - Remove unused dependencies ([@tschaub](https://github.com/tschaub))
* [#12976](https://github.com/openlayers/openlayers/pull/12976) - Handle ReprojTile in ol/layer/WebGLTile ([@mike-000](https://github.com/mike-000))
* [#13011](https://github.com/openlayers/openlayers/pull/13011) - Use registry URL when publishing ([@tschaub](https://github.com/tschaub))
* [#13009](https://github.com/openlayers/openlayers/pull/13009) - Use workflow_run event to deploy pull request previews ([@tschaub](https://github.com/tschaub))
* [#12965](https://github.com/openlayers/openlayers/pull/12965) - Allow canvas reuse for WebGL layers ([@tschaub](https://github.com/tschaub))
* [#12999](https://github.com/openlayers/openlayers/pull/12999) - Fix style related apidoc issues ([@MoonE](https://github.com/MoonE))
* [#12978](https://github.com/openlayers/openlayers/pull/12978) - Add null to style jsdoc of VectorImage ([@EvertEt](https://github.com/EvertEt))
* [#12997](https://github.com/openlayers/openlayers/pull/12997) - Lazily create the WebGL helper ([@tschaub](https://github.com/tschaub))
* [#12996](https://github.com/openlayers/openlayers/pull/12996) - Align labels with the Select elements in the Raster Reprojection example ([@mike-000](https://github.com/mike-000))
* [#12994](https://github.com/openlayers/openlayers/pull/12994) - Add a map property to layers ([@tschaub](https://github.com/tschaub))
* [#12987](https://github.com/openlayers/openlayers/pull/12987) - Browser test config update ([@tschaub](https://github.com/tschaub))
* [#12939](https://github.com/openlayers/openlayers/pull/12939) - Example that demonstrates a color expression using variables ([@tschaub](https://github.com/tschaub))
* [#12962](https://github.com/openlayers/openlayers/pull/12962) - No context sharing when layer opacity is set ([@ahocevar](https://github.com/ahocevar))
* [#12964](https://github.com/openlayers/openlayers/pull/12964) - Updated Bing Maps key ([@tschaub](https://github.com/tschaub))
* [#12958](https://github.com/openlayers/openlayers/pull/12958) - Reuse temporary canvas in getDataAtPixel() ([@mike-000](https://github.com/mike-000))
* [#12893](https://github.com/openlayers/openlayers/pull/12893) - Allow map target to be an external window ([@andrewcoder002](https://github.com/andrewcoder002))
* [#12955](https://github.com/openlayers/openlayers/pull/12955) - Make MapboxVector layer work in more access key scenarios ([@ahocevar](https://github.com/ahocevar))
* [#12935](https://github.com/openlayers/openlayers/pull/12935) - fix bug #12913 ([@mrpan](https://github.com/mrpan))
* [#12933](https://github.com/openlayers/openlayers/pull/12933) - Include WebGL context in render events for WebGL layers ([@tschaub](https://github.com/tschaub))
* [#12917](https://github.com/openlayers/openlayers/pull/12917) - Make removeFeature consistent with other remove methods ([@mike-000](https://github.com/mike-000))
* [#12918](https://github.com/openlayers/openlayers/pull/12918) - Add setDisplacement method to ol/style/Image and subclasses ([@mike-000](https://github.com/mike-000))
* [#12930](https://github.com/openlayers/openlayers/pull/12930) - Fix flaky view animation test ([@MoonE](https://github.com/MoonE))
* [#12915](https://github.com/openlayers/openlayers/pull/12915) - Test the new pull request deploy previews ([@tschaub](https://github.com/tschaub))
* [#12916](https://github.com/openlayers/openlayers/pull/12916) - Updates to deploy-preview job ([@openlayers](https://github.com/openlayers))
* [#12914](https://github.com/openlayers/openlayers/pull/12914) - Build site preview as a GitHub action ([@tschaub](https://github.com/tschaub))
* [#12891](https://github.com/openlayers/openlayers/pull/12891) - Restore browser compatibility where possible ([@mike-000](https://github.com/mike-000))
* [#12899](https://github.com/openlayers/openlayers/pull/12899) - Update docs to mention Vite ([@tschaub](https://github.com/tschaub))
* [#12890](https://github.com/openlayers/openlayers/pull/12890) - Release 6.9.0 ([@openlayers](https://github.com/openlayers))
<details>
<summary>Dependency Updates</summary>
* [#13162](https://github.com/openlayers/openlayers/pull/13162) - Bump yargs from 17.3.0 to 17.3.1 ([@openlayers](https://github.com/openlayers))
* [#13163](https://github.com/openlayers/openlayers/pull/13163) - Bump rollup from 2.61.1 to 2.62.0 ([@openlayers](https://github.com/openlayers))
* [#13161](https://github.com/openlayers/openlayers/pull/13161) - Bump webpack-dev-server from 4.6.0 to 4.7.1 ([@openlayers](https://github.com/openlayers))
* [#13160](https://github.com/openlayers/openlayers/pull/13160) - Bump puppeteer from 13.0.0 to 13.0.1 ([@openlayers](https://github.com/openlayers))
* [#13140](https://github.com/openlayers/openlayers/pull/13140) - Bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.1 ([@openlayers](https://github.com/openlayers))
* [#13132](https://github.com/openlayers/openlayers/pull/13132) - Bump copy-webpack-plugin from 10.1.0 to 10.2.0 ([@openlayers](https://github.com/openlayers))
* [#13141](https://github.com/openlayers/openlayers/pull/13141) - Bump webpack-dev-middleware from 5.2.2 to 5.3.0 ([@openlayers](https://github.com/openlayers))
* [#13133](https://github.com/openlayers/openlayers/pull/13133) - Bump eslint from 8.4.1 to 8.5.0 ([@openlayers](https://github.com/openlayers))
* [#13139](https://github.com/openlayers/openlayers/pull/13139) - Bump @babel/core from 7.16.0 to 7.16.5 ([@openlayers](https://github.com/openlayers))
* [#13136](https://github.com/openlayers/openlayers/pull/13136) - Bump @babel/preset-env from 7.16.4 to 7.16.5 ([@openlayers](https://github.com/openlayers))
* [#13137](https://github.com/openlayers/openlayers/pull/13137) - Bump express from 4.17.1 to 4.17.2 ([@openlayers](https://github.com/openlayers))
* [#13138](https://github.com/openlayers/openlayers/pull/13138) - Bump ol-mapbox-style from 6.7.0 to 6.8.1 ([@openlayers](https://github.com/openlayers))
* [#13134](https://github.com/openlayers/openlayers/pull/13134) - Bump marked from 4.0.7 to 4.0.8 ([@openlayers](https://github.com/openlayers))
* [#13106](https://github.com/openlayers/openlayers/pull/13106) - Bump webpack from 5.64.4 to 5.65.0 ([@openlayers](https://github.com/openlayers))
* [#13108](https://github.com/openlayers/openlayers/pull/13108) - Bump rollup from 2.60.2 to 2.61.1 ([@openlayers](https://github.com/openlayers))
* [#13107](https://github.com/openlayers/openlayers/pull/13107) - Bump copy-webpack-plugin from 10.0.0 to 10.1.0 ([@openlayers](https://github.com/openlayers))
* [#13105](https://github.com/openlayers/openlayers/pull/13105) - Bump eslint from 8.4.0 to 8.4.1 ([@openlayers](https://github.com/openlayers))
* [#13109](https://github.com/openlayers/openlayers/pull/13109) - Bump marked from 4.0.6 to 4.0.7 ([@openlayers](https://github.com/openlayers))
* [#13110](https://github.com/openlayers/openlayers/pull/13110) - Bump puppeteer from 12.0.1 to 13.0.0 ([@openlayers](https://github.com/openlayers))
* [#13111](https://github.com/openlayers/openlayers/pull/13111) - Bump clean-css-cli from 5.4.2 to 5.5.0 ([@openlayers](https://github.com/openlayers))
* [#13091](https://github.com/openlayers/openlayers/pull/13091) - Bump rollup from 2.60.1 to 2.60.2 ([@openlayers](https://github.com/openlayers))
* [#13089](https://github.com/openlayers/openlayers/pull/13089) - Bump eslint from 8.3.0 to 8.4.0 ([@openlayers](https://github.com/openlayers))
* [#13090](https://github.com/openlayers/openlayers/pull/13090) - Bump marked from 4.0.5 to 4.0.6 ([@openlayers](https://github.com/openlayers))
* [#13093](https://github.com/openlayers/openlayers/pull/13093) - Bump yargs from 17.2.1 to 17.3.0 ([@openlayers](https://github.com/openlayers))
* [#13092](https://github.com/openlayers/openlayers/pull/13092) - Bump puppeteer from 12.0.0 to 12.0.1 ([@openlayers](https://github.com/openlayers))
* [#13088](https://github.com/openlayers/openlayers/pull/13088) - Bump geotiff from 1.0.8 to 1.0.9 ([@openlayers](https://github.com/openlayers))
* [#13057](https://github.com/openlayers/openlayers/pull/13057) - Bump puppeteer from 11.0.0 to 12.0.0 ([@openlayers](https://github.com/openlayers))
* [#13055](https://github.com/openlayers/openlayers/pull/13055) - Bump webpack from 5.64.2 to 5.64.4 ([@openlayers](https://github.com/openlayers))
* [#13056](https://github.com/openlayers/openlayers/pull/13056) - Bump webpack-dev-server from 4.5.0 to 4.6.0 ([@openlayers](https://github.com/openlayers))
* [#13058](https://github.com/openlayers/openlayers/pull/13058) - Bump marked from 4.0.4 to 4.0.5 ([@openlayers](https://github.com/openlayers))
* [#13032](https://github.com/openlayers/openlayers/pull/13032) - Bump webpack from 5.64.0 to 5.64.2 ([@openlayers](https://github.com/openlayers))
* [#13033](https://github.com/openlayers/openlayers/pull/13033) - Bump webpack-sources from 3.2.1 to 3.2.2 ([@openlayers](https://github.com/openlayers))
* [#13034](https://github.com/openlayers/openlayers/pull/13034) - Bump rollup from 2.60.0 to 2.60.1 ([@openlayers](https://github.com/openlayers))
* [#13035](https://github.com/openlayers/openlayers/pull/13035) - Bump copy-webpack-plugin from 9.1.0 to 10.0.0 ([@openlayers](https://github.com/openlayers))
* [#13036](https://github.com/openlayers/openlayers/pull/13036) - Bump webpack-dev-middleware from 5.2.1 to 5.2.2 ([@openlayers](https://github.com/openlayers))
* [#13037](https://github.com/openlayers/openlayers/pull/13037) - Bump @babel/preset-env from 7.16.0 to 7.16.4 ([@openlayers](https://github.com/openlayers))
* [#13038](https://github.com/openlayers/openlayers/pull/13038) - Bump marked from 4.0.3 to 4.0.4 ([@openlayers](https://github.com/openlayers))
* [#13039](https://github.com/openlayers/openlayers/pull/13039) - Bump eslint from 8.2.0 to 8.3.0 ([@openlayers](https://github.com/openlayers))
* [#13040](https://github.com/openlayers/openlayers/pull/13040) - Bump ol-mapbox-style from 6.5.2 to 6.5.3 ([@openlayers](https://github.com/openlayers))
* [#13041](https://github.com/openlayers/openlayers/pull/13041) - Bump karma from 6.3.8 to 6.3.9 ([@openlayers](https://github.com/openlayers))
* [#13001](https://github.com/openlayers/openlayers/pull/13001) - Bump webpack from 5.62.1 to 5.64.0 ([@openlayers](https://github.com/openlayers))
* [#13002](https://github.com/openlayers/openlayers/pull/13002) - Bump terser-webpack-plugin from 5.2.4 to 5.2.5 ([@openlayers](https://github.com/openlayers))
* [#13003](https://github.com/openlayers/openlayers/pull/13003) - Bump copy-webpack-plugin from 9.0.1 to 9.1.0 ([@openlayers](https://github.com/openlayers))
* [#13004](https://github.com/openlayers/openlayers/pull/13004) - Bump rollup from 2.59.0 to 2.60.0 ([@openlayers](https://github.com/openlayers))
* [#13005](https://github.com/openlayers/openlayers/pull/13005) - Bump webpack-dev-server from 4.4.0 to 4.5.0 ([@openlayers](https://github.com/openlayers))
* [#13006](https://github.com/openlayers/openlayers/pull/13006) - Bump ol-mapbox-style from 6.5.1 to 6.5.2 ([@openlayers](https://github.com/openlayers))
* [#13007](https://github.com/openlayers/openlayers/pull/13007) - Bump marked from 4.0.0 to 4.0.3 ([@openlayers](https://github.com/openlayers))
* [#13008](https://github.com/openlayers/openlayers/pull/13008) - Bump glob from 7.1.7 to 7.2.0 ([@openlayers](https://github.com/openlayers))
* [#12968](https://github.com/openlayers/openlayers/pull/12968) - Bump sinon from 11.1.2 to 12.0.1 ([@openlayers](https://github.com/openlayers))
* [#12969](https://github.com/openlayers/openlayers/pull/12969) - Bump marked from 3.0.8 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#12973](https://github.com/openlayers/openlayers/pull/12973) - Bump eslint from 8.1.0 to 8.2.0 ([@openlayers](https://github.com/openlayers))
* [#12972](https://github.com/openlayers/openlayers/pull/12972) - Bump karma-firefox-launcher from 2.1.1 to 2.1.2 ([@openlayers](https://github.com/openlayers))
* [#12971](https://github.com/openlayers/openlayers/pull/12971) - Bump puppeteer from 10.4.0 to 11.0.0 ([@openlayers](https://github.com/openlayers))
* [#12970](https://github.com/openlayers/openlayers/pull/12970) - Bump karma from 6.3.6 to 6.3.8 ([@openlayers](https://github.com/openlayers))
* [#12967](https://github.com/openlayers/openlayers/pull/12967) - Bump webpack from 5.61.0 to 5.62.1 ([@openlayers](https://github.com/openlayers))
* [#12948](https://github.com/openlayers/openlayers/pull/12948) - Bump webpack from 5.59.1 to 5.61.0 ([@openlayers](https://github.com/openlayers))
* [#12945](https://github.com/openlayers/openlayers/pull/12945) - Bump rollup from 2.58.3 to 2.59.0 ([@openlayers](https://github.com/openlayers))
* [#12946](https://github.com/openlayers/openlayers/pull/12946) - Bump @babel/preset-env from 7.15.8 to 7.16.0 ([@openlayers](https://github.com/openlayers))
* [#12947](https://github.com/openlayers/openlayers/pull/12947) - Bump @babel/core from 7.15.8 to 7.16.0 ([@openlayers](https://github.com/openlayers))
* [#12949](https://github.com/openlayers/openlayers/pull/12949) - Bump karma from 6.3.5 to 6.3.6 ([@openlayers](https://github.com/openlayers))
* [#12944](https://github.com/openlayers/openlayers/pull/12944) - Bump webpack-dev-server from 4.3.1 to 4.4.0 ([@openlayers](https://github.com/openlayers))
* [#12923](https://github.com/openlayers/openlayers/pull/12923) - Bump @rollup/plugin-commonjs from 21.0.0 to 21.0.1 ([@openlayers](https://github.com/openlayers))
* [#12922](https://github.com/openlayers/openlayers/pull/12922) - Bump webpack-cli from 4.9.0 to 4.9.1 ([@openlayers](https://github.com/openlayers))
* [#12929](https://github.com/openlayers/openlayers/pull/12929) - Bump rollup from 2.58.0 to 2.58.3 ([@openlayers](https://github.com/openlayers))
* [#12920](https://github.com/openlayers/openlayers/pull/12920) - Bump marked from 3.0.7 to 3.0.8 ([@openlayers](https://github.com/openlayers))
* [#12924](https://github.com/openlayers/openlayers/pull/12924) - Bump clean-css-cli from 5.4.1 to 5.4.2 ([@openlayers](https://github.com/openlayers))
* [#12926](https://github.com/openlayers/openlayers/pull/12926) - Bump @rollup/plugin-node-resolve from 13.0.5 to 13.0.6 ([@openlayers](https://github.com/openlayers))
* [#12928](https://github.com/openlayers/openlayers/pull/12928) - Bump babel-loader from 8.2.2 to 8.2.3 ([@openlayers](https://github.com/openlayers))
* [#12921](https://github.com/openlayers/openlayers/pull/12921) - Bump webpack from 5.58.2 to 5.59.1 ([@openlayers](https://github.com/openlayers))
* [#12927](https://github.com/openlayers/openlayers/pull/12927) - Bump eslint from 8.0.1 to 8.1.0 ([@openlayers](https://github.com/openlayers))
* [#12919](https://github.com/openlayers/openlayers/pull/12919) - Bump karma from 6.3.4 to 6.3.5 ([@openlayers](https://github.com/openlayers))
* [#12902](https://github.com/openlayers/openlayers/pull/12902) - Bump eslint from 7.32.0 to 8.0.1 ([@openlayers](https://github.com/openlayers))
* [#12904](https://github.com/openlayers/openlayers/pull/12904) - Bump mocha from 9.1.2 to 9.1.3 ([@openlayers](https://github.com/openlayers))
* [#12905](https://github.com/openlayers/openlayers/pull/12905) - Bump glob from 7.1.7 to 7.2.0 ([@openlayers](https://github.com/openlayers))
* [#12903](https://github.com/openlayers/openlayers/pull/12903) - Bump webpack from 5.58.1 to 5.58.2 ([@openlayers](https://github.com/openlayers))
</details>
+32
View File
@@ -0,0 +1,32 @@
# 6.11.0
This release follows up on the 6.10 release with a fix for Mapbox vector layers rendered over other layers. A handful of other fixes and features are included. See below for more detail.
* [#13195](https://github.com/openlayers/openlayers/pull/13195) - Use getFeaturesInExtent ([@ahocevar](https://github.com/ahocevar))
* [#13200](https://github.com/openlayers/openlayers/pull/13200) - Use interpolate option in Sea Level example ([@mike-000](https://github.com/mike-000))
* [#13201](https://github.com/openlayers/openlayers/pull/13201) - Fix typo in example description ([@mike-000](https://github.com/mike-000))
* [#13177](https://github.com/openlayers/openlayers/pull/13177) - Use ecoregions data ([@tschaub](https://github.com/tschaub))
* [#13198](https://github.com/openlayers/openlayers/pull/13198) - Avoid failure if existing target has no background color ([@tschaub](https://github.com/tschaub))
* [#13186](https://github.com/openlayers/openlayers/pull/13186) - Add getDataAtPixel() method for WebGL ([@mike-000](https://github.com/mike-000))
* [#13196](https://github.com/openlayers/openlayers/pull/13196) - typo fix for cog-stretch example ([@bradh](https://github.com/bradh))
* [#13190](https://github.com/openlayers/openlayers/pull/13190) - Fix base vector layer template generics ([@ahocevar](https://github.com/ahocevar))
* [#13180](https://github.com/openlayers/openlayers/pull/13180) - Always use ES modules from geotiff.js ([@ahocevar](https://github.com/ahocevar))
* [#13179](https://github.com/openlayers/openlayers/pull/13179) - Use Buffer and data uri when Blob is not available ([@ahocevar](https://github.com/ahocevar))
* [#13178](https://github.com/openlayers/openlayers/pull/13178) - Use background property for vector layers ([@tschaub](https://github.com/tschaub))
* [#13175](https://github.com/openlayers/openlayers/pull/13175) - Allow nodejs 12 to build the examples again ([@MoonE](https://github.com/MoonE))
* [#13176](https://github.com/openlayers/openlayers/pull/13176) - Add `attributions` and `attributionsCollapsible` options to `ol/source/DataTile` ([@mike-000](https://github.com/mike-000))
* [#13171](https://github.com/openlayers/openlayers/pull/13171) - Correct scale bar in EPSG:4326 ([@mike-000](https://github.com/mike-000))
* [#13168](https://github.com/openlayers/openlayers/pull/13168) - Release 6.10.0 ([@openlayers](https://github.com/openlayers))
<details>
<summary>Dependency Updates</summary>
* [#13182](https://github.com/openlayers/openlayers/pull/13182) - Bump eslint from 8.5.0 to 8.6.0 ([@openlayers](https://github.com/openlayers))
* [#13184](https://github.com/openlayers/openlayers/pull/13184) - Bump @rollup/plugin-node-resolve from 13.1.1 to 13.1.2 ([@openlayers](https://github.com/openlayers))
* [#13183](https://github.com/openlayers/openlayers/pull/13183) - Bump @babel/core from 7.16.5 to 7.16.7 ([@openlayers](https://github.com/openlayers))
* [#13185](https://github.com/openlayers/openlayers/pull/13185) - Bump webpack-dev-server from 4.7.1 to 4.7.2 ([@openlayers](https://github.com/openlayers))
* [#13181](https://github.com/openlayers/openlayers/pull/13181) - Bump @babel/preset-env from 7.16.5 to 7.16.7 ([@openlayers](https://github.com/openlayers))
</details>
+30
View File
@@ -0,0 +1,30 @@
# 6.12.0
The 6.12 release brings a few small fixes and enhancements. See below for a complete list.
* Transitive dependency update (by @openlayers in https://github.com/openlayers/openlayers/pull/13240)
* Re-enable image smoothing after rendering (by @mike-000 in https://github.com/openlayers/openlayers/pull/13236)
* Describe use of className with declutter (by @mike-000 in https://github.com/openlayers/openlayers/pull/13237)
* added run to npm command (by @lklepner in https://github.com/openlayers/openlayers/pull/13231)
* Document how to link package during development (by @lklepner in https://github.com/openlayers/openlayers/pull/13228)
* Default CORS mode for WebGL rendered sources (by @tschaub in https://github.com/openlayers/openlayers/pull/13227)
* Support the wrapX option for WebGL rendered tile sources (by @tschaub in https://github.com/openlayers/openlayers/pull/13226)
* Update ol-mapbox-style (by @tschaub in https://github.com/openlayers/openlayers/pull/13224)
* Do not fire modifyend event when nothing was modified (by @ahocevar in https://github.com/openlayers/openlayers/pull/13219)
* Draw VectorTiles with interpolate in hybrid mode again (by @M393 in https://github.com/openlayers/openlayers/pull/13221)
* Fix some typos in ModifyInteraction documentation (by @EvertEt in https://github.com/openlayers/openlayers/pull/13216)
* Fix MVT incorrect feature data handling (by @EvertEt in https://github.com/openlayers/openlayers/pull/13217)
* Format the changelog so contributors can be highlighted (by @tschaub in https://github.com/openlayers/openlayers/pull/13205)
<details>
<summary>Dependency Updates</summary>
* Bump karma from 6.3.9 to 6.3.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13209)
* Bump shx from 0.3.3 to 0.3.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13211)
* Bump @rollup/plugin-node-resolve from 13.1.2 to 13.1.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13210)
* Bump rollup from 2.62.0 to 2.63.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13208)
* Bump marked from 4.0.8 to 4.0.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/13207)
</details>
+139
View File
@@ -0,0 +1,139 @@
# 6.13.0
## Overview
The 6.13 release brings several exciting new features and improvements:
* A new `layer.getData()` method to get pixel data for a single layer (see details below).
* Support for rich text labels in `ol/style/Text`, to use different font styles and fonts in a single label.
* The `useGeograpic()` and `setUserProjection()` functions in the `ol/proj` module are now part of the official API. These functions make it easier to work with geographic coordinates or local projections.
* Improvements for WebGL Tile and Points layers.
* Performance improvements on `ol/Feature`, to avoid event creation when there are no listeners.
* Update of geotiff.js to v2, to fix some build issues that users reported.
* Improvements to the auto-generated TypeScript types.
## Details
### New `layer.getData()` method
Raster layers (static images, image tiles, data tiles) have a new `layer.getData(pixel)` method that returns the pixel data at the provided location. The return value depends on the underlying source data type. For example, a GeoTIFF may return a `Float32Array` with one value per band, while a PNG rendered from a tile layer will return a `Uint8ClampedArray` of RGBA values.
If you were previously using the `map.forEachLayerAtPixel()` method, you should use the new `layer.getData()` method instead. The old method returns composite pixel values from multiple layers and is limited to RGBA values. The new method doesn't suffer from these shortcomings and is more performant.
### Deprecated `map.forEachLayerAtPixel()` method
The `map.forEachLayerAtPixel()` method has been deprecated. It will be removed (or its behavior may change) in the next major release. Please use the `layer.getData()` method instead.
## List of all changes
See below for a complete list of features and fixes.
* Update ol-mapbox-style for rich text labels support (by @ahocevar in https://github.com/openlayers/openlayers/pull/13418)
* Increase GeoTIFF resolutions tolerance (by @ahocevar in https://github.com/openlayers/openlayers/pull/13417)
* Check for graticule resolution change and fix unrotated size (by @mike-000 in https://github.com/openlayers/openlayers/pull/13415)
* Rich text labels (by @ahocevar in https://github.com/openlayers/openlayers/pull/13410)
* Clear image when source's image is not ready (by @yonda-yonda in https://github.com/openlayers/openlayers/pull/13398)
* Fix setting View resolution or center to undefined (by @MoonE in https://github.com/openlayers/openlayers/pull/13393)
* Fix clone of icon loses imgSize when cache is full (by @MoonE in https://github.com/openlayers/openlayers/pull/13390)
* Use same clipping method for vector and image tiles (by @ahocevar in https://github.com/openlayers/openlayers/pull/13392)
* Less clipping of target resolution tiles (by @ahocevar in https://github.com/openlayers/openlayers/pull/13391)
* Change remaining links to point to class page instead of module (by @MoonE in https://github.com/openlayers/openlayers/pull/13385)
* User projection API (by @ahocevar in https://github.com/openlayers/openlayers/pull/13383)
* Fix wrong types when using `"skipLibCheck": false` (by @seravifer in https://github.com/openlayers/openlayers/pull/13382)
* Fix JsDoc references (by @MoonE in https://github.com/openlayers/openlayers/pull/13374)
* Fix VectorSource isEmpty without spatial index (by @MoonE in https://github.com/openlayers/openlayers/pull/13373)
* Document difference between Vector and VectorImage layers (by @ahocevar in https://github.com/openlayers/openlayers/pull/13371)
* Fix `ol/source/Cluster#setSource` type annotation (by @MoonE in https://github.com/openlayers/openlayers/pull/12998)
* Preload tiles for WebGL tile layers (by @tschaub in https://github.com/openlayers/openlayers/pull/13357)
* Avoid event creation when there are no listeners (by @MoonE in https://github.com/openlayers/openlayers/pull/13358)
* Add floor, round and ceil to style expressions (by @mike-000 in https://github.com/openlayers/openlayers/pull/13363)
* Support WebGL layers in ol/source/Raster (by @mike-000 in https://github.com/openlayers/openlayers/pull/13361)
* Improve some null types to prepare for strictNullChecks (by @EvertEt in https://github.com/openlayers/openlayers/pull/13301)
* Reset globalAlpha back to its initial after mutating it for drawing layers (by @Amirh0sseinHZ in https://github.com/openlayers/openlayers/pull/13351)
* Removing an unnecessary word from DEVELOPING.md (by @Amirh0sseinHZ in https://github.com/openlayers/openlayers/pull/13352)
* Get pixel data (by @tschaub in https://github.com/openlayers/openlayers/pull/13338)
* Remove warning for `@type` annotation by jsdoc (by @MoonE in https://github.com/openlayers/openlayers/pull/13350)
* Improve some null types for strictNullChecks (by @EvertEt in https://github.com/openlayers/openlayers/pull/13334)
* Dispose of webgl contexts (by @MoonE in https://github.com/openlayers/openlayers/pull/13336)
* Fix error when accessing ready property of renderer (by @MoonE in https://github.com/openlayers/openlayers/pull/13337)
* Pass tilePixelRatio and gutter to TileTexture (by @mike-000 in https://github.com/openlayers/openlayers/pull/13269)
* Improve some nullable map types (by @EvertEt in https://github.com/openlayers/openlayers/pull/13328)
* Avoid rendering outside WebGL layer and source extent (by @tschaub in https://github.com/openlayers/openlayers/pull/13333)
* Avoid duplicate imports (by @tschaub in https://github.com/openlayers/openlayers/pull/13332)
* Add updateStyleVariables method to WebGLPoints layer (by @ahocevar in https://github.com/openlayers/openlayers/pull/13294)
* Fix rendercomplete for WebGLPoints layer and subclasses (by @ahocevar in https://github.com/openlayers/openlayers/pull/13323)
* fix: fix casing for z-index (by @OSHistory in https://github.com/openlayers/openlayers/pull/13319)
* Fix typo CSS class name for the expanded attributions button (by @fredj in https://github.com/openlayers/openlayers/pull/13315)
* Improve types for tile layers (by @ahocevar in https://github.com/openlayers/openlayers/pull/13299)
* Document geometry type (by @ahocevar in https://github.com/openlayers/openlayers/pull/13298)
* Add function to convert RenderFeature to Feature (by @MoonE in https://github.com/openlayers/openlayers/pull/13297)
* Update to geotiff@2 (by @ahocevar in https://github.com/openlayers/openlayers/pull/13292)
* Re-assign style variables on setStyle() (by @ahocevar in https://github.com/openlayers/openlayers/pull/13293)
* add @api comment on getAllLayers method (by @XiaofengZeng in https://github.com/openlayers/openlayers/pull/13261)
* Allowing to pass additional options to the geotiff.js source (by @constantinius in https://github.com/openlayers/openlayers/pull/13290)
* Defaults for generic types (by @ahocevar in https://github.com/openlayers/openlayers/pull/13291)
* Load api navigation dynamically to reduce needed disk space (by @MoonE in https://github.com/openlayers/openlayers/pull/13229)
* Remove unneeded `src=""` (by @mike-000 in https://github.com/openlayers/openlayers/pull/13271)
* Support multiple sources for WebGL tile layers (by @ahocevar in https://github.com/openlayers/openlayers/pull/13212)
* Add crossOrigin option to LiteralSymbolStyle (by @mike-000 in https://github.com/openlayers/openlayers/pull/13259)
* Avoid the redirect from unpkg.com (by @tschaub in https://github.com/openlayers/openlayers/pull/13242)
* Updates for the 6.12.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/13241)
<details>
<summary>Dependency Updates</summary>
* Bump express from 4.17.2 to 4.17.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13402)
* Bump puppeteer from 13.3.1 to 13.3.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13401)
* Bump mocha from 9.2.0 to 9.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13403)
* Bump webpack from 5.68.0 to 5.69.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13404)
* Bump ol-mapbox-style from 6.8.3 to 6.9.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13406)
* Bump rollup from 2.67.1 to 2.67.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13405)
* Bump @babel/core from 7.17.2 to 7.17.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/13407)
* Bump @babel/core from 7.17.0 to 7.17.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13381)
* Bump karma from 6.3.15 to 6.3.16 (by @openlayers in https://github.com/openlayers/openlayers/pull/13379)
* Bump eslint from 8.8.0 to 8.9.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13377)
* Bump puppeteer from 13.1.3 to 13.3.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13376)
* Bump follow-redirects from 1.14.7 to 1.14.8 (by @openlayers in https://github.com/openlayers/openlayers/pull/13372)
* Bump geotiff from 2.0.3 to 2.0.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13339)
* Bump globby from 13.1.0 to 13.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13340)
* Bump rollup from 2.66.1 to 2.67.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13342)
* Bump @babel/core from 7.16.12 to 7.17.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13343)
* Bump karma from 6.3.12 to 6.3.15 (by @openlayers in https://github.com/openlayers/openlayers/pull/13344)
* Bump webpack from 5.67.0 to 5.68.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13345)
* Bump webpack-dev-server from 4.7.3 to 4.7.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13346)
* Bump sinon from 13.0.0 to 13.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13348)
* Bump rollup from 2.66.0 to 2.66.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13318)
* Bump karma from 6.3.11 to 6.3.12 (by @openlayers in https://github.com/openlayers/openlayers/pull/13314)
* Bump geotiff from 2.0.2 to 2.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13313)
* Bump puppeteer from 13.1.1 to 13.1.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13317)
* Bump sinon from 12.0.1 to 13.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13316)
* Bump jsdoc from 3.6.9 to 3.6.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13312)
* Bump copy-webpack-plugin from 10.2.1 to 10.2.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13311)
* Bump clean-css-cli from 5.5.0 to 5.5.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13310)
* Bump eslint from 8.7.0 to 8.8.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13309)
* Bump webpack-cli from 4.9.1 to 4.9.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13305)
* Bump globby from 13.0.0 to 13.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13308)
* Bump marked from 4.0.10 to 4.0.12 (by @openlayers in https://github.com/openlayers/openlayers/pull/13307)
* Use exactly typescript@4.6.0-beta (by @openlayers in https://github.com/openlayers/openlayers/pull/13306)
* Bump globby from 12.2.0 to 13.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13281)
* Bump @babel/core from 7.16.7 to 7.16.12 (by @openlayers in https://github.com/openlayers/openlayers/pull/13278)
* Bump webpack from 5.66.0 to 5.67.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13277)
* Bump puppeteer from 13.0.1 to 13.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13280)
* Bump rollup from 2.64.0 to 2.66.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13279)
* Bump @babel/preset-env from 7.16.8 to 7.16.11 (by @openlayers in https://github.com/openlayers/openlayers/pull/13276)
* Bump copy-webpack-plugin from 10.2.0 to 10.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13275)
* Bump jsdoc from 3.6.7 to 3.6.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/13274)
* Bump ol-mapbox-style from 6.8.2 to 6.8.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13273)
* Bump mocha from 9.1.4 to 9.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13272)
* Bump eslint from 8.6.0 to 8.7.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13246)
* Bump mocha from 9.1.3 to 9.1.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13247)
* Bump webpack-sources from 3.2.2 to 3.2.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13248)
* Bump webpack from 5.65.0 to 5.66.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13249)
* Bump globby from 12.0.2 to 12.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13250)
* Bump @babel/preset-env from 7.16.7 to 7.16.8 (by @openlayers in https://github.com/openlayers/openlayers/pull/13251)
* Bump rollup from 2.63.0 to 2.64.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13252)
* Bump karma from 6.3.10 to 6.3.11 (by @openlayers in https://github.com/openlayers/openlayers/pull/13253)
* Bump marked from 4.0.9 to 4.0.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13243)
</details>
+55
View File
@@ -0,0 +1,55 @@
# 6.14.0
The 6.14 release includes a few new features and fixes. The new `loadstart` and `loadend` events make it easy to add loading indicators to your maps. Enhancements to the snap interaction add support for snapping to points coincident with lines and improve performance. A change to WebGL rendering works around [an issue](https://bugs.webkit.org/show_bug.cgi?id=238196) in Safari 15.4. Find detail on these improvements and more in the full list of changes below.
#### List of all changes
See below for a complete list of features and fixes.
* Store rendered source on the layer instead of the layer state (by @tschaub in https://github.com/openlayers/openlayers/pull/13509)
* Change imageSmoothing to interpolate in tests (by @mike-000 in https://github.com/openlayers/openlayers/pull/13506)
* Fallback if `OES_texture_float_linear` is not supported (by @mike-000 in https://github.com/openlayers/openlayers/pull/13505)
* Workaround for Safari WebGL issue (by @tschaub in https://github.com/openlayers/openlayers/pull/13492)
* Separate geometry and extent parsing (by @ahocevar in https://github.com/openlayers/openlayers/pull/13490)
* Add loadstart and loadend map events (by @ahocevar in https://github.com/openlayers/openlayers/pull/13491)
* Add documentation for precompose and postcopose to ol/layer/WebGLTile (by @ahocevar in https://github.com/openlayers/openlayers/pull/13482)
* Fix legacy build (by @ahocevar in https://github.com/openlayers/openlayers/pull/13469)
* Fix Text#setText jsDoc (by @rycgar in https://github.com/openlayers/openlayers/pull/13466)
* Do not warn about coordinates when view projection is configured (by @ahocevar in https://github.com/openlayers/openlayers/pull/13464)
* Reset image when empty (by @ahocevar in https://github.com/openlayers/openlayers/pull/13463)
* Revert image transition regression (by @ahocevar in https://github.com/openlayers/openlayers/pull/13460)
* Improve Snap interaction performance (by @MoonE in https://github.com/openlayers/openlayers/pull/13455)
* Snap Interaction can snap to Point on line segment (by @T-MAPY in https://github.com/openlayers/openlayers/pull/13446)
* Initialize variable before use in FullScreen control (by @MoonE in https://github.com/openlayers/openlayers/pull/13447)
* Ensure FullScreen button has classname set on render. (by @themoffster in https://github.com/openlayers/openlayers/pull/13444)
* Guard PluggableMap against null renderer (by @EvertEt in https://github.com/openlayers/openlayers/pull/13437)
* Fix rendercomplete with invisible WebGLPoints layer (by @M393 in https://github.com/openlayers/openlayers/pull/13434)
* Handle layers without renderer properly (by @ahocevar in https://github.com/openlayers/openlayers/pull/13424)
<details>
<summary>Dependency Updates</summary>
* Bump minimist from 1.2.5 to 1.2.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/13501)
* Bump node-forge from 1.2.1 to 1.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13498)
* Bump yargs from 17.3.1 to 17.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13493)
* Bump @babel/core from 7.17.5 to 7.17.8 (by @openlayers in https://github.com/openlayers/openlayers/pull/13494)
* Bump puppeteer from 13.4.1 to 13.5.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13472)
* Bump karma-chrome-launcher from 3.1.0 to 3.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13474)
* Bump mocha from 9.2.1 to 9.2.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13475)
* Bump proj4 from 2.7.5 to 2.8.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13476)
* Bump rollup from 2.70.0 to 2.70.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13477)
* Bump ol-mapbox-style from 7.0.0 to 7.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13473)
* Bump rollup from 2.69.0 to 2.70.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13449)
* Bump webpack from 5.69.1 to 5.70.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13450)
* Bump puppeteer from 13.4.0 to 13.4.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13451)
* Bump karma from 6.3.16 to 6.3.17 (by @openlayers in https://github.com/openlayers/openlayers/pull/13452)
* Bump typescript from 4.6.0-beta to 4.6.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13453)
* Bump puppeteer from 13.3.2 to 13.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13427)
* Bump fs-extra from 10.0.0 to 10.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13429)
* Bump @rollup/plugin-commonjs from 21.0.1 to 21.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13430)
* Bump rollup from 2.67.3 to 2.69.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13442)
* Bump @rollup/plugin-babel from 5.3.0 to 5.3.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13426)
</details>
+4
View File
@@ -0,0 +1,4 @@
# 6.14.1
The 6.14.1 release is a patch to correct a version discrepancy in the `package-lock.json` file. See the [changelog for 6.14.0](https://github.com/openlayers/openlayers/releases/tag/v6.14.0) for new features and fixes since 6.13.
+241
View File
@@ -0,0 +1,241 @@
# 6.15.0
## Overview
The 6.15 release brings several fixes and improvements:
* Faster vector tile rendering for soures with non-standard tile grids
* Reduced canvas memory footprint for increased stability on iOS devices and better rendering performance
* Fixed a bug that prevented tiles from expiring from the tile cache in the correct order
* Better type safety with an increasing number of `null` checks and union types
* New `setFill` and `setStroke` methods for `RegularShape` symbols
* Vector symbol and text decluttering on the style level
* Fixed pointer event handling on touch devices when layer visibility changes
* New `justify` option for text styles
* New `Link` interation for adding center, zoom, rotation and active layers to the URL
* Easier css styling of the scale bar, and in addition to `minWidth`, the scale line can now also be configured with a `maxWidth`
## Details
### Deprecated `tilePixelRatio` option for data tile sources.
If you were previously trying to scale data tiles using the `tilePixelRatio` property for data tile sources (this is rare), you should now use the explicit `tileSize` and `tileGrid` properties. The source's `tileSize` represents the source tile dimensions and the tile grid's `tileSize` represents the desired rendered dimensions.
```js
const source = new DataTileSource({
tileSize: [512, 512], // source tile size
tileGrid: createXYZ({tileSize: [256, 256]}), // rendered tile size
});
```
### Fixed coordinate dimension handling in `ol/proj`'s `addCoordinateTransforms`
The `forward` and `inverse` functions passed to `addCooordinateTransforms` now receive a coordinate with all dimensions of the original coordinate, not just two. If you previosly had coordinates with more than two dimensions and added a transform like
```js
addCoordinateTransforms(
'EPSG:4326',
new Projection({code: 'latlong', units: 'degrees'}),
function(coordinate) { return coordinate.reverse(); },
function(coordinate) { return coordinate.reverse(); }
);
```
you have to change that to
```js
addCoordinateTransforms(
'EPSG:4326',
new Projection({code: 'latlong', units: 'degrees'}),
function(coordinate) { return coordinate.slice(0, 2).reverse() },
function(coordinate) { return coordinate.slice(0, 2).reverse() }
);
```
### Replacement of string enums with union types
This change only affects users that were using the non-API string enums
* ol/OverlayPositioning
* ol/extent/Corner
* ol/format/FormatType
* ol/geom/GeometryType
* ol/source/State
* ol/source/WMSServerType
* ol/source/WMTSRequestEncoding
Instead of these, use the respective `string`s, which are now typesafe by means of union types.
## List of all changes
See below for a complete list of features and fixes.
* Base vector tile render tile grid on the source grid (by @mike-000 in https://github.com/openlayers/openlayers/pull/13832)
* ability to change the color of the scalebar (by @jipexu in https://github.com/openlayers/openlayers/pull/13834)
* Reduce canvas memory footprint for better iOS stability (by @ahocevar in https://github.com/openlayers/openlayers/pull/13823)
* Use union types instead of enums (by @ahocevar in https://github.com/openlayers/openlayers/pull/12696)
* remove XYZ-ESRI -4326-512 example (by @jipexu in https://github.com/openlayers/openlayers/pull/13817)
* Remove HERE Maps example (by @mike-000 in https://github.com/openlayers/openlayers/pull/13819)
* Checkcontenteditable (by @jipexu in https://github.com/openlayers/openlayers/pull/13787)
* Add null return type for TileGrid functions (by @EvertEt in https://github.com/openlayers/openlayers/pull/13674)
* Add setFill and setStroke to Shapes (by @theduckylittle in https://github.com/openlayers/openlayers/pull/13747)
* Include displacement and declutterMode in Icon style clone (by @mike-000 in https://github.com/openlayers/openlayers/pull/13803)
* Do not refresh use time for tiles when collecting used source tiles (by @M393 in https://github.com/openlayers/openlayers/pull/13799)
* Change WKB readFeature(s) return type to Feature (by @mike-000 in https://github.com/openlayers/openlayers/pull/13800)
* d3 version update (by @jipexu in https://github.com/openlayers/openlayers/pull/13784)
* Better fix for changing pointer ids on event target change (by @ahocevar in https://github.com/openlayers/openlayers/pull/13771)
* Fix source band calculation when configured with multiple sources (by @ahocevar in https://github.com/openlayers/openlayers/pull/13762)
* Clean up tracked pointers when the event target has changed (by @ahocevar in https://github.com/openlayers/openlayers/pull/13770)
* Fix modifying polygons with overlapping vertices (by @hargasinski in https://github.com/openlayers/openlayers/pull/13745)
* Support GML polygons with ring curves instead of linear rings (by @ahocevar in https://github.com/openlayers/openlayers/pull/13749)
* Fix typo in method names (by @MoonE in https://github.com/openlayers/openlayers/pull/13750)
* Load GeoTiff from Blob #13189 #13703 (by @m-mohr in https://github.com/openlayers/openlayers/pull/13724)
* improve text width calculation (by @IQGeo in https://github.com/openlayers/openlayers/pull/12106)
* Fix tile pyramid getData() (by @mike-000 in https://github.com/openlayers/openlayers/pull/13712)
* Improve icon-sprite-webgl example (by @MoonE in https://github.com/openlayers/openlayers/pull/13709)
* Fix hitdetection for icon with offset and pixelratio != 1 (by @MoonE in https://github.com/openlayers/openlayers/pull/13627)
* Wait for icons to be loaded before firing rendercomplete event (by @MoonE in https://github.com/openlayers/openlayers/pull/13626)
* Change typedef to boolean (by @mike-000 in https://github.com/openlayers/openlayers/pull/13702)
* #13690 VectorSource#getFeaturesInExtent add projection parameter (by @burleight in https://github.com/openlayers/openlayers/pull/13691)
* Update ESLint config and plugins (by @tschaub in https://github.com/openlayers/openlayers/pull/13701)
* Flip extent coordinates for projections with ne* axis order (by @ahocevar in https://github.com/openlayers/openlayers/pull/13688)
* Link interaction (by @tschaub in https://github.com/openlayers/openlayers/pull/13689)
* Test improvements (by @MoonE in https://github.com/openlayers/openlayers/pull/13676)
* Add null return type (by @ahocevar in https://github.com/openlayers/openlayers/pull/13673)
* fix currentClip == null (by @CNS-Solutions in https://github.com/openlayers/openlayers/pull/13672)
* Handle NaN nodata (by @tschaub in https://github.com/openlayers/openlayers/pull/13669)
* Fix for parcel error while building examples (by @arekgotfryd in https://github.com/openlayers/openlayers/pull/13656)
* Explicit data tile size (by @tschaub in https://github.com/openlayers/openlayers/pull/13648)
* Decluttering mode by style (by @CNS-Solutions in https://github.com/openlayers/openlayers/pull/13566)
* Output GeoTIFF tile load errors to console (by @mike-000 in https://github.com/openlayers/openlayers/pull/13645)
* Fix typos in upgrade notes (by @openlayers in https://github.com/openlayers/openlayers/pull/13641)
* Let transform function transform all dimensions it is capable of (by @ahocevar in https://github.com/openlayers/openlayers/pull/13637)
* Fix dependabot config (by @tschaub in https://github.com/openlayers/openlayers/pull/13614)
* Include GitHub actions in the dependabot config (by @turrisxyz in https://github.com/openlayers/openlayers/pull/13611)
* Do not reload data tiles if already loaded or loading (by @mike-000 in https://github.com/openlayers/openlayers/pull/13594)
* Limit permissions for GitHub actions (by @turrisxyz in https://github.com/openlayers/openlayers/pull/13607)
* Handle rotation with non-square tiles (by @tschaub in https://github.com/openlayers/openlayers/pull/13603)
* Properly document loadstart and loadend events (by @ahocevar in https://github.com/openlayers/openlayers/pull/13595)
* Update OSM Vector Tiles attribution (by @mike-000 in https://github.com/openlayers/openlayers/pull/13568)
* WebGLPointsLayer wrapX support - partially addressing #11131 (by @burleight in https://github.com/openlayers/openlayers/pull/13528)
* Add `justify` option for text style (by @rycgar in https://github.com/openlayers/openlayers/pull/13571)
* Do not assert null projection (by @mike-000 in https://github.com/openlayers/openlayers/pull/13565)
* Improve Projection and Scale example calculations (by @mike-000 in https://github.com/openlayers/openlayers/pull/13496)
* Add geometryLayout property to Draw interaction (by @drnextgis in https://github.com/openlayers/openlayers/pull/13546)
* Updates for ol-mapbox-style v8 (by @ahocevar in https://github.com/openlayers/openlayers/pull/13552)
* NM symbol unit (by @jipexu in https://github.com/openlayers/openlayers/pull/13554)
* Update backgrounds when function returns a different color (by @ahocevar in https://github.com/openlayers/openlayers/pull/13550)
* Handle gutter in WebGL tile renderer (by @mike-000 in https://github.com/openlayers/openlayers/pull/13547)
* Do not add second interaction in Pinch Zoom example (by @mike-000 in https://github.com/openlayers/openlayers/pull/13551)
* Bugfix for GML parsing with multiple property elements with XML attributes (by @ejn in https://github.com/openlayers/openlayers/pull/12936)
* Fix small typo in docs (by @bartvde in https://github.com/openlayers/openlayers/pull/13536)
* Update type annotations for GMLBase (by @ahocevar in https://github.com/openlayers/openlayers/pull/13533)
* Add optional maxWidth for ScaleLine control (by @bartvde in https://github.com/openlayers/openlayers/pull/13531)
* Include tile gutter in offsets for getData() methods (by @mike-000 in https://github.com/openlayers/openlayers/pull/13521)
* Updates for the 6.14.1 release (by @openlayers in https://github.com/openlayers/openlayers/pull/13511)
<details>
<summary>Dependency Updates</summary>
* Bump rollup from 2.76.0 to 2.77.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13841)
* Bump @types/geojson from 7946.0.8 to 7946.0.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13842)
* Bump @babel/preset-env from 7.18.6 to 7.18.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/13843)
* Bump clean-css-cli from 5.6.0 to 5.6.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13844)
* Bump marked from 4.0.17 to 4.0.18 (by @openlayers in https://github.com/openlayers/openlayers/pull/13845)
* Bump @babel/core from 7.18.6 to 7.18.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/13846)
* Bump puppeteer from 15.3.2 to 15.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13847)
* Bump eslint from 8.19.0 to 8.20.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13848)
* Bump puppeteer from 15.3.0 to 15.3.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13824)
* Bump rollup from 2.75.7 to 2.76.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13825)
* Bump @babel/core from 7.18.5 to 7.18.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/13806)
* Bump webpack-dev-server from 4.9.2 to 4.9.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13810)
* Bump @babel/preset-env from 7.18.2 to 7.18.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/13808)
* Bump puppeteer from 15.1.1 to 15.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13807)
* Bump es-main from 1.0.2 to 1.2.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13809)
* Bump eslint from 8.18.0 to 8.19.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13811)
* Bump @rollup/plugin-commonjs from 22.0.0 to 22.0.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13793)
* Bump puppeteer from 14.4.1 to 15.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13794)
* Bump eslint from 8.17.0 to 8.18.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13776)
* Bump typescript from 4.7.3 to 4.7.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13777)
* Bump karma from 6.3.20 to 6.4.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13775)
* Bump puppeteer from 14.3.0 to 14.4.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13778)
* Bump rollup from 2.75.6 to 2.75.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/13779)
* Bump source-map-loader from 3.0.1 to 4.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13754)
* Bump @babel/core from 7.18.2 to 7.18.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/13755)
* Bump marked from 4.0.16 to 4.0.17 (by @openlayers in https://github.com/openlayers/openlayers/pull/13756)
* Bump puppeteer from 14.2.1 to 14.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13757)
* Bump rollup from 2.75.5 to 2.75.6 (by @openlayers in https://github.com/openlayers/openlayers/pull/13758)
* Bump webpack-cli from 4.9.2 to 4.10.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13759)
* Bump webpack-dev-server from 4.9.1 to 4.9.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13760)
* Bump globby from 13.1.1 to 13.1.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13761)
* Bump eslint from 8.16.0 to 8.17.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13732)
* Bump typescript from 4.7.2 to 4.7.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13730)
* Bump webpack from 5.72.1 to 5.73.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13731)
* Bump rollup from 2.75.3 to 2.75.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/13733)
* Bump puppeteer from 14.1.1 to 14.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13734)
* Bump webpack-dev-server from 4.9.0 to 4.9.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13735)
* Bump @babel/core from 7.18.0 to 7.18.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13717)
* Bump rollup from 2.74.1 to 2.75.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13718)
* Bump @types/offscreencanvas from 2019.6.4 to 2019.7.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13716)
* Bump typescript from 4.6.4 to 4.7.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13719)
* Bump @babel/preset-env from 7.18.0 to 7.18.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13720)
* Bump ol-mapbox-style from 8.0.8 to 8.1.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13715)
* Bump eslint from 8.9.0 to 8.16.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13693)
* Bump @babel/core from 7.17.10 to 7.18.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13694)
* Bump rollup from 2.73.0 to 2.74.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13699)
* Bump copy-webpack-plugin from 10.2.4 to 11.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13695)
* Bump webpack-dev-middleware from 5.3.1 to 5.3.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13696)
* Bump marked from 4.0.15 to 4.0.16 (by @openlayers in https://github.com/openlayers/openlayers/pull/13697)
* Bump @babel/preset-env from 7.17.10 to 7.18.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13698)
* Bump puppeteer from 14.1.0 to 14.1.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13700)
* Bump rollup from 2.72.1 to 2.73.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13680)
* Bump webpack from 5.72.0 to 5.72.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13681)
* Bump karma from 6.3.19 to 6.3.20 (by @openlayers in https://github.com/openlayers/openlayers/pull/13679)
* Bump puppeteer from 13.7.0 to 14.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13678)
* Bump ol-mapbox-style from 8.0.7 to 8.0.8 (by @openlayers in https://github.com/openlayers/openlayers/pull/13682)
* Bump yargs from 17.4.1 to 17.5.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13683)
* Bump rollup from 2.71.1 to 2.72.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13661)
* Bump sinon from 13.0.2 to 14.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13659)
* Bump webpack-dev-server from 4.8.1 to 4.9.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13662)
* Bump @rollup/plugin-node-resolve from 13.2.1 to 13.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13663)
* Bump ol-mapbox-style from 8.0.5 to 8.0.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/13602)
* Bump marked from 4.0.14 to 4.0.15 (by @openlayers in https://github.com/openlayers/openlayers/pull/13628)
* Bump express from 4.18.0 to 4.18.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13629)
* Bump rollup from 2.70.2 to 2.71.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13630)
* Bump typescript from 4.6.3 to 4.6.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13631)
* Bump mocha from 9.2.2 to 10.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13632)
* Bump @babel/core from 7.17.9 to 7.17.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13633)
* Bump @babel/preset-env from 7.16.11 to 7.17.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13634)
* Bump github/codeql-action from 1 to 2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13616)
* Bump actions/setup-node from 2 to 3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13617)
* Bump actions/upload-artifact from 2 to 3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13615)
* Bump actions/checkout from 2 to 3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13618)
* Bump actions/github-script from 5 to 6 (by @openlayers in https://github.com/openlayers/openlayers/pull/13619)
* Bump puppeteer from 13.6.0 to 13.7.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13620)
* Bump express from 4.17.3 to 4.18.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13621)
* Bump @rollup/plugin-commonjs from 21.1.0 to 22.0.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13596)
* Bump puppeteer from 13.5.2 to 13.6.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13600)
* Bump pixelmatch from 5.2.1 to 5.3.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13598)
* Bump babel-loader from 8.2.4 to 8.2.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/13601)
* Bump karma from 6.3.18 to 6.3.19 (by @openlayers in https://github.com/openlayers/openlayers/pull/13599)
* Bump sinon from 13.0.1 to 13.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13582)
* Bump async from 2.6.3 to 2.6.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13583)
* Bump @rollup/plugin-commonjs from 21.0.3 to 21.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13578)
* Bump fs-extra from 10.0.1 to 10.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13579)
* Bump karma from 6.3.17 to 6.3.18 (by @openlayers in https://github.com/openlayers/openlayers/pull/13580)
* Bump rollup from 2.70.1 to 2.70.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13581)
* Bump @rollup/plugin-node-resolve from 13.1.3 to 13.2.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13577)
* Bump webpack from 5.71.0 to 5.72.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13557)
* Bump @babel/core from 7.17.8 to 7.17.9 (by @openlayers in https://github.com/openlayers/openlayers/pull/13560)
* Bump webpack-dev-server from 4.7.4 to 4.8.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13559)
* Bump marked from 4.0.12 to 4.0.14 (by @openlayers in https://github.com/openlayers/openlayers/pull/13558)
* Bump yargs from 17.4.0 to 17.4.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13556)
* Bump webpack from 5.70.0 to 5.71.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13538)
* Bump jsdoc-plugin-typescript from 2.0.6 to 2.0.7 (by @openlayers in https://github.com/openlayers/openlayers/pull/13537)
* Bump puppeteer from 13.5.1 to 13.5.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13539)
* Bump clean-css-cli from 5.5.2 to 5.6.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13540)
* Bump typescript from 4.6.2 to 4.6.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13514)
* Bump babel-loader from 8.2.3 to 8.2.4 (by @openlayers in https://github.com/openlayers/openlayers/pull/13513)
* Bump @rollup/plugin-commonjs from 21.0.2 to 21.0.3 (by @openlayers in https://github.com/openlayers/openlayers/pull/13515)
* Bump serve-static from 1.14.2 to 1.15.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13512)
* Bump geotiff from 2.0.4 to 2.0.5 (by @openlayers in https://github.com/openlayers/openlayers/pull/13517)
</details>
+4
View File
@@ -0,0 +1,4 @@
# 6.15.1
The 6.15.1 release is a patch to ensure that a layer gets rendered when its source has completed loading. See the [changelog for 6.15.0](https://github.com/openlayers/openlayers/releases/tag/v6.15.0) for new features and fixes since 6.14.
+401
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
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
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>
+60
View File
@@ -0,0 +1,60 @@
# 6.8.0
The 6.8 release builds on the momentum of 6.7 with some great new enhancements. Data tiles now handle 32-bit data in addition to 8-bit. Views properties can now be provided that sources that fetch view-related data. Vector tile rendering got some performance enhancements. Find detail on these features and a number of fixes in the list of changes below.
## List of all changes
* [#12785](https://github.com/openlayers/openlayers/pull/12785) - Promise.allSettled polyfill and other browser compatibilty ([@mike-000](https://github.com/mike-000))
* [#12807](https://github.com/openlayers/openlayers/pull/12807) - Updated styles ([@tschaub](https://github.com/tschaub))
* [#12806](https://github.com/openlayers/openlayers/pull/12806) - Update to the WebGL sea level example ([@tschaub](https://github.com/tschaub))
* [#12808](https://github.com/openlayers/openlayers/pull/12808) - Update expectations for vector tile icon label rendering ([@tschaub](https://github.com/tschaub))
* [#12804](https://github.com/openlayers/openlayers/pull/12804) - Make vector tiles rendering simpler and a bit faster ([@ahocevar](https://github.com/ahocevar))
* [#12802](https://github.com/openlayers/openlayers/pull/12802) - Enqueue tiles at the next step in the animation ([@tschaub](https://github.com/tschaub))
* [#12801](https://github.com/openlayers/openlayers/pull/12801) - Update ol-mapbox-style to latest version without ol peer dependency ([@ahocevar](https://github.com/ahocevar))
* [#12792](https://github.com/openlayers/openlayers/pull/12792) - Do not do any canvas work when there are no features to render ([@ahocevar](https://github.com/ahocevar))
* [#12797](https://github.com/openlayers/openlayers/pull/12797) - Update geotiff ([@ahocevar](https://github.com/ahocevar))
* [#12799](https://github.com/openlayers/openlayers/pull/12799) - All layers now call dispose on the renderer ([@tschaub](https://github.com/tschaub))
* [#12798](https://github.com/openlayers/openlayers/pull/12798) - More cleanup in the WebGL tile layer's dispose method ([@tschaub](https://github.com/tschaub))
* [#12795](https://github.com/openlayers/openlayers/pull/12795) - New tile source for the WMTS example ([@mike-000](https://github.com/mike-000))
* [#12793](https://github.com/openlayers/openlayers/pull/12793) - Add a method to set the map layers ([@tschaub](https://github.com/tschaub))
* [#12789](https://github.com/openlayers/openlayers/pull/12789) - Handle TileJSON urls in Mapbox Style document ([@ahocevar](https://github.com/ahocevar))
* [#12790](https://github.com/openlayers/openlayers/pull/12790) - Allow maps to be configured with a promise for view props ([@tschaub](https://github.com/tschaub))
* [#12777](https://github.com/openlayers/openlayers/pull/12777) - Fix offscreen-canvas example ([@ahocevar](https://github.com/ahocevar))
* [#12778](https://github.com/openlayers/openlayers/pull/12778) - Do not render vector tiles unless they are being used ([@ahocevar](https://github.com/ahocevar))
* [#12773](https://github.com/openlayers/openlayers/pull/12773) - Enable WebGL extensions when required ([@tschaub](https://github.com/tschaub))
* [#12774](https://github.com/openlayers/openlayers/pull/12774) - Fix text decluttering when segment length is zero ([@MoonE](https://github.com/MoonE))
* [#12770](https://github.com/openlayers/openlayers/pull/12770) - Use Uint8Array instead of Uint8ClampedArray for increased browser compatibility ([@tschaub](https://github.com/tschaub))
* [#12759](https://github.com/openlayers/openlayers/pull/12759) - #12758: Allow undefined to be passed to control setMap(). Also fix type of getMap() ([@jumpinjackie](https://github.com/jumpinjackie))
* [#12760](https://github.com/openlayers/openlayers/pull/12760) - Fix opacity handling for tile and vector layers ([@ahocevar](https://github.com/ahocevar))
* [#12764](https://github.com/openlayers/openlayers/pull/12764) - Fix ImageInformationResponse typedef ([@webwitcher](https://github.com/webwitcher))
* [#12769](https://github.com/openlayers/openlayers/pull/12769) - Remove extra closing anchor tag ([@tschaub](https://github.com/tschaub))
* [#12761](https://github.com/openlayers/openlayers/pull/12761) - Add Float Textures for GL Rendering / DataTiles ([@theduckylittle](https://github.com/theduckylittle))
* [#12740](https://github.com/openlayers/openlayers/pull/12740) - Various fixes for browser compatibility issues ([mike-000](https://github.com/search?q=mike-000&type=Users))
* [#12741](https://github.com/openlayers/openlayers/pull/12741) - Minimal documentation for GMLBase ([@mike-000](https://github.com/mike-000))
* [#12743](https://github.com/openlayers/openlayers/pull/12743) - Remove docs reference to unmanaged layer and Select ([@mike-000](https://github.com/mike-000))
* [#12734](https://github.com/openlayers/openlayers/pull/12734) - Continue supporting IE11 in examples and legacy build ([@ahocevar](https://github.com/ahocevar))
* [#12739](https://github.com/openlayers/openlayers/pull/12739) - Change canvas style from initial to unset ([@mike-000](https://github.com/mike-000))
* [#12731](https://github.com/openlayers/openlayers/pull/12731) - Handle resolution and tile loadingstrategy with user projection ([@ahocevar](https://github.com/ahocevar))
* [#12736](https://github.com/openlayers/openlayers/pull/12736) - OnSignatures return more specific type ([@simonseyock](https://github.com/simonseyock))
* [#12732](https://github.com/openlayers/openlayers/pull/12732) - Add <meta charset="utf-8"> to Quick Start ([@mike-000](https://github.com/mike-000))
* [#12728](https://github.com/openlayers/openlayers/pull/12728) - Release v6.7.0 ([@openlayers](https://github.com/openlayers))
<details>
<summary>Dependency Updates</summary>
* [#12784](https://github.com/openlayers/openlayers/pull/12784) - Bump webpack-dev-server from 4.2.0 to 4.2.1 ([@openlayers](https://github.com/openlayers))
* [#12783](https://github.com/openlayers/openlayers/pull/12783) - Bump marked from 3.0.3 to 3.0.4 ([@openlayers](https://github.com/openlayers))
* [#12782](https://github.com/openlayers/openlayers/pull/12782) - Bump webpack-sources from 3.2.0 to 3.2.1 ([@openlayers](https://github.com/openlayers))
* [#12781](https://github.com/openlayers/openlayers/pull/12781) - Bump webpack from 5.52.1 to 5.53.0 ([@openlayers](https://github.com/openlayers))
* [#12780](https://github.com/openlayers/openlayers/pull/12780) - Bump @babel/eslint-parser from 7.15.4 to 7.15.7 ([@openlayers](https://github.com/openlayers))
* [#12750](https://github.com/openlayers/openlayers/pull/12750) - Bump webpack-dev-server from 4.1.0 to 4.2.0 ([@openlayers](https://github.com/openlayers))
* [#12749](https://github.com/openlayers/openlayers/pull/12749) - Bump marked from 3.0.2 to 3.0.3 ([@openlayers](https://github.com/openlayers))
* [#12748](https://github.com/openlayers/openlayers/pull/12748) - Bump ol-mapbox-style from 6.4.1 to 6.4.2 ([@openlayers](https://github.com/openlayers))
* [#12747](https://github.com/openlayers/openlayers/pull/12747) - Bump terser-webpack-plugin from 5.2.3 to 5.2.4 ([@openlayers](https://github.com/openlayers))
* [#12746](https://github.com/openlayers/openlayers/pull/12746) - Bump @babel/preset-env from 7.15.4 to 7.15.6 ([@openlayers](https://github.com/openlayers))
* [#12745](https://github.com/openlayers/openlayers/pull/12745) - Bump webpack from 5.52.0 to 5.52.1 ([@openlayers](https://github.com/openlayers))
* [#12744](https://github.com/openlayers/openlayers/pull/12744) - Bump webpack-dev-middleware from 5.0.0 to 5.1.0 ([@openlayers](https://github.com/openlayers))
</details>
+5
View File
@@ -0,0 +1,5 @@
# 6.8.1
This is a patch release which updates `ol.css` to restore a legible control button size in applications that do not have a css `font-size` set for `button` elements.
* [#12811](https://github.com/openlayers/openlayers/pull/12811) - Controls inherit font size from parent ([@tschaub](https://github.com/tschaub))
+51
View File
@@ -0,0 +1,51 @@
# 6.9.0
The 6.9 release brings a few new features and a number of fixes. GeoTIFF sources now have a `normalize` option. Set `normalize: false` if you want your style expressions to work with raw floating point values instead of normalized values from 0 to 1. The GeoTIFF source also now uses nodata values from the source imagery  so in most cases you don't need to specify this yourself. For people configuring vector layers with styles that use custom rendering, you can now get hit detection on the rendered result. See details on these features and other included fixes below.
* [#12813](https://github.com/openlayers/openlayers/pull/12813) - Do not replace icon color if image not loaded ([@mike-000](https://github.com/mike-000))
* [#12870](https://github.com/openlayers/openlayers/pull/12870) - Fix publicPath problem in legacy build ([@ahocevar](https://github.com/ahocevar))
* [#12889](https://github.com/openlayers/openlayers/pull/12889) - Simplified ESLint config ([@tschaub](https://github.com/tschaub))
* [#12875](https://github.com/openlayers/openlayers/pull/12875) - Only trigger change event if animating a tile transition ([@tschaub](https://github.com/tschaub))
* [#12885](https://github.com/openlayers/openlayers/pull/12885) - Fix typeDefs for several Control modules ([@MatthijsBon](https://github.com/MatthijsBon))
* [#12861](https://github.com/openlayers/openlayers/pull/12861) - Update geotiff to 1.0.8; allow version range ([@ahocevar](https://github.com/ahocevar))
* [#12865](https://github.com/openlayers/openlayers/pull/12865) - Add a note about installing git before using create-ol-app ([@tschaub](https://github.com/tschaub))
* [#12847](https://github.com/openlayers/openlayers/pull/12847) - Add more definitions for GeoTIFF types ([@tschaub](https://github.com/tschaub))
* [#12850](https://github.com/openlayers/openlayers/pull/12850) - Fix issues with animate on View without center or resolution ([@MoonE](https://github.com/MoonE))
* [#12846](https://github.com/openlayers/openlayers/pull/12846) - Use nodata values in the GeoTIFF headers for fill value ([@tschaub](https://github.com/tschaub))
* [#12837](https://github.com/openlayers/openlayers/pull/12837) - forEachLayerAtPixel return null for unsupported layer types ([@mike-000](https://github.com/mike-000))
* [#12836](https://github.com/openlayers/openlayers/pull/12836) - Support a normalize option on the GeoTIFF source ([@tschaub](https://github.com/tschaub))
* [#12646](https://github.com/openlayers/openlayers/pull/12646) - Support for hit detection in styles with custom rendering ([@ashchurova](https://github.com/ashchurova))
* [#12831](https://github.com/openlayers/openlayers/pull/12831) - Fix rendering VectorImage with no features in view extent ([@MoonE](https://github.com/MoonE))
* [#12830](https://github.com/openlayers/openlayers/pull/12830) - bugfix: Fix type of `layers` option in `OverviewMap` ([@ejn](https://github.com/ejn))
* [#12815](https://github.com/openlayers/openlayers/pull/12815) - Spelling correction ([@tschaub](https://github.com/tschaub))
* [#12812](https://github.com/openlayers/openlayers/pull/12812) - Release v6.8.1 ([@openlayers](https://github.com/openlayers))
<details>
<summary>Dependency Updates</summary>
* [#12881](https://github.com/openlayers/openlayers/pull/12881) - Bump webpack from 5.56.1 to 5.58.1 ([@openlayers](https://github.com/openlayers))
* [#12882](https://github.com/openlayers/openlayers/pull/12882) - Bump marked from 3.0.4 to 3.0.7 ([@openlayers](https://github.com/openlayers))
* [#12878](https://github.com/openlayers/openlayers/pull/12878) - Bump webpack-dev-server from 4.3.0 to 4.3.1 ([@openlayers](https://github.com/openlayers))
* [#12879](https://github.com/openlayers/openlayers/pull/12879) - Bump @babel/preset-env from 7.15.6 to 7.15.8 ([@openlayers](https://github.com/openlayers))
* [#12880](https://github.com/openlayers/openlayers/pull/12880) - Bump @babel/eslint-parser from 7.15.7 to 7.15.8 ([@openlayers](https://github.com/openlayers))
* [#12884](https://github.com/openlayers/openlayers/pull/12884) - Bump @babel/core from 7.15.5 to 7.15.8 ([@openlayers](https://github.com/openlayers))
* [#12877](https://github.com/openlayers/openlayers/pull/12877) - Bump webpack-cli from 4.8.0 to 4.9.0 ([@openlayers](https://github.com/openlayers))
* [#12854](https://github.com/openlayers/openlayers/pull/12854) - Bump webpack from 5.54.0 to 5.56.1 ([@openlayers](https://github.com/openlayers))
* [#12857](https://github.com/openlayers/openlayers/pull/12857) - Bump webpack-dev-server from 4.2.1 to 4.3.0 ([@openlayers](https://github.com/openlayers))
* [#12856](https://github.com/openlayers/openlayers/pull/12856) - Bump @rollup/plugin-commonjs from 20.0.0 to 21.0.0 ([@openlayers](https://github.com/openlayers))
* [#12855](https://github.com/openlayers/openlayers/pull/12855) - Bump rollup from 2.57.0 to 2.58.0 ([@openlayers](https://github.com/openlayers))
* [#12853](https://github.com/openlayers/openlayers/pull/12853) - Bump clean-css-cli from 5.3.3 to 5.4.1 ([@openlayers](https://github.com/openlayers))
* [#12822](https://github.com/openlayers/openlayers/pull/12822) - Bump glob from 7.1.7 to 7.2.0 ([@openlayers](https://github.com/openlayers))
* [#12824](https://github.com/openlayers/openlayers/pull/12824) - Bump rollup from 2.56.3 to 2.57.0 ([@openlayers](https://github.com/openlayers))
* [#12818](https://github.com/openlayers/openlayers/pull/12818) - Bump threads from 1.6.5 to 1.7.0 ([@openlayers](https://github.com/openlayers))
* [#12821](https://github.com/openlayers/openlayers/pull/12821) - Bump @rollup/plugin-node-resolve from 13.0.4 to 13.0.5 ([@openlayers](https://github.com/openlayers))
* [#12823](https://github.com/openlayers/openlayers/pull/12823) - Bump walk from 2.3.14 to 2.3.15 ([@openlayers](https://github.com/openlayers))
* [#12819](https://github.com/openlayers/openlayers/pull/12819) - Bump webpack-dev-middleware from 5.1.0 to 5.2.1 ([@openlayers](https://github.com/openlayers))
* [#12820](https://github.com/openlayers/openlayers/pull/12820) - Bump mocha from 9.1.1 to 9.1.2 ([@openlayers](https://github.com/openlayers))
* [#12817](https://github.com/openlayers/openlayers/pull/12817) - Bump yargs from 17.1.1 to 17.2.1 ([@openlayers](https://github.com/openlayers))
* [#12825](https://github.com/openlayers/openlayers/pull/12825) - Bump webpack from 5.53.0 to 5.54.0 ([@openlayers](https://github.com/openlayers))
* [#12826](https://github.com/openlayers/openlayers/pull/12826) - Bump puppeteer from 10.2.0 to 10.4.0 ([@openlayers](https://github.com/openlayers))
</details>
+169
View File
@@ -0,0 +1,169 @@
# 7.0.0
The 7.0 release includes an impressive batch of features and fixes from over 90 pull requests. We're excited about a new foundation for WebGL vector rendering. The previous point rendering functionality has been extended to include lines and polygons. The rendering API is still low level and experimental. Future releases will include a higher level styling API. In developing the new WebGL rendering functionality, we changed the signature for a number of methods on a helper class that had been marked as part of the API in 6.x releases. While this is technically a breaking change, it is unlikely that applications were using this helper class, so upgrades should be straightforward.
We took advantage of the breaking change in the WebGL helper class to remove a few other deprecated parts of the API. In addition, since Microsoft ended support for Internet Explorer a few months ago, we decided to do the same.
### Backwards incompatible changes
#### Removal of deprecated properties and methods
* The `tilePixelRatio` has been removed from the `DataTile` source.
* The `imageSmoothing` option has been removed from sources.
* The `undefinedHTML` option has been removed from the `MousePosition` control.
* The `forEachLayerAtPixel` method has been removed from the `Map` class.
* Deprecated options have been removed from the `Overlay` component.
* The `labelCache` has been removed from the `ol/render/canvas.js` module.
#### Internet Explorer is no longer supported
Please see https://docs.microsoft.com/en-us/lifecycle/announcements/internet-explorer-11-end-of-support.
#### ol/webgl/Helper.js
The `Helper` constructor from the `ol/webgl/Helper.js` module is no longer part of the public API.
#### ol/coordinate.js
The `toStringHDMS` function from the `ol/coordinate.js` module now formats longitude, latitude pairs so that the minutes and seconds are omitted if they are zero. This changes the values displayed on graticules.
#### ol/layer/Graticule
The default `intervals` now align with integer minutes and seconds better suited to the default label formatter. If formatting in decimal degrees you may wish to specify custom `intervals` suited to that format.
#### ol/Collection
Inserting with `setAt` or `insertAt` beyond the current length used to create a sparse Collection with `undefined` inserted for any missing indexes. This will now throw an error instead.
#### ol/control/MousePosition
The control will now by default keep displaying the last mouse position when the mouse leaves the viewport. With `placeholder: '&#160;'` you can keep the old behaviour. The `placeholder` option no longer accepts `false` as a valid value, instead simply omit the option. The `undefinedHTML` option has been removed. You should use `placeholder` instead.
#### ol/PluggableMap
The `PluggableMap` class has been removed. If you want to create a custom map class, extend the `Map` class instead.
#### ol/style/Icon and ol/style/RegularShape
`ol/style/Image` and subclasses `displacement` is no longer scaled with the image. If you previously expected this unintended behavior you should now increase the displacement when setting the scale.
### List of all changes
See below for a complete list of features and fixes.
* Make the website deploy job succeed even if there are no changes (by @tschaub in https://github.com/openlayers/openlayers/pull/14017)
* Release actions (by @tschaub in https://github.com/openlayers/openlayers/pull/14014)
* Properly clear and refresh reprojected sources (by @ahocevar in https://github.com/openlayers/openlayers/pull/14013)
* Remove ENABLE_RASTER_REPROJECTION flag (by @ahocevar in https://github.com/openlayers/openlayers/pull/14011)
* Force render after update in Icon Scale example (by @mike-000 in https://github.com/openlayers/openlayers/pull/14012)
* Update ol-mapbox-style to v9.0.0 (by @ahocevar in https://github.com/openlayers/openlayers/pull/14009)
* Replace the Icon Scale example (by @mike-000 in https://github.com/openlayers/openlayers/pull/14007)
* Improve description of displacement in docs (by @mike-000 in https://github.com/openlayers/openlayers/pull/14006)
* Remove IE workarounds for legacy build, examples, and workers (by @tschaub in https://github.com/openlayers/openlayers/pull/13995)
* Use the full table for constructor options (by @tschaub in https://github.com/openlayers/openlayers/pull/13998)
* Do not scale Icon and RegularShape displacement (by @mike-000 in https://github.com/openlayers/openlayers/pull/13975)
* Support user projections in Drag and Drop (by @mike-000 in https://github.com/openlayers/openlayers/pull/14003)
* Avoid append only cache in WebGL tile layers (by @tschaub in https://github.com/openlayers/openlayers/pull/13997)
* Fix immediate renderer text rotation with offset (by @mike-000 in https://github.com/openlayers/openlayers/pull/13981)
* Build and deploy the website (by @openlayers in https://github.com/openlayers/openlayers/pull/13984)
* Small example template fixes (by @openlayers in https://github.com/openlayers/openlayers/pull/13992)
* Fix wording in API docs (by @openlayers in https://github.com/openlayers/openlayers/pull/13991)
* Nicer links in the API docs (by @tschaub in https://github.com/openlayers/openlayers/pull/13970)
* Minor adjustments to the website style (by @tschaub in https://github.com/openlayers/openlayers/pull/13989)
* Fix copying of non-linked ol.css, clean example build (by @MoonE in https://github.com/openlayers/openlayers/pull/13988)
* Fix kml-timezone example calculations (by @MoonE in https://github.com/openlayers/openlayers/pull/13982)
* Fix some errors in examples (by @MoonE in https://github.com/openlayers/openlayers/pull/13977)
* Update FontAwesome to v6.1.2 (by @MoonE in https://github.com/openlayers/openlayers/pull/13978)
* Use correct bands with `LUMINANCE_ALPHA` (by @mike-000 in https://github.com/openlayers/openlayers/pull/13974)
* Remove opt_ prefix (by @tschaub in https://github.com/openlayers/openlayers/pull/13972)
* Fix bandcount per texture for 8, 12, 16, etc. bands (by @mike-000 in https://github.com/openlayers/openlayers/pull/13973)
* Do not apply #12467 change to Icons (by @mike-000 in https://github.com/openlayers/openlayers/pull/13955)
* Remove more IE compatibility (by @MoonE in https://github.com/openlayers/openlayers/pull/13971)
* Remove workaround and docs for IE 11 (by @tschaub in https://github.com/openlayers/openlayers/pull/13965)
* Remove circular dependency (by @tschaub in https://github.com/openlayers/openlayers/pull/13967)
* Update link to sponsors (by @tschaub in https://github.com/openlayers/openlayers/pull/13968)
* Bundle code for the map on the homepage (by @tschaub in https://github.com/openlayers/openlayers/pull/13966)
* Website build (by @tschaub in https://github.com/openlayers/openlayers/pull/13961)
* Remove polyfills for IE and Android 4 (by @tschaub in https://github.com/openlayers/openlayers/pull/13963)
* Replace VERSION in un-transpiled source (by @MoonE in https://github.com/openlayers/openlayers/pull/13957)
* Use const in docs and other places (by @MoonE in https://github.com/openlayers/openlayers/pull/13958)
* Add few missing new lines in example source listing (by @MoonE in https://github.com/openlayers/openlayers/pull/13959)
* Fix js error in api pages on load (by @MoonE in https://github.com/openlayers/openlayers/pull/13956)
* Minor simplification (by @JakobMiksch in https://github.com/openlayers/openlayers/pull/13953)
* Fix typo and formatting in upgrade notes (by @mike-000 in https://github.com/openlayers/openlayers/pull/13946)
* Fixes to export examples (by @mike-000 in https://github.com/openlayers/openlayers/pull/13947)
* Fix WebGL points layer flaky test (by @jahow in https://github.com/openlayers/openlayers/pull/13944)
* Scaleline (by @MoonE in https://github.com/openlayers/openlayers/pull/13943)
* Improve loading of kmz file in example (by @MoonE in https://github.com/openlayers/openlayers/pull/13942)
* Fix KML default icon anchor with https icon url (by @MoonE in https://github.com/openlayers/openlayers/pull/13941)
* Use nicer functions, remove old code (by @MoonE in https://github.com/openlayers/openlayers/pull/13937)
* Render vector tile vectors in correct sequence for the postrender event (by @ahocevar in https://github.com/openlayers/openlayers/pull/13939)
* Remove workaround for missing TypedArray.from function (by @MoonE in https://github.com/openlayers/openlayers/pull/13936)
* Remove check for context.setLineDash (by @MoonE in https://github.com/openlayers/openlayers/pull/13933)
* Remove deprecated DataTile source `tilePixelRatio` (by @mike-000 in https://github.com/openlayers/openlayers/pull/13930)
* Remove input type="range" `change` event listeners where `input` events are also used (by @mike-000 in https://github.com/openlayers/openlayers/pull/13932)
* Remove deprecated `imageSmoothing` source options (by @mike-000 in https://github.com/openlayers/openlayers/pull/13931)
* Updated map background (by @tschaub in https://github.com/openlayers/openlayers/pull/13926)
* Include babel for CodeSandbox (by @tschaub in https://github.com/openlayers/openlayers/pull/13923)
* Remove reference to ES6 as ES2017 already listed (by @mike-000 in https://github.com/openlayers/openlayers/pull/13922)
* Style updates for examples and API docs (by @tschaub in https://github.com/openlayers/openlayers/pull/13917)
* Remove Google Analytics and cookie consent (by @tschaub in https://github.com/openlayers/openlayers/pull/13916)
* Fix map render test (by @MoonE in https://github.com/openlayers/openlayers/pull/13915)
* Uniformly grayscale controls (by @tschaub in https://github.com/openlayers/openlayers/pull/13908)
* Remove PluggableMap (by @tschaub in https://github.com/openlayers/openlayers/pull/13914)
* Remove MousePosition's deprecated undefinedHTML option (by @MoonE in https://github.com/openlayers/openlayers/pull/13911)
* Remove IconImage color fallback for IE (by @MoonE in https://github.com/openlayers/openlayers/pull/13912)
* Remove IE fallbacks (by @MoonE in https://github.com/openlayers/openlayers/pull/13907)
* Fix editing of export-map example on codesandbox (by @MoonE in https://github.com/openlayers/openlayers/pull/13910)
* Improve Collection type-safety (by @MoonE in https://github.com/openlayers/openlayers/pull/13902)
* Re-export the link interaction from the interactions module (by @tschaub in https://github.com/openlayers/openlayers/pull/13906)
* Replace enums with typedefs (by @MoonE in https://github.com/openlayers/openlayers/pull/13905)
* Accept an object literal for static layer styling (by @tschaub in https://github.com/openlayers/openlayers/pull/13900)
* Update jsdoc-plugin-typescript to fix markdown in type annotations (by @ahocevar in https://github.com/openlayers/openlayers/pull/13903)
* Wait until first load to create icon image (by @tschaub in https://github.com/openlayers/openlayers/pull/13899)
* Make Text options typesafe (by @MoonE in https://github.com/openlayers/openlayers/pull/13901)
* Align graticule default intervals to minutes and seconds (by @mike-000 in https://github.com/openlayers/openlayers/pull/13897)
* Publish untranspiled sources (by @tschaub in https://github.com/openlayers/openlayers/pull/13891)
* Improve reprojection WMS config for better performance (by @ahocevar in https://github.com/openlayers/openlayers/pull/13880)
* Omit minutes and seconds from HDMS formatting if zero (by @tschaub in https://github.com/openlayers/openlayers/pull/13893)
* Use Object.assign (by @tschaub in https://github.com/openlayers/openlayers/pull/13888)
* Remove unused worker (by @tschaub in https://github.com/openlayers/openlayers/pull/13892)
* Remove find and findIndex from array module (by @tschaub in https://github.com/openlayers/openlayers/pull/13887)
* Use Math.cosh and Math.log2 (by @tschaub in https://github.com/openlayers/openlayers/pull/13890)
* Use Object.values (by @tschaub in https://github.com/openlayers/openlayers/pull/13889)
* Remove workaround for Array.prototype.includes (by @tschaub in https://github.com/openlayers/openlayers/pull/13884)
* Codesandbox and bundler improvements for examples (by @ahocevar in https://github.com/openlayers/openlayers/pull/13879)
* Remove deprecated method PluggableMap#forEachLayerAtPixel ... (by @MoonE in https://github.com/openlayers/openlayers/pull/13868)
* Remove unused assertion numbers (by @MoonE in https://github.com/openlayers/openlayers/pull/13869)
* Remove deprecated Overlay options (by @MoonE in https://github.com/openlayers/openlayers/pull/13838)
* WebGL vector renderer for polygons, lines and points (by @jahow in https://github.com/openlayers/openlayers/pull/13461)
* Fix reloading tiles in case of an error with tile.load() (by @ahocevar in https://github.com/openlayers/openlayers/pull/13863)
* Handle multipolygons with empty polygons (by @ahocevar in https://github.com/openlayers/openlayers/pull/13860)
* Replace enums with typedef (by @MoonE in https://github.com/openlayers/openlayers/pull/13858)
* Remove deprecated label cache (by @MoonE in https://github.com/openlayers/openlayers/pull/13837)
* Update dev version to 7.0.0 (by @MoonE in https://github.com/openlayers/openlayers/pull/13850)
* Release v6.15.1 (by @openlayers in https://github.com/openlayers/openlayers/pull/13852)
* Recover from incorrect rebase after removal of string enums (by @ahocevar in https://github.com/openlayers/openlayers/pull/13835)
* Updates for the 6.15.0 release (by @openlayers in https://github.com/openlayers/openlayers/pull/13851)
<details>
<summary>Dependency Updates</summary>
* Bump webpack-dev-server from 4.9.3 to 4.10.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13986)
* Bump rollup from 2.77.2 to 2.78.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13985)
* Bump eslint from 8.21.0 to 8.22.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13987)
* Bump @babel/preset-env from 7.18.9 to 7.18.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13948)
* Bump @babel/core from 7.18.9 to 7.18.10 (by @openlayers in https://github.com/openlayers/openlayers/pull/13949)
* Bump @rollup/plugin-commonjs from 22.0.1 to 22.0.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13951)
* Bump puppeteer from 15.5.0 to 16.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13950)
* Bump rollup from 2.77.0 to 2.77.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13919)
* Bump eslint from 8.20.0 to 8.21.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13920)
* Bump jsdoc-plugin-typescript from 2.0.7 to 2.1.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13875)
* Bump puppeteer from 15.4.0 to 15.5.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13871)
* Bump webpack from 5.73.0 to 5.74.0 (by @openlayers in https://github.com/openlayers/openlayers/pull/13870)
* Bump jsdoc from 3.6.10 to 3.6.11 (by @openlayers in https://github.com/openlayers/openlayers/pull/13873)
* Bump terser from 5.7.2 to 5.14.2 (by @openlayers in https://github.com/openlayers/openlayers/pull/13859)
</details>
+7 -5
View File
@@ -14,12 +14,14 @@
] ]
}, },
"plugins": [ "plugins": [
"config/jsdoc/api/plugins/markdown", "jsdoc-plugin-intersection",
"config/jsdoc/plugins/markdown.cjs",
"jsdoc-plugin-typescript", "jsdoc-plugin-typescript",
"config/jsdoc/api/plugins/inline-options", "config/jsdoc/plugins/inline-options.cjs",
"config/jsdoc/api/plugins/events", "config/jsdoc/plugins/events.cjs",
"config/jsdoc/api/plugins/observable", "config/jsdoc/plugins/observable.cjs",
"config/jsdoc/api/plugins/api" "config/jsdoc/plugins/api.cjs",
"config/jsdoc/plugins/default-export.cjs"
], ],
"typescript": { "typescript": {
"moduleRoot": "src" "moduleRoot": "src"
+9 -7
View File
@@ -27,7 +27,9 @@
<a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a><br> <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_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_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_VectorImage-VectorImageLayer.html">ol/layer/VectorImage</a><br>
<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> </div>
</div> </div>
@@ -35,7 +37,7 @@
<div class="card h-100 bg-light"> <div class="card h-100 bg-light">
<div class="card-body"> <div class="card-body">
<h4 class="card-title">Controls</h4> <h4 class="card-title">Controls</h4>
<a href="module-ol_control.html#.defaults">Map default controls</a><br> <a href="module-ol_control_defaults#.defaults">Map default controls</a><br>
<a href="module-ol_control_Control-Control.html">All controls</a> <a href="module-ol_control_Control-Control.html">All controls</a>
</div> </div>
</div> </div>
@@ -44,7 +46,7 @@
<div class="card h-100 bg-light"> <div class="card h-100 bg-light">
<div class="card-body"> <div class="card-body">
<h4 class="card-title">Interactions</h4> <h4 class="card-title">Interactions</h4>
<a href="module-ol_interaction.html#~defaults">Map default interactions</a><br> <a href="module-ol_interaction_defaults#.defaults">Map default interactions</a><br>
Interactions for <a href="module-ol_Feature-Feature.html">vector features</a> Interactions for <a href="module-ol_Feature-Feature.html">vector features</a>
<ul><li><a href="module-ol_interaction_Select-Select.html">ol/interaction/Select</a></li> <ul><li><a href="module-ol_interaction_Select-Select.html">ol/interaction/Select</a></li>
<li><a href="module-ol_interaction_Draw-Draw.html">ol/interaction/Draw</a></li> <li><a href="module-ol_interaction_Draw-Draw.html">ol/interaction/Draw</a></li>
@@ -58,7 +60,7 @@
<div class="card h-100 bg-light"> <div class="card h-100 bg-light">
<div class="card-body"> <div class="card-body">
<h4 class="card-title">Sources and formats</h4> <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_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_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> <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,8 +73,8 @@
<div class="card h-100 bg-light"> <div class="card h-100 bg-light">
<div class="card-body"> <div class="card-body">
<h4 class="card-title">Projections</h4> <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">fromLonLat()</a> and <a href="module-ol_proj.html#.toLonLat">toLonLat()</a>. For extents and other projections, use <a href="module-ol_proj.html#.transformExtent">transformExtent()</a> and <a href="module-ol_proj.html#.transform">transform()</a>.</p>
<a href="module-ol_proj.html">ol/proj</a> <p>Find these functions and more in the <a href="module-ol_proj.html">ol/proj</a> module.</p>
</div> </div>
</div> </div>
</div> </div>
@@ -80,7 +82,7 @@
<div class="card h-100 bg-light"> <div class="card h-100 bg-light">
<div class="card-body"> <div class="card-body">
<h4 class="card-title">Observable objects</h4> <h4 class="card-title">Observable objects</h4>
<p>Changes to all <a href="module-ol_Object-BaseObject.html">ol/Object</a>s can be observed by calling the <a href="module-ol_Object-BaseObject.html#on">object.on('propertychange')</a> method. Listeners receive an <a href="module-ol_Object.ObjectEvent.html">ol/Object.ObjectEvent</a> with information on the changed property and old value.</p> <p>Changes to all <a href="module-ol_Object-BaseObject.html">Object</a>s can be observed by calling the <a href="module-ol_Object-BaseObject.html#on">object.on('propertychange')</a> method. Listeners receive an <a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a> with information on the changed property and old value.</p>
</div> </div>
</div> </div>
</div> </div>
@@ -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;
})
);
}
}
}
}
}
},
};
+1 -1
View File
@@ -1,6 +1,6 @@
# API Documentation # 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 ## Documenting the source code
+1 -1
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). 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).
+136 -19
View File
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/*global env: true */ /*global env: true */
const hasOwnProp = Object.prototype.hasOwnProperty; const hasOwnProp = Object.prototype.hasOwnProperty;
@@ -15,7 +17,6 @@ const taffy = require('taffydb').taffy;
const handle = require('jsdoc/lib/jsdoc/util/error').handle; const handle = require('jsdoc/lib/jsdoc/util/error').handle;
const helper = require('jsdoc/lib/jsdoc/util/templateHelper'); const helper = require('jsdoc/lib/jsdoc/util/templateHelper');
const htmlsafe = helper.htmlsafe; const htmlsafe = helper.htmlsafe;
const linkto = helper.linkto;
const resolveAuthorLinks = helper.resolveAuthorLinks; const resolveAuthorLinks = helper.resolveAuthorLinks;
const outdir = env.opts.destination; const outdir = env.opts.destination;
@@ -30,6 +31,78 @@ function find(spec) {
return helper.find(data, spec); return helper.find(data, spec);
} }
function getShortName(longname) {
if (!longname.includes('module:ol/')) {
return longname;
}
if (longname.includes('|')) {
return longname;
}
if (longname.includes('<')) {
return longname;
}
return longname.split(/[\~\.#\:]/).pop();
}
function linkto(longname, linkText, cssClass, fragmentId) {
if (linkText) {
return helper.linkto(longname, linkText, cssClass, fragmentId);
}
if (!longname.includes('module:ol/')) {
return helper.linkto(longname, linkText, cssClass, fragmentId);
}
// check for `Array<foo|bar>` types (but allow `Array<foo>|Array<bar>` types)
let openBrackets = 0;
let parseTypes = false;
for (const c of longname) {
if (c === '<') {
openBrackets += 1;
continue;
}
if (c === '>') {
openBrackets -= 1;
continue;
}
if (openBrackets > 0 && c === '|') {
parseTypes = true;
break;
}
}
if (parseTypes) {
// collections or generics with unions get parsed by catharsis and
// will unfortunamely include long module:ol/foo names
return helper.linkto(longname, '', cssClass, fragmentId);
}
// handle union types
if (longname.includes('|')) {
return longname
.split('|')
.map((part) => linkto(part, '', cssClass, fragmentId))
.join(' | ');
}
const match = longname.match(/(.+?)\.?<(.+)>$/);
// handle generics and collections
if (match) {
return (
linkto(match[1], '', cssClass, fragmentId) +
'<' +
linkto(match[2], '', cssClass, fragmentId) +
'>'
);
}
return helper.linkto(
longname,
htmlsafe(getShortName(longname)),
cssClass,
fragmentId
);
}
function tutoriallink(tutorial) { function tutoriallink(tutorial) {
return helper.toTutorial(tutorial, null, { return helper.toTutorial(tutorial, null, {
tag: 'em', tag: 'em',
@@ -83,8 +156,37 @@ function addSignatureParams(f) {
f.signature = (f.signature || '') + '(' + params.join(', ') + ')'; f.signature = (f.signature || '') + '(' + params.join(', ') + ')';
} }
/**
* Copied from https://github.com/jsdoc/jsdoc/blob/main/packages/jsdoc/lib/jsdoc/util/templateHelper.js
* Modified to call our own `linkto` to shorten names.
* @param {Object} doclet The doclet.
* @param {Array} [doclet.yields] The returns.
* @param {Array} [doclet.returns] The returns.
* @param {string} cssClass The css class.
* @return {Array} The returns.
*/
function getSignatureReturns({yields, returns}, cssClass) {
let returnTypes = [];
if (yields || returns) {
(yields || returns).forEach((r) => {
if (r && r.type && r.type.names) {
if (!returnTypes.length) {
returnTypes = r.type.names;
}
}
});
}
if (returnTypes && returnTypes.length) {
returnTypes = returnTypes.map((r) => linkto(r, '', cssClass));
}
return returnTypes;
}
function addSignatureReturns(f) { function addSignatureReturns(f) {
const returnTypes = helper.getSignatureReturns(f); const returnTypes = getSignatureReturns(f);
f.signature = '<span class="signature">' + (f.signature || '') + '</span>'; f.signature = '<span class="signature">' + (f.signature || '') + '</span>';
@@ -108,12 +210,10 @@ function addSignatureTypes(f) {
function shortenPaths(files, commonPrefix) { function shortenPaths(files, commonPrefix) {
// always use forward slashes // always use forward slashes
const regexp = new RegExp('\\\\', 'g');
Object.keys(files).forEach(function (file) { Object.keys(files).forEach(function (file) {
files[file].shortened = files[file].resolved files[file].shortened = files[file].resolved
.replace(commonPrefix, '') .replace(commonPrefix, '')
.replace(regexp, '/'); .replaceAll('\\', '/');
}); });
return files; return files;
@@ -136,6 +236,13 @@ function getPathFromDoclet(doclet) {
return filepath; return filepath;
} }
function preprocessLinks(text) {
return text.replaceAll(
/\{@link (module:ol\/\S+?)\}/g,
(match, longname) => `{@link ${longname} ${getShortName(longname)}}`
);
}
function generate(title, docs, filename, resolveLinks) { function generate(title, docs, filename, resolveLinks) {
resolveLinks = resolveLinks === false ? false : true; resolveLinks = resolveLinks === false ? false : true;
@@ -150,7 +257,7 @@ function generate(title, docs, filename, resolveLinks) {
let html = view.render('container.tmpl', docData); let html = view.render('container.tmpl', docData);
if (resolveLinks) { if (resolveLinks) {
html = helper.resolveLinks(html); // turn {@link foo} into <a href="foodoc.html">foo</a> html = helper.resolveLinks(preprocessLinks(html)); // turn {@link foo} into <a href="foodoc.html">foo</a>
} }
fs.writeFileSync(outpath, html, 'utf8'); fs.writeFileSync(outpath, html, 'utf8');
@@ -190,9 +297,9 @@ function generateSourceFiles(sourceFiles) {
* for display purposes. This function mutates the original arrays. * for display purposes. This function mutates the original arrays.
* *
* @private * @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. * 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) { function attachModuleSymbols(doclets, modules) {
const symbols = {}; const symbols = {};
@@ -221,7 +328,7 @@ function getPrettyName(doclet) {
/** /**
* Create the navigation sidebar. * Create the navigation sidebar.
* @param {object} members The members that will be used to create the sidebar. * @param {Object} members The members that will be used to create the sidebar.
* @param {Array<Object>} members.classes Classes. * @param {Array<Object>} members.classes Classes.
* @param {Array<Object>} members.externals Externals. * @param {Array<Object>} members.externals Externals.
* @param {Array<Object>} members.globals Globals. * @param {Array<Object>} members.globals Globals.
@@ -322,7 +429,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} opts Options.
* @param {Object} tutorials Tutorials. * @param {Object} tutorials Tutorials.
*/ */
@@ -362,13 +469,12 @@ exports.publish = function (taffyData, opts, tutorials) {
doclet.examples = doclet.examples.map(function (example) { doclet.examples = doclet.examples.map(function (example) {
let caption, code; let caption, code;
if ( const match = example.match(
example.match( /^\s*<caption>([\s\S]+?)<\/caption>(?:\s*[\n\r])([\s\S]+)$/i
/^\s*<caption>([\s\S]+?)<\/caption>(\s*[\n\r])([\s\S]+)$/i );
) if (match) {
) { caption = match[1];
caption = RegExp.$1; code = match[2];
code = RegExp.$3;
} }
return { return {
@@ -459,7 +565,7 @@ exports.publish = function (taffyData, opts, tutorials) {
data().each(function (doclet) { data().each(function (doclet) {
const url = helper.longnameToUrl[doclet.longname]; const url = helper.longnameToUrl[doclet.longname];
if (url.indexOf('#') > -1) { if (url.includes('#')) {
doclet.id = helper.longnameToUrl[doclet.longname].split(/#/).pop(); doclet.id = helper.longnameToUrl[doclet.longname].split(/#/).pop();
} else { } else {
doclet.id = doclet.name; doclet.id = doclet.name;
@@ -491,6 +597,7 @@ exports.publish = function (taffyData, opts, tutorials) {
// add template helpers // add template helpers
view.find = find; view.find = find;
view.linkto = linkto; view.linkto = linkto;
view.getShortName = getShortName;
view.resolveAuthorLinks = resolveAuthorLinks; view.resolveAuthorLinks = resolveAuthorLinks;
view.tutoriallink = tutoriallink; view.tutoriallink = tutoriallink;
view.htmlsafe = htmlsafe; view.htmlsafe = htmlsafe;
@@ -498,6 +605,7 @@ exports.publish = function (taffyData, opts, tutorials) {
// once for all // once for all
view.nav = buildNav(members); view.nav = buildNav(members);
attachModuleSymbols( attachModuleSymbols(
find({kind: ['class', 'function'], longname: {left: 'module:'}}), find({kind: ['class', 'function'], longname: {left: 'module:'}}),
members.modules members.modules
@@ -516,7 +624,16 @@ exports.publish = function (taffyData, opts, tutorials) {
// index page displays information from package.json and lists files // index page displays information from package.json and lists files
const files = find({kind: 'file'}); const files = find({kind: 'file'});
view.navigationHtml = helper.resolveLinks(view.partial('navigation.tmpl')); view.navigationItems = view.nav.reduce(function (dict, item) {
dict[item.longname] = item;
return dict;
}, {});
const navigationHtml = helper.resolveLinks(
view.nav.map((item) => view.partial('navigation.tmpl', {item})).join('')
);
const navHtmlPath = path.join(outdir, 'navigation.tmpl.html');
fs.writeFileSync(navHtmlPath, navigationHtml, 'utf8');
generate( generate(
'Index', 'Index',
[ [
Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,17 +1,11 @@
(function() { (function() {
var counter = 0; const source = document.querySelector('.prettyprint.source > code');
var numbered; if (source) {
var source = document.getElementsByClassName('prettyprint source'); source.innerHTML = source.innerHTML
.split('\n')
if (source && source[0]) { .map(function (item, i) {
source = source[0].getElementsByTagName('code')[0]; return '<span id="line' + (i + 1) + '"></span>' + item;
})
numbered = source.innerHTML.split('\n'); .join('\n');
numbered = numbered.map(function(item) {
counter++;
return '<span id="line' + counter + '"></span>' + item;
});
source.innerHTML = numbered.join('\n');
} }
})(); })();
@@ -62,21 +62,49 @@ $(function () {
$navList.addClass('search-empty'); $navList.addClass('search-empty');
return 'search-empty'; return 'search-empty';
})(); })();
let initialCurrent = navListNode.querySelector('li.item');
const longname = initialCurrent && initialCurrent.dataset.longname;
let manualToggles = {}; let manualToggles = {};
if (initialCurrent) {
manualToggles[longname] = $(initialCurrent);
}
fetch('./navigation.tmpl.html').then(function (response) {
return response.text();
}).then(function (text) {
navListNode.innerHTML = text;
// Show an item related a current documentation automatically // Show an item related a current documentation automatically
const longname = $('.page-title').data('filename')
.replace(/\.[a-z]+$/, '')
.replace('module-', 'module:')
.replace(/_/g, '/')
.replace(/-/g, '~');
const currentItem = navListNode.querySelector('.item[data-longname="' + longname + '"]'); const currentItem = navListNode.querySelector('.item[data-longname="' + longname + '"]');
if (currentItem) { if (currentItem) {
$navList.prepend(currentItem); $navList.prepend(currentItem);
search.$currentItem = $(currentItem);
} }
$classItems = undefined;
$members = undefined;
// Search again with full navigation, if user already searched
manualToggles = {};
const lastTerm = search.lastSearchTerm;
search.lastSearchTerm = undefined;
if (currentItem) {
const fa = currentItem.querySelector('.title > .fa');
fa.classList.add('no-transition');
setTimeout(function () {
fa.classList.remove('no-transition');
}, 0);
}
doSearch(lastTerm || '');
// Transfer manual toggle state to newly loaded current node
if (initialCurrent && initialCurrent.classList.contains('toggle-manual')) {
search.manualToggle(search.$currentItem, initialCurrent.classList.contains('toggle-manual-show'));
}
});
return { return {
$navList: $navList, $navList: $navList,
$currentItem: currentItem ? $(currentItem) : undefined, $currentItem: initialCurrent ? $(initialCurrent) : undefined,
lastSearchTerm: undefined, lastSearchTerm: undefined,
lastState: {}, lastState: {},
lastClasses: undefined, lastClasses: undefined,
@@ -240,7 +268,7 @@ $(function () {
// Toggle when click an item element // Toggle when click an item element
search.$navList.on('click', '.toggle', function (e) { search.$navList.on('click', '.toggle', function (e) {
if (event.target.tagName.toLowerCase() === 'a') { if (e.target.tagName === 'A') {
return; return;
} }
const clsItem = $(this).closest('.item'); const clsItem = $(this).closest('.item');
@@ -249,28 +277,28 @@ $(function () {
}); });
// warn about outdated version // warn about outdated version
var currentVersion = document.getElementById('package-version').innerHTML; const currentVersion = document.getElementById('package-version').innerHTML;
var packageUrl = 'https://raw.githubusercontent.com/openlayers/openlayers.github.io/build/package.json'; const releaseUrl = 'https://cdn.jsdelivr.net/npm/ol/package.json';
fetch(packageUrl).then(function(response) { fetch(releaseUrl).then(function(response) {
return response.json(); return response.json();
}).then(function(json) { }).then(function(json) {
var latestVersion = json.version; const latestVersion = json.version;
document.getElementById('latest-version').innerHTML = latestVersion; document.getElementById('latest-version').innerHTML = latestVersion;
var url = window.location.href; const url = window.location.href;
var branchSearch = url.match(/\/([^\/]*)\/apidoc\//); const branchSearch = url.match(/\/([^\/]*)\/apidoc\//);
var cookieText = 'dismissed=-' + latestVersion + '-'; const storageKey = 'dismissed=-' + latestVersion;
var dismissed = document.cookie.indexOf(cookieText) != -1; const dismissed = localStorage.getItem(storageKey) === 'true';
if (branchSearch && !dismissed && /^v[0-9\.]*$/.test(branchSearch[1]) && currentVersion != latestVersion) { if (branchSearch && !dismissed && /^v[0-9\.]*$/.test(branchSearch[1]) && currentVersion != latestVersion) {
var link = url.replace(branchSearch[0], '/latest/apidoc/'); const link = url.replace(branchSearch[0], '/latest/apidoc/');
fetch(link, {method: 'head'}).then(function(response) { fetch(link, {method: 'head'}).then(function(response) {
var a = document.getElementById('latest-link'); const a = document.getElementById('latest-link');
a.href = response.status == 200 ? link : '../../latest/apidoc/'; a.href = response.status == 200 ? link : '../../latest/apidoc/';
}); });
var latestCheck = document.getElementById('latest-check'); const latestCheck = document.getElementById('latest-check');
latestCheck.style.display = ''; latestCheck.style.display = '';
document.getElementById('latest-dismiss').onclick = function() { document.getElementById('latest-dismiss').onclick = function() {
latestCheck.style.display = 'none'; latestCheck.style.display = 'none';
document.cookie = cookieText; localStorage.setItem(storageKey, 'true');
} }
} }
}); });
File diff suppressed because one or more lines are too long
@@ -5,6 +5,7 @@
.navbar-brand img { .navbar-brand img {
height: 35px; height: 35px;
width: 35px;
vertical-align: middle; vertical-align: middle;
margin-right: 5px; margin-right: 5px;
display: inline-block; display: inline-block;
@@ -71,6 +72,11 @@ li {
.navigation-list { .navigation-list {
padding: 0 15px 0 15px; padding: 0 15px 0 15px;
} }
.no-transition,
.no-transition:after,
.no-transition:before {
transition: none!important;
}
@supports (position: sticky) { @supports (position: sticky) {
.navigation { .navigation {
position: sticky; position: sticky;
@@ -78,7 +84,7 @@ li {
height: calc(100vh - 54px); height: calc(100vh - 54px);
} }
.navigation-list { .navigation-list {
overflow: auto; overflow-y: auto;
/* 54px navbar height */ /* 54px navbar height */
/* 4.25rem + 2px searchbox height */ /* 4.25rem + 2px searchbox height */
/* 25px navigation padding */ /* 25px navigation padding */
@@ -94,7 +100,7 @@ li {
position: inherit; position: inherit;
} }
.navigation-list { .navigation-list {
overflow: auto; overflow-y: auto;
max-height: 33vh; max-height: 33vh;
height: inherit; height: inherit;
} }
@@ -166,7 +172,6 @@ li {
} }
.navigation li.item .title { .navigation li.item .title {
cursor: pointer; cursor: pointer;
display: -ms-flexbox;
display: flex; display: flex;
font-size: 0.85em; font-size: 0.85em;
} }
@@ -206,6 +211,10 @@ li {
padding-left: 8px; padding-left: 8px;
} }
.navigation-list li.loading {
display: block;
height: 101vh;
}
/* search state */ /* search state */
/* show all classes when search is empty */ /* show all classes when search is empty */
.navigation-list.search-empty .item { .navigation-list.search-empty .item {
+1
View File
@@ -0,0 +1 @@
../../../../../site/src/theme
@@ -46,7 +46,7 @@
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg" id="_carbonads_js"></script> <script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg" id="_carbonads_js"></script>
</div> </div>
<?js if (doc.classdesc) { ?> <?js if (doc.classdesc) { ?>
<div class="class-description col-lg-7 align-self-center pl-0"><?js= doc.classdesc ?></div> <div class="class-description col-lg-7 align-self-center ps-0"><?js= doc.classdesc ?></div>
<?js } ?> <?js } ?>
</div> </div>
</header> </header>
@@ -79,13 +79,13 @@
<?js if (doc.kind == 'class') { <?js if (doc.kind == 'class') {
var subclasses = self.find(function() { var subclasses = self.find(function() {
return this.augments && this.augments.indexOf(doc.longname) > -1; return this.augments && this.augments.includes(doc.longname);
}) })
if (subclasses.length) { if (subclasses.length) {
?> ?>
<h3 class="subsection-title">Subclasses</h3> <h3 class="subsection-title">Subclasses</h3>
<ul><?js subclasses.forEach(function(s) { ?> <ul><?js subclasses.forEach(function(s) { ?>
<li><?js= self.linkto(s.longname, s.longname) ?> <li><?js= self.linkto(s.longname) ?>
<?js= (s.interface ? '(Interface)' : '') ?> <?js= (s.interface ? '(Interface)' : '') ?>
</li> </li>
<?js }); ?></ul> <?js }); ?></ul>
@@ -95,7 +95,7 @@
<h3 class="subsection-title">Extends</h3> <h3 class="subsection-title">Extends</h3>
<ul><?js doc.augments.forEach(function(a) { ?> <ul><?js doc.augments.forEach(function(a) { ?>
<li><?js= self.linkto(a, a) ?></li> <li><?js= self.linkto(a) ?></li>
<?js }); ?></ul> <?js }); ?></ul>
<?js } ?> <?js } ?>
@@ -103,7 +103,7 @@
<h3 class="subsection-title">Mixes In</h3> <h3 class="subsection-title">Mixes In</h3>
<ul><?js doc.mixes.forEach(function(a) { ?> <ul><?js doc.mixes.forEach(function(a) { ?>
<li><?js= self.linkto(a, a) ?></li> <li><?js= self.linkto(a) ?></li>
<?js }); ?></ul> <?js }); ?></ul>
<?js } ?> <?js } ?>
@@ -111,7 +111,7 @@
<h3 class="subsection-title">Requires</h3> <h3 class="subsection-title">Requires</h3>
<ul><?js doc.requires.forEach(function(r) { ?> <ul><?js doc.requires.forEach(function(r) { ?>
<li><?js= self.linkto(r, r) ?></li> <li><?js= self.linkto(r) ?></li>
<?js }); ?></ul> <?js }); ?></ul>
<?js } ?> <?js } ?>
@@ -162,7 +162,7 @@
var methods = self.find({kind: 'function', memberof: title === 'Global' ? {isUndefined: true} : doc.longname}); var methods = self.find({kind: 'function', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
if (methods && methods.length && methods.forEach) { if (methods && methods.length && methods.forEach) {
?> ?>
<h3 class="subsection-title">Methods</h3> <h3 class="subsection-title"><?js= doc.kind === 'module' ? 'Functions' : 'Methods' ?></h3>
<dl><?js methods.forEach(function(m) { ?> <dl><?js methods.forEach(function(m) { ?>
<?js m.parent = doc ?> <?js m.parent = doc ?>
+1 -1
View File
@@ -6,7 +6,7 @@
<p class="code-caption"><?js= example.caption ?></p> <p class="code-caption"><?js= example.caption ?></p>
<?js } ?> <?js } ?>
<?js if (example.code.toString().indexOf('<pre>') === -1) { ?> <?js if (!example.code.toString().includes('<pre>')) { ?>
<pre class="prettyprint"><code><?js= example.code ?></code></pre> <pre class="prettyprint"><code><?js= example.code ?></code></pre>
<?js } else { ?> <?js } else { ?>
<?js= example.code.replace(/<pre>/g, '<pre class="prettyprint">') ?> <?js= example.code.replace(/<pre>/g, '<pre class="prettyprint">') ?>
+54 -91
View File
@@ -4,130 +4,93 @@ var version = obj.packageInfo.version;
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="UTF-8">
<script>
var gaProperty = 'UA-2577926-1';
// Disable tracking if the opt-out cookie exists.
var disableStr = 'ga-disable-' + gaProperty;
if (document.cookie.indexOf(disableStr + '=true') > -1) {
window[disableStr] = true;
}
function gaOptout() {
document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStr] = true;
}
function gaOptoutRevoke() {
document.cookie = disableStr + '=false; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStr] = false;
}
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-2577926-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-2577926-1', { 'anonymize_ip': true });
</script>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function() {
window.cookieconsent.initialise({
'palette': {
'popup': {
'background': '#eaf7f7',
'text': '#5c7291'
},
'button': {
'background': '#56cbdb',
'text': '#ffffff'
}
},
'theme': 'edgeless',
'type': 'opt-out',
'onInitialise': function (status) {
if (!this.hasConsented()) {
gaOptout()
}
},
'onStatusChange': function(status, chosenBefore) {
if (!this.hasConsented()) {
gaOptout()
}
},
'onRevokeChoice': function() {
gaOptoutRevoke()
}
})
});
</script>
<title>OpenLayers v<?js= version ?> API - <?js= title ?></title> <title>OpenLayers v<?js= version ?> API - <?js= title ?></title>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch"></script>
<script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/prettify.js"></script>
<script src="scripts/prettify/lang-css.js"></script> <script src="scripts/prettify/lang-css.js"></script>
<script src="scripts/jquery.min.js"> </script> <script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script>
<script src="scripts/bootstrap.bundle.min.js"> </script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" crossorigin="anonymous">
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/fontawesome.min.css" crossorigin="anonymous">
<![endif]--> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/solid.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css"> <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.1.2/css/brands.css" crossorigin="anonymous">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link rel="stylesheet" type="text/css" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="styles/jaguar.css">
<link type="text/css" rel="stylesheet" href="styles/jaguar.css"> <link rel="stylesheet" type="text/css" href="styles/carbon.css">
<link type="text/css" rel="stylesheet" href="styles/site.css"> <link rel="stylesheet" type="text/css" href="/theme/ol.css">
<link rel="stylesheet" type="text/css" href="/theme/site.css">
</head> </head>
<body> <body>
<div class="container-fluid"> <header class="navbar navbar-expand-sm navbar-dark mb-3 px-3 py-0 fixed-top" role="navigation">
<header class="navbar navbar-expand-sm navbar-dark mb-3 py-0 fixed-top" role="navigation"> <a class="navbar-brand" href="/"><img src="/theme/img/logo-dark.svg" width="70" height="70" alt="">&nbsp;OpenLayers</a>
<a class="navbar-brand" href="https://openlayers.org/"><img src="logo-70x70.png" alt="">&nbsp;OpenLayers</a> <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#olmenu" aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#olmenu" aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<!-- menu items that get hidden below 768px width --> <!-- menu items that get hidden below 768px width -->
<nav class="collapse navbar-collapse" id="olmenu"> <nav class="collapse navbar-collapse" id="olmenu">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ms-auto">
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a> <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="docdropdown"> <div class="dropdown-menu dropdown-menu-end" aria-labelledby="docdropdown">
<a class="dropdown-item" href="/en/latest/doc/">Docs</a> <a class="dropdown-item" href="/doc/">Docs</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item" href="../doc/quickstart.html"><i class="fa fa-check fa-fw mr-2 fa-lg"></i>Quick Start</a> <a class="dropdown-item" href="/doc/quickstart.html"><i class="fa fa-check fa-fw me-2 fa-lg"></i>Quick Start</a>
<a class="dropdown-item" href="../doc/faq.html"><i class="fa fa-question fa-fw mr-2 fa-lg"></i>FAQ</a> <a class="dropdown-item" href="/doc/faq.html"><i class="fa fa-question fa-fw me-2 fa-lg"></i>FAQ</a>
<a class="dropdown-item" href="../doc/tutorials/"><i class="fa fa-book fa-fw mr-2 fa-lg"></i>Tutorials</a> <a class="dropdown-item" href="/doc/tutorials/"><i class="fa fa-book fa-fw me-2 fa-lg"></i>Tutorials</a>
<a class="dropdown-item" href="/workshop/"><i class="fa fa-graduation-cap fa-fw mr-2 fa-lg"></i>Workshop</a> <a class="dropdown-item" href="/workshop/"><i class="fa fa-graduation-cap fa-fw me-2 fa-lg"></i>Workshop</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i class="fa fa-stack-overflow fa-fw mr-2"></i>Ask a Question</a> <a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i class="fab fa-stack-overflow fa-fw me-2"></i>Ask a Question</a>
</div> </div>
</li> </li>
<li class="nav-item"><a class="nav-link" href="../examples/">Examples</a></li> <li class="nav-item"><a class="nav-link" href="../examples/">Examples</a></li>
<li class="nav-item active"><a class="nav-link" href="../apidoc/"><i class="fa fa-sitemap mr-1"></i>API</a></li> <li class="nav-item active"><a class="nav-link" href="../apidoc/"><i class="fa fa-sitemap me-1"></i>API</a></li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="codedropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Code</a> <a class="nav-link dropdown-toggle" href="#" id="codedropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Code</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="codedropdown"> <div class="dropdown-menu dropdown-menu-end" aria-labelledby="codedropdown">
<a class="dropdown-item" href="https://github.com/openlayers/openlayers"><i class="fa fa-github fa-fw mr-2 fa-lg"></i>Repository</a> <a class="dropdown-item" href="https://github.com/openlayers/openlayers"><i class="fab fa-github fa-fw me-2 fa-lg"></i>Repository</a>
<a class="dropdown-item" href="/download/"><i class="fa fa-download fa-fw mr-2 fa-lg"></i>Download</a> <a class="dropdown-item" href="/download/"><i class="fa fa-download fa-fw me-2 fa-lg"></i>Download</a>
</div> </div>
</li> </li>
</ul> </ul>
</nav> </nav>
</header> </header>
<div class="container-fluid">
<div id="wrap" class="row"> <div id="wrap" class="row">
<?js= this.navigationHtml ?> <div class="navigation col-md-4 col-lg-3">
<div class="search-wrapper">
<div class="search">
<input id="search" type="text" autocomplete="off" class="form-control input-sm" placeholder="Search Documentation">
</div>
</div>
<div class="navigation-list-wrapper">
<ul class="navigation-list search-empty"><?js
const item = this.navigationItems[docs[0].longname];
const listItem = item
? this.partial('navigation.tmpl', {
item: item,
classes: ' toggle-manual toggle-manual-show',
})
: '';
?><?js= listItem ?>
<li class="loading">Loading …
</ul>
</div>
</div>
<div class="main col-md-8 col-lg-9"> <div class="main col-md-8 col-lg-9">
<h1 class="page-title" data-filename="<?js= filename ?>"><?js= title ?></h1> <h1 class="page-title" data-filename="<?js= filename ?>"><?js= title ?></h1>
<div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none"> <div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
<button id="latest-dismiss" type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <button id="latest-dismiss" type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
This documentation is for OpenLayers v<span id="package-version"><?js= version ?></span>. The <a id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>. This documentation is for OpenLayers v<span id="package-version"><?js= version ?></span>. The <a id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
</div> </div>
<?js= content ?> <?js= content ?>
</div> </div>
</div> </div>
</div>
<script>prettyPrint();</script> <script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script> <script src="scripts/linenumber.js"></script>
<script src="scripts/main.js"></script> <script src="scripts/main.js"></script>
</div>
</body> </body>
</html> </html>
+2 -2
View File
@@ -5,7 +5,7 @@ var typeSignature = '';
if (data.type && data.type.names) { if (data.type && data.type.names) {
data.type.names.forEach(function (name) { data.type.names.forEach(function (name) {
typeSignature += '<span class="type-signature type ' + name.toLowerCase() + '">{' + self.linkto(name, self.htmlsafe(name)) + '}</span> '; typeSignature += '<span class="type-signature type ' + name.toLowerCase() + '">{' + self.linkto(name) + '}</span> ';
}); });
} }
?> ?>
@@ -14,7 +14,7 @@ if (data.type && data.type.names) {
<div class="anchor" id="<?js= id ?>"> <div class="anchor" id="<?js= id ?>">
</div> </div>
<h4 class="name"> <h4 class="name">
<?js= data.attribs + (data.scope === 'static' ? longname : name.indexOf('module:') === 0 ? name.split('/').pop() : name) + typeSignature ?> <?js= data.attribs + (data.scope === 'static' ? longname : name.startsWith('module:') ? name.split('/').pop() : name) + typeSignature ?>
<?js= this.partial('stability.tmpl', data) ?> <?js= this.partial('stability.tmpl', data) ?>
</h4> </h4>
</div> </div>
+5 -4
View File
@@ -14,7 +14,7 @@ if (/-dev$/.test(version)) {
<div class="anchor" id="<?js= id ?>"> <div class="anchor" id="<?js= id ?>">
</div> </div>
<h4 class="name"> <h4 class="name">
<?js= data.attribs + (kind === 'class' ? 'new ' : '') + (data.scope === 'static' ? longname : name) + (kind !== 'event' ? data.signature : '') ?> <?js= data.attribs + (kind === 'class' ? 'new ' : '') + this.getShortName(longname) + (kind !== 'event' ? data.signature : '') ?>
<?js if (data.inherited || data.inherits) { ?> <?js if (data.inherited || data.inherits) { ?>
<span class="inherited"><?js= this.linkto(data.inherits, 'inherited') ?></span> <span class="inherited"><?js= this.linkto(data.inherits, 'inherited') ?></span>
<?js } ?> <?js } ?>
@@ -34,8 +34,9 @@ if (/-dev$/.test(version)) {
</dt> </dt>
<dd class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>"> <dd class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>">
<?js if (data.parent && data.parent.kind == 'module' && data.parent.name.split('ol/').length < 3) { ?> <?js if (data.parent && data.parent.kind == 'module') { ?>
<pre class="prettyprint source"><code>import {<?js= data.name ?>} from '<?js= data.parent.name ?>';</code></pre> <?js const importName = data.isDefaultExport ? data.name : `{${data.name}}`; ?>
<pre class="prettyprint source"><code>import <?js= importName ?> from '<?js= data.parent.name ?>';</code></pre>
<?js } ?> <?js } ?>
<?js if (data.description) { ?> <?js if (data.description) { ?>
@@ -55,7 +56,7 @@ if (/-dev$/.test(version)) {
<?js if (data['this']) { ?> <?js if (data['this']) { ?>
<h5>This:</h5> <h5>This:</h5>
<ul><li><?js= this.linkto(data['this'], data['this']) ?></li></ul> <ul><li><?js= this.linkto(data['this']) ?></li></ul>
<?js } ?> <?js } ?>
<?js if (data.stability || kind !== 'class') { ?> <?js if (data.stability || kind !== 'class') { ?>
+6 -21
View File
@@ -2,7 +2,7 @@
var self = this; var self = this;
function toShortName(name) { function toShortName(name) {
return name.indexOf('module:') === 0 ? name.split('/').pop() : name; return name.startsWith('module:') ? name.split('/').pop() : name;
} }
function getItemCssClass(type) { function getItemCssClass(type) {
@@ -42,33 +42,18 @@ function listContent(item, title, listItemPrinter) {
<div class="member-list" data-type="<?js= type ?>"> <div class="member-list" data-type="<?js= type ?>">
<span class="subtitle"><?js= title ?></span> <span class="subtitle"><?js= title ?></span>
<ul><?js <ul><?js
item[type].forEach(function (v) { item[type].forEach((v) => listItemPrinter(v)); ?>
listItemPrinter(v);
}); ?>
</ul> </ul>
</div><?js </div><?js
} }
} } ?>
?> <li class="item item-<?js= item.type ?><?js= obj.classes || '' ?>" data-longname="<?js= item.longname ?>" data-name="<?js= item.prettyname.toLowerCase() ?>">
<div class="navigation col-md-4 col-lg-3">
<div class="search-wrapper">
<div class="search">
<input id="search" type="text" autocomplete="off" class="form-control input-sm" placeholder="Search Documentation">
</div>
</div>
<div class="navigation-list-wrapper">
<ul class="navigation-list search-empty"><?js
this.nav.forEach(function (item) { ?>
<li class="item item-<?js= item.type ?>" data-longname="<?js= item.longname ?>" data-name="<?js= item.prettyname.toLowerCase() ?>">
<span class="title toggle"> <span class="title toggle">
<span class="fa <?js= getItemCssClass(item.type) ?> mr-2 mt-1"></span> <span class="fa <?js= getItemCssClass(item.type) ?> me-2 mt-1"></span>
<span><?js= self.linkto(item.longname, item.prettyname.replace(/[.~\/]/g, '\u200b$&')) ?></span> <span><?js= self.linkto(item.longname, item.prettyname.replace(/[.~\/]/g, '\u200b$&')) ?></span>
</span><?js </span><?js
listContent(item, 'Members', printListItem); listContent(item, 'Members', printListItem);
listContent(item, 'Typedefs', printListItemWithStability); listContent(item, 'Typedefs', printListItemWithStability);
listContent(item, 'Methods', printListItemWithStability); listContent(item, 'Methods', printListItemWithStability);
listContent(item, 'Fires', printFiresListItem); listContent(item, 'Fires', printFiresListItem);
}); ?> ?>
</ul>
</div>
</div>
@@ -8,7 +8,7 @@
<th>Name</th> <th>Name</th>
<th>Type</th> <th>Type</th>
<th>Settable</th> <th>Settable</th>
<th><a href="module-ol_Object.ObjectEvent.html">ol/Object.ObjectEvent</a> type</th> <th><a href="module-ol_Object.ObjectEvent.html">ObjectEvent</a> type</th>
<th class="last">Description</th> <th class="last">Description</th>
</tr> </tr>
</thead> </thead>
+21 -5
View File
@@ -5,7 +5,7 @@
var parentParam = null; var parentParam = null;
params.forEach(function(param, i) { params.forEach(function(param, i) {
if (!param) { return; } if (!param) { return; }
if ( parentParam && param.name && param.name.indexOf(parentParam.name + '.') === 0 ) { if (parentParam && param.name && param.name.startsWith(parentParam.name + '.')) {
param.name = param.name.substr(parentParam.name.length+1); param.name = param.name.substr(parentParam.name.length+1);
parentParam.subparams = parentParam.subparams || []; parentParam.subparams = parentParam.subparams || [];
parentParam.subparams.push(param); parentParam.subparams.push(param);
@@ -23,10 +23,10 @@
var colspan = 2; var colspan = 2;
params.forEach(function(param) { params.forEach(function(param) {
if (!param) { return; } if (!param) { return; }
if (param.type && param.type.names && param.type.names.indexOf('undefined') !== -1) { if (param.type && param.type.names && param.type.names.includes('undefined')) {
param.optional = true; param.optional = true;
} }
if (param.name.indexOf('var_') == 0) { if (param.name.startsWith('var_')) {
params.hasAttributes = true; params.hasAttributes = true;
param.variable = true; param.variable = true;
} }
@@ -58,19 +58,35 @@
<tbody> <tbody>
<?js <?js
var self = this; var self = this;
if (params[0].name === 'options' && params[0].subparams) {
var onlyOptions = true;
for (var i = 1; i < params.length; ++i) {
if (params[i]) {
onlyOptions = false;
break;
}
}
if (onlyOptions) {
var hasName = params.hasName;
params = params[0].subparams;
params.hasName = hasName;
}
}
params.forEach(function(param) { params.forEach(function(param) {
if (!param) { return; } if (!param) { return; }
?> ?>
<tr class="<?js= (param.stability && param.stability !== 'stable') ? 'unstable' : '' ?>"> <tr class="<?js= (param.stability && param.stability !== 'stable') ? 'unstable' : '' ?>">
<?js if (params.hasName) {?> <?js if (params.hasName) {?>
<td class="name"><code><?js= param.name.replace(/^opt_/, "") ?></code></td> <td class="name"><code><?js= param.name ?></code></td>
<?js } ?> <?js } ?>
<?js if (!param.subparams) {?> <?js if (!param.subparams) {?>
<td class="type"> <td class="type">
<?js if (param.type && param.type.names) {?> <?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.includes('undefined') ? ' | undefined' : '') ?>
<?js if (typeof param.defaultvalue !== 'undefined') { ?> <?js if (typeof param.defaultvalue !== 'undefined') { ?>
(defaults to <?js= self.htmlsafe(param.defaultvalue) ?>) (defaults to <?js= self.htmlsafe(param.defaultvalue) ?>)
<?js } ?> <?js } ?>
@@ -5,7 +5,7 @@
var parentProp = null; var parentProp = null;
props.forEach(function(prop, i) { props.forEach(function(prop, i) {
if (!prop) { return; } if (!prop) { return; }
if ( parentProp && prop.name && prop.name.indexOf(parentProp.name + '.') === 0 ) { if (parentProp && prop.name && prop.name.startsWith(parentProp.name + '.')) {
prop.name = prop.name.substr(parentProp.name.length+1); prop.name = prop.name.substr(parentProp.name.length+1);
parentProp.subprops = parentProp.subprops || []; parentProp.subprops = parentProp.subprops || [];
parentProp.subprops.push(prop); parentProp.subprops.push(prop);
+2 -2
View File
@@ -10,7 +10,7 @@ returns.forEach(function (ret, i) {
var name = ret.name || ret.description; var name = ret.name || ret.description;
var startSpacePos = name.indexOf(" "); var startSpacePos = name.indexOf(" ");
if (parentReturn !== null && name.indexOf(parentReturn.name + '.') === 0) { if (parentReturn !== null && name.startsWith(parentReturn.name + '.')) {
ret.name = isNamed ? name.substr(parentReturn.name.length + 1) : name.substr(parentReturn.name.length + 1, startSpacePos - (parentReturn.name.length + 1)); ret.name = isNamed ? name.substr(parentReturn.name.length + 1) : name.substr(parentReturn.name.length + 1, startSpacePos - (parentReturn.name.length + 1));
parentReturn.subReturns = parentReturn.subReturns || []; parentReturn.subReturns = parentReturn.subReturns || [];
@@ -52,7 +52,7 @@ if (returns.length > 1) {
<?js <?js
if (ret.type && ret.type.names) { if (ret.type && ret.type.names) {
ret.type.names.forEach(function(name, i) { ?> ret.type.names.forEach(function(name, i) { ?>
<?js= self.linkto(name, self.htmlsafe(name)) ?> <?js= self.linkto(name) ?>
<?js if (i < ret.type.names.length-1) { ?> | <?js } ?> <?js if (i < ret.type.names.length-1) { ?> | <?js } ?>
<?js }); <?js });
} }
+1 -1
View File
@@ -2,6 +2,6 @@
var data = obj; var data = obj;
var self = this; var self = this;
data.forEach(function(name, i) { ?> data.forEach(function(name, i) { ?>
<span class="param-type"><?js= self.linkto(name, self.htmlsafe(name)) ?></span> <span class="param-type"><?js= self.linkto(name) ?></span>
<?js if (i < data.length-1) { ?>|<?js } ?> <?js if (i < data.length-1) { ?>|<?js } ?>
<?js }); ?> <?js }); ?>
+3 -2
View File
@@ -11,8 +11,9 @@
}, },
"plugins": [ "plugins": [
"jsdoc-plugin-typescript", "jsdoc-plugin-typescript",
"config/jsdoc/info/define-plugin", "config/jsdoc/plugins/define-plugin.cjs",
"config/jsdoc/info/virtual-plugin" "config/jsdoc/plugins/virtual-plugin.cjs",
"config/jsdoc/plugins/default-export.cjs"
], ],
"typescript": { "typescript": {
"moduleRoot": "src" "moduleRoot": "src"
+9 -8
View File
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/** /**
* @fileoverview Generates JSON output based on exportable symbols. * @fileoverview Generates JSON output based on exportable symbols.
*/ */
@@ -6,17 +8,13 @@ const path = require('path');
/** /**
* Publish hook for the JSDoc template. Writes to JSON stdout. * 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. * @param {Object} opts Options.
* @return {Promise} A promise that resolves when writing is complete. * @return {Promise} A promise that resolves when writing is complete.
*/ */
exports.publish = function (data, opts) { exports.publish = function (data, opts) {
function getTypes(data) { function getTypes(data) {
const types = []; return data.map((name) => name.replace(/^function$/, 'Function'));
data.forEach(function (name) {
types.push(name.replace(/^function$/, 'Function'));
});
return types;
} }
// get all doclets that have exports // get all doclets that have exports
@@ -32,7 +30,7 @@ exports.publish = function (data, opts) {
return ( return (
this.meta && this.meta &&
this.meta.path && this.meta.path &&
this.longname.indexOf('<anonymous>') !== 0 && !this.longname.startsWith('<anonymous>') &&
this.longname !== 'module:ol' this.longname !== 'module:ol'
); );
}, },
@@ -57,7 +55,7 @@ exports.publish = function (data, opts) {
if ( if (
constructor && constructor &&
constructor.substr(-1) === '_' && constructor.substr(-1) === '_' &&
constructor.indexOf('module:') === -1 !constructor.includes('module:')
) { ) {
assert.strictEqual( assert.strictEqual(
doc.inherited, doc.inherited,
@@ -135,6 +133,9 @@ exports.publish = function (data, opts) {
return true; return true;
}); });
} }
if (doc.isDefaultExport) {
symbol.isDefaultExport = true;
}
const target = isExterns ? externs : symbols; const target = isExterns ? externs : symbols;
const existingSymbol = symbolsByName[symbol.name]; const existingSymbol = symbolsByName[symbol.name];
+4
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"
}
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/** /**
* Define an @api tag * Define an @api tag
* @param {Object} dictionary The tag dictionary. * @param {Object} dictionary The tag dictionary.
@@ -35,7 +37,7 @@ function includeAugments(doclet) {
if (doclet.fires && cls.fires) { if (doclet.fires && cls.fires) {
for (let i = 0, ii = cls.fires.length; i < ii; ++i) { for (let i = 0, ii = cls.fires.length; i < ii; ++i) {
const fires = cls.fires[i]; const fires = cls.fires[i];
if (doclet.fires.indexOf(fires) == -1) { if (!doclet.fires.includes(fires)) {
doclet.fires.push(fires); doclet.fires.push(fires);
} }
} }
@@ -56,7 +58,7 @@ function includeAugments(doclet) {
doclet.fires = []; doclet.fires = [];
} }
cls.fires.forEach(function (f) { cls.fires.forEach(function (f) {
if (doclet.fires.indexOf(f) == -1) { if (!doclet.fires.includes(f)) {
doclet.fires.push(f); doclet.fires.push(f);
} }
}); });
@@ -66,7 +68,7 @@ function includeAugments(doclet) {
doclet.observables = []; doclet.observables = [];
} }
cls.observables.forEach(function (f) { cls.observables.forEach(function (f) {
if (doclet.observables.indexOf(f) == -1) { if (!doclet.observables.includes(f)) {
doclet.observables.push(f); doclet.observables.push(f);
} }
}); });
@@ -79,10 +81,10 @@ function includeAugments(doclet) {
function extractTypes(item) { function extractTypes(item) {
item.type.names.forEach(function (type) { item.type.names.forEach(function (type) {
const match = type.match(/^(.*<)?([^>]*)>?$/); const match = type.match(/^(?:.*<)?([^>]*)>?$/);
if (match) { if (match) {
modules[match[2]] = true; modules[match[1]] = true;
types[match[2]] = true; types[match[1]] = true;
} }
}); });
} }
@@ -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) { function sortOtherMembers(doclet) {
if (doclet.fires) { if (doclet.fires) {
doclet.fires.sort(function (a, b) { 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;
});
}
},
}; };
+35
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;
});
}
},
};
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/** /**
* @fileoverview This plugin extracts info from boolean defines. This only * @fileoverview This plugin extracts info from boolean defines. This only
* handles boolean defines with the default value in the description. Default * handles boolean defines with the default value in the description. Default
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
const events = {}; const events = {};
exports.handlers = { exports.handlers = {
+102
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;
})
);
}
}
}
}
}
},
};
@@ -1,13 +1,15 @@
/* eslint-disable import/no-commonjs */
/** /**
* Modified from JSDoc's plugins/markdown and lib/jsdoc/util/markdown modules * 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 * (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 * 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. * works around an issue with `~` characters in module paths by escaping them.
*/ */
const marked = require('marked'); const {marked} = require('marked');
const format = require('util').format; const format = require('util').format;
const tags = [ const tags = [
@@ -74,7 +76,7 @@ function shouldProcessString(tagName, text) {
let shouldProcess = true; let shouldProcess = true;
// we only want to process `@author` and `@see` tags that contain Markdown links // we only want to process `@author` and `@see` tags that contain Markdown links
if ((tagName === 'author' || tagName === 'see') && text.indexOf('[') === -1) { if ((tagName === 'author' || tagName === 'see') && !text.includes('[')) {
shouldProcess = false; shouldProcess = false;
} }
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
const classes = {}; const classes = {};
const observables = {}; const observables = {};
@@ -27,10 +29,10 @@ exports.handlers = {
observable.name = name; observable.name = name;
observable.readonly = observable.readonly =
typeof observable.readonly == 'boolean' ? observable.readonly : true; typeof observable.readonly == 'boolean' ? observable.readonly : true;
if (doclet.name.indexOf('get') === 0) { if (doclet.name.startsWith('get')) {
observable.type = doclet.returns[0].type; observable.type = doclet.returns[0].type;
observable.description = doclet.returns[0].description; observable.description = doclet.returns[0].description;
} else if (doclet.name.indexOf('set') === 0) { } else if (doclet.name.startsWith('set')) {
observable.readonly = false; observable.readonly = false;
} }
if (doclet.stability) { if (doclet.stability) {
@@ -40,14 +42,14 @@ exports.handlers = {
cls.observables = []; cls.observables = [];
} }
observable = observables[doclet.observable]; observable = observables[doclet.observable];
if (observable.type && cls.observables.indexOf(observable) == -1) { if (observable.type && !cls.observables.includes(observable)) {
cls.observables.push(observable); cls.observables.push(observable);
} }
if (!cls.fires) { if (!cls.fires) {
cls.fires = []; cls.fires = [];
} }
event = 'module:ol/Object.ObjectEvent#event:change:' + name; event = 'module:ol/Object.ObjectEvent#event:change:' + name;
if (cls.fires.indexOf(event) == -1) { if (!cls.fires.includes(event)) {
cls.fires.push(event); cls.fires.push(event);
} }
} }
@@ -1,3 +1,5 @@
/* eslint-disable import/no-commonjs */
/** /**
* Handle the interface and abstract annotations. * Handle the interface and abstract annotations.
* @param {Object} dictionary The tag dictionary. * @param {Object} dictionary The tag dictionary.
+24
View File
@@ -0,0 +1,24 @@
import commonjs from '@rollup/plugin-commonjs';
import externalGlobals from 'rollup-plugin-external-globals';
import resolve from '@rollup/plugin-node-resolve';
import {terser} from 'rollup-plugin-terser';
export default {
input: 'build/index.js',
output: {
name: 'ol',
format: 'iife',
exports: 'default',
file: 'build/full/ol.js',
sourcemap: true,
},
plugins: [
resolve({moduleDirectories: ['build', 'node_modules']}),
commonjs(),
externalGlobals({
geotiff: 'GeoTIFF',
'ol-mapbox-style': 'olms',
}),
terser(),
],
};
+6 -6
View File
@@ -1,8 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
/* Basic Options */ /* Basic Options */
"target": "ES5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ "target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ "module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
// "lib": [], /* Specify library files to be included in the compilation. */ // "lib": [], /* Specify library files to be included in the compilation. */
"allowJs": true, /* Allow javascript files to be compiled. */ "allowJs": true, /* Allow javascript files to be compiled. */
// "checkJs": true, /* Report errors in .js files. */ // "checkJs": true, /* Report errors in .js files. */
@@ -23,7 +23,7 @@
/* Strict Type-Checking Options */ /* Strict Type-Checking Options */
"strict": false, /* Enable all 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. */ // "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. */ // "strictFunctionTypes": true, /* Enable strict checking of function types. */
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
@@ -51,14 +51,14 @@
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
"inlineSources": false /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ "inlineSources": false, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
"skipLibCheck": true
/* Experimental Options */ /* Experimental Options */
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
}, },
"include": [ "include": [
"../build/ol/src/**/*.js" "../build/ol/**/*.js"
], ],
"exclude": [] "exclude": []
} }
-18
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',
},
};
-22
View File
@@ -1,22 +0,0 @@
---
title: Documentation
layout: doc.hbs
---
# Documentation
If you're eager to get your first OpenLayers map on a page, dive into the [quick start](quickstart.html).
For a more in-depth overview of OpenLayers core concepts, check out the [tutorials](tutorials/).
Make sure to also check out the [OpenLayers workshop](/workshop/).
Find additional reference material in the [API docs](../apidoc) and [examples](../examples).
# Frequently Asked Questions (FAQ)
We have put together a document that lists [Frequently Asked Questions (FAQ)](faq.html) and our answers. Common problems that may arise when using OpenLayers are explained there, and chances are you'll find an appropriate solution in this document.
# 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'.
-144
View File
@@ -1,144 +0,0 @@
---
title: Quick Start
layout: doc.hbs
---
# Quick Start
This primer shows you how to put a simple map on a web page.
**For production, we strongly recommend bundling the application together with its dependencies, as explained in the [Building an OpenLayers Application](./tutorials/bundle.html) tutorial.**
## Put a map on a page
Below you'll find a complete working example. Create a new file, copy in the contents below, and open in a browser:
```xml
<!doctype html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/{{ latest }}/css/ol.css" type="text/css">
<style>
.map {
height: 400px;
width: 100%;
}
</style>
<script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/{{ latest }}/build/ol.js"></script>
<title>OpenLayers example</title>
</head>
<body>
<h2>My Map</h2>
<div id="map" class="map"></div>
<script type="text/javascript">
var map = new ol.Map({
target: 'map',
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
view: new ol.View({
center: ol.proj.fromLonLat([37.41, 8.82]),
zoom: 4
})
});
</script>
</body>
</html>
```
## Understanding what is going on
To include a map a web page you will need 3 things:
1. Include OpenLayers
2. `<div>` map container
3. JavaScript to create a simple map
### Include OpenLayers
```xml
<script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/{{ latest }}/build/ol.js"></script>
```
The first part is to include the JavaScript library. For the purpose of this tutorial, here we simply point to the openlayers.org website to get the whole library. In a production environment, we would build a custom version of the library including only the module needed for our application.
**Optional:** If the application is intended to run on old platforms like Internet Explorer or Android 4.x, another script needs to be included before OpenLayers:
```xml
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
```
### `<div>` to contain the map
```xml
<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.
```xml
<style>
.map {
height: 400px;
width: 100%;
}
</style>
```
### JavaScript to create a simple map
```js
var map = new ol.Map({
target: 'map',
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
view: new ol.View({
center: ol.proj.fromLonLat([37.41, 8.82]),
zoom: 4
})
});
```
With this JavaScript code, a map object is created with an OSM layer zoomed on the African East coast. Let's break this down:
The following line creates an OpenLayers `Map` object. Just by itself, this does nothing since there's no layers or interaction attached to it.
```js
var map = new ol.Map({ ... });
```
To attach the map object to the `<div>`, the map object takes a `target` into arguments. The value is the `id` of the `<div>`:
```js
target: 'map'
```
The `layers: [ ... ]` array is used to define the list of layers available in the map. The first and only layer right now is a tiled layer:
```js
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
]
```
Layers in OpenLayers are defined with a type (Image, Tile or Vector) which contains a source. The source is the protocol used to get the map tiles.
The next part of the `Map` object is the `View`. The view allows to specify the center, resolution, and rotation of the map. The simplest way to define a view is to define a center point and a zoom level. Note that zoom level 0 is zoomed out.
```js
view: new ol.View({
center: ol.proj.fromLonLat([37.41, 8.82]),
zoom: 4
})
```
You will notice that the `center` specified is in lon/lat coordinates (EPSG:4326). Since the only layer we use is in Spherical Mercator projection (EPSG:3857), we can reproject them on the fly to be able to zoom the map on the right coordinates.
-103
View File
@@ -1,103 +0,0 @@
---
title: Basic project setup using NPM and Parcel
layout: doc.hbs
---
# Introduction
Modern JavaScript works best when using and authoring modules. The recommended way of using OpenLayers is installing the [`ol`](https://npmjs.com/package/ol) package. This tutorial walks you through setting up a simple dev environment, which requires [node](https://nodejs.org) for everything to work.
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
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
This will create a `package.json` file in your working directory. Add OpenLayers as dependency to your application with
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
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.
To create a production bundle of your application, simply type
npm run build
and copy the `dist/` folder to your production server.
+6 -2
View File
@@ -2,17 +2,21 @@
"globals": { "globals": {
"$": false, "$": false,
"arc": false, "arc": false,
"bootstrap": false,
"chroma": false,
"common": false, "common": false,
"createMapboxStreetsV6Style": false, "createMapboxStreetsV6Style": false,
"d3": false, "d3": false,
"domtoimage": false,
"geojsonvt": false, "geojsonvt": false,
"gifler": false, "gifler": false,
"GyroNorm": false, "GyroNorm": false,
"jsPDF": false, "html2canvas": false,
"jspdf": false,
"jsts": false, "jsts": false,
"JSZip": false, "JSZip": false,
"mapboxgl": false, "mapboxgl": false,
"monotoneChainConvexHull": false,
"NumpyLoader": false,
"saveAs": false, "saveAs": false,
"toastr": false, "toastr": false,
"topojson": false, "topojson": false,
+1 -1
View File
@@ -4,7 +4,7 @@ title: Animated GIF
shortdesc: Example of using an animated GIF as an icon. shortdesc: Example of using an animated GIF as an icon.
docs: > docs: >
Example of using an animated GIF as an icon. 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" tags: "animation, vector, style, icon, gif"
resources: resources:
- https://unpkg.com/gifler@0.1.0/gifler.min.js - https://unpkg.com/gifler@0.1.0/gifler.min.js
+2 -2
View File
@@ -6,8 +6,8 @@ docs: >
<p>When the Bing Maps tile service doesn't have tiles for a given resolution and region it returns "placeholder" tiles indicating that. Zoom the map beyond level 19 to see the "placeholder" tiles. If you want OpenLayers to display stretched tiles in place of "placeholder" tiles beyond zoom level 19 then set <code>maxZoom</code> to <code>19</code> in the options passed to <code>ol/source/BingMaps</code>.</p> <p>When the Bing Maps tile service doesn't have tiles for a given resolution and region it returns "placeholder" tiles indicating that. Zoom the map beyond level 19 to see the "placeholder" tiles. If you want OpenLayers to display stretched tiles in place of "placeholder" tiles beyond zoom level 19 then set <code>maxZoom</code> to <code>19</code> in the options passed to <code>ol/source/BingMaps</code>.</p>
tags: "bing, bing-maps" tags: "bing, bing-maps"
cloak: cloak:
- key: ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp - key: AlEoTLTlzFB6Uf4Sy-ugXcRO21skQO7K8eObA5_L-8d20rjqZJLs2nkO1RMjGSPN
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> <div id="map" class="map"></div>
<select id="layer-select"> <select id="layer-select">
+1 -1
View File
@@ -18,7 +18,7 @@ for (i = 0, ii = styles.length; i < ii; ++i) {
visible: false, visible: false,
preload: Infinity, preload: Infinity,
source: new BingMaps({ source: new BingMaps({
key: 'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp', key: 'AlEoTLTlzFB6Uf4Sy-ugXcRO21skQO7K8eObA5_L-8d20rjqZJLs2nkO1RMjGSPN',
imagerySet: styles[i], imagerySet: styles[i],
// use maxZoom 19 to see stretched tiles instead of the BingMaps // use maxZoom 19 to see stretched tiles instead of the BingMaps
// "no photos at this zoom level" tiles // "no photos at this zoom level" tiles
-4
View File
@@ -1,4 +0,0 @@
.ol-dragbox {
background-color: rgba(255,255,255,0.4);
border-color: rgba(100,150,0,1);
}
+1 -1
View File
@@ -9,4 +9,4 @@ docs: >
tags: "DragBox, feature, selection, box" tags: "DragBox, feature, selection, box"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
<div id="info">No countries selected</div> <div>Selected regions: <span id="info">None</span></div>
+43 -15
View File
@@ -1,23 +1,33 @@
import GeoJSON from '../src/ol/format/GeoJSON.js'; import GeoJSON from '../src/ol/format/GeoJSON.js';
import Map from '../src/ol/Map.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 View from '../src/ol/View.js';
import {DragBox, Select} from '../src/ol/interaction.js'; import {DragBox, Select} from '../src/ol/interaction.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js'; import {Fill, Stroke, Style} from '../src/ol/style.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {platformModifierKeyOnly} from '../src/ol/events/condition.js'; import {platformModifierKeyOnly} from '../src/ol/events/condition.js';
const vectorSource = new VectorSource({ const vectorSource = new VectorSource({
url: 'data/geojson/countries.geojson', url: 'https://openlayers.org/data/vector/ecoregions.json',
format: new GeoJSON(), format: new GeoJSON(),
}); });
const style = new Style({
fill: new Fill({
color: '#eeeeee',
}),
});
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({
source: new OSM(),
}),
new VectorLayer({ new VectorLayer({
source: vectorSource, source: vectorSource,
background: '#1a2b39',
style: function (feature) {
const color = feature.get('COLOR_BIO') || '#eeeeee';
style.getFill().setColor(color);
return style;
},
}), }),
], ],
target: 'map', target: 'map',
@@ -28,8 +38,24 @@ const map = new Map({
}), }),
}); });
const selectedStyle = new Style({
fill: new Fill({
color: 'rgba(255, 255, 255, 0.6)',
}),
stroke: new Stroke({
color: 'rgba(255, 255, 255, 0.7)',
width: 2,
}),
});
// a normal select interaction to handle click // a normal select interaction to handle click
const select = new Select(); const select = new Select({
style: function (feature) {
const color = feature.get('COLOR_BIO') || '#eeeeee';
selectedStyle.getFill().setColor(color);
return selectedStyle;
},
});
map.addInteraction(select); map.addInteraction(select);
const selectedFeatures = select.getFeatures(); const selectedFeatures = select.getFeatures();
@@ -42,6 +68,11 @@ const dragBox = new DragBox({
map.addInteraction(dragBox); map.addInteraction(dragBox);
dragBox.on('boxend', function () { dragBox.on('boxend', function () {
const extent = dragBox.getGeometry().getExtent();
const boxFeatures = vectorSource
.getFeaturesInExtent(extent)
.filter((feature) => feature.getGeometry().intersectsExtent(extent));
// features that intersect the box geometry are added to the // features that intersect the box geometry are added to the
// collection of selected features // collection of selected features
@@ -50,11 +81,6 @@ dragBox.on('boxend', function () {
// be added directly to the collection // be added directly to the collection
const rotation = map.getView().getRotation(); const rotation = map.getView().getRotation();
const oblique = rotation % (Math.PI / 2) !== 0; const oblique = rotation % (Math.PI / 2) !== 0;
const candidateFeatures = oblique ? [] : selectedFeatures;
const extent = dragBox.getGeometry().getExtent();
vectorSource.forEachFeatureIntersectingExtent(extent, function (feature) {
candidateFeatures.push(feature);
});
// when the view is obliquely rotated the box extent will // when the view is obliquely rotated the box extent will
// exceed its geometry so both the box and the candidate // exceed its geometry so both the box and the candidate
@@ -66,13 +92,15 @@ dragBox.on('boxend', function () {
const geometry = dragBox.getGeometry().clone(); const geometry = dragBox.getGeometry().clone();
geometry.rotate(-rotation, anchor); geometry.rotate(-rotation, anchor);
const extent = geometry.getExtent(); const extent = geometry.getExtent();
candidateFeatures.forEach(function (feature) { boxFeatures.forEach(function (feature) {
const geometry = feature.getGeometry().clone(); const geometry = feature.getGeometry().clone();
geometry.rotate(-rotation, anchor); geometry.rotate(-rotation, anchor);
if (geometry.intersectsExtent(extent)) { if (geometry.intersectsExtent(extent)) {
selectedFeatures.push(feature); selectedFeatures.push(feature);
} }
}); });
} else {
selectedFeatures.extend(boxFeatures);
} }
}); });
@@ -85,11 +113,11 @@ const infoBox = document.getElementById('info');
selectedFeatures.on(['add', 'remove'], function () { selectedFeatures.on(['add', 'remove'], function () {
const names = selectedFeatures.getArray().map(function (feature) { const names = selectedFeatures.getArray().map(function (feature) {
return feature.get('name'); return feature.get('ECO_NAME');
}); });
if (names.length > 0) { if (names.length > 0) {
infoBox.innerHTML = names.join(', '); infoBox.innerHTML = names.join(', ');
} else { } else {
infoBox.innerHTML = 'No countries selected'; infoBox.innerHTML = 'None';
} }
}); });
-3
View File
@@ -1,3 +0,0 @@
.tooltip-inner {
white-space: nowrap;
}
+3 -4
View File
@@ -3,12 +3,11 @@ layout: example.html
title: Custom Tooltips title: Custom Tooltips
shortdesc: This example shows how to customize the buttons tooltips with Bootstrap. shortdesc: This example shows how to customize the buttons tooltips with Bootstrap.
docs: > docs: >
This example shows how to customize the buttons tooltips with <a href="https://getbootstrap.com/docs/4.5/components/tooltips/">Bootstrap</a>. This example shows how to customize the buttons tooltips with <a href="https://getbootstrap.com/docs/5.2/components/tooltips/">Bootstrap</a>.
For the tooltips to work in fullscreen mode, set the container property to a selector that matches the map target. For the tooltips to work in fullscreen mode, set the container property to a selector that matches the map target.
tags: "custom, tooltip" tags: "custom, tooltip"
resources: resources:
- https://code.jquery.com/jquery-3.5.1.min.js - https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css
- https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css - https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js
- https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
+4 -5
View File
@@ -17,11 +17,10 @@ const map = new Map({
}), }),
}); });
$('.ol-zoom-in, .ol-zoom-out').tooltip({ document
placement: 'right', .querySelectorAll('.ol-zoom-in, .ol-zoom-out, .ol-rotate-reset')
.forEach(function (el) {
new bootstrap.Tooltip(el, {
container: '#map', container: '#map',
}); });
$('.ol-rotate-reset, .ol-attribution button[title]').tooltip({
placement: 'left',
container: '#map',
}); });
File diff suppressed because one or more lines are too long
+4 -6
View File
@@ -1,13 +1,11 @@
--- ---
layout: example.html layout: example.html
title: Styling feature with CanvasGradient or CanvasPattern title: Styling feature with CanvasGradient or CanvasPattern
shortdesc: Example showing the countries vector layer styled with patterns and gradients. shortdesc: Example showing a vector layer styled with a gradient.
docs: > docs: >
This example creates a [`CanvasPattern`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern) This example creates a [`CanvasGradient`](https://developer.mozilla.org/en/docs/Web/API/CanvasGradient).
and a [`CanvasGradient`](https://developer.mozilla.org/en/docs/Web/API/CanvasGradient). The countries are loaded from The vector data is loaded from a file and features are filled with the gradient.
a GeoJSON file. A style function determines for each country whether to use a fill with the The same technique can be used with a [`CanvasPattern`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasPattern).
CanvasGradient (rainbow colors) or a CanvasPattern (repeating stacked circles). **Note**: For seamless repeat patterns,
image width and height of the pattern image must be a factor of two (2, 4, 8, ..., 512).
tags: "canvas, gradient, pattern, style" tags: "canvas, gradient, pattern, style"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
+21 -66
View File
@@ -1,90 +1,45 @@
import GeoJSON from '../src/ol/format/GeoJSON.js'; import KML from '../src/ol/format/KML.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import VectorLayer from '../src/ol/layer/Vector.js'; import VectorLayer from '../src/ol/layer/Vector.js';
import VectorSource from '../src/ol/source/Vector.js'; import VectorSource from '../src/ol/source/Vector.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {DEVICE_PIXEL_RATIO} from '../src/ol/has.js'; import {DEVICE_PIXEL_RATIO} from '../src/ol/has.js';
import {Fill, Stroke, Style} from '../src/ol/style.js';
import {fromLonLat} from '../src/ol/proj.js'; import {fromLonLat} from '../src/ol/proj.js';
const canvas = document.createElement('canvas');
const context = canvas.getContext('2d');
// Gradient and pattern are in canvas pixel space, so we adjust for the // Gradient and pattern are in canvas pixel space, so we adjust for the
// renderer's pixel ratio // renderer's pixel ratio
const pixelRatio = DEVICE_PIXEL_RATIO; const pixelRatio = DEVICE_PIXEL_RATIO;
// Generate a rainbow gradient // Generate a rainbow gradient
const gradient = (function () { const canvas = document.createElement('canvas');
const grad = context.createLinearGradient(0, 0, 512 * pixelRatio, 0); const context = canvas.getContext('2d');
grad.addColorStop(0, 'red'); const gradient = context.createLinearGradient(0, 0, 1024 * pixelRatio, 0);
grad.addColorStop(1 / 6, 'orange'); gradient.addColorStop(0, 'red');
grad.addColorStop(2 / 6, 'yellow'); gradient.addColorStop(1 / 6, 'orange');
grad.addColorStop(3 / 6, 'green'); gradient.addColorStop(2 / 6, 'yellow');
grad.addColorStop(4 / 6, 'aqua'); gradient.addColorStop(3 / 6, 'green');
grad.addColorStop(5 / 6, 'blue'); gradient.addColorStop(4 / 6, 'aqua');
grad.addColorStop(1, 'purple'); gradient.addColorStop(5 / 6, 'blue');
return grad; gradient.addColorStop(1, 'purple');
})();
// Generate a canvasPattern with two circles on white background
const pattern = (function () {
canvas.width = 8 * pixelRatio;
canvas.height = 8 * pixelRatio;
// white background
context.fillStyle = 'white';
context.fillRect(0, 0, canvas.width, canvas.height);
// outer circle
context.fillStyle = 'rgba(102, 0, 102, 0.5)';
context.beginPath();
context.arc(4 * pixelRatio, 4 * pixelRatio, 3 * pixelRatio, 0, 2 * Math.PI);
context.fill();
// inner circle
context.fillStyle = 'rgb(55, 0, 170)';
context.beginPath();
context.arc(4 * pixelRatio, 4 * pixelRatio, 1.5 * pixelRatio, 0, 2 * Math.PI);
context.fill();
return context.createPattern(canvas, 'repeat');
})();
// Generate style for gradient or pattern fill
const fill = new Fill();
const style = new Style({
fill: fill,
stroke: new Stroke({
color: '#333',
width: 2,
}),
});
/**
* The styling function for the vector layer, will return an array of styles
* which either contains the aboove gradient or pattern.
*
* @param {import("../src/ol/Feature.js").default} feature The feature to style.
* @return {Style} The style to use for the feature.
*/
const getStackedStyle = function (feature) {
const id = feature.getId();
fill.setColor(id > 'J' ? gradient : pattern);
return style;
};
// Create a vector layer that makes use of the style function above…
const vectorLayer = new VectorLayer({ const vectorLayer = new VectorLayer({
background: 'white',
source: new VectorSource({ source: new VectorSource({
url: 'data/geojson/countries.geojson', url: 'data/kml/states.kml',
format: new GeoJSON(), format: new KML({extractStyles: false}),
}), }),
style: getStackedStyle, style: {
'fill-color': gradient,
'stroke-width': 1,
'stroke-color': '#333',
},
}); });
// … finally create a map with that layer.
const map = new Map({ const map = new Map({
layers: [vectorLayer], layers: [vectorLayer],
target: 'map', target: 'map',
view: new View({ view: new View({
center: fromLonLat([16, 48]), center: fromLonLat([-100, 38.5]),
zoom: 3, zoom: 4,
}), }),
}); });
+14
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>
+61
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,
}),
});
+9 -10
View File
@@ -5,22 +5,21 @@ shortdesc: Example of a cartodb map.
docs: > docs: >
A simple example with an anonymous cartodb map A simple example with an anonymous cartodb map
tags: "simple, openstreetmap, attribution" tags: "simple, openstreetmap, attribution"
resources:
- https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css
--- ---
<div class="row-fluid">
<div class="span12">
<div id="map" class="map"></div> <div id="map" class="map"></div>
<div> <form class="row">
<form class="form-horizontal"> <div class="col-auto">
<label> <div class="input-group">
Show countries larger than <label for="country-area" class="input-group-text">Show european countries larger than</label>
<select id="country-area" class="form-control"> <select id="country-area" class="form-select">
<option value="0" default>0 ㎢</option> <option value="0" default>0 ㎢</option>
<option value="5000">5000 ㎢</option> <option value="5000">5000 ㎢</option>
<option value="10000">10000 ㎢</option> <option value="10000">10000 ㎢</option>
<option value="50000">50000 ㎢</option> <option value="50000">50000 ㎢</option>
<option value="100000">100000 ㎢</option> <option value="100000">100000 ㎢</option>
</select> </select>
</label> </div>
</div>
</form> </form>
</div>
</div>
+13 -12
View File
@@ -10,17 +10,28 @@ const mapConfig = {
'options': { 'options': {
'cartocss_version': '2.1.1', 'cartocss_version': '2.1.1',
'cartocss': '#layer { polygon-fill: #F00; }', 'cartocss': '#layer { polygon-fill: #F00; }',
'sql': 'select * from european_countries_e where area > 0',
}, },
}, },
], ],
}; };
function setArea(n) {
mapConfig.layers[0].options.sql =
'select * from european_countries_e where area > ' + n;
}
const areaSelect = document.getElementById('country-area');
setArea(areaSelect.value);
const cartoDBSource = new CartoDB({ const cartoDBSource = new CartoDB({
account: 'documentation', account: 'documentation',
config: mapConfig, config: mapConfig,
}); });
areaSelect.addEventListener('change', function () {
setArea(this.value);
cartoDBSource.setConfig(mapConfig);
});
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
@@ -32,17 +43,7 @@ const map = new Map({
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [8500000, 8500000],
zoom: 2, zoom: 2,
}), }),
}); });
function setArea(n) {
mapConfig.layers[0].options.sql =
'select * from european_countries_e where area > ' + n;
cartoDBSource.setConfig(mapConfig);
}
document.getElementById('country-area').addEventListener('change', function () {
setArea(this.value);
});
+11 -22
View File
@@ -1,38 +1,27 @@
import GeoJSON from '../src/ol/format/GeoJSON.js'; import GeoJSON from '../src/ol/format/GeoJSON.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {Circle as CircleStyle, Fill, Stroke, Style} from '../src/ol/style.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js'; import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js'; import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
/** @type {VectorSource<import("../src/ol/geom/SimpleGeometry.js").default>} */
const source = new VectorSource({ const source = new VectorSource({
url: 'data/geojson/switzerland.geojson', url: 'data/geojson/switzerland.geojson',
format: new GeoJSON(), format: new GeoJSON(),
}); });
const style = new Style({
fill: new Fill({
color: 'rgba(255, 255, 255, 0.6)',
}),
stroke: new Stroke({
color: '#319FD3',
width: 1,
}),
image: new CircleStyle({
radius: 5,
fill: new Fill({
color: 'rgba(255, 255, 255, 0.6)',
}),
stroke: new Stroke({
color: '#319FD3',
width: 1,
}),
}),
});
const vectorLayer = new VectorLayer({ const vectorLayer = new VectorLayer({
source: source, source: source,
style: style, style: {
'fill-color': 'rgba(255, 255, 255, 0.6)',
'stroke-width': 1,
'stroke-color': '#319FD3',
'circle-radius': 5,
'circle-fill-color': 'rgba(255, 255, 255, 0.6)',
'circle-stroke-width': 1,
'circle-stroke-color': '#319FD3',
},
}); });
const view = new View({ const view = new View({
center: [0, 0], center: [0, 0],
zoom: 1, zoom: 1,
+1 -1
View File
@@ -12,7 +12,7 @@ docs: >
tags: "smooth, smoothing, chaikin" tags: "smooth, smoothing, chaikin"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
<form class="form-inline"> <form>
<label for="shall-smoothen">Smooth drawn geometry?</label> <label for="shall-smoothen">Smooth drawn geometry?</label>
<input id="shall-smoothen" type="checkbox" checked><br> <input id="shall-smoothen" type="checkbox" checked><br>
<label for="iterations">Number of smoothings</label> <label for="iterations">Number of smoothings</label>
+16 -2
View File
@@ -5,9 +5,23 @@ shortdesc: Example of using ol/source/Cluster.
docs: > docs: >
This example shows how to do clustering on point features. This example shows how to do clustering on point features.
tags: "cluster, vector" tags: "cluster, vector"
resources:
- https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
<form> <form>
<label for="distance">cluster distance</label> <div class="form-group">
<input id="distance" type="range" min="0" max="100" step="1" value="40"/> <label for="distance" class="col-form-label pb-0">Cluster distance</label>
<input id="distance" class="form-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 pb-0">Minimum distance</label>
<input id="min-distance" class="form-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> </form>
+26 -4
View File
@@ -11,8 +11,10 @@ import {
} from '../src/ol/style.js'; } from '../src/ol/style.js';
import {Cluster, OSM, Vector as VectorSource} from '../src/ol/source.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 {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 count = 20000;
const features = new Array(count); const features = new Array(count);
@@ -27,7 +29,8 @@ const source = new VectorSource({
}); });
const clusterSource = new Cluster({ const clusterSource = new Cluster({
distance: parseInt(distance.value, 10), distance: parseInt(distanceInput.value, 10),
minDistance: parseInt(minDistanceInput.value, 10),
source: source, source: source,
}); });
@@ -74,6 +77,25 @@ const map = new Map({
}), }),
}); });
distance.addEventListener('input', function () { distanceInput.addEventListener('input', function () {
clusterSource.setDistance(parseInt(distance.value, 10)); 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]});
}
}
});
}); });
+16
View File
@@ -0,0 +1,16 @@
---
layout: example.html
title: Dynamic clusters
shortdesc: Clusters with zoom-to-cluster, hull view, and uncluttering of overlapping features.
docs: >
<p>This example shows open data of subsidized photovoltaic installations in Vienna. Different style functions
are used for cluster display, single feature display, convex hull of a cluster, and an expanded view of
overlapping features. Hovering over a cluster shows its convex hull. Clicking on a cluster zooms to the
extent of the contained features. Clicking on a cluster consisting of features that are very close to each other reveals an expanded view
of the features, along a circle around the cluster.</p>
<p>Features are styled differently depending on the power of the photovoltaic installation.</p>
tags: "marker, cluster, vector, style, convex hull"
resources:
- https://unpkg.com/monotone-chain-convex-hull@1.0.0/lib/index.js
---
<div id="map" class="map"></div>
+278
View File
@@ -0,0 +1,278 @@
import Feature from '../src/ol/Feature.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import {
Circle as CircleStyle,
Fill,
Icon,
Stroke,
Style,
Text,
} from '../src/ol/style.js';
import {Cluster, Vector as VectorSource, XYZ} from '../src/ol/source.js';
import {LineString, Point, Polygon} from '../src/ol/geom.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {createEmpty, extend, getWidth} from '../src/ol/extent.js';
import {fromLonLat} from '../src/ol/proj.js';
const circleDistanceMultiplier = 1;
const circleFootSeparation = 28;
const circleStartAngle = Math.PI / 2;
const convexHullFill = new Fill({
color: 'rgba(255, 153, 0, 0.4)',
});
const convexHullStroke = new Stroke({
color: 'rgba(204, 85, 0, 1)',
width: 1.5,
});
const outerCircleFill = new Fill({
color: 'rgba(255, 153, 102, 0.3)',
});
const innerCircleFill = new Fill({
color: 'rgba(255, 165, 0, 0.7)',
});
const textFill = new Fill({
color: '#fff',
});
const textStroke = new Stroke({
color: 'rgba(0, 0, 0, 0.6)',
width: 3,
});
const innerCircle = new CircleStyle({
radius: 14,
fill: innerCircleFill,
});
const outerCircle = new CircleStyle({
radius: 20,
fill: outerCircleFill,
});
const darkIcon = new Icon({
src: 'data/icons/emoticon-cool.svg',
});
const lightIcon = new Icon({
src: 'data/icons/emoticon-cool-outline.svg',
});
/**
* Single feature style, users for clusters with 1 feature and cluster circles.
* @param {Feature} clusterMember A feature from a cluster.
* @return {Style} An icon style for the cluster member's location.
*/
function clusterMemberStyle(clusterMember) {
return new Style({
geometry: clusterMember.getGeometry(),
image: clusterMember.get('LEISTUNG') > 5 ? darkIcon : lightIcon,
});
}
let clickFeature, clickResolution;
/**
* Style for clusters with features that are too close to each other, activated on click.
* @param {Feature} cluster A cluster with overlapping members.
* @param {number} resolution The current view resolution.
* @return {Style} A style to render an expanded view of the cluster members.
*/
function clusterCircleStyle(cluster, resolution) {
if (cluster !== clickFeature || resolution !== clickResolution) {
return;
}
const clusterMembers = cluster.get('features');
const centerCoordinates = cluster.getGeometry().getCoordinates();
return generatePointsCircle(
clusterMembers.length,
cluster.getGeometry().getCoordinates(),
resolution
).reduce((styles, coordinates, i) => {
const point = new Point(coordinates);
const line = new LineString([centerCoordinates, coordinates]);
styles.unshift(
new Style({
geometry: line,
stroke: convexHullStroke,
})
);
styles.push(
clusterMemberStyle(
new Feature({
...clusterMembers[i].getProperties(),
geometry: point,
})
)
);
return styles;
}, []);
}
/**
* From
* https://github.com/Leaflet/Leaflet.markercluster/blob/31360f2/src/MarkerCluster.Spiderfier.js#L55-L72
* Arranges points in a circle around the cluster center, with a line pointing from the center to
* each point.
* @param {number} count Number of cluster members.
* @param {Array<number>} clusterCenter Center coordinate of the cluster.
* @param {number} resolution Current view resolution.
* @return {Array<Array<number>>} An array of coordinates representing the cluster members.
*/
function generatePointsCircle(count, clusterCenter, resolution) {
const circumference =
circleDistanceMultiplier * circleFootSeparation * (2 + count);
let legLength = circumference / (Math.PI * 2); //radius from circumference
const angleStep = (Math.PI * 2) / count;
const res = [];
let angle;
legLength = Math.max(legLength, 35) * resolution; // Minimum distance to get outside the cluster icon.
for (let i = 0; i < count; ++i) {
// Clockwise, like spiral.
angle = circleStartAngle + i * angleStep;
res.push([
clusterCenter[0] + legLength * Math.cos(angle),
clusterCenter[1] + legLength * Math.sin(angle),
]);
}
return res;
}
let hoverFeature;
/**
* Style for convex hulls of clusters, activated on hover.
* @param {Feature} cluster The cluster feature.
* @return {Style} Polygon style for the convex hull of the cluster.
*/
function clusterHullStyle(cluster) {
if (cluster !== hoverFeature) {
return;
}
const originalFeatures = cluster.get('features');
const points = originalFeatures.map((feature) =>
feature.getGeometry().getCoordinates()
);
return new Style({
geometry: new Polygon([monotoneChainConvexHull(points)]),
fill: convexHullFill,
stroke: convexHullStroke,
});
}
function clusterStyle(feature) {
const size = feature.get('features').length;
if (size > 1) {
return [
new Style({
image: outerCircle,
}),
new Style({
image: innerCircle,
text: new Text({
text: size.toString(),
fill: textFill,
stroke: textStroke,
}),
}),
];
} else {
const originalFeature = feature.get('features')[0];
return clusterMemberStyle(originalFeature);
}
}
const vectorSource = new VectorSource({
format: new GeoJSON(),
url: 'data/geojson/photovoltaic.json',
});
const clusterSource = new Cluster({
attributions:
'Data: <a href="https://www.data.gv.at/auftritte/?organisation=stadt-wien">Stadt Wien</a>',
distance: 35,
source: vectorSource,
});
// Layer displaying the convex hull of the hovered cluster.
const clusterHulls = new VectorLayer({
source: clusterSource,
style: clusterHullStyle,
});
// Layer displaying the clusters and individual features.
const clusters = new VectorLayer({
source: clusterSource,
style: clusterStyle,
});
// Layer displaying the expanded view of overlapping cluster members.
const clusterCircles = new VectorLayer({
source: clusterSource,
style: clusterCircleStyle,
});
const raster = new TileLayer({
source: new XYZ({
attributions:
'Base map: <a target="_blank" href="https://basemap.at/">basemap.at</a>',
url: 'https://maps{1-4}.wien.gv.at/basemap/bmapgrau/normal/google3857/{z}/{y}/{x}.png',
}),
});
const map = new Map({
layers: [raster, clusterHulls, clusters, clusterCircles],
target: 'map',
view: new View({
center: [0, 0],
zoom: 2,
maxZoom: 19,
extent: [
...fromLonLat([16.1793, 48.1124]),
...fromLonLat([16.5559, 48.313]),
],
showFullExtent: true,
}),
});
map.on('pointermove', (event) => {
clusters.getFeatures(event.pixel).then((features) => {
if (features[0] !== hoverFeature) {
// Display the convex hull on hover.
hoverFeature = features[0];
clusterHulls.setStyle(clusterHullStyle);
// Change the cursor style to indicate that the cluster is clickable.
map.getTargetElement().style.cursor =
hoverFeature && hoverFeature.get('features').length > 1
? 'pointer'
: '';
}
});
});
map.on('click', (event) => {
clusters.getFeatures(event.pixel).then((features) => {
if (features.length > 0) {
const clusterMembers = features[0].get('features');
if (clusterMembers.length > 1) {
// Calculate the extent of the cluster members.
const extent = createEmpty();
clusterMembers.forEach((feature) =>
extend(extent, feature.getGeometry().getExtent())
);
const view = map.getView();
const resolution = map.getView().getResolution();
if (
view.getZoom() === view.getMaxZoom() ||
(getWidth(extent) < resolution && getWidth(extent) < resolution)
) {
// Show an expanded view of the cluster members.
clickFeature = features[0];
clickResolution = resolution;
clusterCircles.setStyle(clusterCircleStyle);
} else {
// Zoom to the extent of the cluster members.
view.fit(extent, {duration: 500, padding: [50, 50, 50, 50]});
}
}
}
});
});
+10
View File
@@ -0,0 +1,10 @@
---
layout: example.html
title: Cloud Optimized GeoTIFF (COG) from a Blob
shortdesc: Rendering a COG as a tiled layer from a Blob.
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 from a Blob.
tags: "cog"
---
<div id="map" class="map"></div>

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