Commit Graph

31170 Commits

Author SHA1 Message Date
Luis Camacho 94c8900883 ensure single-line label when rendering across segments 2022-05-23 14:52:47 +01:00
Luis Camacho 5e2b9fb629 fix to text width calculation
now considers new lines to match rendering
2022-05-22 12:29:19 +01: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
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