Commit Graph

28741 Commits

Author SHA1 Message Date
Andreas Hocevar
ec9dde88f9 Add features property to vertex feature 2020-12-06 16:51:14 +01:00
Andreas Hocevar
6874bfaaef Report features actually being modified, not all 2020-12-06 16:51:13 +01:00
Andreas Hocevar
b3bcfb5b41 Modify with hit detection support 2020-12-06 16:51:13 +01:00
MoonE
ea91d41be9 Merge pull request #11803 from MoonE/modify-fix-vertex-insertion
Modify fix vertex insertion
2020-12-06 16:47:41 +01:00
Maximilian Krög
c4dd6e6b04 Fixes Modify vertex insertion with duplicate segments
If one feature has duplicate segments it prevented insertion for other
features with the same segment.
2020-12-06 15:43:18 +01:00
Maximilian Krög
190b20ebce Add vertex insertion test for modify interaction 2020-12-06 15:43:14 +01:00
MoonE
1dddb3f58a Merge pull request #11783 from MoonE/hitdetect-indexes
Cache hit detect indexes and check closest pixels first.
2020-12-03 21:24:35 +01:00
Andreas Hocevar
77e6c3a4ab Merge pull request #11791 from ahocevar/pepjs-readme
Now that pepjs was updated, we can point to the official package
2020-12-02 08:24:36 +01:00
Maximilian Krög
23dc768c2e Order callback calls by distance to click position
All callback calls for hits with a tolerance > 0 are queued and
called ordered by distance after all hits are detected.
2020-12-01 23:21:59 +01:00
Maximilian Krög
4546eff66e Also use hitTolerance to select tiles to search 2020-12-01 20:21:15 +01:00
Maximilian Krög
cde2dac19f Skip executor groups when tile does not contain coordinates 2020-12-01 20:21:13 +01:00
Andreas Hocevar
f3a7703194 Hit tolerance priority example 2020-12-01 20:20:04 +01:00
Maximilian Krög
c076d273e7 Cache hit detect indexes and check closest pixels first. 2020-12-01 20:19:58 +01:00
Andreas Hocevar
810cdd9865 Now that pepjs was updated, we can point to the official package 2020-12-01 16:24:54 +01:00
Andreas Hocevar
aec4c60c4a Merge pull request #11786 from openlayers/dependabot/npm_and_yarn/rollup-2.34.0
Bump rollup from 2.33.3 to 2.34.0
2020-12-01 15:48:31 +01:00
Frédéric Junod
4a985f43c5 Merge pull request #11790 from openlayers/attrib_swisstopo_wms
Fix attributions links for WMS layers from swisstopo
2020-12-01 15:29:29 +01:00
Frederic Junod
6d04c360be Fix attributions links for WMS layers from swisstopo 2020-12-01 13:48:32 +01:00
Andreas Hocevar
dcaa7096bb Merge pull request #11787 from openlayers/dependabot/npm_and_yarn/babel-loader-8.2.2
Bump babel-loader from 8.2.1 to 8.2.2
2020-12-01 10:09:30 +01:00
Andreas Hocevar
4c9fb319aa Merge pull request #11785 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.9
Bump @babel/core from 7.12.7 to 7.12.9
2020-12-01 10:08:06 +01:00
Andreas Hocevar
8ceaadc7c8 Merge pull request #11781 from ahocevar/hitdetect-geometry
Pass geometry to forEachFeatureAtPixel callback
2020-12-01 09:59:43 +01:00
dependabot-preview[bot]
a41576187d Bump babel-loader from 8.2.1 to 8.2.2
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.1 to 8.2.2.
- [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.1...v8.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:12:31 +00:00
dependabot-preview[bot]
a0cefa9525 Bump rollup from 2.33.3 to 2.34.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.3 to 2.34.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.33.3...v2.34.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:11:22 +00:00
dependabot-preview[bot]
4141549a15 Bump @babel/core from 7.12.7 to 7.12.9
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.7 to 7.12.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.12.9/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:10:24 +00:00
Andreas Hocevar
512642f8e2 Document geometry argument of the feature callback for internal use 2020-11-29 00:39:55 +01:00
Andreas Hocevar
8cc78acde9 Merge pull request #11778 from ahocevar/hit-tolerance-pixel-ratio
No need to adjust hitTolerance for pixel ratio twice
2020-11-29 00:09:23 +01:00
Andreas Hocevar
fe36ff4ee3 Clarify change in changelog 2020-11-29 00:02:39 +01:00
Andreas Hocevar
4e885181b5 Fix forEachFeatureAtPixel apidoc output 2020-11-28 23:55:25 +01:00
Andreas Hocevar
db89da6e15 Update changelog 2020-11-28 09:18:17 +01:00
Andreas Hocevar
5659397b39 No need to adjust hitTolerance for pixel ratio 2020-11-28 09:18:17 +01:00
Andreas Hocevar
950894c542 Merge pull request #11780 from M393/dragbox-add-cancel-event
Add a cancel event to the DragBox interaction
2020-11-27 23:53:54 +01:00
Andreas Hocevar
817b77ad54 Merge pull request #11779 from mike-000/patch-16
Restore Mode.CIRCLE in Draw interaction
2020-11-27 23:51:17 +01:00
Maximilian Krög
b93a57156c Add a cancel event to the dragbox interaction 2020-11-27 15:02:39 +01:00
Andreas Hocevar
28aaa2e0d3 Pass geometry to forEachFeatureAtPixel callback 2020-11-27 13:43:28 +01:00
mike-000
c0875e38e7 Restore Mode.CIRCLE 2020-11-27 11:42:51 +00:00
Andreas Hocevar
7b5f53753b Merge pull request #11753 from mike-000/patch-15
Use Mode.LINE_STRING in Draw interaction for Circle geometries
2020-11-25 13:47:17 +01:00
mike-000
919c711756 New function createOrUpdateCustomSketchLine_ 2020-11-25 12:06:34 +00:00
mike-000
8898d540fa New function createOrUpdateCustomSketchLine_
New function for duplicated code handling sketch line for custom polygons
2020-11-25 11:59:32 +00:00
Andreas Hocevar
ab0b24b0da Merge pull request #11767 from mike-000/patch-13
Improve documentation of geometry rotation
2020-11-25 00:00:39 +01:00
mike-000
f8df533cb0 Use Mode.LINE_STRING for Circle geometries
Make predefined geometry functions compatible with removeLastPoint
Add undo to example
Make geometry function for Star compatible with use of removeLastPoint
Additional createRegularPolygon tests
2020-11-24 10:39:28 +00:00
Andreas Hocevar
20ccdc56b8 Merge pull request #11755 from ahocevar/view-padding
Add padding option for View
2020-11-24 09:10:57 +01:00
Andreas Hocevar
cd0db0784f Merge pull request #11762 from openlayers/dependabot/npm_and_yarn/typescript-4.1.2
Bump typescript from 4.0.5 to 4.1.2
2020-11-23 19:35:03 +01:00
Andreas Hocevar
a0604c9cc3 Use new Geolocation types 2020-11-23 17:28:31 +01:00
Andreas Hocevar
6d6735fe0a Merge pull request #11764 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.3.2
Bump copy-webpack-plugin from 6.3.1 to 6.3.2
2020-11-23 17:12:36 +01:00
Andreas Hocevar
6390c101d1 Merge pull request #11758 from openlayers/dependabot/npm_and_yarn/rollup-2.33.3
Bump rollup from 2.33.2 to 2.33.3
2020-11-23 17:11:50 +01:00
Andreas Hocevar
f69e8d8ecd Merge pull request #11761 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.7
Bump @babel/core from 7.12.3 to 7.12.7
2020-11-23 17:10:17 +01:00
dependabot-preview[bot]
4ae0d1000a Bump rollup from 2.33.2 to 2.33.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.2 to 2.33.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.33.2...v2.33.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 15:33:31 +00:00
Andreas Hocevar
dd5cf2810b Merge pull request #11760 from openlayers/dependabot/npm_and_yarn/proj4-2.6.3
Bump proj4 from 2.6.2 to 2.6.3
2020-11-23 16:31:08 +01:00
Andreas Hocevar
a9f00c918c Merge pull request #11763 from openlayers/dependabot/npm_and_yarn/eslint-7.14.0
Bump eslint from 7.13.0 to 7.14.0
2020-11-23 16:29:54 +01:00
dependabot-preview[bot]
cdf3a42d4d Bump @babel/core from 7.12.3 to 7.12.7
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.3 to 7.12.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.12.7/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 15:28:53 +00:00
dependabot-preview[bot]
29a7909833 Bump proj4 from 2.6.2 to 2.6.3
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.6.2 to 2.6.3.
- [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.2...2.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 15:27:06 +00:00