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