Commit Graph

30010 Commits

Author SHA1 Message Date
MoonE
9afc294d57 Merge pull request #12231 from MoonE/movetolerance-pixelratio
Move tolerance should not increase with higher pixel ratio
2021-06-17 19:14:46 +02:00
MoonE
9ab5b70e3a Merge pull request #12282 from M393/dragzoom-view-padding
Fix DragZoom with view padding
2021-06-17 19:13:03 +02:00
Maximilian Krög
bb5e0773ae Move tolerance should not increase with higher pixel ratio
Browsers already handle the scaling, no need to multiply this again.
This now also allows setting a moveTolerance of zero which was not
possible before. In the isMoving_ method the condition is
distance > tolerance so this will work.
2021-06-17 19:08:29 +02:00
Andreas Hocevar
cf7213c5cb Merge pull request #12223 from simonseyock/generic-options
generic source parameters for options
2021-06-17 19:02:36 +02:00
Simon Seyock
9344de5740 remove unneeded code 2021-06-17 18:54:29 +02:00
Simon Seyock
aa99de4a6b parse comment for templates 2021-06-17 18:54:29 +02:00
Simon Seyock
a5d0b61947 Allow options to be generic in jsdoc 2021-06-17 18:54:29 +02:00
Simon Seyock
a211666fd8 Added generic source option to layer option types 2021-06-17 18:54:28 +02:00
Maximilian Krög
3ebcdb45d9 Fix WMTS wrapX detection if WGS84BoundingBox is not set 2021-06-17 13:43:05 +02:00
Andreas Hocevar
94a7cdba10 Do not fire modifystart when nothing is being modified 2021-06-17 11:08:03 +02:00
Maximilian Krög
2ed509a20d Support RenderFeature in Modify with hitDetection 2021-06-17 11:03:29 +02:00
Maximilian Krög
7c41748654 SegmentData.segment is not an Extent 2021-06-17 11:03:29 +02:00
Maximilian Krög
4e9b89c358 Fix Modify interaction with hitDetection
Hit detection should ignore any RenderFeatures and features not in the configured
source / collection.
2021-06-17 11:02:58 +02:00
Andreas Hocevar
8520a18eae Merge pull request #12219 from ahocevar/object-properties
Add 'properties' to Layer constructors
2021-06-17 08:44:53 +02:00
Maximilian Krög
5ba833a82c remove unused argument from function call 2021-06-17 00:14:34 +02:00
Maximilian Krög
c55366d35e use correct stride for draw image 2021-06-17 00:14:34 +02:00
Maximilian Krög
3791dee358 Fix immediate render with pixel ratio != 1 2021-06-17 00:14:27 +02:00
MoonE
da845c71c8 Merge pull request #12284 from MoonE/layer-group-inherit-zindex
Layers should inherit group z-index
2021-06-17 00:01:09 +02:00
Andreas Hocevar
01cfe80ee6 Merge pull request #12304 from mike-000/patch-2
New example: Scale and Rotate using Modify Interaction
2021-06-16 17:20:34 +02:00
Andreas Hocevar
a5e596c70d Merge pull request #12378 from mike-000/patch-5
Correct .split() calls to only split numeric srid for ArcgisRest
2021-06-16 17:19:10 +02:00
Andreas Hocevar
cd719ffb34 Avoid infinite source tile cache size 2021-06-15 20:30:43 +02:00
Andreas Hocevar
2361150814 Add regression test 2021-06-15 20:01:55 +02:00
Andreas Hocevar
ad4ff9f695 Keep track of loading source tiles when reused 2021-06-15 18:52:36 +02:00
Andreas Hocevar
3c4514aabf Do not expire tiles from source tile caches that are still used by render tiles 2021-06-15 17:26:24 +02:00
Tim Schaub
863d387927 Merge pull request #12393 from mike-000/patch-6
Scale up static Image and round to nearest pixel to avoid rounding errors
2021-06-14 09:06:43 -06:00
Tim Schaub
13ecb6b3fc Merge pull request #12394 from mike-000/patch-7
Ensure VectorSource getUrl() corresponds to last setUrl()
2021-06-14 08:56:09 -06:00
Tim Schaub
4509dc46d8 Merge pull request #12397 from openlayers/dependabot/npm_and_yarn/babel/eslint-parser-7.14.5
Bump @babel/eslint-parser from 7.14.4 to 7.14.5
2021-06-14 08:52:20 -06:00
Tim Schaub
3691c8049b Merge pull request #12398 from openlayers/dependabot/npm_and_yarn/karma-6.3.4
Bump karma from 6.3.3 to 6.3.4
2021-06-14 08:51:38 -06:00
Tim Schaub
cf57ae04a7 Merge pull request #12400 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.7.2
Bump webpack-cli from 4.7.0 to 4.7.2
2021-06-14 08:51:10 -06:00
Tim Schaub
ecb087bf70 Merge pull request #12401 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.14.5
Bump @babel/preset-env from 7.14.4 to 7.14.5
2021-06-14 08:50:35 -06:00
Tim Schaub
67dcc19a4e Merge pull request #12402 from openlayers/dependabot/npm_and_yarn/rollup-2.51.2
Bump rollup from 2.51.0 to 2.51.2
2021-06-14 08:49:44 -06:00
Tim Schaub
1e1488dc60 Merge pull request #12403 from openlayers/dependabot/npm_and_yarn/babel/core-7.14.5
Bump @babel/core from 7.14.3 to 7.14.5
2021-06-14 08:49:14 -06:00
dependabot[bot]
8acc3800bb Bump karma from 6.3.3 to 6.3.4
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.3 to 6.3.4.
- [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.3...v6.3.4)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 13:46:19 +00:00
Tim Schaub
830ae1f2c6 Merge pull request #12399 from openlayers/dependabot/npm_and_yarn/mocha-9.0.0
Bump mocha from 8.4.0 to 9.0.0
2021-06-14 07:45:21 -06:00
dependabot[bot]
344d0033e4 Bump @babel/core from 7.14.3 to 7.14.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.3 to 7.14.5.
- [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.14.5/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:08:14 +00:00
dependabot[bot]
226a9129c4 Bump rollup from 2.51.0 to 2.51.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.51.0 to 2.51.2.
- [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.51.0...v2.51.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:07:49 +00:00
dependabot[bot]
eb420d9d40 Bump @babel/preset-env from 7.14.4 to 7.14.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.4 to 7.14.5.
- [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.14.5/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:07:16 +00:00
dependabot[bot]
8166fb2ae0 Bump webpack-cli from 4.7.0 to 4.7.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.0 to 4.7.2.
- [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.7.0...webpack-cli@4.7.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:06:36 +00:00
dependabot[bot]
693d4c44e2 Bump mocha from 8.4.0 to 9.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.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.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:06:13 +00:00
dependabot[bot]
333b726a6b Bump @babel/eslint-parser from 7.14.4 to 7.14.5
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.14.4 to 7.14.5.
- [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.14.5/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 05:05:17 +00:00
mike-000
3fb57f0988 ensure getUrl() corresponds to last setUrl() 2021-06-09 15:34:25 +01:00
mike-000
269b3c49ee more precision expected 2021-06-09 15:13:27 +01:00
mike-000
82cc9fe0e6 more precision expected 2021-06-09 15:03:45 +01:00
mike-000
cb52f809af more precision expected 2021-06-09 15:00:38 +01:00
mike-000
0b6a58353d Update resolution when setting image 2021-06-09 14:47:41 +01:00
mike-000
92a2b3e78b separate tests for scaling width and height 2021-06-09 13:33:28 +01:00
mike-000
c0580262f1 scale up and round to avoid rounding errors 2021-06-09 12:52:09 +01:00
Andreas Hocevar
0722786857 Merge pull request #12386 from openlayers/dependabot/npm_and_yarn/rollup-2.51.0
Bump rollup from 2.50.5 to 2.51.0
2021-06-07 14:40:57 +02:00
dependabot[bot]
29f194ebd4 Bump rollup from 2.50.5 to 2.51.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.50.5 to 2.51.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.50.5...v2.51.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 08:36:31 +00:00
Andreas Hocevar
9078dd10dd Merge pull request #12384 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-2.1.1
Bump karma-firefox-launcher from 2.1.0 to 2.1.1
2021-06-07 09:35:07 +02:00