Commit Graph

31598 Commits

Author SHA1 Message Date
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