Commit Graph

28973 Commits

Author SHA1 Message Date
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
Andreas Hocevar
94bfe77c21 Merge pull request #11987 from ahocevar/vector-opacity
Respect opacity for vector instructions
2021-02-06 21:30:50 +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
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
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
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
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
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