Compare commits

...

2422 Commits

Author SHA1 Message Date
Andreas Hocevar
f72ab97645 Update package version to 6.5.0 2020-12-27 20:06:46 +01:00
Andreas Hocevar
a4c5584fef Changelog for v6.5.0 2020-12-27 20:05:44 +01:00
Tim Schaub
1ba91cc213 Merge pull request #11851 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.11
Bump @babel/preset-env from 7.12.10 to 7.12.11
2020-12-24 12:10:16 -07:00
Tim Schaub
810a305f01 Merge pull request #11850 from openlayers/dependabot/npm_and_yarn/marked-1.2.7
Bump marked from 1.2.6 to 1.2.7
2020-12-24 12:09:41 -07:00
Tim Schaub
866951e978 Merge pull request #11852 from openlayers/dependabot/npm_and_yarn/rollup-2.35.1
Bump rollup from 2.35.0 to 2.35.1
2020-12-24 12:09:09 -07:00
Tim Schaub
80366f28d7 Merge pull request #11853 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.4.1
Bump copy-webpack-plugin from 6.4.0 to 6.4.1
2020-12-24 12:08:38 -07:00
MoonE
c9c71cbbcb Merge pull request #11859 from MoonE/no-duplicate-postrender-events
Do not fire duplicate postrender events
2020-12-24 10:24:49 +01:00
Maximilian Krög
17659b9a80 Do not fire duplicate postrender events 2020-12-24 02:25:42 +01:00
MoonE
1a952e7a41 Merge pull request #11858 from MoonE/apidoc-vectoreventtype
Correct documented event names for VectorSourceEvent
2020-12-23 12:05:11 +01:00
Maximilian Krög
efdd885571 Correct documented event names for VectorSourceEvent 2020-12-23 00:02:19 +01:00
Andreas Hocevar
cce7ecec49 Merge pull request #11849 from openlayers/dependabot/npm_and_yarn/eslint-7.16.0
Bump eslint from 7.15.0 to 7.16.0
2020-12-21 09:30:15 +01:00
Andreas Hocevar
03292860c1 Merge pull request #11848 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.3.0
Bump ol-mapbox-style from 6.2.1 to 6.3.0
2020-12-21 09:29:22 +01:00
dependabot-preview[bot]
c263b77b8a Bump copy-webpack-plugin from 6.4.0 to 6.4.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/v6.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.4.0...v6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:44:14 +00:00
dependabot-preview[bot]
62fb0a7020 Bump rollup from 2.35.0 to 2.35.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.35.0 to 2.35.1.
- [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.35.0...v2.35.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:43:46 +00:00
dependabot-preview[bot]
0facc7a096 Bump @babel/preset-env from 7.12.10 to 7.12.11
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.10 to 7.12.11.
- [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.11/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:40:37 +00:00
dependabot-preview[bot]
90cd28dab7 Bump marked from 1.2.6 to 1.2.7
Bumps [marked](https://github.com/markedjs/marked) from 1.2.6 to 1.2.7.
- [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.6...v1.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:38:32 +00:00
dependabot-preview[bot]
d79242e574 Bump eslint from 7.15.0 to 7.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.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.15.0...v7.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:37:16 +00:00
dependabot-preview[bot]
487b39f400 Bump ol-mapbox-style from 6.2.1 to 6.3.0
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.2.1...v6.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:35:39 +00:00
MoonE
d151c588a8 Merge pull request #11844 from MoonE/style-expressions-error-message
Fix Style expressions error message
2020-12-19 19:13:21 +01:00
Andreas Hocevar
f7c606c0d1 Merge pull request #11838 from changqingom/main
Custom circle render
2020-12-19 17:09:42 +01:00
changqing
6a7472617f Remove the console.log from the custom circle render example 2020-12-19 21:42:58 +08:00
Andreas Hocevar
c4f5709349 Simplify custom circle rendering 2020-12-19 21:35:00 +08:00
Maximilian Krög
d2027c1640 Get value type only once 2020-12-19 14:12:37 +01:00
Maximilian Krög
8363e66d1e Fix error message for assertArgsOdd failure 2020-12-19 14:12:37 +01:00
changqing
3393de3c54 Custom circle render example 2020-12-15 15:38:48 +08:00
changqing
811c130241 Implement custom circle render 2020-12-15 15:38:23 +08:00
MoonE
bac6f4f6e8 Merge pull request #11828 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.2.1
Bump ol-mapbox-style from 6.1.4 to 6.2.1
2020-12-15 00:01:37 +01:00
MoonE
21eeb1a56d Merge pull request #11830 from openlayers/dependabot/npm_and_yarn/jsdoc-plugin-typescript-2.0.6
Bump jsdoc-plugin-typescript from 2.0.5 to 2.0.6
2020-12-14 23:49:13 +01:00
MoonE
b4c204ad27 Merge pull request #11829 from openlayers/dependabot/npm_and_yarn/typescript-4.1.3
Bump typescript from 4.1.2 to 4.1.3
2020-12-14 23:44:35 +01:00
MoonE
0f1fd5854b Merge pull request #11833 from openlayers/dependabot/npm_and_yarn/rollup-2.35.0
Bump rollup from 2.34.2 to 2.35.0
2020-12-14 23:36:10 +01:00
MoonE
f588506bd9 Merge pull request #11834 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.4.0
Bump copy-webpack-plugin from 6.3.2 to 6.4.0
2020-12-14 23:27:40 +01:00
MoonE
ca39394817 Merge pull request #11832 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.10
Bump @babel/preset-env from 7.12.7 to 7.12.10
2020-12-14 23:24:44 +01:00
MoonE
08a2d2ef8a Merge pull request #11835 from openlayers/dependabot/npm_and_yarn/sinon-9.2.2
Bump sinon from 9.2.1 to 9.2.2
2020-12-14 23:16:30 +01:00
MoonE
f17fa23fd4 Merge pull request #11831 from openlayers/dependabot/npm_and_yarn/marked-1.2.6
Bump marked from 1.2.5 to 1.2.6
2020-12-14 23:14:20 +01:00
MoonE
d6dc7c4883 Merge pull request #11827 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.10
Bump @babel/core from 7.12.9 to 7.12.10
2020-12-14 23:08:22 +01:00
dependabot-preview[bot]
d8a76ee6a3 Bump sinon from 9.2.1 to 9.2.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits/v9.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:37:09 +00:00
dependabot-preview[bot]
1de44765f0 Bump copy-webpack-plugin from 6.3.2 to 6.4.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.2 to 6.4.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.2...v6.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:34:39 +00:00
dependabot-preview[bot]
fc1ae52378 Bump rollup from 2.34.2 to 2.35.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.34.2 to 2.35.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.34.2...v2.35.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:32:43 +00:00
dependabot-preview[bot]
bf8098192d Bump @babel/preset-env from 7.12.7 to 7.12.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.7 to 7.12.10.
- [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.10/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:30:42 +00:00
dependabot-preview[bot]
1fd8191d28 Bump marked from 1.2.5 to 1.2.6
Bumps [marked](https://github.com/markedjs/marked) from 1.2.5 to 1.2.6.
- [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.5...v1.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:29:06 +00:00
dependabot-preview[bot]
c1f96ce534 Bump jsdoc-plugin-typescript from 2.0.5 to 2.0.6
Bumps [jsdoc-plugin-typescript](https://github.com/openlayers/jsdoc-plugin-typescript) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/openlayers/jsdoc-plugin-typescript/releases)
- [Commits](https://github.com/openlayers/jsdoc-plugin-typescript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:26:59 +00:00
dependabot-preview[bot]
e2024e47b3 Bump typescript from 4.1.2 to 4.1.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:23:06 +00:00
dependabot-preview[bot]
5203d3b40e Bump ol-mapbox-style from 6.1.4 to 6.2.1
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.1.4 to 6.2.1.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.1.4...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:20:47 +00:00
dependabot-preview[bot]
6d76c4c87e Bump @babel/core from 7.12.9 to 7.12.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.9 to 7.12.10.
- [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.10/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:18:31 +00:00
Andreas Hocevar
49f03cf719 Merge pull request #11811 from mike-000/patch-6
Better getPointResolution default when no transform available
2020-12-13 22:33:09 +01:00
MoonE
797d2cc5d1 Merge pull request #11821 from MoonE/draw-finish-condition
Call the finishCondition when drawing points / circles
2020-12-11 20:51:12 +01:00
Andreas Hocevar
6cfe914841 Merge pull request #11824 from ahocevar/units
Add Units back to API docs
2020-12-11 15:48:06 +01:00
Andreas Hocevar
ec509caa78 Add Units back to API docs 2020-12-11 10:32:49 +01:00
Andreas Hocevar
a1cac71d32 Merge pull request #11820 from openlayers/dependabot/npm_and_yarn/ini-1.3.7
[Security] Bump ini from 1.3.5 to 1.3.7
2020-12-11 08:22:35 +01:00
Maximilian Krög
bd4622940e Call the finishCondition when drawing points / circles 2020-12-11 00:29:30 +01:00
dependabot-preview[bot]
c0bb3c9462 [Security] Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 17:24:01 +00:00
Andreas Hocevar
6c6b559ce4 Merge pull request #11817 from greggian/select-stop-propagation
stopPropagation support for PluggableMap
2020-12-10 16:15:25 +01:00
mike-000
51db8f9308 Test projections without transforms 2020-12-10 11:22:40 +00:00
mike-000
a9adb1850f Test projections without transforms 2020-12-10 11:18:46 +00:00
mike-000
519e10b361 tidier comments 2020-12-09 22:47:38 +00:00
Greg Gianforcaro
9c2b0677fa stopPropagation/preventDefault on originalEvent
Move stopPropagation/preventDefault to directly target the
originalEvent rather than the mapBrowserEvent.
2020-12-09 11:42:53 -05:00
Andreas Hocevar
fb9c239d72 Merge pull request #11809 from openlayers/dependabot/npm_and_yarn/yargs-16.2.0
Bump yargs from 16.1.1 to 16.2.0
2020-12-09 09:16:13 +01:00
Andreas Hocevar
09c4856a2b Merge pull request #11808 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.6
Bump worker-loader from 3.0.5 to 3.0.6
2020-12-09 09:15:17 +01:00
Andreas Hocevar
1cebbb2d71 Merge pull request #11807 from openlayers/dependabot/npm_and_yarn/eslint-7.15.0
Bump eslint from 7.14.0 to 7.15.0
2020-12-09 09:14:41 +01:00
Andreas Hocevar
bb515e24e6 Merge pull request #11806 from openlayers/dependabot/npm_and_yarn/rollup-2.34.2
Bump rollup from 2.34.0 to 2.34.2
2020-12-09 09:13:31 +01:00
Greg Gianforcaro
92f93e8e94 Resolve some test failures 2020-12-09 01:17:19 -05:00
Greg Gianforcaro
99f23caf03 Initial stopPropagation support for PluggableMap 2020-12-09 00:46:56 -05:00
Andreas Hocevar
f3ad86e8e4 Merge pull request #11815 from ahocevar/draw-regression
Remove unnecessary line that breaks drawing with multi-touch
2020-12-08 22:49:10 +01:00
Andreas Hocevar
0286b1c737 Add regression test 2020-12-08 19:47:18 +01:00
Andreas Hocevar
c557b2e7bb Remove unnecessary line that breaks drawing with multi-touch 2020-12-08 18:53:17 +01:00
Andreas Hocevar
38585d6945 Merge pull request #11800 from ahocevar/remove-last-point
Fix removeLastPoint when removing last point
2020-12-08 16:23:30 +01:00
Andreas Hocevar
ecb9778fbf Set sketch cursor to last appended coordinate 2020-12-08 16:16:14 +01:00
mike-000
884799db20 Add ScaleLine (based on projection units) 2020-12-08 14:01:20 +00:00
Andreas Hocevar
0bd04eafe0 Pass around pixels/coords to fix appendCoordinates 2020-12-08 14:52:36 +01:00
Andreas Hocevar
ec53d4fc57 Remove no longer needed checks for coordinates.length 2020-12-08 14:52:35 +01:00
Andreas Hocevar
651c1aa6c4 Fix removeLastPoint when removing last point 2020-12-08 14:52:35 +01:00
mike-000
2bb8aa0f32 Better default when no transform available
Do not use identityTransform for EPSG:4326 transform unless units are degrees
2020-12-07 17:32:08 +00:00
dependabot-preview[bot]
5af1a1dee7 Bump yargs from 16.1.1 to 16.2.0
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.1 to 16.2.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.1.1...v16.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 07:22:34 +00:00
dependabot-preview[bot]
64120ddde0 Bump worker-loader from 3.0.5 to 3.0.6
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.5 to 3.0.6.
- [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.5...v3.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 07:20:54 +00:00
dependabot-preview[bot]
b08608b2db Bump eslint from 7.14.0 to 7.15.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.14.0 to 7.15.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.14.0...v7.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 07:19:37 +00:00
dependabot-preview[bot]
a25c2ce548 Bump rollup from 2.34.0 to 2.34.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.34.0 to 2.34.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.34.0...v2.34.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 07:17:17 +00:00
Andreas Hocevar
62c7853ed7 Merge pull request #11769 from ahocevar/modify-dx
Modify interaction developer experience improvements
2020-12-07 00:11:36 +01:00
Andreas Hocevar
ed3c45d3f8 Fix tolerance typo 2020-12-06 22:12:13 +01:00
Andreas Hocevar
b6eb429f77 Always drag using pointer location, not vertex location 2020-12-06 18:11:15 +01:00
Andreas Hocevar
0e15720f2e Make use of the Modify interaction's overlay source 2020-12-06 17:02:04 +01:00
Andreas Hocevar
44e054d528 When hit detected, only consider hit node 2020-12-06 16:51:15 +01:00
Andreas Hocevar
630a72f222 Fix API docs
Co-authored-by: MoonE <maxi_kroeg@web.de>
2020-12-06 16:51:15 +01:00
Andreas Hocevar
1473731854 Use existing collection 2020-12-06 16:51:15 +01:00
Andreas Hocevar
18d15879bf Reuse featuresBeingModified_ collection 2020-12-06 16:51:15 +01:00
Andreas Hocevar
128d20abf3 Simpler API with hitDetection option 2020-12-06 16:51:15 +01:00
Andreas Hocevar
d0a1c10cec Add example for Modify with hit detection 2020-12-06 16:51:14 +01:00
Andreas Hocevar
9b31deb38f Simplify API and code 2020-12-06 16:51:14 +01:00
Andreas Hocevar
db6eb040d2 Improve documentation 2020-12-06 16:51:14 +01:00
Andreas Hocevar
314724d880 Add geometries property to vertex feature 2020-12-06 16:51:14 +01:00
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
Andreas Hocevar
64d2893ace Merge pull request #11759 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.7
Bump @babel/preset-env from 7.12.1 to 7.12.7
2020-11-23 16:26:34 +01:00
Andreas Hocevar
0116d69fbd Merge pull request #11757 from openlayers/dependabot/npm_and_yarn/marked-1.2.5
Bump marked from 1.2.4 to 1.2.5
2020-11-23 16:25:10 +01:00
Andreas Hocevar
982db9178a Merge pull request #11756 from openlayers/dependabot/npm_and_yarn/puppeteer-5.5.0
Bump puppeteer from 5.4.1 to 5.5.0
2020-11-23 16:24:42 +01:00
mike-000
1c529a9e2f document rotation direction 2020-11-23 14:41:30 +00:00
mike-000
540e5faa74 document rotation direction 2020-11-23 14:41:19 +00:00
mike-000
35266c47a3 document fromCircle angle direction and 0 2020-11-23 14:35:40 +00:00
Andreas Hocevar
231390a1f0 Handle center constraint properly 2020-11-23 13:12:32 +01:00
dependabot-preview[bot]
d3ade77b4a Bump copy-webpack-plugin from 6.3.1 to 6.3.2
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.1...v6.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 08:06:33 +00:00
dependabot-preview[bot]
e7b06c412c Bump eslint from 7.13.0 to 7.14.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.13.0 to 7.14.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.13.0...v7.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 08:05:06 +00:00
dependabot-preview[bot]
ad9a7a152b Bump typescript from 4.0.5 to 4.1.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 08:03:49 +00:00
dependabot-preview[bot]
a3aa400cbd Bump @babel/preset-env from 7.12.1 to 7.12.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.1 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-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 07:59:40 +00:00
dependabot-preview[bot]
fa17e40c85 Bump marked from 1.2.4 to 1.2.5
Bumps [marked](https://github.com/markedjs/marked) from 1.2.4 to 1.2.5.
- [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.4...v1.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 07:57:33 +00:00
dependabot-preview[bot]
cc87e508b9 Bump puppeteer from 5.4.1 to 5.5.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.4.1 to 5.5.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/v5.4.1...v5.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 07:56:21 +00:00
Andreas Hocevar
0e2d17b9c6 Add padding option for View 2020-11-22 18:52:46 +01:00
Andreas Hocevar
9d255be87c Merge pull request #11754 from ahocevar/compass-typo
Fix typo that prevents Rotate icon from indicating the view rotation
2020-11-22 10:44:41 +01:00
Andreas Hocevar
19aeed3e3c Fix typo that prevents Rotate icon from indicating the view rotation 2020-11-22 10:35:31 +01:00
Andreas Hocevar
dd95f56e26 Merge pull request #11719 from ahocevar/less-aggressie-3857-clamping
Clamp EPSG:3857 y to lowest/highest possible value instead of validity extent
2020-11-19 13:51:47 +01:00
Andreas Hocevar
698fca2d56 Merge pull request #11737 from ahocevar/esrijson-wkid
Write the correct SRS code in EsriJSON
2020-11-19 13:50:56 +01:00
Andreas Hocevar
e44f23f806 Merge pull request #11749 from ahocevar/snap-tolerance
Document that snapTolerance must be greater than 0
2020-11-18 12:45:03 +01:00
Andreas Hocevar
f1c8c0770d Merge pull request #11750 from mike-000/patch-14
Update TMS tileUrlFunction example in ol/source/XYZ documentation
2020-11-18 12:44:40 +01:00
mike-000
d42b7d4fba Update TMS tileUrlFunction example 2020-11-18 11:11:06 +00:00
mike-000
d4f7b40b95 Update TMS tileUrlFunction example 2020-11-18 10:44:41 +00:00
Andreas Hocevar
9885b79509 Document that snapTolerance must be greater than 0 2020-11-18 10:44:41 +01:00
Andreas Hocevar
f054971bae Merge pull request #11739 from boeckMt/fix-layer-at-pixel-image
Fix: Check for layer extent in CanvasLayerRenderer.getDataAtPixel
2020-11-16 14:53:45 +01:00
Mathias Boeck
eb41939474 Add test for layer hit on cross-origin canvas 2020-11-16 14:17:06 +01:00
Mathias Boeck
a92bc2755d Check if render pixel is in the layer extent 2020-11-16 14:13:21 +01:00
Andreas Hocevar
a9f2dde2c9 Merge pull request #11748 from mike-000/patch-13
Add fetch and TextDecoder to polyfill list in README
2020-11-16 14:05:15 +01:00
Andreas Hocevar
168e7d7923 Merge pull request #11740 from ger-benjamin/wfs_bbox_per_feature_type_11187
Wfs bbox per feature type
2020-11-16 13:58:50 +01:00
Benjamin Gerber
d807f13a93 Add featureTypesBbox option on WFS writeGetFeature
Add a possibility to provide one specific bbox per feature type
on WFS writeGetFeature. This option results to one query node
per featureTypesBbox item. One query node, for one feature type,
will have a specific bbox filter and every query node will share
the same others filters (if a filter option is defined).
2020-11-16 12:59:30 +01:00
mike-000
9101b2723a Add fetch and TextDecoder to polyfills 2020-11-16 11:00:56 +00:00
Andreas Hocevar
70ec0a1fad Merge pull request #11747 from openlayers/dependabot/npm_and_yarn/rollup-2.33.2
Bump rollup from 2.33.1 to 2.33.2
2020-11-16 10:46:07 +01:00
Andreas Hocevar
dd2026796d Merge pull request #11746 from openlayers/dependabot/npm_and_yarn/babel-loader-8.2.1
Bump babel-loader from 8.1.0 to 8.2.1
2020-11-16 10:45:36 +01:00
Andreas Hocevar
d61080e667 Merge pull request #11745 from openlayers/dependabot/npm_and_yarn/yargs-16.1.1
Bump yargs from 16.1.0 to 16.1.1
2020-11-16 10:44:59 +01:00
Andreas Hocevar
e25ac4e299 Merge pull request #11744 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-4.0.2
Bump webpack-dev-middleware from 4.0.0 to 4.0.2
2020-11-16 10:44:25 +01:00
Andreas Hocevar
e95c20ba04 Merge pull request #11743 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.3.1
Bump copy-webpack-plugin from 6.3.0 to 6.3.1
2020-11-16 10:43:48 +01:00
Andreas Hocevar
fe8f2ffc2c Merge pull request #11742 from openlayers/dependabot/npm_and_yarn/marked-1.2.4
Bump marked from 1.2.3 to 1.2.4
2020-11-16 10:43:15 +01:00
dependabot-preview[bot]
774af34f27 Bump rollup from 2.33.1 to 2.33.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.1 to 2.33.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.33.1...v2.33.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:42:32 +00:00
dependabot-preview[bot]
8bbcf68890 Bump babel-loader from 8.1.0 to 8.2.1
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.1.0 to 8.2.1.
- [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.1.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:41:07 +00:00
dependabot-preview[bot]
974f2cbf66 Bump yargs from 16.1.0 to 16.1.1
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.0 to 16.1.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.1.0...v16.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:38:35 +00:00
dependabot-preview[bot]
f934c14f9f Bump webpack-dev-middleware from 4.0.0 to 4.0.2
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v4.0.0...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:37:04 +00:00
dependabot-preview[bot]
56afb3f6af Bump copy-webpack-plugin from 6.3.0 to 6.3.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.3.0...v6.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:35:59 +00:00
dependabot-preview[bot]
846d8298a2 Bump marked from 1.2.3 to 1.2.4
Bumps [marked](https://github.com/markedjs/marked) from 1.2.3 to 1.2.4.
- [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.3...v1.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:34:44 +00:00
Benjamin Gerber
843010bfcf Remove useless if statement on WFS writeGetFeature
Remove the if(options) {} statement as the options is not optional and
the further code expect to have this parameter.
2020-11-16 06:14:25 +01:00
Andreas Hocevar
11b9a0f5ed Merge pull request #11722 from ahocevar/text-align-rtl
Correct meaning of 'start' and 'end' text align for LTR text
2020-11-15 20:45:16 +01:00
Andreas Hocevar
66f8c580d1 Remove unnecessary property 2020-11-15 20:39:52 +01:00
Andreas Hocevar
911f08c57f Merge pull request #11741 from bz2/include_license
Include LICENSE.md in built package
2020-11-15 09:27:22 +01:00
Andreas Hocevar
0a5483043d Improve readability of rendering test 2020-11-15 09:22:22 +01:00
Andreas Hocevar
7232001d9f Regex with better distinction between LTR and RTL characters
Co-authored-by: MoonE <maxi_kroeg@web.de>
2020-11-15 08:59:43 +01:00
Martin Packman
a2a8c6dc87 Include LICENSE.md in built package
Copy LICENSE.md as well as README.md to build when preparing package.
These files are useful for tools that inspect node_modules for
dependency details.
2020-11-14 15:08:21 +00:00
Andreas Hocevar
8916667e94 Update ESRI editing example to use a different service 2020-11-12 17:08:26 +01:00
Andreas Hocevar
bc8f0252a7 Add test for when neither dataProjection nor featureProjection are set 2020-11-12 11:34:26 +01:00
Andreas Hocevar
619fd4965b Write the correct SRS code in EsriJSON 2020-11-12 11:20:49 +01:00
Benjamin Gerber
a56d9bbb51 Better doc for WFS writeGetFeature options.
The geometryName option is required if you set the bbox option.
2020-11-11 13:06:16 +01:00
Andreas Hocevar
db180c555e Merge pull request #11718 from ahocevar/draw-extend
Initialize sketch point on Draw#extend()
2020-11-11 09:40:42 +01:00
Andreas Hocevar
05b63869d5 Merge pull request #11732 from mike-000/patch-23
Replace readURI with readStyleURL for KML StyleURLs
2020-11-10 16:04:34 +01:00
mike-000
5d8212e48f Replace readURI with readStyleURL for StyleURLs
readStyleURL ensures URL begins with # if it does not contain one
Remove old partial fix
Test handling of missing # in StyleURL
2020-11-10 14:42:20 +00:00
Tim Schaub
739f7f4c39 Merge pull request #11723 from mike-000/patch-22
Drag and Drop Interaction support for formats that read ArrayBuffer sources
2020-11-09 14:29:05 -07:00
mike-000
c5cd29e2ac Link label to checkbox 2020-11-09 21:06:59 +00:00
mike-000
a6860118c7 Support formats that read ArrayBuffer sources
Drag-and-Drop support for formats that read arraybuffer sources
Add TextDecoder to polyfills
Add custom Drag-and-Drop examples for KMZ and MVT
Add sample download and KML styles option to existing example
Test arraybuffer and constructed formats
2020-11-09 17:02:31 +00:00
Andreas Hocevar
1273e68a38 Merge pull request #11731 from openlayers/dependabot/npm_and_yarn/mocha-8.2.1
Bump mocha from 8.2.0 to 8.2.1
2020-11-09 09:33:26 +01:00
dependabot-preview[bot]
fd1314a85d Bump mocha from 8.2.0 to 8.2.1
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.0 to 8.2.1.
- [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.0...v8.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:43:13 +00:00
Andreas Hocevar
1226fdfcca Merge pull request #11730 from openlayers/dependabot/npm_and_yarn/marked-1.2.3
Bump marked from 1.2.2 to 1.2.3
2020-11-09 08:40:52 +01:00
Andreas Hocevar
70541c0497 Merge pull request #11729 from openlayers/dependabot/npm_and_yarn/eslint-7.13.0
Bump eslint from 7.12.1 to 7.13.0
2020-11-09 08:40:13 +01:00
Andreas Hocevar
c3b9e949bd Merge pull request #11728 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.2.0
Bump webpack-cli from 4.1.0 to 4.2.0
2020-11-09 08:39:20 +01:00
Andreas Hocevar
abaaace885 Merge pull request #11727 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-2.1.0
Bump karma-firefox-launcher from 2.0.0 to 2.1.0
2020-11-09 08:34:50 +01:00
Andreas Hocevar
96b5d8148b Merge pull request #11726 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.3.0
Bump copy-webpack-plugin from 6.2.1 to 6.3.0
2020-11-09 08:33:55 +01:00
dependabot-preview[bot]
207e5ebeea Bump marked from 1.2.2 to 1.2.3
Bumps [marked](https://github.com/markedjs/marked) from 1.2.2 to 1.2.3.
- [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.2...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:29:22 +00:00
dependabot-preview[bot]
5b57aa8617 Bump eslint from 7.12.1 to 7.13.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.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.12.1...v7.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:27:42 +00:00
dependabot-preview[bot]
085e93e799 Bump webpack-cli from 4.1.0 to 4.2.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.1.0 to 4.2.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.1.0...webpack-cli@4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:26:53 +00:00
dependabot-preview[bot]
c1367d2dd3 Bump karma-firefox-launcher from 2.0.0 to 2.1.0
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:25:30 +00:00
dependabot-preview[bot]
8e1ed424f6 Bump copy-webpack-plugin from 6.2.1 to 6.3.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.1...v6.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:24:26 +00:00
Tim Schaub
bc75ad495e Merge pull request #11724 from MoonE/tilesources-add-transition-option
Add transition option to OSM and CartoDB sources, document default
2020-11-08 11:19:14 -07:00
Maximilian Krög
2ebe90f9d3 Add transition option to OSM and CartoDB sources, document default 2020-11-07 22:37:10 +01:00
Andreas Hocevar
7cc45c967b Correct meaning of 'start' and 'end' text align for LTR text 2020-11-06 18:13:50 +01:00
Andreas Hocevar
bdd343e87b Merge pull request #11721 from mike-000/patch-21
Handle empty Z coordinates in KML
2020-11-06 13:38:06 +01:00
Andreas Hocevar
946d11269f Merge pull request #11587 from MoonE/fix-text-along-path-orientation
Determine orientation by actual text start and end x
2020-11-06 13:35:55 +01:00
mike-000
6bc0bf8640 Test reading XY and empty Z coordinates 2020-11-06 10:32:39 +00:00
mike-000
f4654ff146 Handle empty Z coordinates 2020-11-06 10:19:29 +00:00
Andreas Hocevar
2a46063d1f Merge pull request #11720 from ahocevar/winding-order-algorithm
Return to simpler and less efficient winding order algorithm
2020-11-06 10:48:46 +01:00
Andreas Hocevar
c1a547a9af Return to simpler and less efficient winding order algorithm 2020-11-06 00:02:01 +01:00
Andreas Hocevar
2526dc738c More straithgforward calculation of MAX_SAFE_Y
Co-authored-by: MoonE <maxi_kroeg@web.de>
2020-11-05 23:11:56 +01:00
Maximilian Krög
b3968a4219 Change textpath tests to work with changed method / return. 2020-11-05 22:35:54 +01:00
Maximilian Krög
b6ee7084c9 Fix stroke for text along path wiht negative x scale 2020-11-05 22:35:54 +01:00
Maximilian Krög
03f6cbb5a8 Draw substrings on straight line in one operation 2020-11-05 22:35:54 +01:00
Maximilian Krög
528833b05b Don't iterate each chracter if entire string fits in single segment 2020-11-05 22:35:54 +01:00
Andreas Hocevar
9804dc8fa3 Clamp to lowest/highest possible value instead of validity extent 2020-11-05 21:51:05 +01:00
Andreas Hocevar
df261f6e0f Initialize sketch point on Draw#extend() 2020-11-05 18:27:40 +01:00
Andreas Hocevar
9c5e61ffb0 Merge pull request #11715 from ahocevar/legacy-full
Add all symbols to the legacy build
2020-11-05 10:46:30 +01:00
Andreas Hocevar
f242b7d618 Update inline comments 2020-11-05 10:40:45 +01:00
Tim Schaub
7f51bce311 Merge pull request #11716 from mike-000/patch-20
Treat svg as binary resource
2020-11-04 18:31:31 -07:00
mike-000
1f991b980b Treat svg as binary resource 2020-11-04 20:59:54 +00:00
Andreas Hocevar
68d6a6b84c Add all symbols to the legacy build 2020-11-04 19:56:24 +01:00
Andreas Hocevar
00415c6774 Merge pull request #11708 from openlayers/dependabot/npm_and_yarn/rollup-2.33.1
Bump rollup from 2.32.1 to 2.33.1
2020-11-04 10:30:37 +01:00
Andreas Hocevar
95c3ef7a20 Merge pull request #11705 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-4.0.0
Bump webpack-dev-middleware from 3.7.2 to 4.0.0
2020-11-04 10:29:49 +01:00
Andreas Hocevar
d9e0ddeb75 Exit process when done 2020-11-04 10:24:14 +01:00
Andreas Hocevar
7519641d98 Use express for webpack-dev-middleware requirement 2020-11-03 23:11:24 +01:00
Tim Schaub
9182bdcb33 Merge pull request #11706 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.12
Bump url-polyfill from 1.1.11 to 1.1.12
2020-11-03 06:36:30 -07:00
dependabot-preview[bot]
9e09070a9f Bump rollup from 2.32.1 to 2.33.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.32.1 to 2.33.1.
- [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.32.1...v2.33.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 13:36:28 +00:00
Tim Schaub
10dc59e43e Merge pull request #11707 from openlayers/dependabot/npm_and_yarn/typescript-4.0.5
Bump typescript from 4.0.3 to 4.0.5
2020-11-03 06:35:43 -07:00
Tim Schaub
f18b8f51e4 Merge pull request #11709 from openlayers/dependabot/npm_and_yarn/sinon-9.2.1
Bump sinon from 9.2.0 to 9.2.1
2020-11-03 06:34:59 -07:00
Tim Schaub
8821ce8109 Merge pull request #11710 from openlayers/dependabot/npm_and_yarn/puppeteer-5.4.1
Bump puppeteer from 5.4.0 to 5.4.1
2020-11-03 06:34:09 -07:00
Tim Schaub
c67b9c76f4 Merge pull request #11711 from openlayers/dependabot/npm_and_yarn/eslint-7.12.1
Bump eslint from 7.12.0 to 7.12.1
2020-11-03 06:32:52 -07:00
Andreas Hocevar
5380a93aea Remove options that are no longer valid 2020-11-02 19:49:38 +01:00
Andreas Hocevar
88fa3942d8 Merge pull request #11698 from ahocevar/draw-pointer
Draw pointer improvements
2020-11-02 18:40:12 +01:00
Andreas Hocevar
4fe8c54146 Input is a void element
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2020-11-02 11:14:25 +01:00
Andreas Hocevar
5b9ec1607d Move stats option to parent config 2020-11-02 09:28:53 +01:00
dependabot-preview[bot]
c823223bb7 Bump eslint from 7.12.0 to 7.12.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.0 to 7.12.1.
- [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.12.0...v7.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:39:47 +00:00
dependabot-preview[bot]
fe4a298d9f Bump puppeteer from 5.4.0 to 5.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.4.0 to 5.4.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.4.0...v5.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:38:50 +00:00
dependabot-preview[bot]
0aee677248 Bump sinon from 9.2.0 to 9.2.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.0 to 9.2.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:37:19 +00:00
dependabot-preview[bot]
60f5125fd5 Bump typescript from 4.0.3 to 4.0.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:35:02 +00:00
dependabot-preview[bot]
37273096d3 Bump url-polyfill from 1.1.11 to 1.1.12
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases)
- [Commits](https://github.com/lifaon74/url-polyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:34:03 +00:00
dependabot-preview[bot]
40cec8be6a Bump webpack-dev-middleware from 3.7.2 to 4.0.0
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 3.7.2 to 4.0.0.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v3.7.2...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:33:08 +00:00
Andreas Hocevar
0ac52b2511 Merge pull request #11490 from mike-000/patch-13
iconUrlFunction option for ol/format/KML
2020-11-01 11:02:38 +01:00
Andreas Hocevar
4980e58db0 Add undo to draw-features example 2020-10-31 11:58:52 +01:00
Andreas Hocevar
48f357d518 Visual feedback for removeLastPoint() on touch devices 2020-10-29 22:06:51 +01:00
Andreas Hocevar
23a544aa30 Only draw when one pointer is active 2020-10-29 20:00:12 +01:00
Tim Schaub
a1a59b4408 Merge pull request #11689 from openlayers/dependabot/npm_and_yarn/pngjs-6.0.0
Bump pngjs from 5.0.0 to 6.0.0
2020-10-28 06:47:23 -06:00
Andreas Hocevar
b55d50d141 Merge pull request #11628 from simonseyock/vector-source-load-events
VectorSource load events
2020-10-27 19:42:45 +01:00
dependabot-preview[bot]
5d12f471a7 Bump pngjs from 5.0.0 to 6.0.0
Bumps [pngjs](https://github.com/lukeapage/pngjs) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/lukeapage/pngjs/releases)
- [Commits](https://github.com/lukeapage/pngjs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 13:01:43 +00:00
Tim Schaub
22cf7a162b Merge pull request #11686 from openlayers/dependabot/npm_and_yarn/shx-0.3.3
Bump shx from 0.3.2 to 0.3.3
2020-10-27 06:59:47 -06:00
Tim Schaub
f4c604c621 Merge pull request #11683 from openlayers/dependabot/npm_and_yarn/puppeteer-5.4.0
Bump puppeteer from 5.3.1 to 5.4.0
2020-10-27 06:59:10 -06:00
Tim Schaub
95ba9a6584 Merge pull request #11682 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-2.0.0
Bump karma-firefox-launcher from 1.3.0 to 2.0.0
2020-10-27 06:52:38 -06:00
dependabot-preview[bot]
02549e0269 Bump puppeteer from 5.3.1 to 5.4.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.3.1...v5.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 12:52:02 +00:00
dependabot-preview[bot]
990bf0739b Bump shx from 0.3.2 to 0.3.3
Bumps [shx](https://github.com/shelljs/shx) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/shelljs/shx/releases)
- [Changelog](https://github.com/shelljs/shx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shx/compare/v0.3.2...v0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 12:51:33 +00:00
Tim Schaub
e44fb25e27 Merge pull request #11684 from openlayers/dependabot/npm_and_yarn/marked-1.2.2
Bump marked from 1.2.0 to 1.2.2
2020-10-27 06:51:12 -06:00
Tim Schaub
5789355fb1 Merge pull request #11685 from openlayers/dependabot/npm_and_yarn/rollup-2.32.1
Bump rollup from 2.32.0 to 2.32.1
2020-10-27 06:50:35 -06:00
Tim Schaub
4abc55e396 Merge pull request #11688 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.1.0
Bump webpack-cli from 4.0.0 to 4.1.0
2020-10-27 06:49:43 -06:00
Tim Schaub
612c399193 Merge pull request #11687 from openlayers/dependabot/npm_and_yarn/eslint-7.12.0
Bump eslint from 7.11.0 to 7.12.0
2020-10-27 06:48:51 -06:00
Simon Seyock
9b6114b768 Added clearer documentation 2020-10-27 09:35:38 +01:00
Andreas Hocevar
3e22d46e27 Merge pull request #11691 from ahocevar/parcel2
Use Parcel v2 in copy/paste example code
2020-10-26 18:28:19 +01:00
Andreas Hocevar
aa918d44c5 Use Parcel v2 in copy/paste example code 2020-10-26 11:55:14 +01:00
dependabot-preview[bot]
d3a2d08cd0 Bump webpack-cli from 4.0.0 to 4.1.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.0.0 to 4.1.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.0.0...webpack-cli@4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 07:31:44 +00:00
dependabot-preview[bot]
bbcdbd89e0 Bump eslint from 7.11.0 to 7.12.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.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.11.0...v7.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 07:29:56 +00:00
dependabot-preview[bot]
47d7964e85 Bump rollup from 2.32.0 to 2.32.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.32.0 to 2.32.1.
- [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.32.0...v2.32.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 07:28:23 +00:00
dependabot-preview[bot]
0163ffd066 Bump marked from 1.2.0 to 1.2.2
Bumps [marked](https://github.com/markedjs/marked) from 1.2.0 to 1.2.2.
- [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.0...v1.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 07:27:43 +00:00
dependabot-preview[bot]
e02414a89d Bump karma-firefox-launcher from 1.3.0 to 2.0.0
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v1.3.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 07:25:46 +00:00
Simon Seyock
1bafab49f5 Added FEATURELOADSTART, FEATURELOADEND and FEATURELOADERROR events. 2020-10-25 21:38:57 +01:00
Andreas Hocevar
f4469934b8 Merge pull request #11673 from ahocevar/no-multitouch-as-doubleclick
Do not emulate dblclick and slingleclick on multi-touch
2020-10-22 11:00:38 +02:00
Andreas Hocevar
b9dd297293 Merge pull request #11676 from mike-000/patch-18
Fix countries.geojson Antarctica polygon so it wraps correctly
2020-10-22 08:39:26 +02:00
mike-000
672c8afb0b Fix Antarctica polygon so it wraps correctly 2020-10-21 23:04:41 +01:00
Andreas Hocevar
de1b4ddb97 Improve tests and fix singleclick 2020-10-21 16:40:16 +02:00
Andreas Hocevar
63a784531d Do not emulate dblclick on multi-touch 2020-10-21 00:44:25 +02:00
Maximilian Krög
7660f3c522 Determine orientation by actual text start and end x 2020-10-20 22:46:04 +02:00
Andreas Hocevar
9c964ce6de Merge pull request #11646 from ahocevar/unique-tile-key
Ensure a unique tile key for each tile coordinate
2020-10-20 21:12:04 +02:00
Andreas Hocevar
ee980276b6 Merge pull request #11655 from ahocevar/vectortile-image-mode-docs
Fix documentation of image render mode for vector tile layers
2020-10-20 21:09:06 +02:00
Andreas Hocevar
0c876c06be Merge pull request #11668 from tapioko/main
Don't try to get image data for zero sized images
2020-10-19 16:05:22 +02:00
Tapio Koskinen
3983500601 Don't try to get image data for zero sized images
Otherwise "context.getImageData(0, 0, width, height)" throws an exception.
2020-10-19 13:57:30 +03:00
Andreas Hocevar
aad9cf4641 Merge pull request #11666 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.5
Bump worker-loader from 3.0.4 to 3.0.5
2020-10-19 11:49:16 +02:00
Andreas Hocevar
7600988429 Merge pull request #11665 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.11
Bump url-polyfill from 1.1.10 to 1.1.11
2020-10-19 11:48:12 +02:00
Andreas Hocevar
e67b1740f1 Merge pull request #11664 from openlayers/dependabot/npm_and_yarn/babel/core-7.12.3
Bump @babel/core from 7.11.6 to 7.12.3
2020-10-19 11:47:33 +02:00
Andreas Hocevar
151a53932b Merge pull request #11663 from openlayers/dependabot/npm_and_yarn/yargs-16.1.0
Bump yargs from 16.0.3 to 16.1.0
2020-10-19 11:46:56 +02:00
Andreas Hocevar
3d9bc2586e Merge pull request #11662 from openlayers/dependabot/npm_and_yarn/mocha-8.2.0
Bump mocha from 8.1.3 to 8.2.0
2020-10-19 11:46:15 +02:00
Andreas Hocevar
ef5b15bb29 Merge pull request #11661 from openlayers/dependabot/npm_and_yarn/rollup-2.32.0
Bump rollup from 2.29.0 to 2.32.0
2020-10-19 11:45:14 +02:00
dependabot-preview[bot]
da71413420 Bump @babel/core from 7.11.6 to 7.12.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.6 to 7.12.3.
- [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.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 09:31:08 +00:00
Andreas Hocevar
ce7e4ca477 Merge pull request #11660 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.12.1
Bump @babel/preset-env from 7.11.5 to 7.12.1
2020-10-19 11:28:20 +02:00
Andreas Hocevar
f9dab60ca0 Merge pull request #11648 from virtualcitySYSTEMS/dwithin
Dwithin filter
2020-10-19 11:18:44 +02:00
Jannes Bolling
6b86c5f78d recreate old during filter behaviour for backwardscompatibility 2020-10-19 10:37:13 +02:00
dependabot-preview[bot]
34cb510a91 Bump worker-loader from 3.0.4 to 3.0.5
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.4 to 3.0.5.
- [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.4...v3.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:29:18 +00:00
dependabot-preview[bot]
c2022dbc2a Bump url-polyfill from 1.1.10 to 1.1.11
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill) from 1.1.10 to 1.1.11.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases)
- [Commits](https://github.com/lifaon74/url-polyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:27:56 +00:00
dependabot-preview[bot]
9bc0a657a5 Bump yargs from 16.0.3 to 16.1.0
Bumps [yargs](https://github.com/yargs/yargs) from 16.0.3 to 16.1.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.0.3...v16.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:25:55 +00:00
dependabot-preview[bot]
b691a6e1c0 Bump mocha from 8.1.3 to 8.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.3 to 8.2.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.1.3...v8.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:24:45 +00:00
dependabot-preview[bot]
44fd6ddfff Bump rollup from 2.29.0 to 2.32.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.29.0 to 2.32.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.29.0...v2.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:23:53 +00:00
dependabot-preview[bot]
538337da52 Bump @babel/preset-env from 7.11.5 to 7.12.1
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.5 to 7.12.1.
- [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.1/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:23:16 +00:00
Andreas Hocevar
f102e11bbe Merge pull request #11658 from MoonE/webpack-dev-server
Make webpack dev server run with current version
2020-10-18 19:48:47 +02:00
Maximilian Krög
a5202523b9 Make webpack dev server run with current version 2020-10-17 21:11:31 +02:00
Andreas Hocevar
bfeeba2194 Merge pull request #11590 from sbrunner/export-type
Export all the Event sub class
2020-10-17 20:38:54 +02:00
Andreas Hocevar
0ef2421e22 Merge pull request #11594 from mike-000/patch-14
Display current OS copyright date in the Raster Reprojection example
2020-10-17 20:34:42 +02:00
Marc Jansen
4e0f510b48 Merge pull request #11657 from mike-000/patch-17
Use https to avoid security warnings
2020-10-17 15:58:54 +02:00
mike-000
8289d2a516 use https to avoid security warnings 2020-10-17 13:17:29 +01:00
Andreas Hocevar
ffdece9dac Fix documentation of image render mode for vector tile layers 2020-10-16 10:31:39 +02:00
Jannes Bolling
b271536b8b fix Filter namespace handling for WFS 2.0 requests 2020-10-15 18:50:55 +02:00
Andreas Hocevar
582856bbd1 Merge pull request #11649 from ahocevar/units-proj4-longlat
Deal with undefined units from proj4 longlat projections
2020-10-15 16:44:35 +02:00
Andreas Hocevar
527a8ca810 Deal with undefined units from proj4 longlat projections 2020-10-15 00:03:00 +02:00
Jannes Bolling
7261e25566 fix distanceWithin for WFS2.0 2020-10-14 19:09:26 +02:00
Jannes Bolling
259f1e371f refactor spatial filter serialization 2020-10-14 18:32:26 +02:00
Jannes Bolling
ab43047e7a add new DistanceWithin Filter 2020-10-14 18:15:54 +02:00
Andreas Hocevar
7d6e6fda28 Use a unique key for all tile classes 2020-10-13 22:35:12 +02:00
Tim Schaub
d4acf2ce10 Merge pull request #11643 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.3
Bump terser-webpack-plugin from 4.2.2 to 4.2.3
2020-10-13 05:38:13 -06:00
Tim Schaub
1c66e9854d Merge pull request #11645 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.0.0
Bump webpack-cli from 3.3.12 to 4.0.0
2020-10-13 04:48:05 -06:00
Tim Schaub
630da927fd Merge pull request #11644 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.2.1
Bump copy-webpack-plugin from 6.2.0 to 6.2.1
2020-10-13 04:46:43 -06:00
Tim Schaub
f7983a04eb Merge pull request #11642 from openlayers/dependabot/npm_and_yarn/sinon-9.2.0
Bump sinon from 9.1.0 to 9.2.0
2020-10-13 04:44:12 -06:00
Tim Schaub
5467d016f7 Merge pull request #11641 from openlayers/dependabot/npm_and_yarn/rollup-2.29.0
Bump rollup from 2.28.2 to 2.29.0
2020-10-13 04:43:10 -06:00
Tim Schaub
1d8b0d3712 Merge pull request #11640 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.4
Bump worker-loader from 3.0.3 to 3.0.4
2020-10-13 04:42:33 -06:00
Tim Schaub
cc07c08a15 Merge pull request #11639 from openlayers/dependabot/npm_and_yarn/eslint-7.11.0
Bump eslint from 7.10.0 to 7.11.0
2020-10-13 04:41:45 -06:00
dependabot-preview[bot]
7127543a60 Bump webpack-cli from 3.3.12 to 4.0.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.12 to 4.0.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/v3.3.12...webpack-cli@4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:35:49 +00:00
dependabot-preview[bot]
6c750ae510 Bump copy-webpack-plugin from 6.2.0 to 6.2.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.2.0...v6.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:34:14 +00:00
dependabot-preview[bot]
993efe9830 Bump terser-webpack-plugin from 4.2.2 to 4.2.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.2.2...v4.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:32:29 +00:00
dependabot-preview[bot]
81581b5e45 Bump sinon from 9.1.0 to 9.2.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.1.0...v9.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:31:10 +00:00
dependabot-preview[bot]
f70610396e Bump rollup from 2.28.2 to 2.29.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.2 to 2.29.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.28.2...v2.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:30:10 +00:00
dependabot-preview[bot]
45f9c55cc1 Bump worker-loader from 3.0.3 to 3.0.4
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.3 to 3.0.4.
- [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.3...v3.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:28:32 +00:00
dependabot-preview[bot]
72d06d3bb0 Bump eslint from 7.10.0 to 7.11.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.10.0 to 7.11.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.10.0...v7.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 07:27:20 +00:00
Andreas Hocevar
de5287a9ec Merge pull request #11403 from cazacugmihai/main
#11402 add CSS class name support for control buttons
2020-10-10 19:41:06 +02:00
Andreas Hocevar
eba0ba6ae0 Merge pull request #11592 from ahocevar/new-declutter
New decluttering implementation
2020-10-07 10:33:33 +02:00
Simon Seyock
393e83cd29 Extending FeatureLoader type and refactoring loadFeaturesXhr 2020-10-06 10:29:07 +02:00
Andreas Hocevar
c9ebf79df5 Add types and comments to make combined image+text decluttering clearer 2020-10-05 19:17:22 +02:00
Tim Schaub
67b683f38b Merge pull request #11622 from openlayers/dependabot/npm_and_yarn/sinon-9.1.0
Bump sinon from 9.0.3 to 9.1.0
2020-10-05 09:04:01 -06:00
Tim Schaub
8b92ee20f5 Merge pull request #11623 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.2.0
Bump copy-webpack-plugin from 6.1.1 to 6.2.0
2020-10-05 09:03:13 -06:00
Maximilian Krög
187a216379 Do not draw empty text styles
This fixes a rendering/flicker issue when an empty text style is decluttered
together with an image style.
2020-10-05 12:20:04 +02:00
dependabot-preview[bot]
a465dd01fc Bump copy-webpack-plugin from 6.1.1 to 6.2.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.1.1...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 07:34:22 +00:00
dependabot-preview[bot]
8c45984dc4 Bump sinon from 9.0.3 to 9.1.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.3 to 9.1.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.3...v9.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 07:32:53 +00:00
Andreas Hocevar
1ec6713f31 Merge pull request #11618 from mike-000/patch-16
Update the Marker Animation example
2020-10-04 17:45:49 +02:00
Marc Jansen
f3d92f013b Merge pull request #11620 from MoonE/examples-code-add-charset
Add charset to the examples html below the map
2020-10-03 21:56:49 +02:00
Maximilian Krög
fc67d8302b Add charset to the examples html below the map 2020-10-03 21:31:38 +02:00
mike-000
f8c24590b9 Fetch the polyline and smoother animation
Fetch the polyline and use getCoordinateAt() for smooth animation
2020-10-03 19:30:56 +01:00
Olivier Guyot
0af823fc74 Merge pull request #11613 from elnabo/main
Allow mouse input if map is rendered in an other window
2020-10-02 10:59:50 +02:00
elnabo
81103c9253 Allow mouse input if map is rendered in an other window 2020-10-02 09:39:19 +02:00
Andreas Hocevar
aa69c5d3aa Merge pull request #11597 from MoonE/select-interaction-performance
Improved performance when removing feature with only one Select
2020-09-30 13:09:49 +02:00
Andreas Hocevar
df67924f33 Merge pull request #11607 from mike-000/patch-15
Reset attributions control to collapsible when no uncollapsible sources are visible
2020-09-30 13:04:27 +02:00
mike-000
cb77784d2a also restore collapsed state to last user setting 2020-09-30 10:36:53 +01:00
Andreas Hocevar
06637d8fb1 Merge pull request #11609 from M393/modify-interaction-insert-only-one-vertex
Modify interaction insert only one vertex
2020-09-29 20:41:17 +02:00
Maximilian Krög
6a5c3bde62 Do not insert more than one point per geometry at once 2020-09-29 10:52:35 +02:00
Maximilian Krög
bf33bd0703 Add Modify test for identical line segments of same geometry 2020-09-29 10:52:35 +02:00
Maximilian Krög
edb3b5f4fd The vertex is always the same, no need to store it with the segment 2020-09-29 10:52:35 +02:00
Andreas Hocevar
0387399554 Merge pull request #11605 from ahocevar/release-tile-canvas
Remove context references when releasing tiles
2020-09-29 09:31:43 +02:00
Andreas Hocevar
e7aa36019e Merge pull request #11603 from openlayers/dependabot/npm_and_yarn/rollup-2.28.2
Bump rollup from 2.28.1 to 2.28.2
2020-09-28 15:24:47 +02:00
Andreas Hocevar
1f371e1eeb Merge pull request #11602 from openlayers/dependabot/npm_and_yarn/marked-1.2.0
Bump marked from 1.1.1 to 1.2.0
2020-09-28 15:14:45 +02:00
dependabot-preview[bot]
169ace6f00 Bump rollup from 2.28.1 to 2.28.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.28.1 to 2.28.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.28.1...v2.28.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 13:12:24 +00:00
Andreas Hocevar
5c96cd60bb Merge pull request #11601 from openlayers/dependabot/npm_and_yarn/puppeteer-5.3.1
Bump puppeteer from 5.3.0 to 5.3.1
2020-09-28 15:10:05 +02:00
mike-000
09a1dd43c6 reset to collapsible when no uncollapsible sources 2020-09-28 14:05:23 +01:00
Andreas Hocevar
eee837bc70 Merge pull request #11600 from openlayers/dependabot/npm_and_yarn/eslint-7.10.0
Bump eslint from 7.9.0 to 7.10.0
2020-09-28 13:34:00 +02:00
Andreas Hocevar
a0963e9720 Merge pull request #11599 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.3
Bump worker-loader from 3.0.2 to 3.0.3
2020-09-28 13:33:33 +02:00
Andreas Hocevar
9ce60c85c8 Merge pull request #11598 from openlayers/dependabot/npm_and_yarn/karma-5.2.3
Bump karma from 5.2.2 to 5.2.3
2020-09-28 13:32:51 +02:00
Andreas Hocevar
4c8de423af Remove context references when releasing tiles 2020-09-28 12:20:07 +02:00
dependabot-preview[bot]
f43f5e9637 Bump marked from 1.1.1 to 1.2.0
Bumps [marked](https://github.com/markedjs/marked) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 07:22:55 +00:00
dependabot-preview[bot]
a0b1a218fe Bump puppeteer from 5.3.0 to 5.3.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.3.0...v5.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 07:22:07 +00:00
dependabot-preview[bot]
59eef7a5d2 Bump eslint from 7.9.0 to 7.10.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.9.0 to 7.10.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.9.0...v7.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 07:21:22 +00:00
dependabot-preview[bot]
c31a524969 Bump worker-loader from 3.0.2 to 3.0.3
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.2 to 3.0.3.
- [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.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 07:20:46 +00:00
dependabot-preview[bot]
030ff1ba07 Bump karma from 5.2.2 to 5.2.3
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.2 to 5.2.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/v5.2.2...v5.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 07:19:48 +00:00
Maximilian Krög
65fc3ca2ca Improved performance when removing feature with only one Select 2020-09-28 01:00:07 +02:00
Andreas Hocevar
3198642cec Use locally available font for rendering test 2020-09-27 21:13:27 +02:00
Maximilian Krög
f63d0741b9 Add rendering test for multipoint with icon and text 2020-09-27 21:13:27 +02:00
Andreas Hocevar
8e862766fc New decluttering implementation 2020-09-27 21:13:26 +02:00
mike-000
9e8d49e485 Display current OS copyright date
Display current OS copyright date to keep up with source updates https://www.arcgis.com/home/item.html?id=7561029c176d43d09a5aa1180ada309a
Increase EPSG:27700 extent beyond the usual definition to the visible extent of the OS Overview layer
2020-09-27 15:14:59 +01:00
Andreas Hocevar
689711607f Merge pull request #11591 from kannes/patch-2
Make permalink example less complex
2020-09-25 23:14:43 +02:00
Hannes
2e87ae3421 use .toFixed() instead of manual math 2020-09-25 22:10:25 +02:00
Hannes
47ae47d123 zoom can actually be fractional nowadays 2020-09-25 22:06:20 +02:00
Stéphane Brunner
23e5c7ced8 Export all the Event sub class
Actually only some are exported

This is useful to type the received events
2020-09-25 13:15:49 +02:00
Andreas Hocevar
705e328fa0 Merge pull request #11569 from mike-000/patch-19
Fix binary data exports to codesandbox in examples
2020-09-24 09:21:05 +02:00
mike-000
c3378466fe in IE use textContent instead of innerText 2020-09-22 12:14:19 +01:00
Tim Schaub
f480252900 Merge pull request #11579 from mike-000/patch-14
Replace Animated GIF example globe gif
2020-09-21 04:59:18 -06:00
Tim Schaub
661c16a735 Merge pull request #11578 from openlayers/dependabot/npm_and_yarn/rollup-2.28.1
Bump rollup from 2.26.11 to 2.28.1
2020-09-21 04:58:52 -06:00
Tim Schaub
3b04abd7fa Merge pull request #11576 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.2
Bump terser-webpack-plugin from 4.2.0 to 4.2.2
2020-09-21 04:53:46 -06:00
Tim Schaub
10d727e373 Merge pull request #11575 from openlayers/dependabot/npm_and_yarn/typescript-4.0.3
Bump typescript from 4.0.2 to 4.0.3
2020-09-21 04:52:55 -06:00
Tim Schaub
1093c1047f Merge pull request #11577 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.1.1
Bump copy-webpack-plugin from 6.1.0 to 6.1.1
2020-09-21 04:48:21 -06:00
dependabot-preview[bot]
ec493029e0 Bump typescript from 4.0.2 to 4.0.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 10:47:51 +00:00
dependabot-preview[bot]
79c3cda733 Bump terser-webpack-plugin from 4.2.0 to 4.2.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.2.0 to 4.2.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.2.0...v4.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 10:47:48 +00:00
Tim Schaub
c5b6775328 Merge pull request #11574 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.6
Bump jsdoc from 3.6.5 to 3.6.6
2020-09-21 04:46:46 -06:00
Tim Schaub
49efb82bde Merge pull request #11573 from openlayers/dependabot/npm_and_yarn/webpack-4.44.2
Bump webpack from 4.44.1 to 4.44.2
2020-09-21 04:45:22 -06:00
mike-000
20936508aa Replace globe gif
Use better quality image based on public domain landmask image at https://ian.macky.net/pat/map/globe.html and data at http://www.shadedrelief.com/natural3/pages/extra.html
2020-09-21 10:41:20 +01:00
dependabot-preview[bot]
7b35a4aa8f Bump rollup from 2.26.11 to 2.28.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.11 to 2.28.1.
- [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.26.11...v2.28.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 07:23:23 +00:00
dependabot-preview[bot]
214865aea9 Bump copy-webpack-plugin from 6.1.0 to 6.1.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 07:22:28 +00:00
dependabot-preview[bot]
c58ce604dd Bump jsdoc from 3.6.5 to 3.6.6
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.5 to 3.6.6.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.6/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.5...3.6.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 07:19:55 +00:00
dependabot-preview[bot]
8156a5e57c Bump webpack from 4.44.1 to 4.44.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.44.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-21 07:18:59 +00:00
Marc Jansen
163834d33e Merge pull request #11565 from mike-000/patch-17
Animated GIF example
2020-09-20 20:07:49 +02:00
mike-000
27bba85be9 Use public domain image
Derived from https://commons.wikimedia.org/wiki/File:Globe.gif using ezgif.com
2020-09-20 18:42:23 +01:00
mike-000
c18227df36 Add animated gif example 2020-09-20 14:47:33 +01:00
Tim Schaub
607b8fdd72 Merge pull request #11571 from mike-000/patch-20
Replace countryflags.io with flagcdn.com in the Style Renderer example
2020-09-19 22:44:51 -06:00
mike-000
190661bfdb Use flagcdn.com for images 2020-09-19 14:04:02 +01:00
Tim Schaub
1dae9b0ea2 Merge pull request #11568 from rgroothuijsen/OL-11178
Fix raster source crash bug when using multiple threads
2020-09-18 21:44:29 -06:00
Andreas Hocevar
7a5e0db59f Remove decluttering for a fresh start 2020-09-18 23:31:20 +02:00
mike-000
b60574261c Fix binary data, ./ relative path syntax, and IE 2020-09-17 22:09:31 +01:00
Rens Groothuijsen
1eea43e669 Add test for multiple raster threads 2020-09-17 22:48:31 +02:00
Andreas Hocevar
740e11f1fa Merge pull request #11563 from MoonE/multi-world-fix-end-world
Fix end world calculation if projection is not symmetric
2020-09-17 18:19:32 +02:00
Maximilian Krög
0996b37fe7 Fix end world calculation if projection is not symmetric 2020-09-17 00:12:15 +02:00
Maximilian Krög
2a81a7a236 Add rendering test for multi world 2020-09-17 00:12:15 +02:00
Olivier Guyot
7c5b118f23 Merge pull request #11561 from M393/view-constrain-center-after-fit
Constrain resolution when fit called without duration
2020-09-16 09:11:11 +02:00
Rens Groothuijsen
a691b1205e Send correct buffer slices to worker 2020-09-16 01:04:16 +02:00
Maximilian Krög
fbcf0b5009 Constrain resolution when fit called without duration 2020-09-15 17:52:22 +02:00
Maximilian Krög
90d816208c Add test for View.fit with extent set on View 2020-09-15 17:52:04 +02:00
Andreas Hocevar
2de80e04e4 Merge pull request #11559 from MoonE/multi-world-only-draw-visible
Only draw visible worlds
2020-09-15 10:06:01 +02:00
Maximilian Krög
85499d7daf Only draw visible worlds 2020-09-14 23:41:04 +02:00
Andreas Hocevar
429e857863 Merge pull request #11558 from openlayers/dependabot/npm_and_yarn/yargs-16.0.3
Bump yargs from 15.4.1 to 16.0.3
2020-09-14 11:11:03 +02:00
dependabot-preview[bot]
138dddf4d7 Bump yargs from 15.4.1 to 16.0.3
Bumps [yargs](https://github.com/yargs/yargs) from 15.4.1 to 16.0.3.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.4.1...v16.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 08:57:54 +00:00
Andreas Hocevar
319f9df255 Merge pull request #11557 from openlayers/dependabot/npm_and_yarn/eslint-7.9.0
Bump eslint from 7.8.1 to 7.9.0
2020-09-14 10:56:28 +02:00
Andreas Hocevar
e69bbba152 Merge pull request #11556 from openlayers/dependabot/npm_and_yarn/puppeteer-5.3.0
Bump puppeteer from 5.2.1 to 5.3.0
2020-09-14 10:56:03 +02:00
Andreas Hocevar
7a3bb103f1 Merge pull request #11555 from openlayers/dependabot/npm_and_yarn/karma-5.2.2
Bump karma from 5.2.1 to 5.2.2
2020-09-14 10:55:38 +02:00
Andreas Hocevar
d95113bca1 Merge pull request #11554 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-4.2.0
Bump terser-webpack-plugin from 4.1.0 to 4.2.0
2020-09-14 10:55:10 +02:00
Andreas Hocevar
098c694bd7 Merge pull request #11553 from openlayers/dependabot/npm_and_yarn/rollup-2.26.11
Bump rollup from 2.26.10 to 2.26.11
2020-09-14 10:54:46 +02:00
dependabot-preview[bot]
8ba75f799e Bump eslint from 7.8.1 to 7.9.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.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.8.1...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:25:30 +00:00
dependabot-preview[bot]
ac45b3701f Bump puppeteer from 5.2.1 to 5.3.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.2.1...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:24:17 +00:00
dependabot-preview[bot]
cc92cca54f Bump karma from 5.2.1 to 5.2.2
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.1 to 5.2.2.
- [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/v5.2.1...v5.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:23:19 +00:00
dependabot-preview[bot]
1a780108d6 Bump terser-webpack-plugin from 4.1.0 to 4.2.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.1.0...v4.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:22:23 +00:00
dependabot-preview[bot]
1baddf276e Bump rollup from 2.26.10 to 2.26.11
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.10 to 2.26.11.
- [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.26.10...v2.26.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 07:21:44 +00:00
Andreas Hocevar
beefeaad1a Merge pull request #11519 from MoonE/multipoint-draw-only-visible
Do not draw multipoints outside render extent
2020-09-13 12:03:21 +02:00
Maximilian Krög
66ca8fbc13 Fix error when text placement is 'line' for point geometry 2020-09-12 21:30:28 +02:00
Maximilian Krög
fd28d5bb3d Simplify method signature for appendFlatPointCoordinates 2020-09-12 20:54:53 +02:00
Maximilian Krög
9ca9e73374 Declare variable when used 2020-09-12 20:54:53 +02:00
Maximilian Krög
df81f53eb5 Some simplifications 2020-09-12 20:54:53 +02:00
Andreas Hocevar
cd017ec2f6 Merge pull request #11532 from ahocevar/tilegrid-docs
Make TileGrid behave as documented with extent and sizes options
2020-09-12 20:14:45 +02:00
Maximilian Krög
3e4e21dc8d Only check if point is in extent for MultiPoint and TextLabels 2020-09-12 18:23:24 +02:00
Maximilian Krög
fb62e7928e Rename method used for lines. 2020-09-11 23:53:59 +02:00
Frédéric Junod
6b0471c2dc Merge pull request #11545 from fredj/webgl_className
Use the className param in ol.layer.Heatmap
2020-09-11 10:00:30 +02:00
Andreas Hocevar
f145082966 Merge pull request #11548 from ahocevar/bind-tileurlfunction
Bind tileUrlFunction before returning it from getTileUrlFunction
2020-09-11 09:43:07 +02:00
Andreas Hocevar
7957abd72d Merge pull request #11549 from ahocevar/no-root-node
Only use elementFromPoint with ShadowRoot
2020-09-11 09:41:52 +02:00
Frederic Junod
142fbc0811 Use the className param in ol.layer.Heatmap 2020-09-11 08:23:15 +02:00
Andreas Hocevar
fcf6072061 Merge pull request #11502 from jbelien/wmscapabilities/singlelayer
Fix issue with WMS Capabilities containing a single layer
2020-09-10 19:27:18 +02:00
Andreas Hocevar
feb88d1c0d Merge pull request #11540 from gberaudo/avoid_mvt_reprojection
Avoid unnecessary transform in the MVT format
2020-09-10 19:18:33 +02:00
Guillaume Beraudo
39fc6d7816 Avoid unnecessary transform in MVT format
When using ol.render.Feature there was a mandatory geometry transform.

With this change it is now easy to read features directly in the native tile projection.
Since there is no needed transform, there is no need either to define an extent and a world extent, for that use-case.
2020-09-10 17:13:30 +02:00
Andreas Hocevar
869206b33d Only use elementFromPoint with ShadowRoot 2020-09-10 11:22:33 +02:00
Andreas Hocevar
bff25f9ba4 Bind tileUrlFunction before returning it from getTileUrlFunction 2020-09-10 10:10:52 +02:00
Andreas Hocevar
87954dcee2 Add additional tests 2020-09-09 18:09:43 +02:00
Andreas Hocevar
0ec6674465 Merge pull request #11537 from mike-000/patch-16
Add rotation and rotateWithView to ol/style/Circle clone method and options
2020-09-09 18:00:08 +02:00
Andreas Hocevar
5b69af64e8 Merge pull request #11543 from sweco-dkjesh/main
wmts matrixset null pointer fix and improved handling of Identifier
2020-09-09 17:51:33 +02:00
Andreas Hocevar
0f8c8af833 Make TileGrid behave as documented with extent and sizes options 2020-09-09 16:07:33 +02:00
sweco-dkjesh
df8da1158f Lint 2020-09-09 13:30:14 +02:00
sweco-dkjesh
d409168940 Lint 2020-09-09 13:22:38 +02:00
sweco-dkjesh
bf86bcbee4 Lint 2020-09-09 13:13:58 +02:00
sweco-dkjesh
6ae62c3e93 Lint 2020-09-09 12:49:04 +02:00
sweco-dkjesh
132ce172ed null pointer fix and improved handling of Identifier
Fix nullpointer error when a matrixSet is not found in the matrixsetobj when matrix limits exist.
Also check for match by prepending matrixSetObj.Identifier which is supported by some wmts services.
2020-09-09 12:29:43 +02:00
Andreas Hocevar
915bca5114 Merge pull request #11509 from fgravin/proj-4326-identifier
Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier
2020-09-09 10:22:34 +02:00
Florent gravin
5d8aa85caa Use regexp replacements in ol.proj.get
This avoids to have to many redundant identifier definitions for each projection and ensure to cover most of the existing srsNames
2020-09-08 17:33:07 +02:00
mike-000
685040347b Add rotation and rotateWithView
Add rotation and rotateWithView to options and clone

Add rotation and rotateWithView to clone test
Also check that scale and displacement arrays are cloned
2020-09-08 16:23:45 +01:00
Andreas Hocevar
3d5f375d52 Merge pull request #11521 from ahocevar/integer-pixel-ratio-only
Do not use fractional pixel ratio for rendering vector tiles
2020-09-07 12:40:01 +02:00
Andreas Hocevar
7301259043 Merge pull request #11531 from openlayers/dependabot/npm_and_yarn/rollup-2.26.10
Bump rollup from 2.26.8 to 2.26.10
2020-09-07 11:08:53 +02:00
dependabot-preview[bot]
27dce8a4d9 Bump rollup from 2.26.8 to 2.26.10
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.8 to 2.26.10.
- [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.26.8...v2.26.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 09:03:25 +00:00
Andreas Hocevar
da5e4ffbb6 Merge pull request #11530 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.11.5
Bump @babel/preset-env from 7.11.0 to 7.11.5
2020-09-07 11:01:43 +02:00
Andreas Hocevar
e429b16cb8 Merge pull request #11529 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-7.0.2
Bump rollup-plugin-terser from 7.0.1 to 7.0.2
2020-09-07 11:01:11 +02:00
Andreas Hocevar
503af27b2c Merge pull request #11528 from openlayers/dependabot/npm_and_yarn/babel/core-7.11.6
Bump @babel/core from 7.11.4 to 7.11.6
2020-09-07 11:00:42 +02:00
Andreas Hocevar
7b022f2d30 Merge pull request #11526 from openlayers/dependabot/npm_and_yarn/eslint-7.8.1
Bump eslint from 7.7.0 to 7.8.1
2020-09-07 10:59:46 +02:00
Andreas Hocevar
8fa9f53db9 Merge pull request #11527 from openlayers/dependabot/npm_and_yarn/karma-5.2.1
Bump karma from 5.1.1 to 5.2.1
2020-09-07 10:59:24 +02:00
Andreas Hocevar
e4c0f95b11 Merge pull request #11525 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.1.0
Bump copy-webpack-plugin from 6.0.4 to 6.1.0
2020-09-07 10:57:28 +02:00
dependabot-preview[bot]
567cfa16f3 Bump @babel/preset-env from 7.11.0 to 7.11.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.0 to 7.11.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.11.5/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:29:50 +00:00
dependabot-preview[bot]
1d9f5fdc09 Bump rollup-plugin-terser from 7.0.1 to 7.0.2
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v7.0.1...v7.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:28:41 +00:00
dependabot-preview[bot]
6eaf1dab2b Bump @babel/core from 7.11.4 to 7.11.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.4 to 7.11.6.
- [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.11.6/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:27:55 +00:00
dependabot-preview[bot]
45f5eb4be8 Bump karma from 5.1.1 to 5.2.1
Bumps [karma](https://github.com/karma-runner/karma) from 5.1.1 to 5.2.1.
- [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/v5.1.1...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:27:01 +00:00
dependabot-preview[bot]
9495b3ba06 Bump eslint from 7.7.0 to 7.8.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.7.0 to 7.8.1.
- [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.7.0...v7.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:25:41 +00:00
dependabot-preview[bot]
87370a3952 Bump copy-webpack-plugin from 6.0.4 to 6.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.0.4 to 6.1.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.4...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 07:24:35 +00:00
Andreas Hocevar
3c7fa9a586 Do not use fractional pixel ratio for rendering vector tiles 2020-09-06 17:08:13 +02:00
Andreas Hocevar
4ddf5c0c3e Merge pull request #11517 from ahocevar/fix-clockwise-algorithm
Make clockwise check work when coordinates are duplicated
2020-09-05 18:26:09 +02:00
Andreas Hocevar
a9e51d85ec Fix Index adjustment at the beginning of the ring 2020-09-05 16:21:01 +02:00
Andreas Hocevar
82f1349dcf Merge pull request #11515 from openlayers/dependabot/npm_and_yarn/http-proxy-1.18.1
[Security] Bump http-proxy from 1.17.0 to 1.18.1
2020-09-04 22:05:07 +02:00
Andreas Hocevar
f2b790adf1 Make clockwise check work when coordinates are duplicated 2020-09-04 20:47:15 +02:00
dependabot-preview[bot]
04a7b66975 [Security] Bump http-proxy from 1.17.0 to 1.18.1
Bumps [http-proxy](https://github.com/http-party/node-http-proxy) from 1.17.0 to 1.18.1. **This update includes a security fix.**
- [Release notes](https://github.com/http-party/node-http-proxy/releases)
- [Changelog](https://github.com/http-party/node-http-proxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/http-party/node-http-proxy/compare/1.17.0...1.18.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-04 18:29:51 +00:00
Florent gravin
8eb5ac900d Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier 2020-09-03 15:42:56 +02:00
Andreas Hocevar
3a01e083c6 Merge pull request #11504 from openlayers/dependabot/npm_and_yarn/bl-4.0.3
[Security] Bump bl from 4.0.2 to 4.0.3
2020-09-02 18:57:43 +02:00
dependabot-preview[bot]
3108818267 [Security] Bump bl from 4.0.2 to 4.0.3
Bumps [bl](https://github.com/rvagg/bl) from 4.0.2 to 4.0.3. **This update includes a security fix.**
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v4.0.2...v4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 15:30:16 +00:00
Andreas Hocevar
9d742e7782 Merge pull request #11501 from mike-000/patch-15
Empty this.canvas_ for all pixel ratios when render() is called
2020-09-01 22:54:56 +02:00
Jonathan Beliën
eec4b46ac1 Update WMSCapabilities.js 2020-09-01 12:06:22 +00:00
Jonathan Beliën
6a811ef767 Update WMS Capabilities tests
Add test for WMS service with one single layer.
2020-09-01 11:53:49 +00:00
Jonathan Beliën
9a021c8aa4 Update WMSCapabilities.js
Fix issue when there only one single layer.
2020-09-01 11:53:11 +00:00
mike-000
6cc063241a Use pixelRatio 2 2020-09-01 09:29:42 +01:00
mike-000
0807b44722 Clear this.canvas_ whenever render() is called 2020-09-01 09:27:17 +01:00
Olivier Guyot
2dd59b3536 Merge pull request #11471 from MichaelLangbein/WebGL-pre-and-postrender
Feature: added preRender and postRender methods to WebGLLayerRenderer…
2020-08-31 10:39:45 +02:00
Langbein, Michael
301e083dea Refactor unittest for WebGLPointsLayerRenderer
The test for the prerender and postrender events now uses a WebGLPointsLayer instead of a VectorLayer.
This is less confusing and probably closer to practical usage, too.
2020-08-31 10:29:42 +02:00
Andreas Hocevar
84097bf023 Merge pull request #11496 from openlayers/dependabot/npm_and_yarn/mocha-8.1.3
Bump mocha from 8.1.1 to 8.1.3
2020-08-31 10:07:03 +02:00
Andreas Hocevar
7649682680 Merge pull request #11495 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-7.0.1
Bump rollup-plugin-terser from 7.0.0 to 7.0.1
2020-08-31 10:06:20 +02:00
Andreas Hocevar
116bb7b597 Merge pull request #11494 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.0.4
Bump copy-webpack-plugin from 6.0.3 to 6.0.4
2020-08-31 10:05:43 +02:00
Andreas Hocevar
108bf63ca6 Merge pull request #11493 from openlayers/dependabot/npm_and_yarn/rollup-2.26.8
Bump rollup from 2.26.5 to 2.26.8
2020-08-31 10:05:06 +02:00
dependabot-preview[bot]
fb9f2b0069 Bump mocha from 8.1.1 to 8.1.3
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.1 to 8.1.3.
- [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.1.1...v8.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:20:57 +00:00
dependabot-preview[bot]
669e0776b4 Bump rollup-plugin-terser from 7.0.0 to 7.0.1
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:19:19 +00:00
dependabot-preview[bot]
a2f9c83a39 Bump copy-webpack-plugin from 6.0.3 to 6.0.4
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.3...v6.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:18:03 +00:00
dependabot-preview[bot]
ad978c6667 Bump rollup from 2.26.5 to 2.26.8
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.5 to 2.26.8.
- [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.26.5...v2.26.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 07:17:27 +00:00
Langbein, Michael
7808a8cb9a Implement unit-tests for WebGLLayerRenderer's new preRender and postRender methods.
The test only checks if the event is fired. It does not check for the properties of the RenderEvent object.
2020-08-30 13:20:18 +02:00
Langbein, Michael
a70ce2ca06 Implement preRender and postRender methods for WebGLLayerRenderer
This is required so that Renderers like WebGLPointsLayerRenderer can fire prerender and postrender events.
Problem described in [issue 11463](https://github.com/openlayers/openlayers/issues/11463).
2020-08-30 13:20:18 +02:00
Marc Jansen
17a5015750 Merge pull request #11491 from mike-000/patch-14
Cosmetic fix to doc (missing closing quote)
2020-08-28 23:47:27 +02:00
mike-000
f897503e10 Cosmetic fix to doc (missing closing quote) 2020-08-28 22:27:33 +01:00
mike-000
598f2bb508 Add iconUrlFunction option
Test iconUrlFunction option

remove @private
2020-08-28 22:12:58 +01:00
Andreas Hocevar
6582f87383 Merge pull request #11488 from michalzielanski/z-index-example-bug
"Layer Z-Index" example bugfix
2020-08-28 10:51:53 +02:00
Andreas Hocevar
a568aab309 Merge pull request #11486 from davidiamaf/davidiamaf-pixel-null-guard
guard for null
2020-08-28 10:22:02 +02:00
Michał Zielański
3ef02fd19d The star layer should not be assigned the z-index 2020-08-28 08:38:28 +02:00
davidiamaf
ce0d744a10 guard for null
against map.getPixelFromCoordinateInternal() returning null

Per https://github.com/openlayers/openlayers/issues/11478
2020-08-27 16:15:09 -04:00
Tim Schaub
218335d0c8 Merge pull request #11481 from michalzielanski/additional-props-in-cloned-geom
Adding original properties to cloned geometry
2020-08-27 08:23:46 -06:00
Michał Zielański
0001292a62 Method that copies properties from another object moved to the BaseObject class. Not using getProperties() to avoid creating an intermediate object that is not used later 2020-08-27 09:18:08 +02:00
Tim Schaub
849c8eafb4 Merge pull request #11404 from tschaub/codeql
Add security scan
2020-08-26 09:24:39 -06:00
Michał Zielański
8e0a61ac5f Adding original properties to cloned geometry 2020-08-26 15:11:11 +02:00
Andreas Hocevar
74e39a07de Merge pull request #11470 from ahocevar/readme
Fix pointer events polyfill link
2020-08-26 10:04:33 +02:00
Andreas Hocevar
bacf07ed51 Merge pull request #11467 from ahocevar/style-renderer
Style renderer example
2020-08-26 10:02:25 +02:00
Andreas Hocevar
eb92d0dcee Update description 2020-08-26 09:25:50 +02:00
Tim Schaub
6412b040c3 Use clip path 2020-08-26 09:24:56 +02:00
Tim Schaub
714e08761f Add security scan 2020-08-25 23:20:55 -06:00
Andreas Hocevar
62842d5508 Merge pull request #11455 from MoonE/apidoc-improvements
Apidoc improvements
2020-08-25 15:03:49 +02:00
Andreas Hocevar
963a084eb4 Merge pull request #11474 from haasz/haasz-module-import-fix
fix: modify rbush package import
2020-08-25 14:12:35 +02:00
Haász Sándor
02e0b1af11 fix: modify rbush package import 2020-08-25 13:27:48 +02:00
Andreas Hocevar
c37ec39dcd Merge pull request #11472 from ahocevar/typescript-4.0.2
Typescript 4.0.2
2020-08-25 13:16:59 +02:00
Andreas Hocevar
fda93cee23 Updates for TypeScript v4 2020-08-25 13:03:58 +02:00
dependabot-preview[bot]
53dee97af5 Bump typescript from 3.9.7 to 4.0.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.7 to 4.0.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.7...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 12:33:37 +02:00
Andreas Hocevar
81811e3816 Fix pointer events polyfill link 2020-08-25 11:00:53 +02:00
Andreas Hocevar
9e7bbb0d4e Add custom style renderer example 2020-08-24 23:43:22 +02:00
Andreas Hocevar
a161ba82d9 Remove notes about custom renderer 2020-08-24 23:24:27 +02:00
Andreas Hocevar
bf455bc348 Merge pull request #11454 from ahocevar/vectortile-projection
VectorTile source projection has to match the view projection
2020-08-24 19:15:14 +02:00
Tim Schaub
cae42c6821 Merge pull request #11462 from openlayers/dependabot/npm_and_yarn/rollup-2.26.5
Bump rollup from 2.26.3 to 2.26.5
2020-08-24 07:29:08 -06:00
Tim Schaub
f566f8abcd Merge pull request #11460 from openlayers/dependabot/npm_and_yarn/karma-sourcemap-loader-0.3.8
Bump karma-sourcemap-loader from 0.3.7 to 0.3.8
2020-08-24 07:28:06 -06:00
Tim Schaub
f496db5094 Merge pull request #11459 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.1.4
Bump ol-mapbox-style from 6.1.3 to 6.1.4
2020-08-24 07:26:37 -06:00
Tim Schaub
5dabc1c3d3 Merge pull request #11458 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.2
Bump worker-loader from 3.0.1 to 3.0.2
2020-08-24 07:25:45 -06:00
Tim Schaub
8127f49d21 Merge pull request #11457 from openlayers/dependabot/npm_and_yarn/babel/core-7.11.4
Bump @babel/core from 7.11.1 to 7.11.4
2020-08-24 07:24:15 -06:00
dependabot-preview[bot]
c1523d2f62 Bump rollup from 2.26.3 to 2.26.5
Bumps [rollup](https://github.com/rollup/rollup) from 2.26.3 to 2.26.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.26.3...v2.26.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:19:42 +00:00
dependabot-preview[bot]
cdb60c2d3a Bump karma-sourcemap-loader from 0.3.7 to 0.3.8
Bumps [karma-sourcemap-loader](https://github.com/demerzel3/karma-sourcemap-loader) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/demerzel3/karma-sourcemap-loader/releases)
- [Commits](https://github.com/demerzel3/karma-sourcemap-loader/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:18:13 +00:00
dependabot-preview[bot]
160bcd270f Bump ol-mapbox-style from 6.1.3 to 6.1.4
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.1.3...v6.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:17:31 +00:00
dependabot-preview[bot]
20ad33aa9b Bump worker-loader from 3.0.1 to 3.0.2
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.1 to 3.0.2.
- [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.1...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:16:39 +00:00
dependabot-preview[bot]
352e02afc8 Bump @babel/core from 7.11.1 to 7.11.4
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.1 to 7.11.4.
- [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.11.4/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 07:15:43 +00:00
Andreas Hocevar
6f0eec632f Use existing check for assertion 2020-08-23 18:23:52 +02:00
Maximilian Krög
f9ffd75132 dd / dt tag must be inside dl tags 2020-08-23 16:15:50 +02:00
Maximilian Krög
b33b2ce9a4 Don't generate empty nameContainer tag 2020-08-23 16:08:14 +02:00
Maximilian Krög
efdfb169aa Equal margin for horizontal line 2020-08-23 16:08:14 +02:00
Maximilian Krög
0a136afe15 Navigate to first search result on enter 2020-08-23 16:08:14 +02:00
Maximilian Krög
411d5bfb03 Charset meta tag should be in the first 1024 bytes 2020-08-23 16:08:14 +02:00
Maximilian Krög
477c331a4c Create source code links during apidoc creation 2020-08-23 16:08:14 +02:00
Andreas Hocevar
323fbca2e6 Merge pull request #11438 from MoonE/apidoc-navigation-scroll
Better scroll behaviour for apidocs
2020-08-23 12:46:24 +02:00
Andreas Hocevar
792e15124d VectorTile source projection has to match the view projection 2020-08-23 12:37:52 +02:00
Maximilian Krög
d74da75561 Graceful fallback for internet explorer 11 2020-08-23 12:21:47 +02:00
Maximilian Krög
d9bc466f43 Better scroll behaviour for apidocs 2020-08-23 11:18:19 +02:00
Andreas Hocevar
83055add03 Merge pull request #11446 from ahocevar/no-events-when-no-target
Checks before calling handleEvent on interactions
2020-08-18 16:17:31 +02:00
Andreas Hocevar
c55a3132a4 Checks before calling handleEvent on interactions 2020-08-18 15:39:53 +02:00
Andreas Hocevar
aa6d6b4d80 Merge pull request #11305 from megawac/avoid-crash-when-interaction-removed
PluggableMap: avoid crash when multiple interactions are removed
2020-08-18 13:21:47 +02:00
Andreas Hocevar
d674143cc4 Merge pull request #11443 from openlayers/dependabot/npm_and_yarn/eslint-7.7.0
Bump eslint from 7.6.0 to 7.7.0
2020-08-17 12:38:52 +02:00
Andreas Hocevar
da49bf7964 Merge pull request #11441 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-4.1.0
Bump terser-webpack-plugin from 4.0.0 to 4.1.0
2020-08-17 12:38:17 +02:00
Andreas Hocevar
54ef456a1f Merge pull request #11440 from openlayers/dependabot/npm_and_yarn/rollup-2.26.3
Bump rollup from 2.23.1 to 2.26.3
2020-08-17 12:37:49 +02:00
Andreas Hocevar
2d4fcab041 Merge pull request #11439 from openlayers/dependabot/npm_and_yarn/sinon-9.0.3
Bump sinon from 9.0.2 to 9.0.3
2020-08-17 12:37:17 +02:00
Andreas Hocevar
c671224243 Merge pull request #11442 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.1.3
Bump ol-mapbox-style from 6.1.2 to 6.1.3
2020-08-17 12:08:26 +02:00
Frédéric Junod
702a8c0e34 Merge pull request #11433 from fredj/f_11432
Fix typo in module name
2020-08-17 11:42:48 +02:00
dependabot-preview[bot]
b6852b10ed Bump eslint from 7.6.0 to 7.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.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.6.0...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 09:34:05 +00:00
dependabot-preview[bot]
74843dddd7 Bump ol-mapbox-style from 6.1.2 to 6.1.3
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.1.2...v6.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 09:33:00 +00:00
dependabot-preview[bot]
97590bbf27 Bump terser-webpack-plugin from 4.0.0 to 4.1.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v4.0.0...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 09:31:52 +00:00
dependabot-preview[bot]
197ed17ca0 Bump rollup from 2.23.1 to 2.26.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.23.1 to 2.26.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.23.1...v2.26.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 09:30:51 +00:00
dependabot-preview[bot]
a9754bcd9b Bump sinon from 9.0.2 to 9.0.3
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.2...v9.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 09:29:55 +00:00
Tim Schaub
3c58b25670 Merge pull request #11419 from bjornharrtell/wfs2
WFS 2.0.0 support
2020-08-13 05:07:53 -06:00
Frederic Junod
e932233103 Fix typo in module name 2020-08-13 10:48:00 +02:00
Andreas Hocevar
f0170f378f Merge pull request #11418 from MoonE/icon-color-default-to-composite-operation
Icon color default to composite operation
2020-08-11 20:57:40 +02:00
Björn Harrtell
4eef96d5d8 Fix docs 2020-08-11 16:30:29 +02:00
Björn Harrtell
0bbde3d840 Tests for Transaction writes 2020-08-11 16:21:39 +02:00
Björn Harrtell
8cddfa0d22 Refactor tests 2020-08-11 16:14:39 +02:00
Björn Harrtell
1335937ddd Verified fix 2020-08-11 16:09:43 +02:00
Björn Harrtell
0484e45c89 Fix WFS 2.0.0 GetFeature response parsing 2020-08-11 15:46:40 +02:00
Björn Harrtell
01f355c37f Verify GetFeature with more complex filter 2020-08-10 21:30:06 +02:00
Graeme Yeates
d7a8e45294 PluggableMap: avoid crash when multiple interactions are removed 2020-08-10 10:32:51 -04:00
Andreas Hocevar
678a61cba0 Merge pull request #11416 from MoonE/examples-add-labels-to-inputs
Examples add labels to inputs
2020-08-10 14:24:51 +02:00
Andreas Hocevar
c8956b7084 Merge pull request #11426 from openlayers/dependabot/npm_and_yarn/babel/core-7.11.1
Bump @babel/core from 7.11.0 to 7.11.1
2020-08-10 14:08:07 +02:00
Andreas Hocevar
d2e17ee5db Merge pull request #11425 from openlayers/dependabot/npm_and_yarn/rollup-2.23.1
Bump rollup from 2.23.0 to 2.23.1
2020-08-10 14:07:36 +02:00
Andreas Hocevar
f9f70940a7 Merge pull request #11424 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-7.0.0
Bump rollup-plugin-terser from 6.1.0 to 7.0.0
2020-08-10 14:07:07 +02:00
Andreas Hocevar
1aa646c61c Merge pull request #11423 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.1
Bump worker-loader from 3.0.0 to 3.0.1
2020-08-10 14:06:27 +02:00
Andreas Hocevar
03b127062c Merge pull request #11422 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-4.0.0
Bump terser-webpack-plugin from 3.0.8 to 4.0.0
2020-08-10 14:05:52 +02:00
Andreas Hocevar
f700d20a8a Merge pull request #11421 from openlayers/dependabot/npm_and_yarn/mocha-8.1.1
Bump mocha from 8.1.0 to 8.1.1
2020-08-10 14:05:07 +02:00
Andreas Hocevar
bb2bf0877b Merge pull request #11417 from ahocevar/example-search-sort
Fix sort order of examples search results
2020-08-10 14:04:16 +02:00
dependabot-preview[bot]
5343b8c742 Bump @babel/core from 7.11.0 to 7.11.1
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.0 to 7.11.1.
- [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.11.1/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 09:04:22 +00:00
dependabot-preview[bot]
7bae616edb Bump rollup from 2.23.0 to 2.23.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.23.0 to 2.23.1.
- [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.23.0...v2.23.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 09:03:40 +00:00
dependabot-preview[bot]
6d04653077 Bump rollup-plugin-terser from 6.1.0 to 7.0.0
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 6.1.0 to 7.0.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v6.1.0...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 09:02:52 +00:00
dependabot-preview[bot]
6f1b327c1a Bump worker-loader from 3.0.0 to 3.0.1
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 3.0.0 to 3.0.1.
- [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.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 09:02:08 +00:00
dependabot-preview[bot]
dcc7dc5fd8 Bump terser-webpack-plugin from 3.0.8 to 4.0.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.8 to 4.0.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.8...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 09:01:31 +00:00
dependabot-preview[bot]
6194611e5a Bump mocha from 8.1.0 to 8.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 8.1.0 to 8.1.1.
- [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.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 09:00:53 +00:00
Andreas Hocevar
49a3f9ff58 Merge pull request #11413 from mike-000/patch-12
Include scale option in RegularShape and Circle style constructors
2020-08-10 09:44:08 +02:00
Björn Harrtell
a58bff0981 Initial GetFeature verification 2020-08-10 03:50:39 +02:00
Björn Harrtell
daa0824b17 Refactor transaction serialization 2020-08-09 23:28:22 +02:00
Björn Harrtell
c675ce5217 Fix srsName wrong context 2020-08-09 22:47:03 +02:00
Björn Harrtell
d3041295a1 Initial spike on WFS 2.0 2020-08-09 22:36:41 +02:00
Maximilian Krög
558b3a3ed2 Support alpha channel for icon tinting 2020-08-09 21:58:33 +02:00
Maximilian Krög
38ecaa9814 Use compositing operation for icon colorization when possible. 2020-08-09 21:58:33 +02:00
Andreas Hocevar
d9fb969765 Fix sort order of examples search results 2020-08-09 21:23:13 +02:00
Maximilian Krög
d2d1022359 Link labels to input elements 2020-08-09 20:49:07 +02:00
Maximilian Krög
37e5529b22 Update some example styles / formatting 2020-08-09 20:49:07 +02:00
mike-000
722e0c5b69 Include scale in options
Add rectangle to example
Add ellipse and rectangle to rendering tests
2020-08-09 10:25:16 +01:00
Andreas Hocevar
82328fe2c1 Merge pull request #11401 from mike-000/patch-10
Ensure image extent is valid when scale is negative
2020-08-08 21:15:10 +02:00
Andreas Hocevar
25f8b4d8d7 Merge pull request #11395 from mike-000/patch-9
Correct inchesPerMeter and add tests for ScaleBar text
2020-08-08 14:10:40 +02:00
mike-000
588e3b91d8 use numbers for expected values 2020-08-08 13:01:04 +01:00
Andreas Hocevar
11c715c5a4 Merge pull request #11407 from bjornharrtell/gml3backcompat
Support deprecated coordinates element for GML3+ formats
2020-08-08 12:28:37 +02:00
mike-000
857f4e01ac use precise international inchesPerMeter
test scalebar text
2020-08-07 10:49:31 +01:00
mike-000
9468a088c0 ensure extent is valid when scale is negative
test large flipped icon in buffer zone
test hit detection for negative image scale
2020-08-07 10:26:38 +01:00
Björn Harrtell
dbc7b8b602 Support deprecated coordinates element for GML3+ formats 2020-08-07 03:02:25 +02:00
Mihai CAZACU
49f883664a fix comments 2020-08-06 21:30:10 +03:00
Mihai CAZACU
2a683a2672 format code 2020-08-06 21:27:13 +03:00
Mihai CAZACU
bd22d427ab add CSS class name support for full-screen button 2020-08-06 21:23:16 +03:00
Mihai CAZACU
7cbdf16a64 format code 2020-08-06 20:34:54 +03:00
Mihai CAZACU
c53ff622f2 add CSS class name support for rotate button 2020-08-06 20:32:26 +03:00
Mihai CAZACU
97568b21cd remove typos 2020-08-06 20:14:16 +03:00
Mihai CAZACU
fd264f86a6 format code 2020-08-06 20:11:37 +03:00
Mihai CAZACU
ec1a87443d format code 2020-08-06 20:09:27 +03:00
Mihai CAZACU
ebf0d87aa8 add CSS class name support for attribution button 2020-08-06 20:06:28 +03:00
Mihai CAZACU
fe3295b469 format code 2020-08-06 16:40:45 +03:00
Mihai CAZACU
763629382e format code 2020-08-06 16:36:08 +03:00
Mihai CAZACU
1aa33085c1 add CSS class name support for zoom buttons 2020-08-06 16:15:59 +03:00
Andreas Hocevar
1a356332f3 Merge pull request #11398 from MoonE/fix-workshop-slash-download-links
Fix link to workshop / download
2020-08-05 09:41:45 +02:00
Maximilian Krög
5e30b15860 Fix link to workshop / download 2020-08-04 21:47:58 +02:00
Tim Schaub
1b77409b63 Merge pull request #11391 from mike-000/patch-8
Simplify scale calculation used for WMS getLegendUrl()
2020-08-03 21:24:22 -06:00
mike-000
95702648b2 simplify scale calculation
update tests to reflect more accurate calculation
2020-08-03 23:03:56 +01:00
Andreas Hocevar
425214eb4c Merge pull request #11390 from openlayers/release-v6.4.3
Release v6.4.3
2020-08-03 19:45:39 +02:00
Andreas Hocevar
95d8fbd538 Develop on 6.4.4-dev 2020-08-03 19:44:45 +02:00
Andreas Hocevar
246aded819 Update package to version 6.4.3 2020-08-03 19:41:16 +02:00
Andreas Hocevar
ecc6f83451 Changelog for v6.4.3 2020-08-03 19:40:05 +02:00
Tim Schaub
36d8760b0d Merge pull request #11381 from openlayers/dependabot/npm_and_yarn/karma-5.1.1
Bump karma from 5.1.0 to 5.1.1
2020-08-03 07:31:30 -06:00
Tim Schaub
6ebaecb9ca Merge pull request #11383 from openlayers/dependabot/npm_and_yarn/worker-loader-3.0.0
Bump worker-loader from 2.0.0 to 3.0.0
2020-08-03 07:30:57 -06:00
Tim Schaub
1015274574 Merge pull request #11386 from openlayers/dependabot/npm_and_yarn/webpack-4.44.1
Bump webpack from 4.44.0 to 4.44.1
2020-08-03 07:30:22 -06:00
dependabot-preview[bot]
785c355453 Bump webpack from 4.44.0 to 4.44.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.0 to 4.44.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.0...v4.44.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 13:25:21 +00:00
dependabot-preview[bot]
88259ebd13 Bump karma from 5.1.0 to 5.1.1
Bumps [karma](https://github.com/karma-runner/karma) from 5.1.0 to 5.1.1.
- [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/v5.1.0...v5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 13:25:17 +00:00
Tim Schaub
26fce9f69d Merge pull request #11384 from openlayers/dependabot/npm_and_yarn/babel/core-7.11.0
Bump @babel/core from 7.10.5 to 7.11.0
2020-08-03 07:23:54 -06:00
Tim Schaub
b44ab84fcf Merge pull request #11382 from openlayers/dependabot/npm_and_yarn/mocha-8.1.0
Bump mocha from 8.0.1 to 8.1.0
2020-08-03 07:20:45 -06:00
dependabot-preview[bot]
a5161d7664 Bump @babel/core from 7.10.5 to 7.11.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.5 to 7.11.0.
- [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.11.0/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 13:20:10 +00:00
Tim Schaub
0df64f2d47 Merge pull request #11385 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.11.0
Bump @babel/preset-env from 7.10.4 to 7.11.0
2020-08-03 07:15:44 -06:00
Tim Schaub
f51460a95c Merge pull request #11387 from openlayers/dependabot/npm_and_yarn/eslint-7.6.0
Bump eslint from 7.5.0 to 7.6.0
2020-08-03 07:14:15 -06:00
Tim Schaub
d57ba05a6e Merge pull request #11388 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.8
Bump terser-webpack-plugin from 3.0.7 to 3.0.8
2020-08-03 07:13:00 -06:00
dependabot-preview[bot]
e62e5dca06 Bump terser-webpack-plugin from 3.0.7 to 3.0.8
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.7...v3.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:54:45 +00:00
dependabot-preview[bot]
afe468331c Bump eslint from 7.5.0 to 7.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.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.5.0...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:54:11 +00:00
dependabot-preview[bot]
bee28fcef4 Bump @babel/preset-env from 7.10.4 to 7.11.0
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.4 to 7.11.0.
- [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.11.0/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:52:39 +00:00
dependabot-preview[bot]
71fd444a56 Bump worker-loader from 2.0.0 to 3.0.0
Bumps [worker-loader](https://github.com/webpack-contrib/worker-loader) from 2.0.0 to 3.0.0.
- [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/v2.0.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:51:00 +00:00
dependabot-preview[bot]
d3a8118499 Bump mocha from 8.0.1 to 8.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.0.1 to 8.1.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.0.1...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 09:50:31 +00:00
Andreas Hocevar
10dd6ce210 Merge pull request #11379 from jipexu/tooltipbranch
tooltip bs on fullscreen
2020-08-02 21:42:34 +02:00
Andreas Hocevar
7591df8b35 Merge pull request #11378 from mike-000/patch-7
Fix imageSmoothing: false when ImageStatic is stretched to fit extent
2020-08-02 21:35:24 +02:00
Andreas Hocevar
f6c860eb7d Merge pull request #11367 from MoonE/examples-mapbox-use-https
Use https for mapbox tiles
2020-08-02 21:33:39 +02:00
jeanpierre
6f59216974 tooltip bs on fullscreen 2020-08-02 20:41:30 +02:00
Andreas Hocevar
2658dec59d Merge pull request #11377 from ahocevar/hitdetect-no-buffer
Only include renderBuffer when decluttering
2020-08-01 23:44:58 +02:00
Tim Schaub
b99bf19fa2 Merge pull request #11376 from MoonE/examples-fix-overlay-order
Overlay Eample - Show the popup in front of the other overlays
2020-08-01 15:27:19 -06:00
mike-000
95e506cf36 Apply context options in handleImageChange
update tests
add new tests
2020-08-01 16:07:58 +01:00
Andreas Hocevar
3744283f02 Only include renderBuffer when decluttering 2020-08-01 10:58:43 +02:00
Maximilian Krög
cd069e30fb Show the popup over in front of the other overlays 2020-08-01 00:34:22 +02:00
Andreas Hocevar
302bc662af Merge pull request #11368 from openlayers/release-v6.4.2
Release v6.4.2
2020-07-30 23:16:06 +02:00
Andreas Hocevar
bf33d47374 Fix typo in changelog 2020-07-30 23:15:08 +02:00
Andreas Hocevar
bbad40f08b Develop on 6.4.3-dev 2020-07-30 23:13:51 +02:00
Andreas Hocevar
7c93439383 Update package version to 6.4.2 2020-07-30 23:09:27 +02:00
Andreas Hocevar
873505e82a Changelog for v6.4.2 2020-07-30 23:08:46 +02:00
Andreas Hocevar
52afff2e29 Merge pull request #11364 from ahocevar/pep-examples
Load pointer events polyfill - before other polyfills
2020-07-30 22:55:37 +02:00
Andreas Hocevar
82118b0e4d Merge pull request #11365 from mike-000/patch-6
Revert to original method proposed in #11193
2020-07-30 22:54:28 +02:00
Andreas Hocevar
5a86e1aaa4 Add rendering test for rotated image vector clipping with intersection 2020-07-30 22:49:18 +02:00
Maximilian Krög
8645dbc333 Use https for mapbox tiles 2020-07-30 22:28:48 +02:00
mike-000
562b2f632f Revert #11193, set vectorRenderer.clipping = false 2020-07-30 20:11:11 +01:00
Andreas Hocevar
7b297283f2 Load pointer events polyfill - before other polyfills 2020-07-30 21:01:10 +02:00
mike-000
6610391c0b Add clipping property 2020-07-30 19:58:23 +01:00
Andreas Hocevar
6db0e1d2dc Merge pull request #11359 from mike-000/patch-3
check projection can wrap before getting width
2020-07-30 18:24:01 +02:00
Andreas Hocevar
f9792f69a4 Add more tests 2020-07-30 18:04:44 +02:00
mike-000
e6592c95ea remove whitespace 2020-07-30 14:23:51 +01:00
mike-000
eee7e2523c fix prettier 2020-07-30 14:18:58 +01:00
mike-000
dcdaf6ddc5 add non-global projection wrapX text 2020-07-30 14:15:17 +01:00
mike-000
39334fa95d check projection can wrap before getting width 2020-07-30 12:24:03 +01:00
Andreas Hocevar
ba41100799 Merge pull request #11355 from ahocevar/api-key
Cloak API key with instructions where to get one
2020-07-30 12:02:55 +02:00
Andreas Hocevar
4f0f81c802 Cloak API key with instructions where to get one 2020-07-30 09:39:34 +02:00
Andreas Hocevar
82ff027a30 Merge pull request #11354 from ahocevar/line-breaks
Fix line breaks in changelog
2020-07-30 09:18:10 +02:00
Andreas Hocevar
c0223590dc Fix line breaks in changelog 2020-07-30 09:16:14 +02:00
Andreas Hocevar
f43ea770e1 Merge pull request #11351 from openlayers/release-v6.4.1
Release v6.4.1
2020-07-29 20:33:06 +02:00
Andreas Hocevar
e128804e2a Develop on 4.6.1-dev 2020-07-29 20:31:06 +02:00
Andreas Hocevar
577c95e259 Update package version to 6.4.1 2020-07-29 20:25:17 +02:00
Andreas Hocevar
e4da490c2a Changelog for v6.4.1 2020-07-29 20:24:05 +02:00
Andreas Hocevar
a8231ad6cb Merge pull request #11346 from ahocevar/text-stride
Fix text instruction flat coordinates when stride is not 2
2020-07-29 20:12:56 +02:00
Andreas Hocevar
274a8b8fc3 Fix text instruction flat coordinates when stride is not 2 2020-07-29 19:56:37 +02:00
Tim Schaub
0fb76262df Merge pull request #11348 from M393/mapboxvector-to-layer-exports
Add all layers to layer export
2020-07-29 07:34:16 -06:00
Maximilian Krög
fc8bf7b7b8 Add all layers to layer export 2020-07-29 13:54:16 +02:00
Andreas Hocevar
cbe7561a80 Merge pull request #11337 from ahocevar/from-invalid-target
Do not rely on old value for target
2020-07-29 09:45:44 +02:00
Andreas Hocevar
47d291b504 Merge pull request #11345 from MoonE/examples-fix-geographic
Fix the popup in the geographic example
2020-07-28 21:01:48 +02:00
Andreas Hocevar
71a4995017 Merge pull request #11336 from ahocevar/retina-hitdetect
Hit detect with pixelRatio of 1
2020-07-28 20:55:01 +02:00
Maximilian Krög
85e4a62553 Fix the popup in the geographic example
Set the container to prevent the popup from moving the element to the body.
Don't sanitze the html, as table is not in the list of allowed elements.
2020-07-28 20:21:12 +02:00
Andreas Hocevar
517d38461c Merge pull request #11330 from openlayers/dependabot/npm_and_yarn/rollup-2.23.0
Bump rollup from 2.22.1 to 2.23.0
2020-07-28 12:58:50 +02:00
dependabot-preview[bot]
96f4c08572 Bump rollup from 2.22.1 to 2.23.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.22.1 to 2.23.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.22.1...v2.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 10:46:20 +00:00
Andreas Hocevar
e17aa61dfd Merge pull request #11332 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.5
Bump jsdoc from 3.6.4 to 3.6.5
2020-07-28 12:45:01 +02:00
Andreas Hocevar
cdb8dc27c2 Merge pull request #11329 from openlayers/dependabot/npm_and_yarn/puppeteer-5.2.1
Bump puppeteer from 5.2.0 to 5.2.1
2020-07-28 12:43:59 +02:00
Andreas Hocevar
013d7b3fe9 Merge pull request #11328 from openlayers/dependabot/npm_and_yarn/webpack-4.44.0
Bump webpack from 4.43.0 to 4.44.0
2020-07-28 12:43:23 +02:00
Andreas Hocevar
753ccdd673 Merge pull request #11341 from jipexu/patch-1
update link to BS  doc
2020-07-28 01:02:45 +02:00
jipexu
322410e114 update link ti BS doc 2020-07-28 00:54:59 +02:00
Andreas Hocevar
fc58425df8 Merge pull request #11340 from MoonE/examples-fix-build
Examples fix / improvement
2020-07-27 23:32:15 +02:00
Maximilian Krög
edf5125149 Fix kml-earthquakes tooltip 2020-07-27 23:22:53 +02:00
Maximilian Krög
3be9435a70 Remove unused codepen resources, duplicate bootstrap / jquery js
Use push instead of setting by index, gets rid of some empty lines generated by sparse
resource array
2020-07-27 23:22:50 +02:00
Maximilian Krög
a0e487fcbd Update jquery version to 3.5.1 for all examples 2020-07-27 21:13:00 +02:00
Andreas Hocevar
cda979b848 Merge pull request #11339 from MoonE/examples-use-new-bootstrap
Use bootstrap 4.5.0 in all examples
2020-07-27 20:29:02 +02:00
Maximilian Krög
594ba4a0ab Use bootstrap 4.5.0 in all examples 2020-07-27 20:15:55 +02:00
Andreas Hocevar
ac5f52a21f Hit detect everything with a pixel ratio of 1 2020-07-27 19:56:35 +02:00
Andreas Hocevar
93d3528047 Do not rely on old value for target 2020-07-27 17:23:42 +02:00
Andreas Hocevar
cad5057a96 Merge pull request #11327 from ahocevar/fix-ie11
Fix Internet Explorer issues
2020-07-27 13:23:41 +02:00
Andreas Hocevar
fe16ce6b4d IE does not support document.contains 2020-07-27 11:31:29 +02:00
dependabot-preview[bot]
7ce0e0e745 Bump jsdoc from 3.6.4 to 3.6.5
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.5/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.4...3.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 09:26:18 +00:00
dependabot-preview[bot]
7495f04e4e Bump puppeteer from 5.2.0 to 5.2.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.2.0...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 09:24:31 +00:00
dependabot-preview[bot]
b9166215e7 Bump webpack from 4.43.0 to 4.44.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.43.0 to 4.44.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.43.0...v4.44.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 09:23:09 +00:00
Andreas Hocevar
3e4c82c557 Use transpiled modules for legacy build 2020-07-27 10:32:49 +02:00
Andreas Hocevar
b759c7e08d Merge pull request #11323 from openlayers/release-v6.4.0
Release v6.4.0
2020-07-26 20:51:43 +02:00
Andreas Hocevar
4ae924ea78 Develop on 6.4.1-dev 2020-07-26 20:44:50 +02:00
Andreas Hocevar
b1c2d639bf Update package version to 6.4.0 2020-07-26 20:36:43 +02:00
Andreas Hocevar
0a77e1d19e Changelog for v6.4.0 2020-07-26 20:32:44 +02:00
Andreas Hocevar
93c6f84896 Merge pull request #11315 from MoonE/examples-fix-html
Examples fix html
2020-07-26 19:45:38 +02:00
Maximilian Krög
4deb3a2dfc Do not load resources multiple time for codepen 2020-07-26 19:31:59 +02:00
Maximilian Krög
e51643dfca Show correct link for codepen button 2020-07-26 19:31:59 +02:00
Maximilian Krög
e39e3ea152 Update prism js version
Use latest version of prism, add json formatter, copy to clipboard plugin,
and line-numbers.
Now the clipboard js is automatically loaded by prism it  it not included
and the buttons are automatically initialized. Though I added some css to
match the previous style.
2020-07-26 19:31:59 +02:00
Maximilian Krög
e723061f9b Add empty alt tag to logo 2020-07-26 19:31:57 +02:00
Maximilian Krög
f8edc928ed The charset meta tag should be withing the first 1024 bytes 2020-07-26 19:27:11 +02:00
Maximilian Krög
8b733c2eba Cleanup experimental notice
With bootstrap js always included there is no need to add own js to dismiss it.
Only generate the notice for experimental pages, no need to have js for that.
2020-07-26 19:27:11 +02:00
Maximilian Krög
4f76334c92 Script tag not allowed out side body / head 2020-07-26 19:27:11 +02:00
Maximilian Krög
281f7d7a8f Remove unused ol.css from the example index.html 2020-07-26 19:27:09 +02:00
Maximilian Krög
e5983d262a Add missing comma between tags / use same case as in other examples 2020-07-26 19:25:59 +02:00
Maximilian Krög
9844483364 Remove tags / duplicate url from exported info script
The tags are not used currently.
Adding the query string to the urls doesn't make sense as far as I understand
it.
2020-07-26 19:25:56 +02:00
Andreas Hocevar
07a7031d48 Merge pull request #11322 from jipexu/master
same dropdown hover than the site
2020-07-26 19:12:26 +02:00
Andreas Hocevar
4439b35f14 Merge pull request #11321 from jipexu/patch-3
dropdown margin bottom
2020-07-26 19:11:57 +02:00
Andreas Hocevar
06f8aea1d1 Merge pull request #11320 from jipexu/patch-2
margin bottom for dropdown
2020-07-26 19:11:27 +02:00
Andreas Hocevar
7c0e9f5070 Merge pull request #11319 from jipexu/patch-1
dropdown margin bottom
2020-07-26 19:10:52 +02:00
jeanpierre
7dcddf4ec7 Update layout.css 2020-07-26 18:41:42 +02:00
jipexu
f71af085fe dropdown margin bottom 2020-07-26 18:09:17 +02:00
jipexu
50ec168a1b margin bottom for dropdown 2020-07-26 18:04:47 +02:00
jipexu
4b6e440610 dropdown margin bottom 2020-07-26 18:02:24 +02:00
Andreas Hocevar
6b24a378a3 Merge pull request #11318 from ahocevar/active-nav-item
Mark active nav item
2020-07-26 17:49:42 +02:00
Andreas Hocevar
2b23052d23 Mark active nav item 2020-07-26 17:41:16 +02:00
Andreas Hocevar
9c737a036e Merge pull request #11317 from ahocevar/doc-nav
Make header and menu navigation consistent with web site
2020-07-26 17:25:17 +02:00
Andreas Hocevar
f70374e453 Make header and menu navigation consistent with web site 2020-07-26 17:15:49 +02:00
Andreas Hocevar
5b84b2470c Merge pull request #11277 from sbrunner/hires-regularshape-master
Have high resolution regular shape
2020-07-26 12:39:44 +02:00
Andreas Hocevar
f018f4d5e8 Merge pull request #11313 from MoonE/examples-add-tag-count
Add direct link to other examples to tags
2020-07-26 12:20:20 +02:00
Andreas Hocevar
c144c7265e Example doc and color changes 2020-07-26 12:13:16 +02:00
Andreas Hocevar
2e781afd56 Use static test context for tainted canvas 2020-07-26 12:12:57 +02:00
Maximilian Krög
9093478016 Add modal to tag count with direct links to other examples 2020-07-25 20:40:20 +02:00
Maximilian Krög
50404ca409 Add number of occurence to tags
It can be a bit frustrating to click on a tag only to realise it was the
only example with that tag.
2020-07-25 14:00:53 +02:00
jipexu
a90cee57e5 Merge pull request #1 from openlayers/main
update
2020-07-25 10:18:27 +02:00
Andreas Hocevar
aa0a895212 Merge pull request #11310 from ahocevar/bootstrap-update
Update bootstrap, cleanup css, make pages more responsive
2020-07-23 12:46:27 +02:00
Andreas Hocevar
db3af0d503 Merge pull request #11304 from ahocevar/reuse-empty-canvas
Reuse empty canvas
2020-07-23 12:35:16 +02:00
Andreas Hocevar
0dafe6adbd Remove unused fonts 2020-07-23 12:32:27 +02:00
jeanpierre
9616dee9f7 Update bootstrap, cleanup css, make pages more responsive 2020-07-23 12:32:27 +02:00
Andreas Hocevar
4eab8ecd40 Merge pull request #11309 from ahocevar/fix-example-build
Do not extract comments to avoid asset name conflicts
2020-07-23 12:31:53 +02:00
Andreas Hocevar
3a269045f2 Do not extract comments to avoid asset name conflicts 2020-07-22 21:53:38 +02:00
Andreas Hocevar
8231ac42f3 Merge pull request #11306 from petrsloup/replace-tileserver.maptiler.com
Replace/remove usage of tileserver.maptiler.com
2020-07-22 14:45:07 +02:00
Petr Sloup
84ae3d16a6 Replace/remove usage of tileserver.maptiler.com 2020-07-22 09:55:27 +02:00
Andreas Hocevar
2de96d5c84 Merge pull request #11270 from ahocevar/control-events
Fix handling of events originating from overlayContainerStopEvent children
2020-07-22 09:48:26 +02:00
Andreas Hocevar
00c928f1f5 Merge pull request #11269 from ahocevar/settarget-events
Register and unregister events in set target handler
2020-07-22 09:47:22 +02:00
Andreas Hocevar
8efb1eea43 Reuse empty canvas 2020-07-21 22:35:48 +02:00
Andreas Hocevar
f763df8c0a Merge pull request #11300 from mike-000/patch-2
Drag and Drop to update source and fire event only if features added
2020-07-21 11:56:07 +02:00
mike-000
926d740a8e fix syntax of return with typecast 2020-07-20 19:24:56 +01:00
mike-000
f9f90ea766 move type cast to tryReadFeatures_ 2020-07-20 19:16:49 +01:00
mike-000
9fb45aa2d2 fix prettier 2020-07-20 17:06:52 +01:00
mike-000
21f4d4998b type casting 2020-07-20 17:02:38 +01:00
mike-000
1812ce8b28 update source and fire event only if features added 2020-07-20 16:08:00 +01:00
Andreas Hocevar
c2376455ad Merge pull request #11298 from openlayers/dependabot/npm_and_yarn/babel/core-7.10.5
Bump @babel/core from 7.10.4 to 7.10.5
2020-07-20 11:47:18 +02:00
Andreas Hocevar
121cc0d827 Merge pull request #11297 from openlayers/dependabot/npm_and_yarn/puppeteer-5.2.0
Bump puppeteer from 5.1.0 to 5.2.0
2020-07-20 11:46:52 +02:00
Andreas Hocevar
eab628e7aa Merge pull request #11296 from openlayers/dependabot/npm_and_yarn/typescript-3.9.7
Bump typescript from 3.9.6 to 3.9.7
2020-07-20 11:46:28 +02:00
Andreas Hocevar
57fb401512 Merge pull request #11295 from openlayers/dependabot/npm_and_yarn/eslint-7.5.0
Bump eslint from 7.4.0 to 7.5.0
2020-07-20 11:46:01 +02:00
Andreas Hocevar
c2cddc1289 Merge pull request #11294 from openlayers/dependabot/npm_and_yarn/rollup-2.22.1
Bump rollup from 2.21.0 to 2.22.1
2020-07-20 11:45:30 +02:00
Andreas Hocevar
6310377e0d Merge pull request #11293 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.7
Bump terser-webpack-plugin from 3.0.6 to 3.0.7
2020-07-20 11:44:59 +02:00
Andreas Hocevar
a784b8e207 Merge pull request #11292 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.10
Bump url-polyfill from 1.1.9 to 1.1.10
2020-07-20 11:44:22 +02:00
Andreas Hocevar
dacf6fd281 Merge pull request #11291 from openlayers/dependabot/npm_and_yarn/marked-1.1.1
Bump marked from 1.1.0 to 1.1.1
2020-07-20 11:43:53 +02:00
dependabot-preview[bot]
3d68d5ca0a Bump @babel/core from 7.10.4 to 7.10.5
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.4 to 7.10.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.10.5/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:22:23 +00:00
dependabot-preview[bot]
d3ba7e9cfe Bump puppeteer from 5.1.0 to 5.2.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:20:54 +00:00
dependabot-preview[bot]
55ed134216 Bump typescript from 3.9.6 to 3.9.7
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:19:46 +00:00
dependabot-preview[bot]
ef785c342a Bump eslint from 7.4.0 to 7.5.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.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.4.0...v7.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:18:54 +00:00
dependabot-preview[bot]
1f6e2a6b92 Bump rollup from 2.21.0 to 2.22.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.21.0 to 2.22.1.
- [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.21.0...v2.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:17:32 +00:00
dependabot-preview[bot]
3344b71511 Bump terser-webpack-plugin from 3.0.6 to 3.0.7
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.6...v3.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:16:42 +00:00
dependabot-preview[bot]
0b86747ee1 Bump url-polyfill from 1.1.9 to 1.1.10
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill) from 1.1.9 to 1.1.10.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases)
- [Commits](https://github.com/lifaon74/url-polyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:15:40 +00:00
dependabot-preview[bot]
ca3e9f3a74 Bump marked from 1.1.0 to 1.1.1
Bumps [marked](https://github.com/markedjs/marked) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 09:14:56 +00:00
Andreas Hocevar
56db05772c Register and unregister events in set target handler 2020-07-19 19:24:51 +02:00
Andreas Hocevar
57f4867aba Merge pull request #11286 from MoonE/apidoc-navigation-split-at-slash
Allow line breaks before slashes in apidoc navigation
2020-07-18 09:41:47 +02:00
Andreas Hocevar
4d8613644e Merge pull request #11287 from MoonE/examples-search2
Examples index page fixes
2020-07-18 09:33:36 +02:00
Andreas Hocevar
dc548fe8b8 Merge pull request #11288 from openlayers/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-18 09:31:23 +02:00
dependabot[bot]
b5e03cd270 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 00:11:02 +00:00
Maximilian Krög
217f648608 Fix quotes in tags yaml 2020-07-17 21:52:35 +02:00
Maximilian Krög
557563f331 Update scoring / indexing code
Add dict / word as parameters to updateScore function so it
does not need to be created in each loop, and shorten it a bit.
2020-07-17 21:52:35 +02:00
Maximilian Krög
b6404fb766 Remove unnecessary space at end of bing key 2020-07-17 21:52:35 +02:00
Maximilian Krög
856830b834 No empty string words / allow 1 character search
If a  space character is at either end of the input string splitting it
procuces an empty string that matches everything.

Allow single character words as there are is a single character tag: `x`
2020-07-17 21:52:34 +02:00
Maximilian Krög
b41a43cb7f Simplify sorting of the examples by precalculating the score / words 2020-07-17 21:52:34 +02:00
Maximilian Krög
687795ba24 Skip listing all examples if query param is set.
Also use the `input` event instead of `keyup` and addEventlistener instead
of setting the onload / onchange properties.
And handle space character encoded as `+` in query string correctly.
2020-07-17 21:52:34 +02:00
Maximilian Krög
84463c3030 Make example builds repeatable 2020-07-17 21:52:27 +02:00
Maximilian Krög
292ff812fe Split searching and listing 2020-07-17 21:18:53 +02:00
Maximilian Krög
dc05cacefa Prettier code
This also fixes two undeclared variables and the regex is only created once per word
2020-07-17 21:18:53 +02:00
Maximilian Krög
681fc155a7 Move js code into separate file to benefit from code analysis 2020-07-17 21:18:47 +02:00
MoonE
353de14624 Update config/jsdoc/api/template/tmpl/navigation.tmpl
Co-authored-by: Andreas Hocevar <andreas.hocevar@gmail.com>
2020-07-17 16:17:07 +02:00
Olivier Guyot
15553f7aec Merge pull request #11197 from RydingM/master
Added '&&' logical operator to expressions
2020-07-17 14:37:12 +02:00
Stéphane Brunner
f6061f0589 Don't creates too many canvas 2020-07-17 11:22:29 +02:00
Maximilian Krög
434ac3141f Allow line breaks before slashes in apidoc navigation 2020-07-16 21:51:29 +02:00
michael ryding
b25d7bc58a Added all and any operator 2020-07-16 09:03:00 +01:00
Andreas Hocevar
f8732cd0a8 Merge pull request #11283 from yonzmeer/remove-update-while-from-vector-image
Remove update while interacting/animating from VectorImage
2020-07-16 08:11:28 +02:00
yonzmeer
4001b0c0b9 Remove update while interacting/animating from VectorImage
as described in issue 11250
2020-07-15 20:15:22 +03:00
Stéphane Brunner
bf24288f09 Fix for not integer pixel ratio 2020-07-15 16:37:40 +02:00
Stéphane Brunner
fd1effa992 High resolution icon 2020-07-15 16:30:24 +02:00
Stéphane Brunner
f2fe6e5957 Have high resolution regular shape 2020-07-15 10:53:20 +02:00
Andreas Hocevar
2dd9342a98 Merge pull request #11267 from ahocevar/vectortile-label-rotation
Fix upright labels on vector tiles
2020-07-13 18:18:24 +02:00
Olivier Guyot
f9e639c960 Merge pull request #11263 from mike-000/patch-19
Fix rotation reset in Mapbox-gl Layer example
2020-07-13 13:30:59 +02:00
Andreas Hocevar
aca3d49550 Merge pull request #11275 from openlayers/dependabot/npm_and_yarn/puppeteer-5.1.0
Bump puppeteer from 5.0.0 to 5.1.0
2020-07-13 13:27:26 +02:00
Andreas Hocevar
f3a67e8182 Merge pull request #11268 from ahocevar/cache-size
Cache size
2020-07-13 11:57:49 +02:00
Andreas Hocevar
b9d6ae4fca Merge pull request #11274 from openlayers/dependabot/npm_and_yarn/rollup-2.21.0
Bump rollup from 2.19.0 to 2.21.0
2020-07-13 11:57:06 +02:00
dependabot-preview[bot]
6bc789641d Bump puppeteer from 5.0.0 to 5.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.0.0...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 09:53:10 +00:00
dependabot-preview[bot]
cafa2d2bd6 Bump rollup from 2.19.0 to 2.21.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.19.0 to 2.21.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.19.0...v2.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 09:53:02 +00:00
Andreas Hocevar
17091bf5d4 Merge pull request #11273 from openlayers/dependabot/npm_and_yarn/yargs-15.4.1
Bump yargs from 15.4.0 to 15.4.1
2020-07-13 11:50:52 +02:00
mike-000
b896fd0010 specify font family 2020-07-13 10:47:03 +01:00
mike-000
49a4344446 reinsert experimental: tag 2020-07-13 10:43:21 +01:00
dependabot-preview[bot]
7da490c2ac Bump yargs from 15.4.0 to 15.4.1
Bumps [yargs](https://github.com/yargs/yargs) from 15.4.0 to 15.4.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 09:07:20 +00:00
Andreas Hocevar
d97edd28e5 Merge pull request #11271 from mike-000/patch-20
Make style override CSS compatible with importing ol.css and with IE
2020-07-12 16:09:55 +02:00
mike-000
8321cc6fbf remove dependence on container div 2020-07-12 14:15:49 +01:00
mike-000
54fc7439b4 make style override consistent with other examples 2020-07-12 13:47:02 +01:00
mike-000
30d48573a7 make compatible with ol.css import 2020-07-12 13:04:34 +01:00
mike-000
635f380a9d make compatible with ol.css import 2020-07-12 12:57:25 +01:00
mike-000
6ea784ae1b make compatible with ol.css import 2020-07-12 12:54:14 +01:00
mike-000
d8a440ba4a make compatible with ol.css import and with IE 2020-07-12 12:45:22 +01:00
mike-000
942b306a97 make compatible with ol.css import and with IE 2020-07-12 12:45:14 +01:00
mike-000
2bc3f2ed73 remove dependence on container div 2020-07-12 12:28:41 +01:00
mike-000
896352bd8b remove container div 2020-07-12 12:21:05 +01:00
Andreas Hocevar
14b7b1d993 Fix handling of events originating from overlayContainerStopEvent children 2020-07-12 13:15:11 +02:00
Andreas Hocevar
18d96a2205 Auto-grow tile cache from zero 2020-07-11 20:32:54 +02:00
Andreas Hocevar
0167c2760e Grow cache size dynamically 2020-07-11 18:04:07 +02:00
Andreas Hocevar
6ec49d5ee0 Fix upright labels on vector tiles 2020-07-11 17:55:34 +02:00
mike-000
bee05bbd24 update to latest mapbox gl version 2020-07-10 21:47:31 +01:00
mike-000
233269d56c add missing import 2020-07-10 18:27:35 +01:00
mike-000
960fad2fc7 Fix rotation reset and add attributions 2020-07-10 18:16:32 +01:00
mike-000
63135dadf6 Reset font size changed by Mapbox CSS 2020-07-10 17:58:17 +01:00
mike-000
5461a1dafd Add files via upload 2020-07-10 17:53:44 +01:00
mike-000
d99f58d7ff update mapbox gl version 2020-07-10 17:45:25 +01:00
Andreas Hocevar
5096b73816 Merge pull request #11253 from ahocevar/fix-safe-transform
Only clamp to source extent for safe transforms
2020-07-10 13:32:39 +02:00
Andreas Hocevar
13aecd40ca Merge pull request #11258 from ahocevar/package-tag
Replace ol tag with openlayers
2020-07-10 07:35:14 +02:00
Andreas Hocevar
1e22bf142d Replace ol tag with openlayers 2020-07-09 09:36:16 +02:00
Andreas Hocevar
5cd102af10 Merge pull request #11256 from EvertEt/rastersource-dispose-docs
Add dispose API docs to raster source (#10856)
2020-07-08 16:11:42 +02:00
EvertE
27983a8f8d Add dispose API docs to raster source (#10856) 2020-07-08 09:57:07 +02:00
Andreas Hocevar
a2727ffe8f Merge pull request #11255 from Shekenix/getDataAtPixel-improvement
GetDataAtPixel performance improvement
2020-07-07 23:40:04 +02:00
Andreas Hocevar
a9b3a5bcc9 Only clamp to source projection extent 2020-07-07 10:12:47 +02:00
Andreas Hocevar
8baf91bc0e Merge pull request #11252 from jmacura/ol/geom-exports
Add missing SimpleGeometry export
2020-07-06 22:36:39 +02:00
jmacura
ec381a1986 Add missing SimpleGeometry export
Add SimpleGeometry as a named export from ol/geom.
Sort exports alphabetically.

closes #11233
2020-07-06 20:01:50 +02:00
Andreas Hocevar
98daf5d63f Merge pull request #11244 from openlayers/dependabot/npm_and_yarn/rollup-2.19.0
Bump rollup from 2.18.0 to 2.19.0
2020-07-06 11:53:18 +02:00
Andreas Hocevar
c72b7b3502 Merge pull request #11245 from openlayers/dependabot/npm_and_yarn/babel/core-7.10.4
Bump @babel/core from 7.10.3 to 7.10.4
2020-07-06 11:52:46 +02:00
Andreas Hocevar
63e63f35f5 Merge pull request #11243 from openlayers/dependabot/npm_and_yarn/pixelmatch-5.2.1
Bump pixelmatch from 5.2.0 to 5.2.1
2020-07-06 11:51:47 +02:00
Andreas Hocevar
aa643619d6 Merge pull request #11248 from openlayers/dependabot/npm_and_yarn/eslint-7.4.0
Bump eslint from 7.3.0 to 7.4.0
2020-07-06 11:50:40 +02:00
Andreas Hocevar
01d0902a52 Merge pull request #11247 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.10.4
Bump @babel/preset-env from 7.10.3 to 7.10.4
2020-07-06 11:46:33 +02:00
Andreas Hocevar
2f78621b65 Merge pull request #11249 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.0.3
Bump copy-webpack-plugin from 6.0.2 to 6.0.3
2020-07-06 11:45:30 +02:00
dependabot-preview[bot]
b3ffa4a7d8 Bump rollup from 2.18.0 to 2.19.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.18.0 to 2.19.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.18.0...v2.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:43:53 +00:00
Andreas Hocevar
06f8a08b32 Merge pull request #11246 from openlayers/dependabot/npm_and_yarn/yargs-15.4.0
Bump yargs from 15.3.1 to 15.4.0
2020-07-06 11:43:53 +02:00
dependabot-preview[bot]
c132449517 Bump pixelmatch from 5.2.0 to 5.2.1
Bumps [pixelmatch](https://github.com/mapbox/pixelmatch) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/mapbox/pixelmatch/releases)
- [Commits](https://github.com/mapbox/pixelmatch/compare/v5.2.0...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:43:51 +00:00
Andreas Hocevar
298524160f Merge pull request #11242 from openlayers/dependabot/npm_and_yarn/typescript-3.9.6
Bump typescript from 3.9.5 to 3.9.6
2020-07-06 11:42:10 +02:00
Andreas Hocevar
9b4ba4d460 Merge pull request #11241 from openlayers/dependabot/npm_and_yarn/puppeteer-5.0.0
Bump puppeteer from 4.0.0 to 5.0.0
2020-07-06 11:41:35 +02:00
dependabot-preview[bot]
f642edcdfe Bump copy-webpack-plugin from 6.0.2 to 6.0.3
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.2...v6.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:17:34 +00:00
dependabot-preview[bot]
38037f3ce0 Bump eslint from 7.3.0 to 7.4.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.3.0 to 7.4.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.3.0...v7.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:17:02 +00:00
dependabot-preview[bot]
3828f76db5 Bump @babel/preset-env from 7.10.3 to 7.10.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.3 to 7.10.4.
- [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.10.4/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:15:43 +00:00
dependabot-preview[bot]
316393de7f Bump yargs from 15.3.1 to 15.4.0
Bumps [yargs](https://github.com/yargs/yargs) from 15.3.1 to 15.4.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.3.1...v15.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:14:45 +00:00
dependabot-preview[bot]
f247f4ad5c Bump @babel/core from 7.10.3 to 7.10.4
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.3 to 7.10.4.
- [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.10.4/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:14:13 +00:00
dependabot-preview[bot]
69a04876a2 Bump typescript from 3.9.5 to 3.9.6
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:10:54 +00:00
dependabot-preview[bot]
5f16463a1a Bump puppeteer from 4.0.0 to 5.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v4.0.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 09:10:06 +00:00
Kamil
a151d1b7a5 #11235
GetDataAtPixel performance improvement
2020-07-05 17:52:51 +02:00
Tim Schaub
4727208e6e Merge pull request #11226 from michalzielanski/modify-geometry-collection-bugfix
By modifying the common vertex, not all geometries were changed when …
2020-06-29 08:23:24 -06:00
Andreas Hocevar
f62d22fab9 Merge pull request #11225 from mike-000/patch-18
Use 'source-over' to render reprojection edges
2020-06-29 15:30:21 +02:00
Michał Zielański
3d9dfe2654 By modifying the common vertex, not all geometries were changed when the geometries were aggregated in the collection 2020-06-29 10:48:17 +02:00
mike-000
75ae8634f7 use 'source-over' to render edges 2020-06-28 14:51:36 +01:00
Andreas Hocevar
4621496d44 Merge pull request #11224 from mohawk2/patch-1
Quote . in RegExp
2020-06-28 00:17:53 +02:00
Andreas Hocevar
a07118a302 Merge pull request #11219 from ahocevar/safe-proj4
Make proj4 transforms behave like built-in transforms
2020-06-27 10:25:05 +02:00
mohawk2
2a9e109528 Quote . in regex, use literal not RegExp 2020-06-27 05:42:21 +01:00
Andreas Hocevar
04598d0641 Consider all corners for min/max x/y check 2020-06-26 19:29:51 +02:00
Andreas Hocevar
36a57ce6cc Remove redundant check 2020-06-26 19:29:36 +02:00
Andreas Hocevar
f41776cbb7 Also clamp x when transform failed 2020-06-26 17:36:17 +02:00
Andreas Hocevar
7b4b77433b Only clamp to dest extent when transform failed 2020-06-26 17:27:51 +02:00
Andreas Hocevar
fef349120b Avoid extra extent width calculation 2020-06-26 17:26:41 +02:00
Andreas Hocevar
39f4627b8c Improve readability and efficiency 2020-06-26 10:29:43 +02:00
Andreas Hocevar
bef4d8a494 Make proj4 transforms behave like built-in transforms 2020-06-26 00:16:52 +02:00
Andreas Hocevar
4758b533d0 Merge pull request #11218 from ahocevar/getfeature-rotated
getFeatures() uses wrong transforms after resetting rotation
2020-06-25 08:08:30 +02:00
Tim Schaub
09a458bed1 Merge pull request #11217 from tschaub/more-geosjon-tests
Additional test coverage for serializing GeoJSON
2020-06-24 15:20:26 -06:00
Andreas Hocevar
18a8961d79 Fix getFeatures after rotation reset for VectorImage 2020-06-24 21:37:25 +02:00
Andreas Hocevar
ac14f6df62 Fix getFeatures after rotation reset for Vector 2020-06-24 21:37:13 +02:00
Andreas Hocevar
e4303c7b26 Merge pull request #11215 from ahocevar/flat-multipolygon
Fix MVT multipolygons with featureClass: Feature
2020-06-24 19:36:38 +02:00
Tim Schaub
45d90cde72 Additional test coverage for serializing GeoJSON 2020-06-24 10:43:15 -06:00
Andreas Hocevar
9460b167e4 Merge pull request #11193 from mike-000/patch-14
Fix VectorImage layer clipping with rotation
2020-06-24 17:23:43 +02:00
mike-000
6c5a0674ec revert previous commit 2020-06-24 15:57:39 +01:00
mike-000
658bc0a729 correct clipping of the vector rendering 2020-06-24 15:51:41 +01:00
Andreas Hocevar
4ce1cb89c6 Merge pull request #11195 from mike-000/patch-16
getExtent() to return getEmpty() if geometry is unprojectable
2020-06-24 15:01:00 +02:00
mike-000
4c7a1817fa optimise check for NaN in extent 2020-06-24 12:46:02 +01:00
Andreas Hocevar
cfe763e469 Merge pull request #11188 from michalzielanski/late-obj-init
Late object initialization
2020-06-24 10:21:43 +02:00
Michał Zielański
e706a5cd67 Restore {Object <...>} instead of {? Object <...>} 2020-06-24 10:05:41 +02:00
Michał Zielański
235babfd7f Adaptation of previous changes to the change from 61241e7 (null instead of undefined as the initial value) 2020-06-24 09:54:56 +02:00
Andreas Hocevar
18e2044b58 Add rendering tests for MVT, comparing with GeoJSON 2020-06-23 23:53:35 +02:00
Andreas Hocevar
f139edcdae Merge pull request #11194 from mike-000/patch-15
ol/geom/LineString#getCoordinateAt() to return Z and M values if available
2020-06-23 23:51:01 +02:00
Andreas Hocevar
61241e7f90 Do nut use name annotation and avoid changing types 2020-06-23 23:07:35 +02:00
Andreas Hocevar
79c318d262 Make test polygons squares 2020-06-23 22:01:06 +02:00
Andreas Hocevar
40ab8405c1 Do not use a separate isClockwise check 2020-06-23 21:17:59 +02:00
songyumeng
b606878d57 fixes #8148
judge whether it is multiPolygon or Polygon:https://github.com/mapbox/vector-tile-js/blob/a9a9102/lib/vectortilefeature.js#L195-L223
2020-06-23 20:15:52 +02:00
Andreas Hocevar
c490745ff0 Faster clockwise check and better documentation 2020-06-23 19:56:12 +02:00
Andreas Hocevar
3349f74a04 Merge pull request #11210 from openlayers/dependabot/npm_and_yarn/puppeteer-4.0.0
Bump puppeteer from 3.3.0 to 4.0.0
2020-06-22 14:36:57 +02:00
Andreas Hocevar
7c718a854e Merge pull request #11209 from openlayers/dependabot/npm_and_yarn/rollup-2.18.0
Bump rollup from 2.16.1 to 2.18.0
2020-06-22 14:36:11 +02:00
Andreas Hocevar
a8c02312a9 Merge pull request #11208 from openlayers/dependabot/npm_and_yarn/webpack-cli-3.3.12
Bump webpack-cli from 3.3.11 to 3.3.12
2020-06-22 14:35:31 +02:00
Andreas Hocevar
d68cfcb84b Merge pull request #11207 from openlayers/dependabot/npm_and_yarn/eslint-7.3.0
Bump eslint from 7.2.0 to 7.3.0
2020-06-22 13:01:47 +02:00
Andreas Hocevar
719d84939d Merge pull request #11206 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.10.3
Bump @babel/preset-env from 7.10.2 to 7.10.3
2020-06-22 12:13:21 +02:00
dependabot-preview[bot]
bd9f4b243e Bump @babel/preset-env from 7.10.2 to 7.10.3
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.2 to 7.10.3.
- [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.10.3/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 10:05:10 +00:00
Andreas Hocevar
c88c233574 Merge pull request #11205 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.6
Bump terser-webpack-plugin from 3.0.4 to 3.0.6
2020-06-22 12:04:03 +02:00
Andreas Hocevar
c7fc28f70a Merge pull request #11204 from openlayers/dependabot/npm_and_yarn/babel/core-7.10.3
Bump @babel/core from 7.10.2 to 7.10.3
2020-06-22 12:02:46 +02:00
dependabot-preview[bot]
12445a5dc8 Bump puppeteer from 3.3.0 to 4.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.3.0...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:23:53 +00:00
dependabot-preview[bot]
6a9ded7dde Bump rollup from 2.16.1 to 2.18.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.16.1 to 2.18.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.16.1...v2.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:22:50 +00:00
dependabot-preview[bot]
4beafd250d Bump webpack-cli from 3.3.11 to 3.3.12
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.11 to 3.3.12.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.12/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.11...v3.3.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:21:45 +00:00
dependabot-preview[bot]
7b894ef300 Bump eslint from 7.2.0 to 7.3.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.2.0 to 7.3.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.2.0...v7.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:20:59 +00:00
dependabot-preview[bot]
d925bca7ff Bump terser-webpack-plugin from 3.0.4 to 3.0.6
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.4 to 3.0.6.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.4...v3.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:18:55 +00:00
dependabot-preview[bot]
155003fc35 Bump @babel/core from 7.10.2 to 7.10.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.2 to 7.10.3.
- [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.10.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:18:50 +00:00
Andreas Hocevar
d3909715bc Merge pull request #11198 from mike-000/patch-17
Add condition option to Extent interaction
2020-06-21 09:13:26 +02:00
Tim Schaub
2fc5b7a8f7 Merge pull request #11202 from tschaub/branch-names
Branch name changes
2020-06-20 13:43:12 -06:00
Tim Schaub
9f6939cfd8 Publish dev releases for pushes to main 2020-06-20 13:18:57 -06:00
Tim Schaub
96712ae51d Link to latest instead of main 2020-06-20 13:09:31 -06:00
Tim Schaub
139b048197 Prepare for a new default branch name 2020-06-19 10:25:03 -06:00
mike-000
342b69fe92 fix prettier 2020-06-18 15:42:48 +01:00
mike-000
64167a5d7e Use condition instead of setActive and listeners 2020-06-18 15:31:33 +01:00
mike-000
3acb0b28de Add condition option 2020-06-18 15:17:55 +01:00
mike-000
74b74e2478 fix pettier 2020-06-17 16:59:56 +01:00
mike-000
1685913a55 getExtent() return getEmpty() for invalid extents 2020-06-17 16:46:24 +01:00
mike-000
136936979f test getCoordinateAt returns Z and M values 2020-06-17 15:56:36 +01:00
Andreas Hocevar
a396ca62d1 Merge pull request #11192 from ahocevar/jquery-pep
Use pepjs in examples to support more old/exotic browsers
2020-06-17 16:48:54 +02:00
mike-000
19f3c6b94a getCoordinateAt return Z and M values if available 2020-06-17 15:46:28 +01:00
mike-000
f5d85ab4f9 interpolatePoint optionally returns Z and M values 2020-06-17 15:24:41 +01:00
mike-000
365b757856 test clipping with rotation 2020-06-17 12:15:39 +01:00
mike-000
272ae55345 test clipping with rotation 2020-06-17 11:31:10 +01:00
mike-000
a27e3486c6 test clipping with rotation 2020-06-17 11:20:29 +01:00
mike-000
1c725c8cfc do not clip the vector rendering 2020-06-17 11:13:33 +01:00
mike-000
091584a120 do not clip rendering for VectorImage layers 2020-06-17 11:11:19 +01:00
Andreas Hocevar
f3d5bfc1d3 Use pepjs in examples to support more old/exotic browsers 2020-06-17 08:49:54 +02:00
Tim Schaub
1742f18eec Merge pull request #11190 from mike-000/patch-13
Correct vector layer clipping with rotation
2020-06-16 23:00:55 -06:00
mike-000
e3a89a2e55 test clipping with rotation 2020-06-16 13:24:52 +01:00
mike-000
0747f44e4a test clipping with rotation 2020-06-16 12:29:15 +01:00
mike-000
014f17d14b correct clipping with rotation 2020-06-16 12:20:50 +01:00
Michał Zielański
517c9e6b52 Late object initialization in Target class 2020-06-15 19:06:36 +02:00
Michał Zielański
0e8f0034ab Creating an object that stores properties only when needed in BaseObject class 2020-06-15 18:26:28 +02:00
Tim Schaub
2d978f57aa Merge pull request #11183 from openlayers/dependabot/npm_and_yarn/mocha-8.0.1
Bump mocha from 7.2.0 to 8.0.1
2020-06-15 08:10:57 -06:00
Tim Schaub
b35e35c976 Merge pull request #11181 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.4
Bump terser-webpack-plugin from 3.0.3 to 3.0.4
2020-06-15 08:08:54 -06:00
Tim Schaub
2e72a59c7b Merge pull request #11182 from openlayers/dependabot/npm_and_yarn/rollup-2.16.1
Bump rollup from 2.15.0 to 2.16.1
2020-06-15 08:08:16 -06:00
Tim Schaub
42332df60a Merge pull request #11180 from openlayers/dependabot/npm_and_yarn/karma-5.1.0
Bump karma from 5.0.9 to 5.1.0
2020-06-15 08:07:14 -06:00
dependabot-preview[bot]
f0f360b138 Bump mocha from 7.2.0 to 8.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.2.0 to 8.0.1.
- [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/v7.2.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 09:23:57 +00:00
dependabot-preview[bot]
33d726fb83 Bump rollup from 2.15.0 to 2.16.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.15.0 to 2.16.1.
- [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.15.0...v2.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 09:22:25 +00:00
dependabot-preview[bot]
8cebe69f49 Bump terser-webpack-plugin from 3.0.3 to 3.0.4
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.3...v3.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 09:21:16 +00:00
dependabot-preview[bot]
473b813698 Bump karma from 5.0.9 to 5.1.0
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.9 to 5.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/v5.0.9...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 09:20:09 +00:00
Andreas Hocevar
323a472fbb Merge pull request #11037 from mike-000/patch-11
Allow icon and text styles to be scaled in two dimensions
2020-06-13 10:00:06 +02:00
Andreas Hocevar
47538da54d Merge pull request #11165 from ahocevar/dragrotate-defaultcondition
Use drag-pan default condition with onFocusOnly
2020-06-13 09:56:44 +02:00
Andreas Hocevar
dbe080d362 Rename chain function to all 2020-06-13 08:40:00 +02:00
Andreas Hocevar
3de2ea0624 More convenience with condition chaining 2020-06-13 08:39:59 +02:00
Andreas Hocevar
aa5de5db60 Use drag-pan default condition with onFocusOnly 2020-06-13 08:39:59 +02:00
Andreas Hocevar
8110ff3200 Merge pull request #11172 from ahocevar/find
Use cross-browser find
2020-06-13 08:38:15 +02:00
Andreas Hocevar
8b592f3ec6 Merge pull request #11171 from ahocevar/un-once
Allow using un() for events registered with once()
2020-06-13 08:29:14 +02:00
Andreas Hocevar
00dc86c8c6 Merge pull request #11148 from ahocevar/vectortile-label-flicker
Vectortile label flicker
2020-06-13 08:28:22 +02:00
Andreas Hocevar
e6fe0fc5ad Merge pull request #11174 from ahocevar/set-get-style-types-docs
Improve types and docs for getStyle/setStyle
2020-06-11 17:31:06 +02:00
Andreas Hocevar
9689355c8e Merge pull request #11173 from ahocevar/no-pep
Remove elm-pep dependency
2020-06-11 14:08:06 +02:00
Andreas Hocevar
04bc9ff0df Improve types and docs for getStyle/setStyle 2020-06-11 13:53:59 +02:00
Andreas Hocevar
886ca26c6a Remove elm-pep dependency 2020-06-11 13:11:28 +02:00
Andreas Hocevar
66de2cfd81 Use cross-browser find 2020-06-11 12:15:36 +02:00
Andreas Hocevar
852fe2a3fe Allow using un() for events registered with once() 2020-06-11 12:14:32 +02:00
Andreas Hocevar
e3c2142cab Do not add empty arrays to the frameState's declutterItems 2020-06-09 10:18:59 +02:00
Andreas Hocevar
a7d824a44f Update reference image 2020-06-09 09:44:10 +02:00
Andreas Hocevar
1504cd942a Fix multigeometry decluttering 2020-06-09 09:43:55 +02:00
Andreas Hocevar
4d1f65f2db Restore functionality whennot decluttering 2020-06-08 23:21:43 +02:00
Andreas Hocevar
f289979cbf Keep original renderBuffer for hit detection 2020-06-08 22:55:26 +02:00
Andreas Hocevar
686c665c71 No empty declutter instructions, but with individual box 2020-06-08 22:43:38 +02:00
Andreas Hocevar
ff980077ee Consider area around viewport for decluttering 2020-06-08 22:40:26 +02:00
Andreas Hocevar
1ef103ed66 Merge pull request #11158 from openlayers/dependabot/npm_and_yarn/globby-11.0.1
Bump globby from 11.0.0 to 11.0.1
2020-06-08 12:25:23 +02:00
Andreas Hocevar
0f9de15448 Less declutter flicker by respecting renderBuffer 2020-06-08 11:39:02 +02:00
dependabot-preview[bot]
31180234cd Bump globby from 11.0.0 to 11.0.1
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.0...v11.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:38:46 +00:00
Andreas Hocevar
35fdcb9565 Merge pull request #11157 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.0.2
Bump copy-webpack-plugin from 6.0.1 to 6.0.2
2020-06-08 11:36:28 +02:00
Andreas Hocevar
47cb349db1 Merge pull request #11151 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.3
Bump terser-webpack-plugin from 3.0.2 to 3.0.3
2020-06-08 11:30:31 +02:00
dependabot-preview[bot]
57ee8c2c53 Bump copy-webpack-plugin from 6.0.1 to 6.0.2
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:29:41 +00:00
Andreas Hocevar
ea74a549b1 Merge pull request #11156 from openlayers/dependabot/npm_and_yarn/typescript-3.9.5
Bump typescript from 3.9.3 to 3.9.5
2020-06-08 11:28:55 +02:00
Andreas Hocevar
7c92ec2210 Merge pull request #11155 from openlayers/dependabot/npm_and_yarn/fs-extra-9.0.1
Bump fs-extra from 9.0.0 to 9.0.1
2020-06-08 11:28:23 +02:00
Andreas Hocevar
3f6e95e60a Merge pull request #11152 from openlayers/dependabot/npm_and_yarn/puppeteer-3.3.0
Bump puppeteer from 3.2.0 to 3.3.0
2020-06-08 11:27:56 +02:00
Andreas Hocevar
31b490bfb6 Merge pull request #11153 from openlayers/dependabot/npm_and_yarn/eslint-7.2.0
Bump eslint from 6.8.0 to 7.2.0
2020-06-08 11:27:21 +02:00
Andreas Hocevar
514b74ac49 Merge pull request #11150 from openlayers/dependabot/npm_and_yarn/rollup-2.15.0
Bump rollup from 2.12.0 to 2.15.0
2020-06-08 11:26:10 +02:00
Andreas Hocevar
49a53010ef Merge pull request #11154 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.1.2
Bump ol-mapbox-style from 6.1.1 to 6.1.2
2020-06-08 11:25:18 +02:00
dependabot-preview[bot]
65a83a223c Bump typescript from 3.9.3 to 3.9.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.3 to 3.9.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.3...v3.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:24:27 +00:00
dependabot-preview[bot]
14bc768439 Bump fs-extra from 9.0.0 to 9.0.1
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/9.0.0...9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:23:14 +00:00
dependabot-preview[bot]
4eb77e5950 Bump ol-mapbox-style from 6.1.1 to 6.1.2
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/v6.1.2/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.1.1...v6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:22:00 +00:00
dependabot-preview[bot]
05e72a6a0a Bump eslint from 6.8.0 to 7.2.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.2.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/v6.8.0...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:21:15 +00:00
dependabot-preview[bot]
6e3c005318 Bump puppeteer from 3.2.0 to 3.3.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:19:51 +00:00
dependabot-preview[bot]
04192037eb Bump terser-webpack-plugin from 3.0.2 to 3.0.3
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:18:46 +00:00
dependabot-preview[bot]
a7a7ed828a Bump rollup from 2.12.0 to 2.15.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.12.0 to 2.15.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.12.0...v2.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 09:18:03 +00:00
Tim Schaub
db08e0562f Merge pull request #11146 from bjornharrtell/patch-2
Update JSTS example to use JSTS 2.3.0
2020-06-07 07:52:52 -06:00
Björn Harrtell
aa6ee5b74a Update JSTS example to use JSTS 2.3.0 2020-06-06 21:18:32 +02:00
Tim Schaub
8a9943b48d Merge pull request #11143 from openlayers/dependabot/npm_and_yarn/websocket-extensions-0.1.4
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-06 09:02:28 -06:00
dependabot-preview[bot]
4fb2aa76db [Security] Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 16:43:21 +00:00
Andreas Hocevar
e21725888f Merge pull request #11135 from ahocevar/focus
Re-enable onFocusOnly option for interaction defaults
2020-06-03 14:21:56 +02:00
Andreas Hocevar
2cac6c4f39 Re-enable onFocusOnly option for interaction defaults 2020-06-03 13:13:59 +02:00
Frédéric Junod
e86caee477 Merge pull request #11123 from openlayers/dependabot/npm_and_yarn/babel/core-7.10.2
Bump @babel/core from 7.9.6 to 7.10.2
2020-06-02 13:25:21 +02:00
Frédéric Junod
7cbb17728d Merge pull request #11122 from openlayers/dependabot/npm_and_yarn/karma-coverage-istanbul-reporter-3.0.3
Bump karma-coverage-istanbul-reporter from 3.0.2 to 3.0.3
2020-06-02 13:24:44 +02:00
Tim Schaub
f7b4f756e8 Merge pull request #11125 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.2
Bump terser-webpack-plugin from 3.0.1 to 3.0.2
2020-06-01 21:05:04 -06:00
Tim Schaub
cb11fb3827 Merge pull request #11126 from openlayers/dependabot/npm_and_yarn/front-matter-4.0.2
Bump front-matter from 4.0.0 to 4.0.2
2020-06-01 21:04:25 -06:00
Tim Schaub
2ec8fcbf9f Merge pull request #11124 from openlayers/dependabot/npm_and_yarn/rollup-2.12.0
Bump rollup from 2.10.9 to 2.12.0
2020-06-01 21:03:24 -06:00
Tim Schaub
c02e022887 Merge pull request #11127 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.10.2
Bump @babel/preset-env from 7.9.6 to 7.10.2
2020-06-01 21:00:14 -06:00
dependabot-preview[bot]
5531242dab Bump rollup from 2.10.9 to 2.12.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.9 to 2.12.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.10.9...v2.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 13:28:16 +00:00
Tim Schaub
a5f5eaf366 Merge pull request #11121 from openlayers/dependabot/npm_and_yarn/puppeteer-3.2.0
Bump puppeteer from 3.1.0 to 3.2.0
2020-06-01 07:25:56 -06:00
dependabot-preview[bot]
01c5973397 Bump @babel/preset-env from 7.9.6 to 7.10.2
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:23:03 +00:00
dependabot-preview[bot]
ec8d10c9ff Bump front-matter from 4.0.0 to 4.0.2
Bumps [front-matter](https://github.com/jxson/front-matter) from 4.0.0 to 4.0.2.
- [Release notes](https://github.com/jxson/front-matter/releases)
- [Commits](https://github.com/jxson/front-matter/compare/v4.0.0...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:22:19 +00:00
dependabot-preview[bot]
b2095a321c Bump terser-webpack-plugin from 3.0.1 to 3.0.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.1...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:21:36 +00:00
dependabot-preview[bot]
9c49f19168 Bump @babel/core from 7.9.6 to 7.10.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.9.6 to 7.10.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.2/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:19:57 +00:00
dependabot-preview[bot]
8b990d72c3 Bump karma-coverage-istanbul-reporter from 3.0.2 to 3.0.3
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v3.0.2...v3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:19:24 +00:00
dependabot-preview[bot]
f239221cab Bump puppeteer from 3.1.0 to 3.2.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.1.0...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 09:18:53 +00:00
Andreas Hocevar
cc781a84b4 Merge pull request #11106 from M393/zoomslider-init
Defer ZoomSlider initialization until its size is available
2020-05-31 19:08:27 +02:00
Andreas Hocevar
9e96702a05 Merge pull request #11096 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-6.1.0
Bump rollup-plugin-terser from 5.3.0 to 6.1.0
2020-05-31 19:01:47 +02:00
Andreas Hocevar
cdb4e977e8 Merge pull request #11095 from openlayers/dependabot/npm_and_yarn/front-matter-4.0.0
Bump front-matter from 3.2.1 to 4.0.0
2020-05-31 19:01:04 +02:00
Andreas Hocevar
7e19fa313c Merge pull request #11120 from mike-000/patch-12
correct scalebar box sizing
2020-05-30 20:40:57 +02:00
mike-000
db074a27e6 correct scalebar box sizing 2020-05-30 12:26:12 +01:00
Andreas Hocevar
346e9fadff Merge pull request #11116 from ahocevar/no-search-autocomplete
No search autocomplete
2020-05-29 11:52:13 +02:00
Andreas Hocevar
7bce841fba No autocomplete for example search field 2020-05-29 08:52:14 +02:00
Andreas Hocevar
5fdf50c1de No autocomplete for api search field 2020-05-29 08:51:59 +02:00
Maximilian Krög
c4c790a2be Defer ZoomSlider initialization until its size is available 2020-05-26 09:20:09 +02:00
Tim Schaub
4d014be3c1 Merge pull request #11094 from openlayers/dependabot/npm_and_yarn/rollup-2.10.9
Bump rollup from 2.10.2 to 2.10.9
2020-05-25 04:41:16 -06:00
Tim Schaub
bf814ee7dd Merge pull request #11099 from openlayers/dependabot/npm_and_yarn/mocha-7.2.0
Bump mocha from 7.1.2 to 7.2.0
2020-05-25 04:37:11 -06:00
dependabot-preview[bot]
ff5e310c8e Bump rollup from 2.10.2 to 2.10.9
Bumps [rollup](https://github.com/rollup/rollup) from 2.10.2 to 2.10.9.
- [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.10.2...v2.10.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 10:36:55 +00:00
Tim Schaub
b8a49f5e9d Merge pull request #11093 from openlayers/dependabot/npm_and_yarn/karma-5.0.9
Bump karma from 5.0.7 to 5.0.9
2020-05-25 04:36:31 -06:00
Tim Schaub
3f352d093b Merge pull request #11098 from openlayers/dependabot/npm_and_yarn/typescript-3.9.3
Bump typescript from 3.9.2 to 3.9.3
2020-05-25 04:35:54 -06:00
Tim Schaub
84580bfab1 Merge pull request #11097 from openlayers/dependabot/npm_and_yarn/puppeteer-3.1.0
Bump puppeteer from 3.0.4 to 3.1.0
2020-05-25 04:34:38 -06:00
dependabot-preview[bot]
91a789ae5a Bump mocha from 7.1.2 to 7.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.2 to 7.2.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/v7.1.2...v7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 09:38:36 +00:00
dependabot-preview[bot]
fd57313fc2 Bump typescript from 3.9.2 to 3.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.2 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.2...v3.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 09:37:36 +00:00
dependabot-preview[bot]
c970869005 Bump puppeteer from 3.0.4 to 3.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.0.4 to 3.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.0.4...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 09:36:37 +00:00
dependabot-preview[bot]
7eea6bd087 Bump rollup-plugin-terser from 5.3.0 to 6.1.0
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.3.0 to 6.1.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.3.0...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 09:35:18 +00:00
dependabot-preview[bot]
bdc958d8d3 Bump front-matter from 3.2.1 to 4.0.0
Bumps [front-matter](https://github.com/jxson/front-matter) from 3.2.1 to 4.0.0.
- [Release notes](https://github.com/jxson/front-matter/releases)
- [Commits](https://github.com/jxson/front-matter/compare/v3.2.1...v4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 09:35:04 +00:00
dependabot-preview[bot]
1340077272 Bump karma from 5.0.7 to 5.0.9
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.7 to 5.0.9.
- [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/v5.0.7...v5.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 09:31:33 +00:00
Andreas Hocevar
19272724b1 Merge pull request #11088 from ahocevar/reset-proj4-axis
Transform without axis order in proj4
2020-05-24 17:48:11 +02:00
Andreas Hocevar
a869dafe58 Merge pull request #11089 from ahocevar/object-assign
Use assign function instead of Object.assign
2020-05-24 17:47:47 +02:00
Andreas Hocevar
4ded0983cb Merge pull request #11082 from ahocevar/fix-drag-away
Fix outside window dragging
2020-05-24 17:47:28 +02:00
Andreas Hocevar
50107e115a Use assign function instead of Object.assign 2020-05-23 21:22:02 +02:00
Andreas Hocevar
49658709c7 Transform without axis order in proj4 2020-05-23 20:59:08 +02:00
Andreas Hocevar
6c09fa5c44 Handle out of shadow dom dragging and explain logic better 2020-05-22 09:49:27 +02:00
Andreas Hocevar
12b2269265 Fix outside window dragging 2020-05-22 09:18:50 +02:00
mike-000
cf0e650435 allow scale to be two dimensional
add getScaleArray() method

test two dimension scale icons
test two dimension scale text

add example of icon and label scaling
use smaller icon and larger interval
test two dimensional scale icons
test two dimensional scale icons
2020-05-20 09:54:47 +01:00
Tim Schaub
6802fb7e34 Merge pull request #11062 from openlayers/dependabot/npm_and_yarn/typescript-3.9.2
Bump typescript from 3.8.3 to 3.9.2
2020-05-18 17:15:50 -06:00
Tim Schaub
bfee5c00c9 Update function return types 2020-05-18 17:11:13 -06:00
Tim Schaub
eb1d30f424 Merge pull request #11066 from tschaub/coc
Move code of conduct to the root
2020-05-18 15:57:37 -06:00
dependabot-preview[bot]
dbca64d224 Bump typescript from 3.8.3 to 3.9.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 3.9.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v3.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 16:31:38 +00:00
Tim Schaub
2876c41930 Merge pull request #11057 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-6.0.1
Bump copy-webpack-plugin from 5.1.1 to 6.0.1
2020-05-18 10:29:06 -06:00
Tim Schaub
4520dac565 Move code of conduct to the root 2020-05-18 10:21:44 -06:00
Tim Schaub
7f8a1b64bd Update usage of copy-webpack-plugin 2020-05-18 10:16:15 -06:00
dependabot-preview[bot]
315e0095a1 Bump copy-webpack-plugin from 5.1.1 to 6.0.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.1.1 to 6.0.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.1.1...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 10:16:15 -06:00
Tim Schaub
b53b49eeb3 Merge pull request #11065 from tschaub/remove-circle
Remove CircleCI integration
2020-05-18 10:10:06 -06:00
Tim Schaub
a8d351d9ad Merge pull request #11054 from openlayers/add-code-of-conduct
Add a code of conduct
2020-05-18 09:56:07 -06:00
Tim Schaub
497a97e49d Remove CircleCI integration 2020-05-18 09:54:51 -06:00
Tim Schaub
f719113d6e Adds a code of conduct 2020-05-18 09:50:11 -06:00
Tim Schaub
fa604b1e16 Merge pull request #11060 from openlayers/dependabot/npm_and_yarn/karma-5.0.7
Bump karma from 5.0.5 to 5.0.7
2020-05-18 07:35:57 -06:00
Tim Schaub
2c818830c9 Merge pull request #11059 from openlayers/dependabot/npm_and_yarn/rollup-2.10.2
Bump rollup from 2.9.1 to 2.10.2
2020-05-18 07:32:00 -06:00
dependabot-preview[bot]
254c6534e0 Bump karma from 5.0.5 to 5.0.7
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.5 to 5.0.7.
- [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/v5.0.5...v5.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:29:29 +00:00
Tim Schaub
58ae8cde7b Merge pull request #11058 from openlayers/dependabot/npm_and_yarn/marked-1.1.0
Bump marked from 1.0.0 to 1.1.0
2020-05-18 07:27:15 -06:00
dependabot-preview[bot]
445ec8f416 Bump rollup from 2.9.1 to 2.10.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.9.1 to 2.10.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.9.1...v2.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:26:36 +00:00
Tim Schaub
3318c0fd68 Merge pull request #11064 from openlayers/dependabot/npm_and_yarn/front-matter-3.2.1
Bump front-matter from 3.1.0 to 3.2.1
2020-05-18 07:26:24 -06:00
Tim Schaub
de2850313c Merge pull request #11061 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.9
Bump url-polyfill from 1.1.8 to 1.1.9
2020-05-18 07:25:21 -06:00
Tim Schaub
60f93ee349 Merge pull request #11063 from openlayers/dependabot/npm_and_yarn/proj4-2.6.2
Bump proj4 from 2.6.1 to 2.6.2
2020-05-18 07:24:30 -06:00
dependabot-preview[bot]
d4a925feb6 Bump marked from 1.0.0 to 1.1.0
Bumps [marked](https://github.com/markedjs/marked) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:22:01 +00:00
dependabot-preview[bot]
28f057ad5a Bump url-polyfill from 1.1.8 to 1.1.9
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases)
- [Commits](https://github.com/lifaon74/url-polyfill/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:20:04 +00:00
dependabot-preview[bot]
286aee0f1a Bump proj4 from 2.6.1 to 2.6.2
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.6.1 to 2.6.2.
- [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.1...2.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:19:03 +00:00
dependabot-preview[bot]
8c2f9e508b Bump front-matter from 3.1.0 to 3.2.1
Bumps [front-matter](https://github.com/jxson/front-matter) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/jxson/front-matter/releases)
- [Commits](https://github.com/jxson/front-matter/compare/v3.1.0...v3.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 13:18:42 +00:00
Tim Schaub
84e0e13993 Merge pull request #11053 from tschaub/build-site
Build examples and API docs
2020-05-18 07:12:45 -06:00
Tim Schaub
cdb91af896 Build examples and API docs 2020-05-17 17:22:14 -06:00
Tim Schaub
4b7bf2c8dc Merge pull request #11050 from tschaub/parallel-test-jobs
Run rendering and spec tests in parallel
2020-05-17 16:28:52 -06:00
Tim Schaub
254306496c Merge pull request #11051 from tschaub/dispose
Clear event listeners when disposing a raster source.
2020-05-17 12:43:29 -06:00
Tim Schaub
fc896eb8c7 Call disposeInternal on the super 2020-05-17 12:17:42 -06:00
Tim Schaub
cb1c25374b Only store actual.png from rendering tests 2020-05-17 11:17:08 -06:00
Tim Schaub
2352a9f545 Run rendering and spec tests in parallel 2020-05-17 10:46:06 -06:00
Andreas Hocevar
567d2be816 Merge pull request #11046 from pjsg/fix-reprojection
Reprojection: Just draw everything on pixel boundaries (always)
2020-05-17 15:44:40 +02:00
Andreas Hocevar
92a47b5e57 Make formatting prettier 2020-05-17 15:35:28 +02:00
Andreas Hocevar
30bda9a1f3 Merge pull request #11049 from alexisig/fix-tile-opaque
Fix tile opaque
2020-05-17 15:32:31 +02:00
Alexis
b57c0ad631 docs: standardize opaque's jsdoc comment to say 'Whether the layer is oqaque'
-
2020-05-17 15:04:25 +02:00
Alexis
2f03706e80 docs: fix opaque's jsdoc default value to false
fix #10964
2020-05-17 14:54:45 +02:00
Tim Schaub
83cf2cb705 Merge pull request #11048 from openlayers/test-action
Run tests as a GitHub CI workflow
2020-05-17 05:17:42 -06:00
Tim Schaub
84b335f130 Merge pull request #11047 from tschaub/raster
Include processor from pixelworks and terminate workers before creating new ones
2020-05-17 05:16:08 -06:00
Tim Schaub
ef5ef1b0b2 Store rendering test output 2020-05-16 23:47:02 -06:00
Tim Schaub
7b0a87f77e Only build docs and examples on CircleCI 2020-05-16 23:38:02 -06:00
Tim Schaub
2e6dd3b251 Run tests as a GitHub CI workflow 2020-05-16 23:37:25 -06:00
Tim Schaub
d7012502e9 Merge pull request #11030 from openlayers/dependabot/npm_and_yarn/karma-coverage-istanbul-reporter-3.0.2
Bump karma-coverage-istanbul-reporter from 3.0.0 to 3.0.2
2020-05-16 22:22:05 -06:00
Tim Schaub
b16c2e0062 Include pixelworks and terminate workers before creating new ones 2020-05-16 22:19:40 -06:00
dependabot-preview[bot]
1db5f73bef Bump karma-coverage-istanbul-reporter from 3.0.0 to 3.0.2
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v3.0.0...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-17 03:59:18 +00:00
Tim Schaub
bfc035415e Merge pull request #11045 from tschaub/headless-chrome-dependencies
Install headless Chrome dependencies
2020-05-16 20:36:21 -06:00
philip
c1949a28f0 Just draw everything on pixel boundaries. Browsers just get the
difficult cases wrong.
2020-05-17 00:13:40 +00:00
Tim Schaub
a4a1c25f2e Merge pull request #11044 from tschaub/remove-mapbox-key
Remove personal Mapbox key
2020-05-16 13:42:56 -06:00
Tim Schaub
31245382ae Install headless Chrome dependencies 2020-05-16 13:34:56 -06:00
Tim Schaub
19c5dd1ff6 Remove personal Mapbox key 2020-05-16 13:25:29 -06:00
Andreas Hocevar
088a7a1e3b Merge pull request #11042 from ahocevar/fix-legacy-build
Fix legacy build by defining ol alias
2020-05-16 10:29:12 +02:00
Andreas Hocevar
15397c50fa Merge pull request #11041 from ahocevar/control-pointer-events
Fix custom controls with user-provided element
2020-05-16 10:27:15 +02:00
Andreas Hocevar
ce31dfd4a6 Fix legacy build by defining ol alias 2020-05-15 21:30:15 +02:00
Andreas Hocevar
e5167f4e12 Fix custom controls with user-provided element 2020-05-15 17:50:44 +02:00
Tim Schaub
455d0beb52 Merge pull request #11031 from openlayers/dependabot/npm_and_yarn/karma-5.0.5
Bump karma from 5.0.4 to 5.0.5
2020-05-11 22:52:54 -06:00
dependabot-preview[bot]
98a8c46f8f Bump karma from 5.0.4 to 5.0.5
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.4 to 5.0.5.
- [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/v5.0.4...v5.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 19:32:56 +00:00
Tim Schaub
19b2e791c0 Merge pull request #11032 from openlayers/dependabot/npm_and_yarn/puppeteer-3.0.4
Bump puppeteer from 3.0.2 to 3.0.4
2020-05-11 13:28:16 -06:00
Tim Schaub
dba34bdf37 Merge pull request #11029 from openlayers/dependabot/npm_and_yarn/jquery-3.5.1
Bump jquery from 3.5.0 to 3.5.1
2020-05-11 07:15:41 -06:00
Andreas Hocevar
fde4ab5f23 Merge pull request #11028 from openlayers/dependabot/npm_and_yarn/rollup-2.9.1
Bump rollup from 2.7.6 to 2.9.1
2020-05-11 12:15:45 +02:00
Andreas Hocevar
a137ea1469 Merge pull request #11027 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.1
Bump terser-webpack-plugin from 3.0.0 to 3.0.1
2020-05-11 12:15:03 +02:00
Andreas Hocevar
11c8847276 Merge pull request #11026 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.11.0
Bump webpack-dev-server from 3.10.3 to 3.11.0
2020-05-11 12:14:33 +02:00
dependabot-preview[bot]
722875f372 Bump puppeteer from 3.0.2 to 3.0.4
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.0.2...v3.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 09:18:57 +00:00
dependabot-preview[bot]
ece4050334 Bump jquery from 3.5.0 to 3.5.1
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.0...3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 09:15:53 +00:00
dependabot-preview[bot]
f5e554b30a Bump rollup from 2.7.6 to 2.9.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.6 to 2.9.1.
- [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.7.6...v2.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 09:14:37 +00:00
dependabot-preview[bot]
8177b0a5cf Bump terser-webpack-plugin from 3.0.0 to 3.0.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 09:13:29 +00:00
dependabot-preview[bot]
7a0c9edfb1 Bump webpack-dev-server from 3.10.3 to 3.11.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.10.3 to 3.11.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.3...v3.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 09:12:42 +00:00
Andreas Hocevar
1a2b4bd479 Merge pull request #11025 from ahocevar/no-more-mapbrowser-pointer-event
Get rid of MapBrowserPointerEvent
2020-05-11 09:11:00 +02:00
Andreas Hocevar
653c4db24c Merge pull request #11024 from ahocevar/webcomponent-improvements
Make events work when inside a web component
2020-05-11 09:07:55 +02:00
Andreas Hocevar
0ed64ae747 Merge pull request #11019 from mike-000/patch-10
Option to disable image smoothing for Image layer sources
2020-05-10 18:23:06 +02:00
Andreas Hocevar
c6341bbcd9 Fix types for events 2020-05-10 18:19:45 +02:00
Andreas Hocevar
33ce206bab Get rid of MapBrowserPointerEvent 2020-05-10 16:54:34 +02:00
Tim Schaub
f16602d07b Merge pull request #11023 from MoonE/apidoc-add-mapbrowserpointerevent
Add MapBrowserPointerEvent to apidoc
2020-05-10 08:03:52 -06:00
Andreas Hocevar
12b5a829d9 Make events work when inside a web component 2020-05-10 08:40:47 +02:00
Maximilian Krög
b6b17ea202 Add MapBrowserPointerEvent to apidoc 2020-05-09 16:23:11 +02:00
mike-000
9a8b9d8ade add Image source imageSmoothing option
Add Image smoothing checkbox to example

Test imageSmoothing option
2020-05-09 10:41:20 +01:00
Frédéric Junod
e74832b13b Merge pull request #11017 from fredj/geoloc_stop_tracking
Don't stop geolocation tracking on error
2020-05-07 15:07:25 +02:00
Frederic Junod
7e248bb8e5 Don't stop geolocation tracking on error 2020-05-07 14:34:13 +02:00
Andreas Hocevar
24c453c6b8 Merge pull request #11011 from mike-000/patch-3
Set background fill style for each declutter label
2020-05-06 16:20:54 +02:00
mike-000
7f99ce46bb set background fill style for each label
add check for declutter
2020-05-05 16:22:58 +01:00
mike-000
d72c7fdc13 set background fill style for each label 2020-05-05 13:04:25 +01:00
Andreas Hocevar
c60a1dedeb Merge pull request #10977 from ahocevar/no-fail-when-no-executor-group
Only render vector tile when there are executor groups
2020-05-05 09:27:32 +02:00
Andreas Hocevar
7139c0fdcc Merge pull request #10990 from mike-000/patch-9
Include context options in tile cache key
2020-05-04 18:46:48 +02:00
mike-000
960abdbec1 Revert dummy parameter change
fix typo
2020-05-04 17:14:57 +01:00
mike-000
e0047139e1 Revert dummy parameter change 2020-05-04 17:11:16 +01:00
mike-000
c0577c3293 Include context options in reprojection cache key
fix prettier
2020-05-04 16:45:29 +01:00
mike-000
76d2d6e737 Include context options in reprojection cache key
override the inherited getKey() method
2020-05-04 16:27:27 +01:00
Tim Schaub
8ea2fe1298 Merge pull request #10996 from tschaub/mapbox-vector-layer
Mapbox vector layer
2020-05-04 08:01:15 -06:00
Tim Schaub
f4470cad25 Merge pull request #10998 from tschaub/example-source
Show the main.js right below the map
2020-05-04 07:49:08 -06:00
Tim Schaub
6f9bc6684e Merge pull request #10997 from tschaub/update-shelljs
Update shelljs
2020-05-04 07:48:18 -06:00
mike-000
9e160e75f9 Include context options in reprojection cache key
use reprojection tileCoordKey instead of source key
2020-05-04 14:31:46 +01:00
mike-000
9bf037947c Include context options in reprojection cache key
fix prettier
2020-05-04 12:53:24 +01:00
mike-000
b2a1540ee0 Include context options in reprojection cache key 2020-05-04 12:47:15 +01:00
Andreas Hocevar
cdf3c32940 Merge pull request #11006 from openlayers/dependabot/npm_and_yarn/karma-mocha-2.0.1
Bump karma-mocha from 2.0.0 to 2.0.1
2020-05-04 13:07:53 +02:00
Andreas Hocevar
3f2a4bc791 Merge pull request #11005 from openlayers/dependabot/npm_and_yarn/karma-5.0.4
Bump karma from 5.0.2 to 5.0.4
2020-05-04 13:07:23 +02:00
Andreas Hocevar
00583fcb33 Merge pull request #11003 from openlayers/dependabot/npm_and_yarn/rollup-2.7.6
Bump rollup from 2.7.2 to 2.7.6
2020-05-04 12:51:21 +02:00
Andreas Hocevar
0288a78fdb Merge pull request #11002 from openlayers/dependabot/npm_and_yarn/puppeteer-3.0.2
Bump puppeteer from 2.1.1 to 3.0.2
2020-05-04 12:50:28 +02:00
Andreas Hocevar
fb1cf83e8b Merge pull request #10999 from openlayers/dependabot/npm_and_yarn/babel/core-7.9.6
Bump @babel/core from 7.9.0 to 7.9.6
2020-05-04 11:22:18 +02:00
Andreas Hocevar
d740361f4d Merge pull request #11004 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.9.6
Bump @babel/preset-env from 7.9.5 to 7.9.6
2020-05-04 11:18:33 +02:00
dependabot-preview[bot]
b6f476ca5c Bump karma-mocha from 2.0.0 to 2.0.1
Bumps [karma-mocha](https://github.com/karma-runner/karma-mocha) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/karma-runner/karma-mocha/releases)
- [Changelog](https://github.com/karma-runner/karma-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-mocha/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 09:16:59 +00:00
dependabot-preview[bot]
a26f3f1c2f Bump karma from 5.0.2 to 5.0.4
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.2 to 5.0.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/v5.0.2...v5.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 09:16:59 +00:00
dependabot-preview[bot]
023da30f8d Bump puppeteer from 2.1.1 to 3.0.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 2.1.1 to 3.0.2.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.1.1...v3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 09:15:59 +00:00
Andreas Hocevar
8594296d80 Merge pull request #11001 from openlayers/dependabot/npm_and_yarn/karma-coverage-istanbul-reporter-3.0.0
Bump karma-coverage-istanbul-reporter from 2.1.1 to 3.0.0
2020-05-04 11:14:39 +02:00
Andreas Hocevar
68129d7ef3 Merge pull request #11000 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.0
Bump terser-webpack-plugin from 2.3.6 to 3.0.0
2020-05-04 11:13:37 +02:00
dependabot-preview[bot]
6181aaac45 Bump @babel/preset-env from 7.9.5 to 7.9.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.5 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.5...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 08:53:12 +00:00
dependabot-preview[bot]
6efbaf0990 Bump rollup from 2.7.2 to 2.7.6
Bumps [rollup](https://github.com/rollup/rollup) from 2.7.2 to 2.7.6.
- [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.7.2...v2.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 08:52:36 +00:00
dependabot-preview[bot]
6a492ace8e Bump karma-coverage-istanbul-reporter from 2.1.1 to 3.0.0
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.1.1...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 08:51:04 +00:00
dependabot-preview[bot]
21c2c4b70a Bump terser-webpack-plugin from 2.3.6 to 3.0.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.6 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.6...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 08:50:07 +00:00
dependabot-preview[bot]
8d10f9c474 Bump @babel/core from 7.9.0 to 7.9.6
Bumps [@babel/core](https://github.com/babel/babel) from 7.9.0 to 7.9.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-04 08:49:31 +00:00
Tim Schaub
cd27a13a42 Show the main.js right below the map 2020-05-03 16:27:51 -06:00
Tim Schaub
4d9975754f Mapbox vector layer 2020-05-03 16:07:27 -06:00
Tim Schaub
1ae286e628 Update shelljs 2020-05-03 15:47:42 -06:00
Andreas Hocevar
fcc9163494 Merge pull request #10987 from mike-000/patch-3
Use brokenDiagonalRendering reprojection processing if image smoothing is disabled
2020-05-03 16:30:13 +02:00
Andreas Hocevar
9fccf0f25d Merge pull request #10948 from wussup/patch-3
Add constrainResolution option
2020-05-03 16:27:24 +02:00
Andreas Hocevar
29eb314ce9 Fix isDrawableTile for vector render mode 2020-05-03 16:05:17 +02:00
Andreas Hocevar
5c20e86e40 Merge pull request #10981 from nielsmeijer/issue-wmts-bbox
Calculate WMTS TileGrid extent using TileMatrixSetLimit when available
2020-05-03 12:14:27 +02:00
Niels Meijer
63d03f4fcc Split test WMTS capabilities 2020-05-03 10:54:01 +02:00
Andreas Hocevar
26feba1bb5 Merge pull request #10993 from ahocevar/no-custom-types
Do not rely on custom type overrides
2020-05-02 18:45:49 +02:00
Andreas Hocevar
2d38390e58 Do not rely on custom type overrides 2020-05-02 17:03:12 +02:00
mike-000
62f150176a add dummy parameter to url to avoid shared cache
fix prettier
2020-05-01 12:28:07 +01:00
mike-000
7a46b3a61a add dummy parameter to url to avoid shared cache 2020-05-01 12:06:38 +01:00
mike-000
bf77f59656 revert change to IMAGE_SMOOTHING_DISABLED 2020-04-30 21:33:00 +01:00
Marc Jansen
309c2a1090 Merge pull request #10989 from mike-000/patch-4
Add log2 function to ol/math
2020-04-30 21:15:49 +02:00
mike-000
8415627731 Test log2 function
use string to test NaN
2020-04-30 19:39:33 +01:00
mike-000
f91e51c28b Test log2 function
fix typo
2020-04-30 19:11:41 +01:00
mike-000
d3507e5c5e replace Math.log2 with log2 from ol/math 2020-04-30 19:07:20 +01:00
mike-000
bce9730644 Test log2 function 2020-04-30 19:03:37 +01:00
mike-000
8076a5126d Add log2 function 2020-04-30 18:44:49 +01:00
mike-000
48e938e235 Define browser specific IMAGE_SMOOTHING_DISABLED
fix prettier
2020-04-30 16:56:02 +01:00
mike-000
3c1e00a3ec Define browser specific IMAGE_SMOOTHING_DISABLED
Avoid msImageSmoothingEnabled if the browser does not need it
2020-04-30 16:49:05 +01:00
mike-000
c515183bad Use explicit test for image smoothing disabled
fix prettier
2020-04-30 16:27:43 +01:00
mike-000
fc2fe25e69 Use explicit test for smoothing disabled 2020-04-30 16:23:39 +01:00
mike-000
3643f9ec98 Use BrokenDiagonalRendering with contextOptions
Apply the BrokenDiagonalRendering processing if opt_contextOptions is set to avoid color distortion along reprojection edges
2020-04-30 13:04:30 +01:00
Andreas Hocevar
8a303dc28a Merge pull request #10986 from mike-000/patch-2
Correct bold font tag closure in example description
2020-04-30 12:53:29 +02:00
mike-000
51ad3824e3 correctly close bold font tag 2020-04-30 10:24:59 +01:00
Andreas Hocevar
74c90919db Merge pull request #10982 from ahocevar/replay-scale
Handle scaled output canvas correctly
2020-04-30 08:44:10 +02:00
Andreas Hocevar
781a5443cf Handle scaled output canvas correctly 2020-04-29 20:19:42 +02:00
Andreas Hocevar
0549951e9e Merge pull request #10983 from ahocevar/fix-ci
Trying to fix CI
2020-04-29 20:08:10 +02:00
Andreas Hocevar
aa2da203f7 Trying to fix CI 2020-04-29 18:08:20 +02:00
Niels Meijer
9cab1215c0 Use TileMatrixSetLimit for extent calculation when available. 2020-04-29 16:35:36 +02:00
Niels Meijer
88ffc559cc Change XY based on projection.getAxisOrientation(), not only for EPSG:4326 2020-04-29 13:50:08 +02:00
Andreas Hocevar
5e08bccf99 Merge pull request #10976 from nielsmeijer/master
Apply projection.getMetersPerUnit() to calculated WMTS resolution
2020-04-29 09:36:53 +02:00
Andreas Hocevar
96802ba645 Remove lint 2020-04-29 09:23:10 +02:00
Niels Meijer
d395b54605 Apply projection.getMetersPerUnit() to calculated resolution 2020-04-28 21:43:59 +02:00
Andreas Hocevar
5740c81c32 Merge pull request #10960 from SDaron/clipping-layer
Improve Vector Clipping Layer example with a background layer and intersect
2020-04-27 23:13:45 +02:00
Simon Daron
74901efc59 Set base layer extent 2020-04-27 16:41:58 +02:00
Andreas Hocevar
ad130db963 Merge pull request #10971 from openlayers/dependabot/npm_and_yarn/webpack-4.43.0
Bump webpack from 4.42.1 to 4.43.0
2020-04-27 13:39:48 +02:00
dependabot-preview[bot]
333c313e3f Bump webpack from 4.42.1 to 4.43.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.1 to 4.43.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.1...v4.43.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 11:28:18 +00:00
Andreas Hocevar
bb0fb141aa Merge pull request #10972 from openlayers/dependabot/npm_and_yarn/marked-1.0.0
Bump marked from 0.8.2 to 1.0.0
2020-04-27 13:25:59 +02:00
dependabot-preview[bot]
f90d274112 Bump marked from 0.8.2 to 1.0.0
Bumps [marked](https://github.com/markedjs/marked) from 0.8.2 to 1.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.8.2...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 11:16:02 +00:00
Andreas Hocevar
a6e390aa3d Merge pull request #10970 from openlayers/dependabot/npm_and_yarn/mocha-7.1.2
Bump mocha from 7.1.1 to 7.1.2
2020-04-27 13:13:51 +02:00
Andreas Hocevar
177faac6b4 Merge pull request #10969 from openlayers/dependabot/npm_and_yarn/puppeteer-3.0.1
Bump puppeteer from 3.0.0 to 3.0.1
2020-04-27 13:13:27 +02:00
Andreas Hocevar
88a1bb9290 Merge pull request #10968 from openlayers/dependabot/npm_and_yarn/coveralls-3.1.0
Bump coveralls from 3.0.11 to 3.1.0
2020-04-27 13:09:32 +02:00
Andreas Hocevar
9c84383d58 Merge pull request #10967 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.6
Bump terser-webpack-plugin from 2.3.5 to 2.3.6
2020-04-27 12:55:08 +02:00
Andreas Hocevar
12ff85c7cd Merge pull request #10966 from openlayers/dependabot/npm_and_yarn/rollup-2.7.2
Bump rollup from 2.6.1 to 2.7.2
2020-04-27 12:54:22 +02:00
dependabot-preview[bot]
86cf40e402 Bump mocha from 7.1.1 to 7.1.2
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.1 to 7.1.2.
- [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/v7.1.1...v7.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:25:55 +00:00
dependabot-preview[bot]
13cf1c9a5a Bump puppeteer from 3.0.0 to 3.0.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:24:51 +00:00
dependabot-preview[bot]
78e366b59a Bump coveralls from 3.0.11 to 3.1.0
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.11 to 3.1.0.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/compare/3.0.11...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:23:33 +00:00
dependabot-preview[bot]
9cf9431128 Bump terser-webpack-plugin from 2.3.5 to 2.3.6
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.5...v2.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:22:16 +00:00
dependabot-preview[bot]
9dea34f227 Bump rollup from 2.6.1 to 2.7.2
Bumps [rollup](https://github.com/rollup/rollup) from 2.6.1 to 2.7.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.6.1...v2.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 09:21:09 +00:00
Simon Daron
8cfe994ff0 Improve example with a background layer, intersect and comments 2020-04-26 13:27:27 +02:00
Simon Daron
71f056c75c Use prerender and postrender events on Vector Clipping Layer example for better readability 2020-04-25 06:54:09 +02:00
Andreas Hocevar
937d953fbd Merge pull request #10956 from pmulholland42/master
Add undefined check for navigator.userAgent
2020-04-24 00:33:43 +02:00
Peter Mulholland
58ba114cb7 Fix whitespace formatting 2020-04-23 17:01:22 -04:00
Peter Mulholland
6008449e07 Add undefined check for navigator.userAgent 2020-04-23 16:08:48 -04:00
wussup
7e1305eab2 Update MouseWheelZoom.js 2020-04-20 16:01:51 +02:00
wussup
b6fc2bf2fe Update MouseWheelZoom.js 2020-04-20 15:58:42 +02:00
wussup
020b387649 Update MouseWheelZoom.js 2020-04-20 15:56:05 +02:00
wussup
ce7be53970 Update MouseWheelZoom.js 2020-04-20 15:51:27 +02:00
wussup
aca8e0880c Update MouseWheelZoom.js 2020-04-20 15:39:36 +02:00
wussup
fc4ec899ca Add constrainResolution option
Sometimes we may have the functionality to set scale/resolution provided by a user and it can be any number (so constrainResolution in View class is not useful), but we would like to have constrainResolution in mouse wheel zoom event.
2020-04-20 15:36:19 +02:00
Tim Schaub
e7968bcc1a Merge pull request #10945 from openlayers/dependabot/npm_and_yarn/karma-mocha-2.0.0
Bump karma-mocha from 1.3.0 to 2.0.0
2020-04-20 07:16:55 -06:00
Tim Schaub
90eef7a7f9 Merge pull request #10943 from openlayers/dependabot/npm_and_yarn/pngjs-5.0.0
Bump pngjs from 4.0.0 to 5.0.0
2020-04-20 06:55:23 -06:00
Tim Schaub
113a553c75 Merge pull request #10946 from openlayers/dependabot/npm_and_yarn/pixelmatch-5.2.0
Bump pixelmatch from 5.1.0 to 5.2.0
2020-04-20 06:54:52 -06:00
dependabot-preview[bot]
733f787e1d Bump karma-mocha from 1.3.0 to 2.0.0
Bumps [karma-mocha](https://github.com/karma-runner/karma-mocha) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/karma-runner/karma-mocha/releases)
- [Changelog](https://github.com/karma-runner/karma-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-mocha/compare/v1.3.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 12:43:37 +00:00
Tim Schaub
614a7f3900 Merge pull request #10944 from openlayers/dependabot/npm_and_yarn/loglevelnext-4.0.1
Bump loglevelnext from 3.0.1 to 4.0.1
2020-04-20 06:41:21 -06:00
dependabot-preview[bot]
91f73366da Bump pixelmatch from 5.1.0 to 5.2.0
Bumps [pixelmatch](https://github.com/mapbox/pixelmatch) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/mapbox/pixelmatch/releases)
- [Commits](https://github.com/mapbox/pixelmatch/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 12:37:55 +00:00
dependabot-preview[bot]
33dae92c50 Bump pngjs from 4.0.0 to 5.0.0
Bumps [pngjs](https://github.com/lukeapage/pngjs) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/lukeapage/pngjs/releases)
- [Commits](https://github.com/lukeapage/pngjs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 12:37:52 +00:00
Tim Schaub
724d6d3d8e Merge pull request #10942 from openlayers/dependabot/npm_and_yarn/puppeteer-3.0.0
Bump puppeteer from 2.1.1 to 3.0.0
2020-04-20 06:35:39 -06:00
Tim Schaub
a9b8482054 Merge pull request #10947 from openlayers/dependabot/npm_and_yarn/karma-5.0.2
Bump karma from 5.0.1 to 5.0.2
2020-04-20 06:34:02 -06:00
dependabot-preview[bot]
82ee124677 Bump karma from 5.0.1 to 5.0.2
Bumps [karma](https://github.com/karma-runner/karma) from 5.0.1 to 5.0.2.
- [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/v5.0.1...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 09:39:18 +00:00
dependabot-preview[bot]
0df2bbf088 Bump loglevelnext from 3.0.1 to 4.0.1
Bumps [loglevelnext](https://github.com/shellscape/loglevelnext) from 3.0.1 to 4.0.1.
- [Release notes](https://github.com/shellscape/loglevelnext/releases)
- [Commits](https://github.com/shellscape/loglevelnext/compare/v3.0.1...v4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 09:35:02 +00:00
dependabot-preview[bot]
db75ca316b Bump puppeteer from 2.1.1 to 3.0.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 2.1.1 to 3.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.1.1...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 09:33:08 +00:00
Andreas Hocevar
2760b0dafb Merge pull request #10936 from ahocevar/css-optional
Set pointerEvents style programmatically instead of relying on ol.css
2020-04-18 17:31:36 +02:00
Andreas Hocevar
c020389551 Merge pull request #10941 from ahocevar/prevent-scroll-on-drag
Always prevent default after handleDragEvent
2020-04-18 17:31:00 +02:00
Andreas Hocevar
51194c69eb Always prevent default after handleDragEvent 2020-04-17 22:47:09 +02:00
Andreas Hocevar
c2f4443df8 Merge pull request #10939 from ahocevar/event-type
Losen listener type
2020-04-17 14:46:57 +02:00
Andreas Hocevar
9b1f8fa1d1 Losen listener type 2020-04-17 11:28:33 +02:00
Andreas Hocevar
2b0cd742d6 Merge pull request #10935 from ejn/fix-panIntoView-no-options
Fix calling Overlay.panIntoView with no options
2020-04-17 11:13:22 +02:00
Edward Nash
b543e4dedd Correct notation for optional argument 2020-04-17 10:54:44 +02:00
Andreas Hocevar
f58bfa4438 Merge pull request #10937 from mike-000/patch-12
Use the tile coordinate as a tile pseudo URL in geojson-vt example
2020-04-17 10:51:42 +02:00
Edward Nash
17a8017e1e Fix calling Overlay.panIntoView with no options
* API-doc said undefined is OK, code assumed an object
2020-04-17 07:26:28 +02:00
mike-000
6519b54647 fix prettier 2020-04-17 00:08:11 +01:00
mike-000
71b866947f read and set features in custom tileLoadFunction 2020-04-17 00:01:28 +01:00
mike-000
7d2e367fd0 fix prettier 2020-04-16 22:18:40 +01:00
mike-000
25b0cce8ed fix prettier 2020-04-16 22:13:12 +01:00
mike-000
3bac7acb48 Use the tile coordinate as a pseudo URL
Use the unique tile coordinate as a pseudo tile URL instead of a GeoJSON data URL which may not be unique
2020-04-16 21:40:38 +01:00
Andreas Hocevar
7f6258dd0d Set pointerEvents style programmatically instead of relying on ol.css 2020-04-16 17:34:40 +02:00
Andreas Hocevar
12043e147c Merge pull request #10934 from ahocevar/type-fixes
Update TypeScript to v3.8
2020-04-15 22:52:51 +02:00
Andreas Hocevar
fee9340e24 Remove lint 2020-04-15 22:44:05 +02:00
Andreas Hocevar
45d01f4bfe Update README 2020-04-15 22:29:12 +02:00
Tim Schaub
f882980194 Merge pull request #10931 from tschaub/bust-cache
Use a new cache key in hopes of fixing test failures
2020-04-15 07:48:02 -06:00
Andreas Hocevar
5f4446b3b2 Update TypeScript 2020-04-15 10:53:27 +02:00
Andreas Hocevar
29ce0bb223 Fix private scope issues in source/UrlTile and subclasses 2020-04-15 10:53:26 +02:00
Andreas Hocevar
793ccbd411 Properly export enum 2020-04-15 10:53:26 +02:00
Andreas Hocevar
bcc94baf22 Fix layer renderer scope issues 2020-04-15 10:53:26 +02:00
Andreas Hocevar
6426cd10dc Fix render/Feature scope issue 2020-04-15 10:53:25 +02:00
Andreas Hocevar
b0393a098a Fix WebGLPoints layer scope issue 2020-04-15 10:53:25 +02:00
Andreas Hocevar
8ba051add3 Fix private scope issues in ol/interaction/* 2020-04-15 10:53:25 +02:00
Andreas Hocevar
e14e41bcfb Remove private and protected scope from GML methods and members 2020-04-15 10:53:25 +02:00
Andreas Hocevar
a2ae18d89a Fix private scope type issues in format/KML 2020-04-15 10:53:24 +02:00
Andreas Hocevar
f4d64700ef Fix private scope type issues in controls 2020-04-15 10:53:24 +02:00
Andreas Hocevar
b0f20d6bd6 Use imports for enum types 2020-04-15 10:53:23 +02:00
Andreas Hocevar
c8d5fc418c Merge pull request #10930 from ahocevar/uniform-color-test
Better test for uniform colors
2020-04-15 00:34:07 +02:00
Tim Schaub
f10717b1fb Use a new cache key in hopes of fixing test failures
The next step in debugging our periodic rendering test failures is to use a new cache key.  This change also removes the less specific key, so we will no longer get partial cache restores.  If we don't see test failures after this change, we may try adding the v2-dependencies- as a key.
2020-04-14 15:32:38 -06:00
Tim Schaub
adad51bf3a Merge pull request #10929 from nikolas/patch-1
Fix typo in 6.3.0 release doc
2020-04-14 15:20:53 -06:00
Andreas Hocevar
2fd8a556e1 Better test for uniform colors 2020-04-14 20:25:27 +02:00
nikolas
6688d5aba9 Fix typo in 6.3.0 release doc
improvments -> improvements
2020-04-14 10:08:49 -04:00
Tim Schaub
c18500e4f2 Merge pull request #10918 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.9.5
Bump @babel/preset-env from 7.9.0 to 7.9.5
2020-04-13 11:29:27 -06:00
Tim Schaub
e81b87a4ec Merge pull request #10921 from openlayers/dependabot/npm_and_yarn/pngjs-4.0.0
Bump pngjs from 3.4.0 to 4.0.0
2020-04-13 11:29:02 -06:00
Tim Schaub
af971ef92b Merge pull request #10923 from openlayers/dependabot/npm_and_yarn/sinon-9.0.2
Bump sinon from 9.0.1 to 9.0.2
2020-04-13 11:28:38 -06:00
Tim Schaub
32cb49e10b Merge pull request #10922 from openlayers/dependabot/npm_and_yarn/karma-5.0.1
Bump karma from 4.4.1 to 5.0.1
2020-04-13 10:58:03 -06:00
dependabot-preview[bot]
0ca58c58c2 Bump karma from 4.4.1 to 5.0.1
Bumps [karma](https://github.com/karma-runner/karma) from 4.4.1 to 5.0.1.
- [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/v4.4.1...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 15:29:11 +00:00
Tim Schaub
ea62aac59a Merge pull request #10920 from openlayers/dependabot/npm_and_yarn/jsdoc-3.6.4
Bump jsdoc from 3.6.3 to 3.6.4
2020-04-13 09:26:53 -06:00
dependabot-preview[bot]
769c7e1db0 Bump jsdoc from 3.6.3 to 3.6.4
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.4/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.3...3.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 14:01:23 +00:00
Tim Schaub
f23e5c035e Merge pull request #10919 from openlayers/dependabot/npm_and_yarn/rollup-2.6.1
Bump rollup from 2.3.3 to 2.6.1
2020-04-13 08:00:18 -06:00
Tim Schaub
f01ffeb189 Merge pull request #10924 from openlayers/dependabot/npm_and_yarn/jquery-3.5.0
Bump jquery from 3.4.1 to 3.5.0
2020-04-13 07:59:04 -06:00
dependabot-preview[bot]
4f2cea3581 Bump jquery from 3.4.1 to 3.5.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 08:51:26 +00:00
dependabot-preview[bot]
f720a3eb23 Bump sinon from 9.0.1 to 9.0.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 08:50:48 +00:00
dependabot-preview[bot]
c785c38d8e Bump pngjs from 3.4.0 to 4.0.0
Bumps [pngjs](https://github.com/lukeapage/pngjs2) from 3.4.0 to 4.0.0.
- [Release notes](https://github.com/lukeapage/pngjs2/releases)
- [Commits](https://github.com/lukeapage/pngjs2/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 08:49:12 +00:00
dependabot-preview[bot]
33939ff26c Bump rollup from 2.3.3 to 2.6.1
Bumps [rollup](https://github.com/rollup/rollup) from 2.3.3 to 2.6.1.
- [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.3.3...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 08:47:21 +00:00
dependabot-preview[bot]
841a7a92f8 Bump @babel/preset-env from 7.9.0 to 7.9.5
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.9.0 to 7.9.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.9.0...v7.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 08:46:21 +00:00
Tim Schaub
6acbbd8e90 Merge pull request #10917 from sambakk/master
Fix the IGN WMTS example dead links and attribution
2020-04-12 16:36:06 -06:00
sambakk
c9b765c243 Correct the attribution with the right link, icon and icon title 2020-04-12 15:46:14 +01:00
sambakk
2451a75238 Replace the dead links of the Géoportail API web page & Descriptif technique des web services du Géoportail 2020-04-12 15:24:46 +01:00
Andreas Hocevar
7f89aa3285 Merge pull request #10911 from MoonE/apidoc-fullscreen-events
Remove link for fullscreen event from navigation
2020-04-12 12:14:05 +02:00
Tim Schaub
6c0da44141 Merge pull request #10916 from tschaub/debug-test-failures
Store additional artifacts to debug test failures
2020-04-11 14:03:53 -06:00
Tim Schaub
5e12fe9dc1 Store additional artifacts to debug test failures 2020-04-11 12:41:30 -06:00
Maximilian Krög
b07f96e558 Remove link for fullscreen event from navigation 2020-04-10 19:07:25 +02:00
Frédéric Junod
4bd191755f Merge pull request #10902 from fredj/readFromDocument
Move readFromDocument implementation to the base class
2020-04-09 10:20:51 +02:00
Andreas Hocevar
28d1e5c1ee Merge pull request #10899 from ahocevar/fix-translate-drag
Do not scroll page during feature translation
2020-04-07 10:05:27 +02:00
Andreas Hocevar
cb8fb147ec Do not scroll page during feature translation 2020-04-07 08:53:54 +02:00
Frederic Junod
484f45fc1b Move readFromDocument implementation to the base class
All the child classes have the same code; move to the base class
2020-04-07 07:26:38 +02:00
Tim Schaub
3014b68254 Merge pull request #10862 from tschaub/prettier
Use prettier
2020-04-06 13:05:56 -06:00
Tim Schaub
054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Andreas Hocevar
53b48baf62 Merge pull request #10895 from ahocevar/example-dependencies
Fix dependency source management for examples
2020-04-06 19:00:04 +02:00
Tim Schaub
6eccf21543 Merge pull request #10882 from MoonE/apidoc-fix-toggle-state
Apidoc - Fix toggle state when there are no hidden members
2020-04-06 10:30:17 -06:00
Andreas Hocevar
e951a3c7d5 Fix dependency source management for examples 2020-04-06 16:51:22 +02:00
Andreas Hocevar
5b4a4b20aa Merge pull request #10893 from ahocevar/fix-focus-condition
Fix focus condition
2020-04-06 15:30:39 +02:00
Tim Schaub
c8fd78c5b3 Merge pull request #10889 from openlayers/dependabot/npm_and_yarn/rollup-2.3.3
Bump rollup from 2.3.0 to 2.3.3
2020-04-06 07:07:32 -06:00
Tim Schaub
81ef29a51b Merge pull request #10891 from openlayers/dependabot/npm_and_yarn/handlebars-4.7.6
Bump handlebars from 4.7.4 to 4.7.6
2020-04-06 07:06:52 -06:00
Andreas Hocevar
4330697ed2 Fix focus condition 2020-04-06 11:57:10 +02:00
dependabot-preview[bot]
00d6b8272c Bump handlebars from 4.7.4 to 4.7.6
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.4 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.4...v4.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 09:09:50 +00:00
dependabot-preview[bot]
c9d27e29d6 Bump rollup from 2.3.0 to 2.3.3
Bumps [rollup](https://github.com/rollup/rollup) from 2.3.0 to 2.3.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.3.0...v2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-06 09:08:08 +00:00
Andreas Hocevar
ced59f5592 Merge pull request #10887 from openlayers/release-v6.3.1
Release v6.3.1
2020-04-06 09:29:18 +02:00
Andreas Hocevar
347159d5fd Develop on 6.3.2-dev 2020-04-06 09:20:14 +02:00
Andreas Hocevar
af9f26b9d3 Update package version for 6.3.1 2020-04-06 09:15:48 +02:00
Andreas Hocevar
6704cf3ace Changelog for v6.3.1 2020-04-06 09:11:58 +02:00
Andreas Hocevar
afa96df55d Merge pull request #10877 from ahocevar/no-dts
Remove .d.ts files from the package
2020-04-06 09:02:46 +02:00
Andreas Hocevar
a21470f6b4 Merge pull request #10872 from ahocevar/fix-type-generation
Use TypeScript 3.9 for type generation for better enums
2020-04-06 09:00:46 +02:00
Andreas Hocevar
4a5e8528f9 Merge pull request #10878 from ahocevar/fix-freehand
Avoid page scrolling when freehand drawing on mobile
2020-04-05 22:30:54 +02:00
Andreas Hocevar
7dd6d72093 Avoid page scrolling when freehand drawing on mobile 2020-04-05 22:02:19 +02:00
Andreas Hocevar
0171e914f7 Merge pull request #10879 from ahocevar/no-append
Do not append hit canvas to document body
2020-04-05 15:45:18 +02:00
Maximilian Krög
a7a21aab08 Fix toggle state when there are no hidden members 2020-04-05 15:23:41 +02:00
Andreas Hocevar
79ccef7bf6 Do not append hit canvas to document body 2020-04-05 09:55:09 +02:00
Andreas Hocevar
4cd7b97f11 Merge pull request #10877 from ahocevar/no-dts
Remove .d.ts files from the package
2020-04-05 08:37:27 +02:00
Andreas Hocevar
ad9c444975 Remove .d.ts files from the package 2020-04-04 20:20:10 +02:00
Tim Schaub
61b3fb7111 Merge pull request #10874 from mike-000/patch-11
fix return type
2020-04-04 09:12:38 -06:00
mike-000
a1dd9cacf7 fix return type 2020-04-04 14:00:20 +01:00
Frédéric Junod
d8cbda18a7 Merge pull request #10840 from fredj/remove_inheritDoc
Remove inherit doc
2020-04-04 14:06:43 +02:00
Tim Schaub
0a6468d7ae Remove plugin for @inheritDoc 2020-04-04 13:57:48 +02:00
Andreas Hocevar
6595bf2327 Merge pull request #10872 from ahocevar/fix-type-generation
Use TypeScript 3.9 for type generation for better enums
2020-04-04 10:55:43 +02:00
Andreas Hocevar
3528149c5b Use TypeScript 3.9 for type generation for better enums 2020-04-04 09:57:30 +02:00
Andreas Hocevar
77763991dc Merge pull request #10537 from mike-000/patch-3
Correct resolution used for scale bar and add dpi option
2020-04-04 09:53:54 +02:00
Andreas Hocevar
58b92aca6f Merge pull request #10463 from pjsg/fix_triangulation
Fix issue with reprojection and double drawing pixels.
2020-04-04 09:44:28 +02:00
philip
4e81cf02ee Remove the unused import 2020-04-03 21:58:51 +00:00
philip
665a8275f6 It appears that Safari and Chrome behave differently when doing a drawImage
with coordinates that are outside the source. Chrome appears to draw the
piece of the image that is within the area specified on the drawImage and within
the source. Safari bails and draws nothing if (I think) any of the corners are outside
the source.
2020-04-03 21:54:42 +00:00
mike-000
fb84426411 use constant for default dpi 2020-04-03 17:17:11 +01:00
mike-000
6aa953b571 base minWidth on default dpi & remove setMinWidth 2020-04-03 17:11:25 +01:00
mike-000
6006fb2c03 base minWidth on default dpi & remove setMinWidth 2020-04-03 17:11:20 +01:00
Andreas Hocevar
b80e3a3a41 Merge pull request #10429 from mike-000/patch-4
Option to disable image smoothing for Tile layer sources (including reprojected sources)
2020-04-03 15:41:51 +02:00
Olivier Guyot
22c02e7f35 Merge pull request #10865 from jahow/view-animate-updatesize-fix
View / avoid solving constraints related to map size during animation
2020-04-03 13:55:54 +02:00
Frederic Junod
dda7342ea7 Remove all inheritDoc tags from src/ol/renderer 2020-04-03 09:08:09 +02:00
Frederic Junod
9e862c1111 Remove all inheritDoc tags from src/ol/ 2020-04-03 08:20:49 +02:00
Frederic Junod
d15ec1c12c Remove all inheritDoc tags from disposeInternal functions 2020-04-03 08:10:41 +02:00
Frederic Junod
a695ce8616 Remove all inheritDoc tags from src/ol/render 2020-04-03 07:56:58 +02:00
Frederic Junod
15d36a22f0 Remove all inheritDoc tags from src/ol/layer 2020-04-03 07:56:58 +02:00
Frederic Junod
506aa7aae7 Remove all inheritDoc tags from src/ol/style 2020-04-03 07:56:58 +02:00
Frederic Junod
615ae71a8f Remove all inheritDoc tags from src/ol/source 2020-04-03 07:56:58 +02:00
Frederic Junod
da8ef43db7 Remove all inheritDoc tags from src/ol/interaction 2020-04-03 07:52:51 +02:00
Frederic Junod
706dd3c87c Remove all inheritDoc tags from src/ol/control 2020-04-03 07:52:51 +02:00
Frederic Junod
6522e6a17f Pass the id field name as a new param 2020-04-03 07:52:51 +02:00
Frederic Junod
d7c83e4651 Remove all inheritDoc tags from src/ol/format 2020-04-03 07:52:51 +02:00
Frederic Junod
f392f6b6bb Remove all inheritDoc tags from src/ol/geom 2020-04-03 07:52:51 +02:00
philip
6e2d8cc266 Add test for the reprojection being able to handle translucent layers 2020-04-03 01:46:03 +00:00
philip
a308e9ee13 Merge remote-tracking branch 'origin/master' into fix_triangulation 2020-04-02 22:58:59 +00:00
mike-000
362df3439e update description 2020-04-02 23:51:36 +01:00
mike-000
74ba208c22 test imageSmoothing: false without reprojection 2020-04-02 23:18:10 +01:00
mike-000
dd95d60c2e test imageSmoothing: false without reprojection 2020-04-02 23:17:10 +01:00
mike-000
dfcc649c59 Merge branch 'master' into patch-4 2020-04-02 22:37:36 +01:00
mike-000
f4a3a3bc70 remove prerender context setting 2020-04-02 22:32:30 +01:00
mike-000
5ad788194e remove prerender context setting 2020-04-02 22:30:08 +01:00
mike-000
b866a447c2 assign tile source context options to context 2020-04-02 22:28:09 +01:00
Andreas Hocevar
6909416e9a Merge pull request #10867 from openlayers/release-v6.3.0
Release v6.3.0
2020-04-02 23:03:43 +02:00
Andreas Hocevar
b71e8ebb73 Develop on 6.3.1-dev 2020-04-02 22:24:08 +02:00
Andreas Hocevar
bdf969cc95 Update package version to 6.3.0 2020-04-02 22:04:52 +02:00
Andreas Hocevar
5357b4fced Changelog for v6.3.0 2020-04-02 22:03:53 +02:00
mike-000
5c848ac1b9 make context options available to renderer 2020-04-02 20:10:07 +01:00
mike-000
0ba659b6af make context options available to renderer 2020-04-02 20:09:58 +01:00
Andreas Hocevar
e683c0a0c5 Merge pull request #10490 from bepremeg/CK-240_RemoveSelectEventHandler
Select style multiple select interactions removed
2020-04-02 20:26:52 +02:00
Geert Premereur
ad77143417 Experiment with test impact further (3) 2020-04-02 20:05:15 +02:00
Geert Premereur
cf1191505e Experiment with test impact further (2) 2020-04-02 20:05:15 +02:00
Geert Premereur
3909938a70 Experiment with test impact further 2020-04-02 20:05:15 +02:00
Geert Premereur
e9e75cd8af temporarily disable test to observe impact 2020-04-02 20:05:14 +02:00
Geert Premereur
2d7e55e26a Small code cleanup
drop superfluous if.
2020-04-02 20:05:14 +02:00
Geert Premereur
dc957ec104 CK-240: fix lint errors 2020-04-02 20:05:14 +02:00
Geert Premereur
a30a92a963 CK-240: fix multiple select interactions on map
event handlers have to be (de)activated when the interaction is added or removed to the map, not when constructed

added unit test
2020-04-02 20:05:14 +02:00
Geert Premereur
10c7f08fa4 Select style multiple select interactions removed
This fixes issue 10486 by removing the event listeners when an
interaction is removed from a map.
2020-04-02 20:00:37 +02:00
Tim Schaub
c196f2f7b0 Merge pull request #10531 from pjsg/fix_image_reproj
Dynamically chose the number of subdivisions based on the size of the Image to reproject
2020-04-02 11:50:30 -06:00
mike-000
1cd4d37c45 change option name to imageSmoothing 2020-04-02 18:44:07 +01:00
Tim Schaub
0034d6f206 Merge pull request #10618 from MoonE/apidoc-debug-task
Add apidoc-debug task to debug the apidoc generation process
2020-04-02 11:27:38 -06:00
Tim Schaub
b4e51ed841 Merge pull request #10343 from mike-000/patch-10
Correct interactions with circle geometries when using user coordinates
2020-04-02 11:06:48 -06:00
philip
72907566bb Add comment to explain calculation. 2020-04-02 14:14:13 +00:00
mike-000
23fe5463fa use dom-to-image-more 2020-04-02 14:59:58 +01:00
mike-000
ab006abf25 use dom-to-image-more 2020-04-02 14:59:57 +01:00
mike-000
b56ca954d5 avoid classname conflict with example template 2020-04-02 14:59:55 +01:00
mike-000
e6658aec1e add domtoimage 2020-04-02 14:59:54 +01:00
mike-000
e2ac566c05 Correct resolution used for scale. Add dpi option.
Also add setDpi and setMinWidth methods

Add Print to scale example
2020-04-02 14:59:54 +01:00
Olivier Guyot
32321e381c View / avoid solving constraints related to map size change during anim 2020-04-02 14:22:47 +02:00
Andreas Hocevar
612910bcd2 Merge pull request #10864 from ahocevar/dependency-updates
Update dependencies
2020-04-02 14:12:55 +02:00
Andreas Hocevar
8e6b5ce0bf Update dependencies 2020-04-02 13:50:12 +02:00
Tim Schaub
a073c5ab1e Merge pull request #10859 from SDaron/clipping-layer
Add an example of clipping layer based on a vector source
2020-04-01 03:59:58 -06:00
Andreas Hocevar
5e8102bbd1 Merge pull request #10850 from ahocevar/enum-docs
API docs for enums
2020-04-01 11:47:55 +02:00
Simon Daron
23c2e1062c Add an example of clipping layer based on a vector source 2020-04-01 10:08:37 +02:00
Andreas Hocevar
7dd42ef19f Key update 2020-04-01 09:07:07 +02:00
Andreas Hocevar
061ccb987b Key update 2020-04-01 08:43:52 +02:00
Andreas Hocevar
001128c98e Merge pull request #10857 from mike-000/patch-9
Make OSM XML example work at dateline and replace Bing with MapTiler
2020-04-01 08:33:34 +02:00
Andreas Hocevar
27169c2942 Merge pull request #10858 from ejn/overlay-autopan-on-set-map-10843
Perform auto-pan when adding an Overlay to a Map
2020-04-01 08:13:56 +02:00
Edward Nash
2b863793d0 Perform auto-pan when adding an Overlay to a Map
* Auto-pan settings currently only activate when the position of the
   Overlay is set and the Overlay is already on a Map.

 * The consequence of this is that creating an Overlay with position
   set and then adding to a Map results in no auto-pan being performed -
   it is necessary to first create the Overlay, then add to a Map and
   finally set the position in order for the Map to auto-pan.

 * This commit changes this behaviour so that the auto-pan settings are
   also considered when the map property of the Overlay is set and not
   only when the position property is set, leading to a more intuitive
   behaviour.

 * Fixes Issue #10843
2020-04-01 06:50:01 +02:00
mike-000
82dd764d13 Replace Bing layer with MapTiler 2020-03-31 22:37:51 +01:00
mike-000
7b55fe381e Replace Bing layer with MapTiler 2020-03-31 22:36:07 +01:00
mike-000
3c0ff15414 Cap Longitudes and replace Bing with MapTiler 2020-03-31 22:32:02 +01:00
Andreas Hocevar
2401e0af00 Merge pull request #10646 from mike-000/patch-1
Write fill and outline in KML PolyStyle
2020-03-31 23:22:15 +02:00
Andreas Hocevar
f66b44068c Merge pull request #10800 from ejn/overlay-pan-into-view-10741
Make Overlay.panIntoView an API method
2020-03-31 23:19:38 +02:00
Andreas Hocevar
25fcc6b604 Merge pull request #10855 from openlayers/dependabot/npm_and_yarn/rollup-2.3.0
Bump rollup from 2.1.0 to 2.3.0
2020-03-31 23:00:56 +02:00
Andreas Hocevar
820984d0eb Merge pull request #10854 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.1.1
Bump ol-mapbox-style from 6.1.0 to 6.1.1
2020-03-31 22:59:34 +02:00
Andreas Hocevar
ea12f7945f Merge pull request #10853 from openlayers/dependabot/npm_and_yarn/buble-0.20.0
Bump buble from 0.19.8 to 0.20.0
2020-03-31 22:46:58 +02:00
Andreas Hocevar
7334951056 Merge pull request #10852 from openlayers/dependabot/npm_and_yarn/webpack-4.42.1
Bump webpack from 4.42.0 to 4.42.1
2020-03-31 22:44:46 +02:00
Andreas Hocevar
78202c78b9 Merge pull request #10807 from mike-000/patch-2
Handle Graticule wrapX without calculating excess meridians
2020-03-31 21:02:16 +02:00
mike-000
bfca3cf713 change loader check back to equal extents 2020-03-31 17:00:12 +01:00
mike-000
929b9f4068 change loader check back to equal extents 2020-03-31 16:55:23 +01:00
mike-000
149ca7efad return previous extent if extents are approx equal 2020-03-31 16:26:30 +01:00
Andreas Hocevar
9af1e223af More tests and docs for extent and coordinate wrapX 2020-03-31 16:11:06 +02:00
Andreas Hocevar
cdafc4fa05 Add approximatelyEquals function for comparing extents 2020-03-31 16:11:06 +02:00
mike-000
2c7f58dbed remove unused import 2020-03-31 16:03:14 +02:00
mike-000
6013763480 replace containsExtent with equals in strategy 2020-03-31 16:03:14 +02:00
mike-000
99a1641afe remove duplication 2020-03-31 16:03:13 +02:00
mike-000
e3ad05f805 Include center at right edge in calculations 2020-03-31 16:03:13 +02:00
mike-000
660845f5b8 Include center at right edge in calculations 2020-03-31 16:03:13 +02:00
Andreas Hocevar
098885a006 New wrapX functions for coordinate and extent 2020-03-31 16:03:12 +02:00
mike-000
48b79cf7d1 only use one extent if two are passed 2020-03-31 16:03:12 +02:00
Andreas Hocevar
a35794ae97 Load two extents for views that cross the date line 2020-03-31 16:03:12 +02:00
mike-000
3d8495742b Simplify following renderer changes 2020-03-31 16:03:11 +02:00
Andreas Hocevar
190cd202a1 Always use load extent with real world center 2020-03-31 16:03:11 +02:00
mike-000
0c9324f398 Test extents passed to loader 2020-03-31 16:03:10 +02:00
mike-000
67c37c2163 Test extents passed to loader 2020-03-31 16:03:10 +02:00
mike-000
3b760dc308 Use getLoadWrapX() to determine extent to load 2020-03-31 16:03:10 +02:00
mike-000
b560dab513 Set loadWrapX: false in source 2020-03-31 16:03:09 +02:00
mike-000
f6bbf414a8 Add loadWrapX option and getter 2020-03-31 16:03:09 +02:00
mike-000
f6ede1a9c0 handle wrapX without calculating excess meridians
override extent validation only if the extent includes parts of two worlds
2020-03-31 16:03:08 +02:00
mike-000
516a75ae22 Always load frameState extent for graticule layers
reorder and comment
2020-03-31 16:03:08 +02:00
mike-000
bad0ff38ca handle wrapX without calculating excess meridians
avoid calculating more meridians or longer parallels than necessary when viewport extent includes a wrapped world
2020-03-31 16:03:08 +02:00
mike-000
772741cd0e Always load frameState extent for graticule layers
do not call graticule loader with wrapped projection extent
2020-03-31 16:03:06 +02:00
dependabot-preview[bot]
c92f72ac3f Bump rollup from 2.1.0 to 2.3.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.1.0 to 2.3.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.1.0...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 08:59:06 +00:00
dependabot-preview[bot]
e583e0775d Bump ol-mapbox-style from 6.1.0 to 6.1.1
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.1.0...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 08:57:39 +00:00
dependabot-preview[bot]
6ca6c70aac Bump buble from 0.19.8 to 0.20.0
Bumps [buble](https://github.com/bublejs/buble) from 0.19.8 to 0.20.0.
- [Release notes](https://github.com/bublejs/buble/releases)
- [Changelog](https://github.com/bublejs/buble/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bublejs/buble/compare/v0.19.8...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 08:56:40 +00:00
dependabot-preview[bot]
8222118fb1 Bump webpack from 4.42.0 to 4.42.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.42.0 to 4.42.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.42.0...v4.42.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-30 08:55:08 +00:00
Edward Nash
2537da690a Add check that Position is set in panIntoView()
* If panIntoView is an API method, it may now be called when the
   position of the overlay has not yet been set.

 * Adds a check for a set position to the panIntoView() method,
   and removes the now unneccessary check in handlePositionChanged()
2020-03-30 07:15:03 +02:00
Edward Nash
b1b01cf943 Allow pan options supplied as autoPan
* Follow the suggestion from @ahocevar to use the existing
   autoPan constructor option instead of creating a new autoPanOptions
   option

 * Internally also store the autoPanOptions in autoPan
2020-03-30 07:12:52 +02:00
Andreas Hocevar
0a7f7db817 Merge pull request #10795 from mike-000/patch-6
Show graticule labels in wrapped worlds
2020-03-28 14:46:54 +01:00
Andreas Hocevar
b39e12406a Merge pull request #10824 from MoonE/icon-color-ie11
Fix drawing svg icon with color option in ie11
2020-03-28 14:26:10 +01:00
Andreas Hocevar
dd44ecf185 Only document enums when they have API properties 2020-03-28 14:17:56 +01:00
Andreas Hocevar
a6a5b72c57 Only mark items as api, not enums 2020-03-27 12:33:54 +01:00
Maximilian Krög
1020c384bb Fix two missing apidoc links
Add IconAnchorUnits and IconOrigin to the api.
2020-03-27 12:33:54 +01:00
Andreas Hocevar
f89b32de66 Merge pull request #10802 from MoonE/apidoc-add-default-export-enums
Apidoc add default-exported enums
2020-03-27 12:07:12 +01:00
Andreas Hocevar
f24ecf7b2c Merge pull request #10805 from regileeso/master
make ImageSourceEventType available for consumers
2020-03-27 11:35:30 +01:00
Andreas Hocevar
0366bca7c1 Merge pull request #10822 from lysek/master
parsing color from IconStyle in KML files
2020-03-27 11:31:49 +01:00
Andreas Hocevar
597e3a6bca Merge pull request #10848 from horsenit/master
Speed up Overlay element positioning using CSS translate()
2020-03-27 10:08:21 +01:00
horsenit
03ea8911f6 Fix type checking for IE9 style.msTransform 2020-03-27 03:03:21 -04:00
horsenit
83a5cd63c6 Speed up Overlay element positioning using CSS translate() 2020-03-27 02:26:01 -04:00
Andreas Hocevar
2d8782b1da Merge pull request #9590 from mloskot/ml/wmts-augment-tms-extent
Calculate tile grid extent from extent of bottom-level tile matrix
2020-03-26 23:23:54 +01:00
Andreas Hocevar
f50ae44150 Merge pull request #10845 from gedaiu/master
Fix createHitDetectionImageData error for features with no size
2020-03-26 23:20:43 +01:00
Szabo Bogdan
6aa398cbec Fix hit detection for images with missing size 2020-03-26 21:23:23 +01:00
Szabo Bogdan
fbe7b0bd78 Fix test typo 2020-03-26 21:22:08 +01:00
Mateusz Łoskot
98e8bec370 Calculate tile grid extent from extent of bottom-level tile matrix
Prefers extent derived from the tile matrix set in the capabilities
over default projection extent.
2020-03-26 19:17:32 +01:00
Andreas Hocevar
8f46bb563b Merge pull request #10842 from mike-000/patch-8
Fix custom symbol example short description
2020-03-25 14:36:01 +01:00
mike-000
c3d9ac6265 Fix description 2020-03-25 12:55:57 +00:00
Andreas Hocevar
60dd85fa08 Merge pull request #10828 from ahocevar/offscreen-canvas
Offscreen canvas example
2020-03-24 21:45:06 +01:00
Andreas Hocevar
d70b3aa3d5 Move catch-up logic to main thread
This avoids requestAnimationFrame in the worker.
2020-03-24 12:14:31 +01:00
Andreas Hocevar
576f50331b Add attribution 2020-03-23 20:30:58 +01:00
Andreas Hocevar
5113d70701 Rename example 2020-03-23 19:37:13 +01:00
Andreas Hocevar
0e1af6836f Example cleanup 2020-03-23 12:47:27 +01:00
Andreas Hocevar
828becf68e Position rotate control in the bottom left 2020-03-23 12:47:26 +01:00
Andreas Hocevar
941df3b270 Fix issues with TypeScript's built-in webworker lib 2020-03-23 12:47:26 +01:00
Andreas Hocevar
28f390828d Use same data as in mapbox-style example 2020-03-23 12:47:26 +01:00
Andreas Hocevar
ade9ac8857 Make mapbox-style example fullscreen on demand 2020-03-23 12:47:25 +01:00
Andreas Hocevar
bc1be50cbc Add worker support to examples 2020-03-23 12:47:25 +01:00
Andreas Hocevar
30ac91c4ae Simpler feature check 2020-03-23 12:47:25 +01:00
Andreas Hocevar
b9bfe45d86 Update ol-mapbox-style 2020-03-23 12:47:25 +01:00
Andreas Hocevar
3f7f999db0 Avoid try/catch, DOM and workers 2020-03-23 12:46:24 +01:00
Andreas Hocevar
6dcc54bfb8 'action' instead of 'type' as message identifier 2020-03-23 12:46:24 +01:00
Andreas Hocevar
f80c175263 Do not transform rotated views 2020-03-23 12:46:23 +01:00
Andreas Hocevar
3217bf1316 Add style handling 2020-03-23 12:46:23 +01:00
Andreas Hocevar
10c3330580 Use correct transorms at the right time 2020-03-23 12:46:23 +01:00
Andreas Hocevar
06f6ba13c8 Make font loading work in workers 2020-03-23 12:46:22 +01:00
Andreas Hocevar
bb1ca76bcc Make Executor work in workers 2020-03-23 12:46:22 +01:00
Andreas Hocevar
a93edb338b Instant UI feedback 2020-03-23 12:46:21 +01:00
Andreas Hocevar
56edbb2d73 Make createTransformToString a standalone function 2020-03-23 12:46:21 +01:00
Andreas Hocevar
3f5022630b Create a basic example for OffscreenCanvas rendering 2020-03-23 12:46:20 +01:00
Andreas Hocevar
8b76f52652 Make createTransformString work in non-window context 2020-03-23 12:46:20 +01:00
Andreas Hocevar
717b8ad0cf Make createCanvasContext2D work in non-window context 2020-03-23 12:46:19 +01:00
Andreas Hocevar
f896d9fb03 Move tile priority function to the TileQueue module 2020-03-23 12:46:18 +01:00
Andreas Hocevar
3944a5a038 Make DEVICE_PIXEL_RATIO work in non-window context 2020-03-23 12:46:18 +01:00
Andreas Hocevar
c7f2399e7f Merge pull request #10837 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.1.0
Bump ol-mapbox-style from 6.0.1 to 6.1.0
2020-03-23 11:48:01 +01:00
Andreas Hocevar
306a773e61 Merge pull request #10836 from openlayers/dependabot/npm_and_yarn/coveralls-3.0.11
Bump coveralls from 3.0.9 to 3.0.11
2020-03-23 11:24:05 +01:00
Andreas Hocevar
6e4351f119 Merge pull request #10835 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.9.0
Bump @babel/preset-env from 7.8.7 to 7.9.0
2020-03-23 11:04:38 +01:00
Andreas Hocevar
7c23c501c3 Merge pull request #10834 from openlayers/dependabot/npm_and_yarn/rollup-2.1.0
Bump rollup from 1.32.1 to 2.1.0
2020-03-23 11:03:41 +01:00
Andreas Hocevar
98ddf7a147 Merge pull request #10833 from openlayers/dependabot/npm_and_yarn/fs-extra-9.0.0
Bump fs-extra from 8.1.0 to 9.0.0
2020-03-23 11:00:21 +01:00
Andreas Hocevar
6969ee6275 Merge pull request #10832 from openlayers/dependabot/npm_and_yarn/babel/core-7.9.0
Bump @babel/core from 7.8.7 to 7.9.0
2020-03-23 10:58:32 +01:00
Andreas Hocevar
1331131e04 Merge pull request #10831 from openlayers/dependabot/npm_and_yarn/babel-loader-8.1.0
Bump babel-loader from 8.0.6 to 8.1.0
2020-03-23 10:44:09 +01:00
dependabot-preview[bot]
b70c9a70f8 Bump ol-mapbox-style from 6.0.1 to 6.1.0
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.0.1...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 09:44:03 +00:00
Andreas Hocevar
0fdfed439c Merge pull request #10830 from openlayers/dependabot/npm_and_yarn/mocha-7.1.1
Bump mocha from 7.1.0 to 7.1.1
2020-03-23 10:41:41 +01:00
dependabot-preview[bot]
3512638900 Bump mocha from 7.1.0 to 7.1.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.1.0 to 7.1.1.
- [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/v7.1.0...v7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 09:18:35 +00:00
Andreas Hocevar
124d00daf2 Merge pull request #10829 from openlayers/dependabot/npm_and_yarn/marked-0.8.2
Bump marked from 0.8.0 to 0.8.2
2020-03-23 10:16:07 +01:00
Jiri Lysek
2b6e767840 encoding color into KML 2020-03-23 10:10:12 +01:00
dependabot-preview[bot]
d61da37191 Bump coveralls from 3.0.9 to 3.0.11
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.9 to 3.0.11.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/compare/3.0.9...3.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 09:01:54 +00:00
dependabot-preview[bot]
7dd6bb7c1b Bump @babel/preset-env from 7.8.7 to 7.9.0
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 09:01:12 +00:00
dependabot-preview[bot]
274135db2e Bump rollup from 1.32.1 to 2.1.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.32.1 to 2.1.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/v1.32.1...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 09:00:00 +00:00
dependabot-preview[bot]
5ab7f5dacf Bump fs-extra from 8.1.0 to 9.0.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/8.1.0...9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 08:59:43 +00:00
dependabot-preview[bot]
d8b2e452d5 Bump @babel/core from 7.8.7 to 7.9.0
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.7 to 7.9.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 08:58:20 +00:00
dependabot-preview[bot]
bbc8870832 Bump babel-loader from 8.0.6 to 8.1.0
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.0.6 to 8.1.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.6...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 08:57:18 +00:00
dependabot-preview[bot]
52d840b35d Bump marked from 0.8.0 to 0.8.2
Bumps [marked](https://github.com/markedjs/marked) from 0.8.0 to 0.8.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.8.0...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 08:55:33 +00:00
Maximilian Krög
24f9e1c6ac Update comment for the IconImage replaceColor_ method 2020-03-22 13:29:29 +01:00
Maximilian Krög
fbb0364ea5 Make Icon's color attribute work in ie11 2020-03-21 00:33:41 +01:00
Maximilian Krög
f942c482d8 Svg icon needs imgSize to display in ie11 2020-03-21 00:15:49 +01:00
Jiri Lysek
7bf44078e1 fixed type comment 2020-03-19 13:32:02 +01:00
Jiri Lysek
d5b3d27e62 parsing color from IconStyle in KML files 2020-03-19 13:02:53 +01:00
Marc Jansen
3674ec5481 Merge pull request #10816 from marcjansen/npm-funding-field
Add 'funding' field to `package.json`
2020-03-18 10:51:45 +01:00
Marc Jansen
0af85f7396 Add 'funding' field to package.json
This was introduced to `npm` recently and allows users of the ol
package to e.g. type `npm fund ol` and our opencollective page
opens in a browser. Just typing `npm fund` in a npm package will list
the funding options of the dependencies of the current project.
2020-03-18 10:15:31 +01:00
Tim Schaub
9fe84e4dba Merge pull request #10813 from tschaub/sponsor
Add sponsors section to the readme
2020-03-17 05:18:03 -06:00
Tim Schaub
dca694ccc9 Add sponsors section to the readme 2020-03-16 17:10:49 -06:00
Andreas Hocevar
ca6288a800 Merge pull request #10811 from openlayers/dependabot/npm_and_yarn/sinon-9.0.1
Bump sinon from 9.0.0 to 9.0.1
2020-03-16 18:47:32 +01:00
Andreas Hocevar
d85b5065f5 Merge pull request #10810 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-5.3.0
Bump rollup-plugin-terser from 5.2.0 to 5.3.0
2020-03-16 18:47:03 +01:00
Andreas Hocevar
bb0c6635a2 Merge pull request #10809 from openlayers/dependabot/npm_and_yarn/yargs-15.3.1
Bump yargs from 15.3.0 to 15.3.1
2020-03-16 18:46:29 +01:00
dependabot-preview[bot]
21b2d8aa48 Bump sinon from 9.0.0 to 9.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.0...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 08:21:07 +00:00
dependabot-preview[bot]
7bc7affccc Bump rollup-plugin-terser from 5.2.0 to 5.3.0
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.2.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 08:20:12 +00:00
dependabot-preview[bot]
47ce1490f8 Bump yargs from 15.3.0 to 15.3.1
Bumps [yargs](https://github.com/yargs/yargs) from 15.3.0 to 15.3.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.3.0...v15.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 08:19:01 +00:00
Frédéric Junod
e5131f811f Merge pull request #10806 from openlayers/dependabot/npm_and_yarn/acorn-6.4.1
[Security] Bump acorn from 6.1.1 to 6.4.1
2020-03-14 07:28:36 +01:00
dependabot-preview[bot]
3c1ad1fc1d [Security] Bump acorn from 6.1.1 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 21:23:16 +00:00
regileeso
406c38403b make ImageSourceEventType available for consumers 2020-03-13 11:36:20 +00:00
Edward Nash
859bf338a2 Use Object for options to Overlay panIntoView
* animation and margin encapsulated in a single object to allow
   easier extension in future

 * Constructor options extended to allow single object for
   autoPan; separate options still allowed but deprecated

 * Protected fields for animation and margin replaced with single
   field
2020-03-13 10:12:14 +01:00
Maximilian Krög
873cccc4f3 Add default exported enums to apidoc 2020-03-12 22:29:46 +01:00
Maximilian Krög
f2477622c3 Remove redundant check if doclet kind is typedef 2020-03-12 22:29:34 +01:00
Maximilian Krög
058ca59233 Also correctly detect default exports without an identifier 2020-03-12 21:36:19 +01:00
Edward Nash
022caae848 Document default margin in Overlay.panIntoView 2020-03-12 09:37:40 +01:00
Edward Nash
092a199757 Make Overlay.panIntoView an API method
* Add parameters for custom animation parameters and margin

 * Add protected wrapper method for previous autoPan functionality

See #10741
2020-03-12 08:57:32 +01:00
mike-000
874b850d76 Merge branch 'master' into patch-4 2020-03-11 17:10:03 +00:00
Andreas Hocevar
0b7b979c89 Merge pull request #10474 from mike-000/patch-2
Fix for undefined source in Image layer
2020-03-11 18:05:29 +01:00
mike-000
4ca966bd92 show labels in wrapped worlds
test labels in wrapped world
2020-03-11 16:06:31 +00:00
Andreas Hocevar
f448d7179a Merge pull request #10785 from ahocevar/zoomify-retina
Detect Zoomify server-side retina tiles
2020-03-11 11:05:57 +01:00
Tim Schaub
7299c0dd04 Merge pull request #10787 from mike-000/patch-7
Improved projection extent in the "Reprojection with EPSG.io Search" example
2020-03-10 16:56:08 -06:00
Andreas Hocevar
2f35a3be75 Merge pull request #10792 from flexjoly/native-javascript-eventListener.handleEvent
Add support for EventListener Object
2020-03-10 19:17:22 +01:00
Andreas Hocevar
5f283496ed Merge pull request #10777 from ahocevar/geolocation-example
Keep the render loop running during simulation
2020-03-10 16:11:14 +01:00
Andreas Hocevar
e59aa02a15 Remove duplicated for loop 2020-03-10 14:20:20 +01:00
Andreas Hocevar
4fa454f2b3 Fix types 2020-03-10 14:20:12 +01:00
Andreas Hocevar
ed10ac168b Merge pull request #10791 from sosmo/fix-ios-pointermove-2
iOS 12 touchmove: Prevent touchmove event default when no preceding pointer event
2020-03-10 13:40:59 +01:00
Andreas Hocevar
5e51e397bb Merge pull request #10786 from ahocevar/resolve-contraints-on-updatesize
Resolve constraints when updating size
2020-03-10 13:05:29 +01:00
Lydia de Jongh
e099257461 Add support for EventListener Object
See: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener

Support for native javascript eventListener.handleEvent()

Typedef not correct yet.
2020-03-10 12:51:05 +01:00
Sampo Osmonen
dd480feda1 Prevent touchmove event default when no preceding pointer event
Prevents zooming the page instead of the map on the first interaction
2020-03-10 12:56:15 +02:00
Andreas Hocevar
9f76ec197a Merge pull request #10788 from sosmo/fix-ios-pointermove
Add safeguard to handleTouchMove
2020-03-10 09:49:42 +01:00
Andreas Hocevar
a1386e3a1f Update comment 2020-03-10 09:36:10 +01:00
Olivier Guyot
7b4e522e8f Merge pull request #10722 from jellyedwards/master
fix: handle layer clear event in case clear(true) called
2020-03-10 09:27:15 +01:00
John Leonard
e6a2d4b235 fix: handle layer clear event in case clear(true) called
and individual delete feature events aren't generated
2020-03-09 18:36:12 +00:00
Sampo Osmonen
85d84a0c40 Add safeguard to handleTouchMove 2020-03-09 19:37:21 +02:00
mike-000
7c22b5a238 Improve the calculation of projection extent
fix quotes
2020-03-09 16:09:07 +00:00
mike-000
230c6b011e Improve the calculation of projection extent
Add show graticule option
2020-03-09 15:24:01 +00:00
Andreas Hocevar
c5fd013e31 Resolve constraints when updating size 2020-03-09 16:20:21 +01:00
mike-000
6019a61cca Add show graticule option 2020-03-09 14:54:24 +00:00
dependabot-preview[bot]
831c5f8c69 Merge pull request #10783 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.8.7 2020-03-09 14:53:23 +00:00
dependabot-preview[bot]
ed748bf173 Merge pull request #10780 from openlayers/dependabot/npm_and_yarn/babel/core-7.8.7 2020-03-09 14:33:09 +00:00
dependabot-preview[bot]
51b4ee3137 Merge pull request #10784 from openlayers/dependabot/npm_and_yarn/rollup-plugin-babel-4.4.0 2020-03-09 14:32:29 +00:00
Andreas Hocevar
686b4dbdc8 Merge pull request #10723 from mike-000/patch-6
Improve the extent transforms used by Graticule and handle extents crossing the dateline
2020-03-09 15:26:52 +01:00
dependabot-preview[bot]
c1f40b4d98 Merge pull request #10782 from openlayers/dependabot/npm_and_yarn/webpack-4.42.0 2020-03-09 14:26:26 +00:00
Andreas Hocevar
5424e3eae2 Keep the render loop running during simulation 2020-03-09 15:25:49 +01:00
Andreas Hocevar
ad476f6086 Detect Zoomify server-side retina tiles 2020-03-09 15:22:43 +01:00
dependabot-preview[bot]
9ef220d5de Merge pull request #10781 from openlayers/dependabot/npm_and_yarn/yargs-15.3.0 2020-03-09 14:04:09 +00:00
dependabot-preview[bot]
d4b76299e7 Merge pull request #10779 from openlayers/dependabot/npm_and_yarn/rollup-1.32.1 2020-03-09 14:02:32 +00:00
dependabot-preview[bot]
2123d19926 Bump rollup-plugin-babel from 4.3.3 to 4.4.0
Bumps [rollup-plugin-babel](https://github.com/rollup/rollup-plugin-babel) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/rollup/rollup-plugin-babel/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup-plugin-babel/compare/v4.3.3...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 08:38:41 +00:00
dependabot-preview[bot]
0613444f12 Bump @babel/preset-env from 7.8.6 to 7.8.7
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.6...v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 08:37:51 +00:00
dependabot-preview[bot]
80c36b298d Bump webpack from 4.41.6 to 4.42.0
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.6 to 4.42.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.6...v4.42.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 08:37:17 +00:00
dependabot-preview[bot]
365e14148a Bump yargs from 15.1.0 to 15.3.0
Bumps [yargs](https://github.com/yargs/yargs) from 15.1.0 to 15.3.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.1.0...v15.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 08:36:16 +00:00
dependabot-preview[bot]
a8dcadbd99 Bump @babel/core from 7.8.6 to 7.8.7
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.6 to 7.8.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.6...v7.8.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 08:35:54 +00:00
dependabot-preview[bot]
601023acf4 Bump rollup from 1.32.0 to 1.32.1
Bumps [rollup](https://github.com/rollup/rollup) from 1.32.0 to 1.32.1.
- [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/v1.32.0...v1.32.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 08:34:28 +00:00
Andreas Hocevar
1d4744b730 Merge pull request #10744 from mike-000/patch-7
Ensure the Modify Features Test example opens at correct zoom
2020-03-08 23:44:43 +01:00
Andreas Hocevar
2d57e795e7 Merge pull request #10767 from mike-000/patch-8
Replace Bing layer with MapTiler in examples
2020-03-08 14:24:20 +01:00
Andreas Hocevar
8c3da1167c Merge pull request #10751 from MoonE/apidoc-sort-events
Sort events / observables in all cases
2020-03-07 23:25:22 +01:00
mike-000
9d0b139432 Ensure example opens at correct zoom
wrapX: false not needed for consistency with OL5
2020-03-05 17:41:33 +00:00
mike-000
408eac2524 Replace Bing layer with MapTiler 2020-03-05 15:27:18 +00:00
mike-000
737c30fedc Replace Bing layer with MapTiler 2020-03-05 15:25:48 +00:00
mike-000
c4d864ed45 Replace Bing layer with MapTiler 2020-03-05 15:21:11 +00:00
mike-000
315db526c9 Replace Bing layer with MapTiler 2020-03-05 15:17:34 +00:00
Tim Schaub
a34b22f1d9 Merge pull request #10763 from jumpinjackie/bug/fix-types
TypeScript: Fix inconsistent optionality in various APIs
2020-03-04 07:41:00 -07:00
Jackie Ng
6d16fe8405 Make arg2 of GeometryFunction also optional as it comes after an optional arg1 2020-03-05 01:01:03 +11:00
Jackie Ng
21fcb4621b Ensure consistent optionality for options.projection for all ImageSource-derived constructor options 2020-03-04 23:38:54 +11:00
Olivier Guyot
29387a2cbb Merge pull request #10758 from jahow/webgl-rotation-fix-attribute
Allow using feature attributes for symbol rotation in WebGL layers
2020-03-03 12:55:25 +01:00
Olivier Guyot
40d44db85e Shader Builder / use vertex context to parse the symbol rotation expression
Previously the expression was parsed in the fragment shader context, which
meant in case the expression used an attributes the resulting GLSL code
would be wrong.

Fragment shader context:
`float angle = v_heading; // we're using the varying: not OK`

Vertex shader context:
`float angle = a_heading; // we're using the attribute: OK`
2020-03-03 10:09:39 +01:00
Frédéric Junod
7a37231a87 Merge pull request #10755 from openlayers/dependabot/npm_and_yarn/rollup-1.32.0
Bump rollup from 1.31.1 to 1.32.0
2020-03-02 14:00:35 +01:00
Frédéric Junod
d2b26e198b Merge pull request #10754 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.8.6
Bump @babel/preset-env from 7.8.4 to 7.8.6
2020-03-02 14:00:04 +01:00
Frédéric Junod
24b252bb1d Merge pull request #10753 from openlayers/dependabot/npm_and_yarn/mocha-7.1.0
Bump mocha from 7.0.1 to 7.1.0
2020-03-02 13:59:39 +01:00
Frédéric Junod
6384b83cc1 Merge pull request #10752 from openlayers/dependabot/npm_and_yarn/babel/core-7.8.6
Bump @babel/core from 7.8.4 to 7.8.6
2020-03-02 13:59:00 +01:00
dependabot-preview[bot]
88f958286b Bump rollup from 1.31.1 to 1.32.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.31.1 to 1.32.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/v1.31.1...v1.32.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 08:45:52 +00:00
dependabot-preview[bot]
f59f4e2d56 Bump @babel/preset-env from 7.8.4 to 7.8.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.4 to 7.8.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.4...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 08:44:52 +00:00
dependabot-preview[bot]
9f6b021000 Bump mocha from 7.0.1 to 7.1.0
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.1 to 7.1.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/v7.0.1...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 08:44:00 +00:00
dependabot-preview[bot]
3014df1677 Bump @babel/core from 7.8.4 to 7.8.6
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.4 to 7.8.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.4...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 08:42:59 +00:00
Maximilian Krög
1d7d7a7eef Sort events / observables in all cases
Right now this only changes the order of events of the UrlTile class.
2020-03-01 00:25:11 +01:00
Tim Schaub
457e7216b4 Merge pull request #10748 from mike-000/patch-8
Fix "Cannot read property 'anchor' of undefined" in ol/View
2020-02-29 07:18:03 -07:00
mike-000
ce6d7bd55c Fix "Cannot read property 'anchor' of undefined"
replace unnecessary filter with for loop and break
2020-02-29 10:12:48 +00:00
Andreas Hocevar
730a0dbe09 Merge pull request #10746 from MoonE/apidoc-fix-windows-build
Fix building apidoc on windows
2020-02-28 22:47:48 +01:00
mike-000
5ba978311e Fix "Cannot read property 'anchor' of undefined" 2020-02-28 21:47:22 +00:00
Maximilian Krög
d28be3c160 Fix building apidoc on windows 2020-02-28 21:44:06 +01:00
Andreas Hocevar
6370175b28 Merge pull request #10720 from MoonE/apidoc-better-search
Apidoc better search
2020-02-28 14:27:20 +01:00
mike-000
7af9697b40 Merge branch 'master' into patch-4 2020-02-28 12:20:06 +00:00
Maximilian Krög
e484eca1a1 Some more cleanup
No need to sort beforehand and therefore sorting can be done at last too.
Also forEach is just fine, no need for underscore.

This changes the navigation default order for modules to be after classes
when the name is the same.
2020-02-27 23:47:22 +01:00
Maximilian Krög
bc8499472c Current item may be undefined
Worked fine before, but better safe than sorry.
2020-02-27 22:58:07 +01:00
Maximilian Krög
47ed2963c4 Default exported classes have same prettyname as modules 2020-02-27 22:57:55 +01:00
mike-000
203f557883 Ensure example opens at correct zoom
Set multiWorld: true so view opens at zoom 2 on wide displays
Set wrapX false on source
2020-02-27 20:53:58 +00:00
mike-000
b8e34ef5bf rename some variables and add comments 2020-02-27 19:12:40 +00:00
Andreas Hocevar
0fd336daa5 Merge pull request #10743 from ahocevar/ignore-cache-size-when-too-small
Ignore user provided tile cache size when too small
2020-02-27 14:52:33 +01:00
Andreas Hocevar
e235ad0708 Merge pull request #10736 from M393/clustersource-setsource
Allow cluster source to unlisten from its source
2020-02-27 14:00:38 +01:00
Andreas Hocevar
a072e3acea Ignore user provided tile cache size when too small 2020-02-27 13:41:21 +01:00
mike-000
ac2b58c554 test using extra stops for extent transform
correct coordinate order
2020-02-27 12:19:31 +00:00
mike-000
633396e7df test using extra stops for extent transform 2020-02-27 12:12:57 +00:00
Maximilian Kroeg
ba84cfad61 Do requeseted changes 3/3 2020-02-27 10:28:26 +01:00
Maximilian Kroeg
f18b78d2da Do requested changes 2/3 to cluster source 2020-02-27 10:01:20 +01:00
Andreas Hocevar
df1d0ac4a0 Merge pull request #10739 from ahocevar/timeout-typo
Fix typo in trackpad timeout
2020-02-27 07:49:09 +01:00
Tim Schaub
a651667f24 Merge pull request #10740 from matthias-ccri/tabindex
Document tabindex behavior for MouseWheelZoom and DragPan
2020-02-26 22:45:00 -07:00
Matthias
b695320dcf Update DragPan.js 2020-02-26 20:37:51 -05:00
Matthias
10a624db3c Update MouseWheelZoom.js 2020-02-26 20:36:07 -05:00
mike-000
591e5ce01b More validation. Handle voids in some projections.
Handle NaN latitude transform results at void centers of some projections (e.g. Pole LAEA).
Clamp latitudes to not go beyond the poles when calculating intervals.
Further improve polar projections by checking if extent contains max and min intersection coordinates when calculating max and min.
2020-02-26 22:17:49 +00:00
Andreas Hocevar
e9227a9bc1 Fix typo in trackpad timeout 2020-02-26 19:27:20 +01:00
Andreas Hocevar
59f14eaa2e Merge pull request #10738 from ahocevar/textbackground-declutter
Fix text background decluttering
2020-02-26 14:47:25 +01:00
Andreas Hocevar
a03cfa35ed Store copies of background points for decluttering 2020-02-26 13:30:00 +01:00
mike-000
adcf57ef20 Better validation to handle polar projections
For some projections (e.g. polar) the maximum or minimum values may be at the center.
To improve the display for polar projections take validated center values into account when calculating max and min.
2020-02-25 13:47:02 +00:00
Maximilian Kroeg
b25fc6741e Add tests for ol/source/Cluster~Cluster#setSource 2020-02-25 11:15:56 +01:00
Maximilian Kroeg
01b3f9a97b Allow cluster source to unlisten from its source
This adds a setSource method to change or remove the cluster source's source.
2020-02-25 10:33:02 +01:00
mike-000
9039e2629b fix trailing space 2020-02-24 21:57:22 +00:00
mike-000
737f3a5066 Handle view projections crossing dateline
Use custom toLonLat transform to return wrapped longitudes for extents if view projection crosses the dateline.
Enhance the validation for center and extents to avoid proj4 errors.
2020-02-24 21:53:53 +00:00
Andreas Hocevar
e02ede8f76 Merge pull request #10725 from openlayers/dependabot/npm_and_yarn/elm-pep-1.0.6
Bump elm-pep from 1.0.4 to 1.0.6
2020-02-24 11:45:51 +01:00
Frédéric Junod
58ef1ab166 Merge pull request #10726 from openlayers/dependabot/npm_and_yarn/sinon-9.0.0
Bump sinon from 8.1.1 to 9.0.0
2020-02-24 09:17:30 +01:00
dependabot-preview[bot]
89b5adc601 Bump sinon from 8.1.1 to 9.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.1.1 to 9.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.1.1...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 08:07:24 +00:00
dependabot-preview[bot]
c987b1f1b0 Bump elm-pep from 1.0.4 to 1.0.6
Bumps [elm-pep](https://github.com/ahocevar/elm-pep) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/ahocevar/elm-pep/releases)
- [Commits](https://github.com/ahocevar/elm-pep/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 08:06:23 +00:00
mike-000
6ae6d0b835 Optional extra stops to refine extent transforms
Add optional extra stops to refine some non-parallel transforms

Refine extent transforms use by Gratucule by using 32 points (8 per side) instead of the standard corners only transform
Update Graticule class description with current limitations

Correct projection extent in Mollweide example and revise opening zoom level correspondingly
2020-02-23 19:13:06 +00:00
Maximilian Krög
c2505f938e Remove measuring code 2020-02-22 14:30:44 +01:00
Maximilian Krög
6b9a35b7b9 Always sort top level matches before member matches 2020-02-22 14:30:25 +01:00
Maximilian Krög
df8c0f3e6f Avoid deprecated jquery :eq selector 2020-02-22 01:07:43 +01:00
Maximilian Krög
bf2a7bd21a Allow toggel on whole title, add toggle transition 2020-02-22 01:07:41 +01:00
Maximilian Krög
ee8ec6f03a Shorter css paths in navigation 2020-02-21 22:58:05 +01:00
Maximilian Krög
b46b250d75 On toggle when searching show unfiltered instead of hiding all 2020-02-21 22:58:05 +01:00
Maximilian Krög
2dec296aae Use css to show / hide items; track matched items
... to improve search speed.

Instead of marking all items as hidden, and then marking the matched
ones again, this keeps track of all matched items and only
removes those that no longer match and adds those that previously did
not match.
2020-02-21 22:57:53 +01:00
Maximilian Krög
646ecfd405 Weight function prefer classes over modules 2020-02-21 22:56:54 +01:00
Maximilian Krög
99d9a9ff86 Use strict mode 2020-02-21 22:56:54 +01:00
Maximilian Krög
15beb1f2c6 Put more weight on the base name 2020-02-21 22:56:53 +01:00
Maximilian Krög
b613e8e77f Fix regex dot escape 2020-02-21 22:56:53 +01:00
Maximilian Krög
ccafb4b91d Improved weight function.
++++ Full match from start to end
+++  Full match between word boundaries
++   Begin matches at word boundary, multiple matches are better
+    Matches somewhere

Classes with (multiple) members matching at the beginning are
weighted higher.
2020-02-21 22:56:51 +01:00
Maximilian Krög
1b4ed08bc5 Indent line-wrapped class names 2020-02-21 22:55:32 +01:00
Maximilian Krög
cc561dab8e Allow word wrap before '.' and '~' in class names 2020-02-21 22:55:32 +01:00
Maximilian Krög
8b857eed26 Change prettyname of classes
Now also includes the class name if it is different than its module name.
`ol/source/Vector` -> `ol/source/Vector~VectorSource`.
2020-02-21 22:55:32 +01:00
Maximilian Krög
7640bcd163 Only match the displayed name of items when searching
Currently the search term is matched against the longname of members.
Because of this most members are matched when searching for a
class / module and also searching for 'mod' matches everything as
all longnames start with 'module:'
2020-02-21 22:55:32 +01:00
Maximilian Krög
d3b9b25429 Search if the search input is not empty after page loads
Firefox remembers input on the same page if a normal reload is performed.
In this case the results for the search term should be shown automatically.
2020-02-21 22:55:32 +01:00
Maximilian Krög
f7871d6103 Store search data in lowercase and compare in lowercase
This way we can do the search case-sensitive after only converting
the search term to lowercase.
2020-02-21 22:55:32 +01:00
Maximilian Krög
b9455bfad9 Remove unnecessary / duplicate code. 2020-02-21 22:55:31 +01:00
Maximilian Krög
2b8582fcad Catch errors when search term is an invalid regular expression
On error search escape special characters, with only '.' matching
any characters.
2020-02-21 22:50:57 +01:00
Maximilian Krög
d56513b722 Add code to measure search function speed 2020-02-21 22:50:57 +01:00
Maximilian Krög
99ecce2a87 Provide the searchTerm as argument to doSearch function 2020-02-21 22:50:57 +01:00
Maximilian Krög
b919074aa3 Skip searches when typing fast / slow cpu. 2020-02-21 22:50:57 +01:00
Maximilian Krög
6187118166 Hide member-lists, show current item when clearing input 2020-02-21 22:50:57 +01:00
Maximilian Krög
f5a996a64e Highlight current anchor with css instead of js.
The `:target` selector is supported by all browsers.
2020-02-21 22:50:57 +01:00
Andreas Hocevar
05d3386995 Merge pull request #10715 from mike-000/patch-8
Fix disappearing graticule labels when rotation returns to 0
2020-02-20 21:21:17 +01:00
mike-000
e731574e06 Fix disappearing labels when rotation returns to 0 2020-02-20 17:49:05 +00:00
Andreas Hocevar
c20e5bf58a Merge pull request #10713 from mike-000/patch-7
Draw graticule labels in a postrender function
2020-02-20 17:10:08 +01:00
mike-000
59142f800c Draw labels in a postrender function 2020-02-20 15:50:10 +00:00
mike-000
bc2c49165e Draw labels in a postrender function 2020-02-20 15:39:08 +00:00
mike-000
00275f1a67 Draw labels in a postrender function 2020-02-20 15:25:32 +00:00
mike-000
3558dbe235 Draw labels in a postrender function 2020-02-20 14:43:48 +00:00
mike-000
a74d33dafb Draw labels in a postrender function 2020-02-20 14:12:37 +00:00
mike-000
c28793ae04 Draw labels in a postrender function
Position labels relative to the viewport when view is rotated
2020-02-20 13:31:41 +00:00
Andreas Hocevar
4a11bcccbb Merge pull request #10711 from ahocevar/optional-args
Make sure that optional args are typed accordingly
2020-02-20 12:50:48 +01:00
Andreas Hocevar
608d515f1f Make sure that optional args are typed accordingly 2020-02-20 12:39:31 +01:00
Andreas Hocevar
ef63644211 Merge pull request #10710 from ahocevar/fix-stylefunction-type
Fix stylefunction return type
2020-02-20 12:35:52 +01:00
Andreas Hocevar
6b9791eeed Fix stylefunction return type 2020-02-20 11:47:42 +01:00
Andreas Hocevar
d6eb66f083 Merge pull request #10709 from ahocevar/stylefunction-type
Fix type and documentation of style function
2020-02-20 11:25:43 +01:00
Andreas Hocevar
13713bab51 Fix type and documentation of style function 2020-02-20 11:09:12 +01:00
Andreas Hocevar
74d26f04fa Merge pull request #10708 from ahocevar/falsey-select-style
Handle Select interactions with falsey select style
2020-02-20 08:46:44 +01:00
Tim Schaub
f154a854c3 Merge pull request #10707 from AugustusKling/circle-ci-test
Get default projection for overview map from main map.
2020-02-19 19:38:25 -07:00
Andreas Hocevar
c73034fe7d Handle Select interactions with falsey select style 2020-02-20 00:36:33 +01:00
Augustus Kling
da7f51c085 Get default projection for overview map from main map.
Changes OverviewMap such that it will use whatever projection the
hosting map is using unless a view was specified explicitly.

Fixes #2998 #5188 #10670
2020-02-19 23:10:15 +01:00
Andreas Hocevar
3a92a8091a Merge pull request #10699 from ahocevar/select
Make Select interaction work when there are multiple instances
2020-02-19 15:33:00 +01:00
Tim Schaub
d7aa47eedc Merge pull request #10694 from M393/image-opacity
Draw image with configured opacity
2020-02-19 06:59:33 -07:00
Andreas Hocevar
cac903c837 Merge pull request #10703 from ahocevar/tests
CI and test fixes
2020-02-19 14:55:31 +01:00
Andreas Hocevar
bdeab6ab49 Update coverage reporter 2020-02-19 14:23:29 +01:00
Andreas Hocevar
2c213f805c Try a different cicleci image 2020-02-19 14:23:06 +01:00
Andreas Hocevar
502bb8a169 Merge pull request #10698 from ahocevar/shadow-root
Shadow root
2020-02-19 13:45:45 +01:00
Andreas Hocevar
f98f66c529 Make Select interaction work when there are multiple instances 2020-02-19 11:52:12 +01:00
Andreas Hocevar
575ef48b3a Merge pull request #10688 from ahocevar/generate-d-ts
Publish type definition files
2020-02-19 10:57:31 +01:00
Andreas Hocevar
7fa4b2cb24 Publish type definition files 2020-02-19 10:42:54 +01:00
Tim Schaub
341e482f30 Add rendering test for image style opacity 2020-02-18 18:31:57 -07:00
Andreas Hocevar
7fee85734a Add custom element example 2020-02-18 21:32:31 +01:00
Andreas Hocevar
b6abe036ce Make events work in shadow dom 2020-02-18 21:32:09 +01:00
Maximilian Krög
6f18350eda Add regression test for image opacity 2020-02-18 16:30:38 +01:00
Maximilian Krög
ab9d7cdc70 Draw image with configured opacity 2020-02-18 14:09:36 +01:00
Andreas Hocevar
5ea0b52ba8 Merge pull request #10691 from ahocevar/hitdetect-color-range
Do not exceed color range
2020-02-18 10:04:00 +01:00
Frédéric Junod
1481ec7d85 Merge pull request #10683 from fredj/fs_events
Dispatch enterfullscreen and leavefullscreen from the FullScreen control
2020-02-18 08:26:44 +01:00
Tim Schaub
7c394c6a1b Merge pull request #10676 from mike-000/patch-6
Document that overviewmap view must use same projection as main map
2020-02-17 20:17:22 -07:00
Andreas Hocevar
07b02fe947 Do not exceed color range 2020-02-17 21:58:45 +01:00
Andreas Hocevar
8f9552e78c Merge pull request #10678 from mike-000/patch-7
Add maxResolution option to ol/tilegrid.createXYZ() and ol/source/XYZ
2020-02-17 19:54:55 +01:00
mike-000
1416e30127 Add maxResolution option to createXYZ()
include maxResolution in options test
2020-02-17 18:20:50 +00:00
Andreas Hocevar
d5f249f0ef Merge pull request #10690 from mike-000/patch-8
Document minZoom and maxZoom options for all layers
2020-02-17 18:29:21 +01:00
Andreas Hocevar
eebb2cb9ae Merge pull request #10672 from ahocevar/mousewheel
Nicer mousewheel and trackpad zooming
2020-02-17 18:27:03 +01:00
mike-000
fa4fcf3886 add minZoom and maxZoom options 2020-02-17 16:59:40 +00:00
mike-000
4cf093ab75 add minZoom and maxZoom options 2020-02-17 16:58:46 +00:00
mike-000
c5885cc649 add minZoom and maxZoom options 2020-02-17 16:57:00 +00:00
mike-000
d0e439ee80 add minZoom and maxZoom options 2020-02-17 16:55:15 +00:00
mike-000
edb94af314 add minZoom and maxZoom options 2020-02-17 16:53:57 +00:00
mike-000
501546bc44 add minZoom and maxZoom options 2020-02-17 16:52:59 +00:00
mike-000
d102f561f9 add minZoom and maxZoom options 2020-02-17 16:52:12 +00:00
mike-000
265eb5421d add minZoom and maxZoom options 2020-02-17 16:51:08 +00:00
mike-000
fbaa4da153 add minZoom and maxZoom options 2020-02-17 16:49:47 +00:00
mike-000
3dc4e546bf add minZoom and maxZoom options 2020-02-17 16:47:55 +00:00
Frédéric Junod
3df7c4a1da Merge pull request #10687 from fredj/win_failing_img_test
Increase timeout in listenImage test
2020-02-17 15:42:03 +01:00
Frederic Junod
09689e547c Increase timeout in listenImage test
Fixes failing test with Chrome 80 on Windows 10
2020-02-17 13:27:23 +01:00
Olivier Guyot
bf38796ec7 Merge pull request #10684 from jellyedwards/master
perf: only do expensive reload when texture changes
2020-02-17 13:26:46 +01:00
Frédéric Junod
e81721cada Merge pull request #10680 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.5
Bump terser-webpack-plugin from 2.3.4 to 2.3.5
2020-02-17 13:08:49 +01:00
Frédéric Junod
c4231a25e3 Merge pull request #10682 from openlayers/dependabot/npm_and_yarn/webpack-4.41.6
Bump webpack from 4.41.5 to 4.41.6
2020-02-17 11:31:37 +01:00
dependabot-preview[bot]
058d1c2e51 Bump webpack from 4.41.5 to 4.41.6
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.5 to 4.41.6.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.5...v4.41.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 09:54:23 +00:00
Frédéric Junod
4b508185b3 Merge pull request #10681 from openlayers/dependabot/npm_and_yarn/webpack-cli-3.3.11
Bump webpack-cli from 3.3.10 to 3.3.11
2020-02-17 10:52:17 +01:00
Frédéric Junod
14e22e6bc9 Merge pull request #10679 from openlayers/dependabot/npm_and_yarn/rollup-1.31.1
Bump rollup from 1.31.0 to 1.31.1
2020-02-17 10:51:53 +01:00
Frederic Junod
9a03ca8417 Dispatch enterfullscreen and leavefullscreen from the FullScreen control 2020-02-17 10:48:29 +01:00
dependabot-preview[bot]
5b7d2d15e9 Bump webpack-cli from 3.3.10 to 3.3.11
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.10 to 3.3.11.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/next/CHANGELOG_v3.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.10...v3.3.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 08:05:05 +00:00
dependabot-preview[bot]
88fbdff322 Bump terser-webpack-plugin from 2.3.4 to 2.3.5
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.4...v2.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 08:03:59 +00:00
dependabot-preview[bot]
533b38a3c1 Bump rollup from 1.31.0 to 1.31.1
Bumps [rollup](https://github.com/rollup/rollup) from 1.31.0 to 1.31.1.
- [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/v1.31.0...v1.31.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 08:03:25 +00:00
mike-000
2e1e0dba54 document that views must use same projection 2020-02-16 11:11:37 +00:00
Andreas Hocevar
d93073f8d0 No trackpad mode for constrained resolutions 2020-02-16 10:05:32 +01:00
Andreas Hocevar
5150378983 Improve trackpad rebound behavior 2020-02-16 09:08:27 +01:00
Andreas Hocevar
a6c195e528 Merge pull request #10675 from jipexu/patch-1
typo
2020-02-16 07:51:59 +01:00
jipexu
bed2b6e222 typo 2020-02-15 22:10:41 +01:00
Andreas Hocevar
f3ce8e23b4 Fractional zoom changes in WHEEL mode 2020-02-15 13:53:14 +01:00
Andreas Hocevar
804c307fa9 Merge pull request #10669 from mike-000/patch-6
More browser compatible Export Map example
2020-02-14 22:41:08 +01:00
mike-000
f48a1a5f26 remove overlay and html-to-image 2020-02-14 19:49:17 +00:00
Andreas Hocevar
2c7c639f4b Merge pull request #10667 from ahocevar/label-linedash
Do not render label with the current linedash
2020-02-14 14:31:43 +01:00
Andreas Hocevar
0471b6e650 Do not render label with the current linedash 2020-02-14 13:50:03 +01:00
Andreas Hocevar
003e415382 Merge pull request #10666 from mike-000/patch-6
Load polyfill before example specific scripts in examples template
2020-02-14 13:34:15 +01:00
mike-000
16e46ea2c0 load polyfill before example specific scripts 2020-02-14 12:15:52 +00:00
John Leonard
8fe71bbbff perf: only do expensive reload when texture changes 2020-02-14 11:39:54 +00:00
Andreas Hocevar
ea5c91e19e Revert "Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch"
This reverts commit 35569a8427, reversing
changes made to 29a434314b.
2020-02-14 11:46:57 +01:00
Frédéric Junod
cc86719388 Merge pull request #6526 from tchandelle/draw-abort
Draw interaction: add abortDrawing method and drawabort event
2020-02-14 09:05:22 +01:00
Andreas Hocevar
0e9b43ed93 Merge pull request #10657 from openlayers/release-v6.2.1
Changelog for v6.2.1
2020-02-13 21:11:49 +01:00
Andreas Hocevar
9c21bda88e Develop on 6.2.2 2020-02-13 21:04:45 +01:00
Andreas Hocevar
c914ac2a64 Changelog for v6.2.1 2020-02-13 20:52:10 +01:00
Andreas Hocevar
643552f13f Merge pull request #10656 from mike-000/patch-6
Fix for export PDF example compatibility issues, and layer opacity handling.
2020-02-13 20:06:44 +01:00
mike-000
0b893f11d3 Fix IE compatibility. Add opacity handling.
querySelectorAll().forEach() isn't supported by IE.
Add opacity to the vector layer and handle it in the output.
2020-02-13 18:13:07 +00:00
mike-000
f302b5883e Update jspdf version 2020-02-13 18:06:02 +00:00
Thomas Chandelle
33a8466913 Add API method abortDrawing and dispatch a DRAWABORT event 2020-02-13 17:22:39 +01:00
Andreas Hocevar
8750cb0b1a Merge pull request #10653 from ahocevar/apidoc-nav
More reliable check for module content beyond classes
2020-02-13 14:30:26 +01:00
Andreas Hocevar
32238806a6 Merge pull request #10617 from MoonE/apidoc-performance
Improve apidoc generation performance
2020-02-13 11:03:02 +01:00
Andreas Hocevar
4e1ca0a986 More reliable check for module content beyond classes 2020-02-13 10:41:52 +01:00
Andreas Hocevar
8b6d5eb5c8 Merge pull request #10625 from MoonE/apidoc-cleanup-navigation
Apidoc cleanup navigation html
2020-02-13 10:04:36 +01:00
Andreas Hocevar
1d5f9ae369 Merge pull request #10649 from ahocevar/remove-circular-dependency
Remove circular dependency
2020-02-13 08:35:58 +01:00
mike-000
7a77793d69 Write fill and outline in PolyStyle
Write styles based on style objects appropriate for geometry.
Write fill and outline in PolyStyle if false (i.e. non-default)
Handle MultiLineString, MultiPoint and MultiPolygon within heterogenous MultiGeometry when writing features

Add getGeometriesArrayRecursive method to ol/geom/GeometryCollection to allow for nested MultiGeometry

Enhanced write GeometryCollection geometries test

A more rigorous write GeometryCollection geometries test including nested collections (the output is simplified to a single MultiGeomtry)

Add writeFeatures to outline and fill tests, setting geometry for geometry specific tests

Add <fill>0</fill> and <outline>0</outline> to some existing tests
2020-02-12 21:18:57 +00:00
Andreas Hocevar
262373a4b5 Remove circular dependency 2020-02-12 20:31:18 +01:00
Andreas Hocevar
8742d8fbc7 Merge pull request #10637 from openlayers/dev-6.2.1
Develop on 6.2.1
2020-02-11 16:41:47 +01:00
Andreas Hocevar
af18045fc8 Develop on 6.2.1 2020-02-11 16:29:51 +01:00
Andreas Hocevar
1d0f0f5205 Merge pull request #10636 from openlayers/release-v6.2.0
Release v6.2.0
2020-02-11 16:23:07 +01:00
Andreas Hocevar
edec77dafc Update package version to 6.2.0 2020-02-11 15:43:03 +01:00
Andreas Hocevar
ff6eb89b06 Changelog for v6.2.0 2020-02-11 15:43:03 +01:00
Andreas Hocevar
bb68da2a0a Merge pull request #10613 from mike-000/patch-1
Show KML name labels for Points in MultiGeometry
2020-02-11 15:08:51 +01:00
Olivier Guyot
d5c72f62d5 Merge pull request #10632 from jahow/draw-interaction-append-coords
Draw interaction: Append coordinates to polygons and lines (reworked)
2020-02-11 13:46:01 +01:00
Olivier Guyot
8d4c3b2887 Draw / clearer variable names 2020-02-11 11:19:55 +01:00
Olivier Guyot
6641832621 Improvements to the tracing example
* no embedded geojson
* better behaviour on draw end (no lingering preview line)
* clearer comments
* support for multi polygons to snap to
2020-02-11 11:03:38 +01:00
Andreas Hocevar
fe8f7c04ad Merge pull request #10629 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.0.1
Bump ol-mapbox-style from 6.0.0 to 6.0.1
2020-02-10 22:41:55 +01:00
Andreas Hocevar
07c2b360ce Merge pull request #10628 from openlayers/dependabot/npm_and_yarn/puppeteer-2.1.1
Bump puppeteer from 2.1.0 to 2.1.1
2020-02-10 22:40:23 +01:00
Andreas Hocevar
2ccd9bf6b9 Merge pull request #10627 from openlayers/dependabot/npm_and_yarn/handlebars-4.7.3
Bump handlebars from 4.7.2 to 4.7.3
2020-02-10 22:39:22 +01:00
Andreas Hocevar
0b70a7e165 Merge pull request #10626 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.10.3
Bump webpack-dev-server from 3.10.2 to 3.10.3
2020-02-10 22:38:33 +01:00
Olivier Guyot
3c5d0f223e Draw / fix map object in addToDrawing method 2020-02-10 16:55:35 +01:00
Olivier Guyot
8722d16158 Rewrite the example showcasing DrawInteraction#appendCoordinates
The example is now focused on showing how a kind of "tracing" mode
can be achieved using the Draw interaction, making it easier
for the user to snap to an existing geometry while preserving
topology.
2020-02-10 16:48:12 +01:00
Otto Pellinen
02597229e3 Cleanup comments 2020-02-10 16:48:12 +01:00
Otto Pellinen
5ff681563f Update examples to demonstrate typical use case 2020-02-10 16:48:12 +01:00
Otto Pellinen
0b3bd0721e Add dedicated tests for appendCoordinates 2020-02-10 16:48:12 +01:00
Otto Pellinen
bc79d59811 Use private function addToDrawing_ in appendCoordinates 2020-02-10 16:48:12 +01:00
Otto Pellinen
f43bc8d122 Fix comment for appendCoordinates 2020-02-10 16:48:12 +01:00
Otto Pellinen
175695f877 Update function descriptions for clarity 2020-02-10 16:48:12 +01:00
Otto Pellinen
934ad5b882 Rename example files 2020-02-10 16:48:12 +01:00
Otto Pellinen
83c0a258e6 Separate appendCoordinates function from extend 2020-02-10 16:48:12 +01:00
Otto Pellinen
25a5e83910 Fix eslint errors 2020-02-10 16:48:12 +01:00
Otto Pellinen
00261dff54 Add example for using the Draw extend function 2020-02-10 16:48:12 +01:00
Otto Pellinen
12ce4cc82a Add support for extending linear coordinates when drawing Polygons 2020-02-10 16:48:12 +01:00
dependabot-preview[bot]
15800da498 Bump ol-mapbox-style from 6.0.0 to 6.0.1
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v6.0.0...v6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:03:25 +00:00
dependabot-preview[bot]
acb8008644 Bump puppeteer from 2.1.0 to 2.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:02:33 +00:00
dependabot-preview[bot]
34fe288c6b Bump handlebars from 4.7.2 to 4.7.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.2...v4.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:02:01 +00:00
dependabot-preview[bot]
b90ca8b521 Bump webpack-dev-server from 3.10.2 to 3.10.3
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.10.2 to 3.10.3.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.2...v3.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:01:14 +00:00
Maximilian Krög
300cc282e4 Generate valid html for the apidoc navigation
Only `<li>` can be a direct descendant of `<ul>` tags.
2020-02-10 00:10:05 +01:00
Maximilian Krög
5d922fc53b Cleanup navigation.tmpl and the generated html
- Add a function that is used to generate all four types of member lists.
- Only use one line per list item.
- Don't generate empty `class=""` attributes when item is stable.
- Remove closing `</li>` tag, as is allowed by the html 5 standard.

Overall this reduces the filesize for the generated html pages by ~33%.
2020-02-10 00:09:33 +01:00
Maximilian Krög
0057144b52 Add apidoc-debug task to debug the apidoc generation process 2020-02-07 00:25:04 +01:00
Maximilian Krög
c0f058f5cf Variable should be reset on each loop but wasn't
The ancestors variable is always set once the first augmented doclet is found.
The incompleteDoclet variable is also not reset between loops.
2020-02-07 00:08:14 +01:00
Maximilian Krög
2e4f989d7b Store api members as object map instead of array. 2020-02-07 00:08:14 +01:00
Maximilian Krög
0c04293d5f Generate navigation html only once for all pages.
This reduces the time for apidoc generation by ~30%.
2020-02-07 00:08:07 +01:00
Andreas Hocevar
35569a8427 Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch
Make mousewheel zoom behave like trackpad zoom.
2020-02-06 15:54:34 +01:00
mike-000
47a4a63e3e Test name labels for points in MultiGeometry 2020-02-05 23:51:48 +00:00
mike-000
0fb4b62b9b Test name labels for points in MultiGeometry 2020-02-05 23:26:11 +00:00
mike-000
4ce3b3fed1 Show name labels for points in MultiGeometry 2020-02-05 23:18:54 +00:00
Andreas Hocevar
29a434314b Merge pull request #10580 from mike-000/patch-7
Fix KML Polystyle outline 0 conflict with Linestyle for linestrings
2020-02-05 23:22:52 +01:00
Andreas Hocevar
c320b15177 Merge pull request #10612 from ahocevar/ie11
Make examples work in Internet Explorer
2020-02-05 22:35:30 +01:00
mike-000
319b64ed65 Fix for #10611 2020-02-05 20:17:18 +00:00
Andreas Hocevar
65c1575dc9 Make examples work in Internet Explorer 2020-02-05 20:16:14 +01:00
Andreas Hocevar
cc21f92bdb Restore test coverage, fix tests 2020-02-05 13:03:21 +01:00
Andreas Hocevar
c8e340a623 Rename variables now that trackpads are not special any more 2020-02-05 12:58:21 +01:00
David Brooks
03fcf1ca70 Get all mouse wheel tests passing (#9564). 2020-02-05 11:27:10 +01:00
David Brooks
77658e5750 Ensure changes to zoom wheel handling pass tests. 2020-02-05 11:24:48 +01:00
David Brooks
54bae0168f Handle mouse wheel zoom events as if they've come from a trackpad. 2020-02-05 11:21:44 +01:00
Andreas Hocevar
97246daf66 Merge pull request #10587 from jeremy-smith-maco/larger-resolution-constraint
Adds option to View for using larger resolution value when clamping #10586
2020-02-05 11:10:43 +01:00
Jeremy Smith
3082972cce Updates the option to be called showFullExtent 2020-02-05 16:46:45 +10:00
Andreas Hocevar
9eb860f08c Merge pull request #10607 from ahocevar/elm-pep
Update elm-pep to fix builds for IE < 11
2020-02-04 09:03:53 +01:00
Frédéric Junod
062d043e6e Merge pull request #10600 from openlayers/dependabot/npm_and_yarn/puppeteer-2.1.0
Bump puppeteer from 2.0.0 to 2.1.0
2020-02-04 08:47:28 +01:00
Andreas Hocevar
e727a3fe23 Update elm-pep to fix builds for IE < 11 2020-02-04 08:11:29 +01:00
Andreas Hocevar
fe3603dee6 Merge pull request #10598 from ahocevar/refresh-no-inheritdoc
Remove inheritDoc to work around JSDoc issue
2020-02-03 22:32:52 +01:00
Frédéric Junod
2eb0072e8c Merge pull request #10606 from openlayers/dependabot/npm_and_yarn/babel/core-7.8.4
Bump @babel/core from 7.8.3 to 7.8.4
2020-02-03 09:42:55 +01:00
Frédéric Junod
bba2989859 Merge pull request #10605 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.10.2
Bump webpack-dev-server from 3.10.1 to 3.10.2
2020-02-03 09:42:20 +01:00
Frédéric Junod
f63c02a57b Merge pull request #10604 from openlayers/dependabot/npm_and_yarn/rollup-1.31.0
Bump rollup from 1.29.1 to 1.31.0
2020-02-03 09:41:03 +01:00
Frédéric Junod
92a0558cf2 Merge pull request #10603 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.8.4
Bump @babel/preset-env from 7.8.3 to 7.8.4
2020-02-03 09:40:43 +01:00
Frederic Junod
a4915d0ef6 Update expected image for layer-vectortile-rotate-hidpi rendering test 2020-02-03 09:40:05 +01:00
Frédéric Junod
66d9c92f7d Merge pull request #10602 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.8
Bump url-polyfill from 1.1.7 to 1.1.8
2020-02-03 09:39:15 +01:00
Frédéric Junod
511d8e8795 Merge pull request #10601 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.4
Bump terser-webpack-plugin from 2.3.2 to 2.3.4
2020-02-03 09:38:47 +01:00
dependabot-preview[bot]
6a5a1f7a72 Bump @babel/core from 7.8.3 to 7.8.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:19:24 +00:00
dependabot-preview[bot]
c2bfe76ee5 Bump webpack-dev-server from 3.10.1 to 3.10.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.10.1 to 3.10.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.10.1...v3.10.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:18:51 +00:00
dependabot-preview[bot]
cf0b8af356 Bump rollup from 1.29.1 to 1.31.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.29.1 to 1.31.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/v1.29.1...v1.31.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:17:49 +00:00
dependabot-preview[bot]
1e08750398 Bump @babel/preset-env from 7.8.3 to 7.8.4
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.3 to 7.8.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.3...v7.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:17:08 +00:00
dependabot-preview[bot]
f4ef2e15db Bump url-polyfill from 1.1.7 to 1.1.8
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases)
- [Commits](https://github.com/lifaon74/url-polyfill/compare/1.1.7...1.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:15:52 +00:00
dependabot-preview[bot]
cd3a205803 Bump terser-webpack-plugin from 2.3.2 to 2.3.4
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.2 to 2.3.4.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.2...v2.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:14:59 +00:00
dependabot-preview[bot]
564af3e4d5 Bump puppeteer from 2.0.0 to 2.1.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v2.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-03 08:14:11 +00:00
mike-000
3c2dfb511a Fix Polystyle outline 0 conflict with Linestyle
Return separate style objects for polygon geometries (including multipolygon and polygons in geometry collections) and other geometries if Polystyle outline is defined as 0
Rearrange code to reduce cloning of styles in createNameStyleFunction

Update Polystyle outline 0 tests
Check for separate style objects applying to LineString and Polygon geometries
Test LineString and Polygon geometries in a collection
2020-02-02 11:28:07 +00:00
Andreas Hocevar
f91ce5692f Remove apidoc annotation to show refresh for ol/source/Cluster 2020-02-01 21:44:10 +01:00
Andreas Hocevar
38abbcbdd6 Remove inheritDoc to work around JSDoc issue 2020-02-01 19:06:37 +01:00
Andreas Hocevar
902f3c2fba Merge pull request #10574 from ahocevar/text-background
Text rendering improvements
2020-01-30 15:57:04 +01:00
Andreas Hocevar
7266f37f85 Remove unused export and variable 2020-01-30 14:56:11 +01:00
Andreas Hocevar
93897d92d5 Merge pull request #10591 from ahocevar/sphere-license
Remove obsolete license notice
2020-01-30 14:03:57 +01:00
Andreas Hocevar
81d14fb636 Remove obsolete license notice 2020-01-30 10:47:53 +01:00
Andreas Hocevar
542b77eef8 Save and restore before rendering labels 2020-01-30 09:14:03 +01:00
Andreas Hocevar
a24c94487c Cache label instructions for better performance 2020-01-30 09:14:02 +01:00
Andreas Hocevar
d87f7b7d35 Merge pull request #10588 from ahocevar/apidoc
Sort doc navigation properly and add missing modules
2020-01-30 08:15:41 +01:00
Jeremy Smith
001cb98990 Updated test to use renamed option 2020-01-30 08:03:02 +10:00
Jeremy Smith
7805768942 Renamed option to constrainOneAxis 2020-01-30 07:40:28 +10:00
Andreas Hocevar
f8f7f83be7 Do not expose static render function of controls 2020-01-29 20:21:08 +01:00
Tim Schaub
af307eb606 Merge pull request #10581 from DanielRuf/ci/use-package-lock-checksum
Use package-lock.json for the checksum calculation
2020-01-29 07:35:51 -08:00
Andreas Hocevar
e3f9e250ab Sort doc navigation properly and add missing modules 2020-01-29 14:04:52 +01:00
Andreas Hocevar
c373a3eafd Merge pull request #10584 from MrSoUndso/dev
fixed issue with version throwing an error if it is null
2020-01-29 12:06:48 +01:00
Jeremy Smith
4151e86c0a Adds option to View for using larger resolution value when clamping 2020-01-29 15:35:48 +10:00
Jakob Gerstmayer
153bd7f5d1 fixed spacing after if 2020-01-28 17:48:45 +01:00
Jakob Gerstmayer
902bdbabdc fixed issue with version throwing an error if it is null 2020-01-28 17:39:21 +01:00
Daniel Ruf
02b1ab71f1 Use package-lock.json for the checksum calculation - closes #10069 2020-01-28 11:13:50 +01:00
Andreas Hocevar
2652c1a30d Merge pull request #10575 from mike-000/patch-8
Fix ol/layer/Graticule rendercomplete problem
2020-01-27 16:46:44 +01:00
Andreas Hocevar
29ea779f66 Merge pull request #10562 from crubier/master
Zoomify: Separate the service pixel ratio and the device pixel ratio
2020-01-27 15:46:11 +01:00
Frédéric Junod
9cf8fe9e05 Merge pull request #10578 from openlayers/dependabot/npm_and_yarn/sinon-8.1.1
Bump sinon from 8.1.0 to 8.1.1
2020-01-27 09:03:56 +01:00
Frédéric Junod
2f7e681c32 Merge pull request #10577 from openlayers/dependabot/npm_and_yarn/mocha-7.0.1
Bump mocha from 7.0.0 to 7.0.1
2020-01-27 09:03:36 +01:00
Frédéric Junod
e391be7de9 Merge pull request #10576 from openlayers/dependabot/npm_and_yarn/rollup-1.29.1
Bump rollup from 1.29.0 to 1.29.1
2020-01-27 09:03:10 +01:00
Frédéric Junod
f2d5b6b116 Merge pull request #10573 from mike-000/patch-7
Replace Bing layer with MapTiler in example
2020-01-27 08:47:25 +01:00
dependabot-preview[bot]
7f6d77d811 Bump sinon from 8.1.0 to 8.1.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 07:47:19 +00:00
dependabot-preview[bot]
2205937b2d Bump mocha from 7.0.0 to 7.0.1
Bumps [mocha](https://github.com/mochajs/mocha) from 7.0.0 to 7.0.1.
- [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/v7.0.0...v7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 07:46:34 +00:00
dependabot-preview[bot]
bf57a23940 Bump rollup from 1.29.0 to 1.29.1
Bumps [rollup](https://github.com/rollup/rollup) from 1.29.0 to 1.29.1.
- [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/v1.29.0...v1.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-27 07:45:55 +00:00
mike-000
e820042748 Fix ol/layer/Graticule rendercomplete problem
fix typedef imports
2020-01-26 14:04:05 +00:00
mike-000
a7bdee43b3 Fix ol/layer/Graticule rendercomplete problem
Use custom loading strategy to avoid problems caused by calling removeLoadedExtent in the loader function
2020-01-26 13:51:11 +00:00
Andreas Hocevar
23d441f9f2 Handle tileSize and tilePixelRatio properly 2020-01-25 19:55:30 +01:00
Andreas Hocevar
91b9058582 Merge pull request #10570 from ahocevar/fix-vector-image-ratio
Use correct extent for the vector image
2020-01-24 19:30:45 +01:00
Andreas Hocevar
5ca4af125e Merge pull request #10572 from ahocevar/assert-no-duplicate-layers
Assert each layer is only added to the map once
2020-01-24 18:03:27 +01:00
Andreas Hocevar
1ee03decdd Assert each layer is only added to the map once 2020-01-24 17:52:13 +01:00
mike-000
96ebacca1f Replace Bing layer with MapTiler 2020-01-24 16:34:43 +00:00
mike-000
a9e738c919 Replace Bing layer with MapTiler 2020-01-24 16:33:34 +00:00
mike-000
c9c616bd6f Replace Bing layer with MapTiler 2020-01-24 16:31:08 +00:00
mike-000
1eac18f94a Replace Bing layer with MapTiler 2020-01-24 15:51:41 +00:00
mike-000
e11db6de44 Replace Bing layer with MapTiler 2020-01-24 15:49:08 +00:00
Vincent Lecrubier
8c89ddceca Revert #9489 and solves retina tiles on zoomify apparently. 2020-01-24 15:33:42 +00:00
Andreas Hocevar
89c5364b2f Use correct extent for the vector image 2020-01-24 13:50:02 +01:00
Andreas Hocevar
97cb0bbd77 Merge pull request #10563 from ahocevar/map-to-image
More compatible way of exporting a map as pdf
2020-01-23 12:19:56 +01:00
Vincent Lecrubier
3a5c8d637c Zoomify: Separate the service pixel ratio and the device pixel ratio 2020-01-22 09:32:11 +00:00
Andreas Hocevar
4db204698e More compatible way of exporting a map as pdf 2020-01-21 22:27:28 +01:00
Andreas Hocevar
d1b2dfb669 Merge pull request #10545 from mike-000/patch-7
Make KML point feature styles compatible with declutter
2020-01-20 13:45:52 +01:00
mike-000
5830a36131 Convert any html character codes in labels
fix typedef
2020-01-20 10:37:04 +00:00
mike-000
83d65b61e1 Convert any html character codes in labels
fix typedef
2020-01-20 10:30:44 +00:00
mike-000
c221cc7a46 Convert any html character codes in labels
reuse single textarea element
2020-01-20 10:24:57 +00:00
Andreas Hocevar
a25e10524b Merge pull request #10542 from mike-000/patch-6
Replace Bing layer with MapTiler in KML example
2020-01-20 09:35:29 +01:00
Andreas Hocevar
afba861ab5 Merge pull request #10543 from MoonE/jsdoc-api-mustnothavevalue
@api tag must not have a value.
2020-01-20 09:33:28 +01:00
Andreas Hocevar
d670eba5eb Merge pull request #10547 from MoonE/apidoc-remove-non-api-modules
Only generate module apidoc pages when it contains api tags
2020-01-20 09:22:33 +01:00
Andreas Hocevar
3dff4f73e2 Merge pull request #10551 from openlayers/dependabot/npm_and_yarn/handlebars-4.7.2
Bump handlebars from 4.7.1 to 4.7.2
2020-01-20 09:17:25 +01:00
Andreas Hocevar
f87a7656ce Merge pull request #10550 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.8.3
Bump @babel/preset-env from 7.8.2 to 7.8.3
2020-01-20 09:16:54 +01:00
Andreas Hocevar
8f7e5ce63c Merge pull request #10549 from openlayers/dependabot/npm_and_yarn/sinon-8.1.0
Bump sinon from 8.0.4 to 8.1.0
2020-01-20 09:16:20 +01:00
Andreas Hocevar
ca944c8ece Merge pull request #10548 from openlayers/dependabot/npm_and_yarn/babel/core-7.8.3
Bump @babel/core from 7.8.0 to 7.8.3
2020-01-20 09:15:44 +01:00
dependabot-preview[bot]
9ce0d6159c Bump handlebars from 4.7.1 to 4.7.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.1...v4.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:55:15 +00:00
dependabot-preview[bot]
f2ae509d07 Bump @babel/preset-env from 7.8.2 to 7.8.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.2 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.2...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:54:16 +00:00
dependabot-preview[bot]
e00cfeec06 Bump sinon from 8.0.4 to 8.1.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.0.4 to 8.1.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.0.4...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:53:02 +00:00
dependabot-preview[bot]
fa9d4586a3 Bump @babel/core from 7.8.0 to 7.8.3
Bumps [@babel/core](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 07:52:12 +00:00
Maximilian Krög
e2dc67546e Only generate module apidoc pages when it contains api tags 2020-01-19 15:51:48 +01:00
mike-000
e2b42c100f Include html character code in text style test 2020-01-19 12:02:16 +00:00
mike-000
bf23dca068 Include html character code in text style test 2020-01-19 11:42:59 +00:00
mike-000
23858dc09d Convert any html character codes in labels 2020-01-19 11:28:05 +00:00
mike-000
9493d68217 Make feature styles compatible with declutter
Remove type def relating to deleted line
2020-01-18 20:19:56 +00:00
mike-000
730008cfad Make feature styles compatible with declutter
Update expected result to single style object to reflect change
Remove duplicated test
2020-01-18 20:00:09 +00:00
mike-000
258bfeaecc Make feature styles compatible with declutter
Return a single style object for image and text for point features as concatenating two styles in an array is not compatible with decluttering
2020-01-18 19:37:18 +00:00
Maximilian Krög
9cc7ef4b96 Use correct config for tags which must not have a value. 2020-01-18 20:15:10 +01:00
mike-000
3ac33ee723 Replace Bing layer with MapTiler 2020-01-17 21:53:52 +00:00
mike-000
62cd0cbcc9 Replace Bing layer with MapTiler 2020-01-17 21:47:32 +00:00
Andreas Hocevar
2f094978ca Merge pull request #10502 from walkermatt/stopevent-removed-target
Stop events that originate with a removed target
2020-01-17 21:34:39 +01:00
Andreas Hocevar
de5cd5c664 Merge pull request #10527 from ahocevar/no-label-cache
Remove label cache, render text directly to target canvas
2020-01-16 09:23:41 +01:00
Tim Schaub
8e2adf9955 Merge pull request #10534 from wussup/patch-1
[GeoJSON] Read projection from CRS type EPSG
2020-01-15 15:21:28 -07:00
Andreas Hocevar
adbab7992e Merge pull request #10430 from Razi91/offset-RegularShape
Offset regular shape
2020-01-15 11:26:41 +01:00
jkonieczny
df710e4d6f fix example with displacement 2020-01-15 11:13:45 +01:00
jkonieczny
2112478b6b Added test + jsdoc 2020-01-15 11:13:45 +01:00
jkonieczny
78378f0253 refactor offset to displacement 2020-01-15 11:13:45 +01:00
jkonieczny
4c7f52c8a4 Offset for ImageStyle 2020-01-15 11:13:44 +01:00
jkonieczny
ee1b038714 add example to regularshape 2020-01-15 11:13:44 +01:00
jkonieczny
1506e13b60 use anchor for offsetting 2020-01-15 11:13:44 +01:00
jkonieczny
601bd7bae6 add offset option to RegularShape 2020-01-15 11:13:44 +01:00
wussup
cbdd63a38b Strings must have singlequotes
Strings must have singlequotes
2020-01-15 10:29:14 +01:00
wussup
bc6f34d691 Read projection from CRS type EPSG
CRS also may have type 'EPSG' and then the code is reading from property 'code' in object 'properties'
2020-01-15 10:13:18 +01:00
philip
76b926420c Only draw the piece of the source canvas that is required. I.e. take the clip
region into account.
2020-01-14 23:52:54 +00:00
philip
ccf3532eb2 Fix the parameter name to have the opt_ prefix. 2020-01-14 13:48:23 +00:00
philip
d2b0599177 Dynamically chose the number of subdivisions based on the size of the Image. 2020-01-14 13:39:52 +00:00
Andreas Hocevar
fd935bae53 Remove label cache, render text directly to target canvas 2020-01-13 22:12:53 +01:00
Matt Walker
eeec2b9e7d Lint: remove unused imports 2020-01-13 11:32:40 +00:00
Matt Walker
4e599a370b Use document.body to check if an event target is within the page
Some events will originate outside the map viewport such as keyboard
events which originate with the element specified by keyboardEventTarget
which could be document.body
2020-01-13 10:56:41 +00:00
Matt Walker
5ce532e3e4 Mock PointerEvent in tests to include target
The `target` Event property is readonly as it is set internally when an
event is dispatched. This change uses a plain object with the essential
properties that a PointerEvent has which is sufficent for map event handling
2020-01-13 10:46:40 +00:00
Frédéric Junod
56a6919d9a Merge pull request #10518 from openlayers/dependabot/npm_and_yarn/front-matter-3.1.0
Bump front-matter from 3.0.2 to 3.1.0
2020-01-13 10:02:48 +01:00
Frédéric Junod
c4eea624f4 Merge pull request #10516 from openlayers/dependabot/npm_and_yarn/handlebars-4.7.1
Bump handlebars from 4.5.3 to 4.7.1
2020-01-13 10:02:26 +01:00
Frédéric Junod
76e81bbc78 Merge pull request #10514 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.2
Bump terser-webpack-plugin from 2.3.1 to 2.3.2
2020-01-13 10:02:08 +01:00
Frédéric Junod
bbadfefc92 Merge pull request #10523 from openlayers/dependabot/npm_and_yarn/sinon-8.0.4
Bump sinon from 8.0.2 to 8.0.4
2020-01-13 09:34:43 +01:00
Frédéric Junod
e4c98c58bd Merge pull request #10513 from fgubler/fgubler/constrain-only-center-flag-fix-notes
fixed flag-name in upgrade notes
2020-01-13 09:34:21 +01:00
dependabot-preview[bot]
6d5602b569 Bump front-matter from 3.0.2 to 3.1.0
Bumps [front-matter](https://github.com/jxson/front-matter) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/jxson/front-matter/releases)
- [Commits](https://github.com/jxson/front-matter/compare/v3.0.2...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:33:08 +00:00
dependabot-preview[bot]
f79cc24ff3 Bump handlebars from 4.5.3 to 4.7.1
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.1.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/v4.7.1/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:33:06 +00:00
Frédéric Junod
b2e81109b4 Merge pull request #10515 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.8.2
Bump @babel/preset-env from 7.7.7 to 7.8.2
2020-01-13 09:32:43 +01:00
Frédéric Junod
afe97ef04e Merge pull request #10517 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-1.3.0
Bump karma-firefox-launcher from 1.2.0 to 1.3.0
2020-01-13 09:32:16 +01:00
Frédéric Junod
ab607eb02a Merge pull request #10519 from openlayers/dependabot/npm_and_yarn/babel/core-7.8.0
Bump @babel/core from 7.7.7 to 7.8.0
2020-01-13 09:31:50 +01:00
Frédéric Junod
86cef49368 Merge pull request #10520 from openlayers/dependabot/npm_and_yarn/globby-11.0.0
Bump globby from 10.0.1 to 11.0.0
2020-01-13 09:31:17 +01:00
Frédéric Junod
8e45a3378a Merge pull request #10521 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-5.2.0
Bump rollup-plugin-terser from 5.1.3 to 5.2.0
2020-01-13 09:30:53 +01:00
Frédéric Junod
ec265a04c7 Merge pull request #10522 from openlayers/dependabot/npm_and_yarn/rollup-1.29.0
Bump rollup from 1.28.0 to 1.29.0
2020-01-13 09:30:34 +01:00
dependabot-preview[bot]
ea1070193e Bump sinon from 8.0.2 to 8.0.4
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.0.2 to 8.0.4.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.0.2...v8.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:10:42 +00:00
dependabot-preview[bot]
e9ab684ef3 Bump rollup from 1.28.0 to 1.29.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.28.0 to 1.29.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/v1.28.0...v1.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:09:49 +00:00
dependabot-preview[bot]
87a953c4ec Bump rollup-plugin-terser from 5.1.3 to 5.2.0
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.1.3...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:09:06 +00:00
dependabot-preview[bot]
e05641b6b8 Bump globby from 10.0.1 to 11.0.0
Bumps [globby](https://github.com/sindresorhus/globby) from 10.0.1 to 11.0.0.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v10.0.1...v11.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:08:00 +00:00
dependabot-preview[bot]
bacc159fc6 Bump @babel/core from 7.7.7 to 7.8.0
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.7 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:07:01 +00:00
dependabot-preview[bot]
8935cb509a Bump karma-firefox-launcher from 1.2.0 to 1.3.0
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v1.2.0...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:05:32 +00:00
dependabot-preview[bot]
02931d54b5 Bump @babel/preset-env from 7.7.7 to 7.8.2
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.7 to 7.8.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:03:35 +00:00
dependabot-preview[bot]
95a319a670 Bump terser-webpack-plugin from 2.3.1 to 2.3.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.1...v2.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 08:02:43 +00:00
Gubler, Florian
986e6d940c fixed flag-name in upgrade notes: "constrainOnlyCenter" instead of "constrainCenterOnly" 2020-01-13 08:45:29 +01:00
Andreas Hocevar
080ef7c56e Merge pull request #10504 from mike-000/patch-1
Fix for reset north when rotation is 360 degrees
2020-01-12 13:00:36 +01:00
Andreas Hocevar
810fab54ec Merge pull request #10510 from MoonE/clear-built-apidoc-before-running-jsdoc
Remove build/apidoc before running jsdoc again
2020-01-12 12:55:40 +01:00
philip
1772c8198b Added comment pointing to an area of improvement 2020-01-11 18:07:09 +00:00
philip
6666014721 Merge remote-tracking branch 'origin/master' into fix_triangulation
Conflicts:
	src/ol/TileCache.js
2020-01-11 17:36:40 +00:00
philip
852f6552c7 Fix pixel rounding 2020-01-11 17:29:26 +00:00
Maximilian Krög
3bac2e49d1 Remove build/apidoc before running jsdoc again 2020-01-11 17:40:56 +01:00
mike-000
0512c690f8 Fix for reset north when rotation is 360 degrees
Animated reset north doesn't work and isn't needed if rotation is 360 degrees (or a multiple of 360)
2020-01-10 13:39:29 +00:00
Matt Walker
f3d94b3132 Fix lint error 2020-01-10 11:16:54 +00:00
Matt Walker
34dc538122 Stop events that originate with a removed target
As discussed in https://github.com/openlayers/openlayers/issues/6948#issuecomment-565375694

The check to see if the target is within the "page" uses the viewport as
the MapBrowserEventHandler instance adds it's listeners to the viewport.

Using Node.contains appears to have a slight performance benefit
over manually walking the DOM.
2020-01-10 10:48:15 +00:00
Andreas Hocevar
c851f6c6bf Merge pull request #10498 from gazza0/master
Fixing issue #10497 on behalf of LarryHuang
2020-01-09 14:10:53 +01:00
gazza0
88e3db4928 Merge pull request #1 from gazza0/gazza0-patch-1
Fixing issue #10497 on behalf of LarryHuang
2020-01-09 03:01:20 -08:00
gazza0
420e7d87ae Fixing issue #10497 on behalf of LarryHuang
Since Larry is not able to access github, i'm committing on behalf of him, explanation of the issue and he's original fix can be found https://github.com/openlayers/openlayers/issues/10497
2020-01-09 02:52:21 -08:00
Andreas Hocevar
44fab1000e Merge pull request #10496 from ahocevar/stopevent-dragging
Do not stop events when dragging
2020-01-09 09:52:57 +01:00
Andreas Hocevar
a4735e0700 Merge pull request #10478 from ahocevar/abort-without-dispose
Do not abort and dispose of tiles
2020-01-09 09:52:07 +01:00
Andreas Hocevar
b26f570cb7 Do not stop events when dragging 2020-01-08 21:39:29 +01:00
Andreas Hocevar
e2687da202 Merge pull request #10495 from danielklim/dlim/view-fit-typo
typo in view.fit
2020-01-08 12:57:40 +01:00
Andreas Hocevar
9f4dbd3c35 Reuse existing canvases from vector render tiles 2020-01-08 10:53:43 +01:00
Andreas Hocevar
5a8df1d4e2 We no longer need to increase the cache size 2020-01-08 10:53:42 +01:00
Andreas Hocevar
46d98201c3 Store source tiles on render tile instead of source 2020-01-08 10:53:42 +01:00
Dan Lim
21e9601d7b typo in view.fit 2020-01-07 16:12:06 -08:00
Tim Schaub
8125463e59 Merge pull request #10473 from mike-000/patch-1
Fix for undefined source in Vector layer
2020-01-06 18:25:11 -07:00
mike-000
cb665b7ea7 Simplify to return false if layer has no source 2020-01-06 17:31:38 +00:00
Frédéric Junod
c1c256040e Merge pull request #10484 from fredj/heatmap_gradient_update
Use a function to get the value of the gradient
2020-01-06 11:06:43 +01:00
Frederic Junod
5a1921d7bd Use a function to get the value of the gradient 2020-01-06 10:52:16 +01:00
Frédéric Junod
adea3b48dc Merge pull request #10480 from openlayers/dependabot/npm_and_yarn/mocha-7.0.0
Bump mocha from 6.2.2 to 7.0.0
2020-01-06 10:48:01 +01:00
Frédéric Junod
d60a153ca6 Merge pull request #10482 from openlayers/dependabot/npm_and_yarn/sinon-8.0.2
Bump sinon from 8.0.1 to 8.0.2
2020-01-06 10:47:19 +01:00
Frédéric Junod
d1ef920fab Merge pull request #10481 from openlayers/dependabot/npm_and_yarn/yargs-15.1.0
Bump yargs from 15.0.2 to 15.1.0
2020-01-06 10:46:59 +01:00
Frédéric Junod
ff2a33367d Merge pull request #10479 from openlayers/dependabot/npm_and_yarn/rollup-1.28.0
Bump rollup from 1.27.14 to 1.28.0
2020-01-06 10:46:28 +01:00
Olivier Guyot
6d092cf1a6 Merge pull request #10262 from bjornharrtell/lazy-dom-impl
Rework to make Document and XMLSerializer lazy and injectable
2020-01-06 09:37:17 +01:00
dependabot-preview[bot]
68de72d1cc Bump sinon from 8.0.1 to 8.0.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.0.1...v8.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:38:58 +00:00
dependabot-preview[bot]
780e4f5fbd Bump yargs from 15.0.2 to 15.1.0
Bumps [yargs](https://github.com/yargs/yargs) from 15.0.2 to 15.1.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.0.2...v15.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:38:20 +00:00
dependabot-preview[bot]
77c2c04ae6 Bump mocha from 6.2.2 to 7.0.0
Bumps [mocha](https://github.com/mochajs/mocha) from 6.2.2 to 7.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/v6.2.2...v7.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:37:44 +00:00
dependabot-preview[bot]
c840d29f9f Bump rollup from 1.27.14 to 1.28.0
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.14 to 1.28.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/v1.27.14...v1.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-06 07:36:59 +00:00
philip
902ed53999 Add detection of browsers which cannot render correctly with diagonal
clipping regions. In this case, modify the shape of the clip region
so that it has (a number) of horizontal and vertical edges.
2020-01-06 02:23:58 +00:00
Björn Harrtell
05a5f162d4 Move logic from dom to xml module 2020-01-05 13:12:27 +01:00
Björn Harrtell
5b661ed84c Fix jsdoc 2020-01-05 13:00:44 +01:00
Björn Harrtell
bdc20e0293 Rework to register Document and add XMLSerializer 2020-01-05 13:00:44 +01:00
Björn Harrtell
fc46166821 Fix argument name mixup 2020-01-05 13:00:44 +01:00
Björn Harrtell
90d61033e0 Rework to make DOMImplementation lazy and injectable 2020-01-05 13:00:44 +01:00
Andreas Hocevar
2875685b3c Use TileCache instead of custom structure 2020-01-05 12:25:44 +01:00
Andreas Hocevar
ae1ee192f3 Avoid misleading bind argument 2020-01-05 12:09:46 +01:00
Andreas Hocevar
bec747e513 Remove unused argument and member 2020-01-05 12:08:43 +01:00
Andreas Hocevar
6affeb0beb Do not dispose VectorRenderTiles 2020-01-05 11:52:45 +01:00
Andreas Hocevar
da6eed850c Do not lock label cache entries 2020-01-05 11:24:46 +01:00
Andreas Hocevar
ae336f0a1b Remove disposeInternal of ImageTile and reproj/Tile 2020-01-05 00:13:05 +01:00
Andreas Hocevar
b91e1a893d Do not abort and dispose of tiles 2020-01-05 00:05:24 +01:00
mike-000
5b1df4438d Fix for undefined source in Image layer
Prevent error if layer does not have a source.  Also clear any existing image if source is set to null or undefined by setSource.
2020-01-01 22:04:10 +00:00
mike-000
f48704cac4 Fix for undefined source in Vector layer
A source left or set undefined is equivalent to an empty source so treat it as such to prevent errors in prepareFrame
2020-01-01 21:04:12 +00:00
Tim Schaub
6063021792 Merge pull request #10461 from MoonE/apidocs-objecttypelink
Fix link in apidocs to ObjectEvent.
2019-12-31 00:27:27 -05:00
Tim Schaub
ada6ff7290 Merge pull request #10466 from openlayers/dependabot/npm_and_yarn/webpack-4.41.5
Bump webpack from 4.41.4 to 4.41.5
2019-12-31 00:25:10 -05:00
Tim Schaub
5b3338b6f7 Merge pull request #10467 from openlayers/dependabot/npm_and_yarn/sinon-8.0.1
Bump sinon from 8.0.0 to 8.0.1
2019-12-31 00:24:38 -05:00
philip
e35795c5a3 Rework code to pass eslint 2019-12-30 16:46:20 +00:00
philip
89ed757273 Fix indentation 2019-12-30 16:22:44 +00:00
dependabot-preview[bot]
e8a17376b6 Bump sinon from 8.0.0 to 8.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 07:38:28 +00:00
dependabot-preview[bot]
58482c6c64 Bump webpack from 4.41.4 to 4.41.5
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.4 to 4.41.5.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.4...v4.41.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 07:37:37 +00:00
philip
f457093baf Handle the zoomed out case where the source extent is infinite. This
does raise the question of whether an Infinite extent intersects a
finite extent. It appears not to, but maybe it should.
2019-12-28 22:31:30 +00:00
philip
4040d03ae6 Fix problem with zero size canvas drawing 2019-12-28 18:09:07 +00:00
philip
a6b1df3574 Fix missing corners of the world 2019-12-28 17:47:53 +00:00
philip
b71b87d7bb Fix issue with reprojection and double drawing pixels. 2019-12-28 03:40:10 +00:00
Maximilian Krög
9622a8ca93 Fix link in apidocs to ObjectEvent. 2019-12-27 23:35:19 +01:00
Olivier Guyot
e4ea272799 Merge pull request #10413 from MoonE/zoomsliderextent
Limit the ZoomSlider's range to the view's constrained resolution.
2019-12-23 14:59:19 +01:00
Olivier Guyot
b68d5e139d Merge pull request #10438 from jahow/prevent-layout-reflow
Avoid accessing the DOM to read the viewport size too often
2019-12-23 10:57:42 +01:00
Olivier Guyot
4440994ec8 Avoid recomputing the viewport size by reading the DOM everytime
Also clarify View#calculateExtent doc & remove the [data-view] attribute
on the viewport element (not needed anymore).
2019-12-23 10:47:54 +01:00
Andreas Hocevar
c66a19c9cc Merge pull request #10450 from openlayers/dependabot/npm_and_yarn/babel/core-7.7.7
Bump @babel/core from 7.7.5 to 7.7.7
2019-12-23 10:43:17 +01:00
Andreas Hocevar
7bcc8fc73e Merge pull request #10449 from openlayers/dependabot/npm_and_yarn/eslint-6.8.0
Bump eslint from 6.7.2 to 6.8.0
2019-12-23 10:42:44 +01:00
Andreas Hocevar
05bc7f00ca Merge pull request #10448 from openlayers/dependabot/npm_and_yarn/rollup-1.27.14
Bump rollup from 1.27.13 to 1.27.14
2019-12-23 10:42:00 +01:00
Olivier Guyot
0d9aec4b6b Merge pull request #10439 from jahow/webgl-add-rotation
WebGL points layer / add support for symbol rotation
2019-12-23 10:32:12 +01:00
dependabot-preview[bot]
3d3fe9f41b Bump rollup from 1.27.13 to 1.27.14
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.13 to 1.27.14.
- [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/v1.27.13...v1.27.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 09:15:54 +00:00
Andreas Hocevar
daf8d0af6c Merge pull request #10447 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.7.7
Bump @babel/preset-env from 7.7.6 to 7.7.7
2019-12-23 10:14:33 +01:00
Andreas Hocevar
79232ea668 Merge pull request #10446 from openlayers/dependabot/npm_and_yarn/sinon-8.0.0
Bump sinon from 7.5.0 to 8.0.0
2019-12-23 10:13:58 +01:00
Andreas Hocevar
d7a331fc7c Merge pull request #10445 from openlayers/dependabot/npm_and_yarn/webpack-4.41.4
Bump webpack from 4.41.2 to 4.41.4
2019-12-23 09:50:26 +01:00
dependabot-preview[bot]
ada892322a Bump webpack from 4.41.2 to 4.41.4
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 08:22:11 +00:00
Andreas Hocevar
c60fd4decd Merge pull request #10444 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.1
Bump terser-webpack-plugin from 2.3.0 to 2.3.1
2019-12-23 09:21:00 +01:00
Andreas Hocevar
739459f886 Merge pull request #10443 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.10.1
Bump webpack-dev-server from 3.9.0 to 3.10.1
2019-12-23 09:20:20 +01:00
dependabot-preview[bot]
bcb78fe3a9 Bump @babel/core from 7.7.5 to 7.7.7
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.5 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.5...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:54:01 +00:00
dependabot-preview[bot]
8496b5b4e0 Bump eslint from 6.7.2 to 6.8.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.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/v6.7.2...v6.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:53:34 +00:00
dependabot-preview[bot]
dd9643cc07 Bump @babel/preset-env from 7.7.6 to 7.7.7
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:52:02 +00:00
dependabot-preview[bot]
28ae21e5dd Bump sinon from 7.5.0 to 8.0.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 7.5.0 to 8.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v7.5.0...v8.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:51:13 +00:00
dependabot-preview[bot]
8838565629 Bump terser-webpack-plugin from 2.3.0 to 2.3.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.3.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:49:51 +00:00
dependabot-preview[bot]
a4c3bce3b1 Bump webpack-dev-server from 3.9.0 to 3.10.1
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.9.0 to 3.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/v3.10.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.9.0...v3.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 07:49:09 +00:00
Maximilian Krög
33389969ce Limit the ZoomSlider's range to the view's constrained resolution. 2019-12-20 23:13:41 +01:00
Maximilian Krög
d7eaacf923 Small performance improvement by saving the calculated logarithm. 2019-12-20 23:13:19 +01:00
Olivier Guyot
33e24e9ce9 Updated webgl-points-layer example to add a style with rotation
Also made it so that the map re-renders continously, to be able to
use the ["time"] operator.
2019-12-20 21:54:06 +01:00
Olivier Guyot
6c46eb1dd0 Webgl / add support for a rotation parameter in LiteralStyle
The ShaderBuilder can now take a rotation expression.
2019-12-20 17:39:40 +01:00
Olivier Guyot
6f000e3155 Add missing documentation in ol/style/expressions 2019-12-20 17:13:15 +01:00
mike-000
560931e976 Set reprojection canvas context options
Add example of disabling image smoothing

Add test for reprojection context options
2019-12-20 11:41:42 +00:00
Andreas Hocevar
f08a2ab3d1 Merge pull request #10434 from mike-000/patch-6
Disable image smoothing for the DEM source in the Sea Level example
2019-12-19 09:39:58 +01:00
mike-000
caefe8c85b Disable image smoothing for the DEM source 2019-12-18 20:49:44 +00:00
mike-000
977b89c99d Disable image smoothing for the DEM source 2019-12-18 20:40:20 +00:00
Tim Schaub
2b45bc054e Merge pull request #10417 from mike-000/patch-3
Replace Bing layer with MapTiler
2019-12-16 19:43:12 -07:00
Frédéric Junod
23251947be Merge pull request #10425 from openlayers/dependabot/npm_and_yarn/elm-pep-1.0.3
Bump elm-pep from 1.0.2 to 1.0.3
2019-12-16 10:35:50 +01:00
Frédéric Junod
3da3339c03 Merge pull request #10427 from openlayers/dependabot/npm_and_yarn/webpack-cli-3.3.10
Bump webpack-cli from 3.3.2 to 3.3.10
2019-12-16 10:35:21 +01:00
Frédéric Junod
0632db0851 Merge pull request #10426 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-5.1.1
Bump copy-webpack-plugin from 5.0.5 to 5.1.1
2019-12-16 10:35:05 +01:00
Frédéric Junod
21831fc098 Merge pull request #10424 from openlayers/dependabot/npm_and_yarn/eslint-6.7.2
Bump eslint from 6.7.1 to 6.7.2
2019-12-16 10:34:41 +01:00
Frédéric Junod
5bcfb9c10a Merge pull request #10423 from openlayers/dependabot/npm_and_yarn/marked-0.8.0
Bump marked from 0.7.0 to 0.8.0
2019-12-16 10:34:25 +01:00
Frédéric Junod
e74000fbc0 Merge pull request #10422 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.7
Bump url-polyfill from 1.1.5 to 1.1.7
2019-12-16 10:34:00 +01:00
Frédéric Junod
1ab8445d29 Merge pull request #10421 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-5.1.3
Bump rollup-plugin-terser from 5.1.2 to 5.1.3
2019-12-16 08:48:13 +01:00
Frédéric Junod
84c2743879 Merge pull request #10420 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.3.0
Bump terser-webpack-plugin from 2.2.2 to 2.3.0
2019-12-16 08:47:56 +01:00
Frédéric Junod
7649f2484a Merge pull request #10419 from openlayers/dependabot/npm_and_yarn/rollup-1.27.13
Bump rollup from 1.27.9 to 1.27.13
2019-12-16 08:46:40 +01:00
Frédéric Junod
b86ef23c99 Merge pull request #10418 from openlayers/dependabot/npm_and_yarn/babel-loader-8.0.6
Bump babel-loader from 8.0.5 to 8.0.6
2019-12-16 08:46:15 +01:00
dependabot-preview[bot]
1e2f3cbfbb Bump webpack-cli from 3.3.2 to 3.3.10
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.2 to 3.3.10.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.10/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.2...v3.3.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:43:39 +00:00
dependabot-preview[bot]
c04b234be4 Bump copy-webpack-plugin from 5.0.5 to 5.1.1
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.5 to 5.1.1.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.5...v5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:42:53 +00:00
dependabot-preview[bot]
6113121d53 Bump elm-pep from 1.0.2 to 1.0.3
Bumps [elm-pep](https://github.com/ahocevar/elm-pep) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ahocevar/elm-pep/releases)
- [Commits](https://github.com/ahocevar/elm-pep/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:42:11 +00:00
dependabot-preview[bot]
e9e6868b5c Bump eslint from 6.7.1 to 6.7.2
Bumps [eslint](https://github.com/eslint/eslint) from 6.7.1 to 6.7.2.
- [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/v6.7.1...v6.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:41:33 +00:00
dependabot-preview[bot]
21fbf29b67 Bump marked from 0.7.0 to 0.8.0
Bumps [marked](https://github.com/markedjs/marked) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.7.0...v0.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:40:44 +00:00
dependabot-preview[bot]
ac7a98933e Bump url-polyfill from 1.1.5 to 1.1.7
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill) from 1.1.5 to 1.1.7.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases)
- [Commits](https://github.com/lifaon74/url-polyfill/commits/1.1.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:39:51 +00:00
dependabot-preview[bot]
67a8afd4ac Bump rollup-plugin-terser from 5.1.2 to 5.1.3
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:39:02 +00:00
dependabot-preview[bot]
7d90b5ffb7 Bump terser-webpack-plugin from 2.2.2 to 2.3.0
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.2...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:38:09 +00:00
dependabot-preview[bot]
ad6247fc6a Bump rollup from 1.27.9 to 1.27.13
Bumps [rollup](https://github.com/rollup/rollup) from 1.27.9 to 1.27.13.
- [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/v1.27.9...v1.27.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:37:18 +00:00
dependabot-preview[bot]
b39cb7c00e Bump babel-loader from 8.0.5 to 8.0.6
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.0.5 to 8.0.6.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.0.5...v8.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-16 07:36:32 +00:00
mike-000
3bf1931f39 Replace Bing layer with MapTiler 2019-12-15 16:15:51 +00:00
mike-000
122140e9f0 Replace Bing layer with MapTiler 2019-12-15 16:04:46 +00:00
Andreas Hocevar
4c0bdda8b8 Merge pull request #10415 from mike-000/patch-1
Control button span element pointer events
2019-12-14 23:42:12 +01:00
mike-000
ab8e80fc98 Control button span element pointer events
Prevent pointer events on span elements within control buttons
2019-12-14 13:47:05 +00:00
mike-000
9d8609dd08 Modify and snap to circle in user coordinates
Correct modify interaction at center and at drawn circle circumference
Correct snap interaction at drawn circle circumference

Test circle geometry in a user projection
2019-12-13 16:40:39 +00:00
Olivier Guyot
4a8a7619d5 Merge pull request #10409 from jahow/fix-heatmap-pixelratio
Improve viewport computation in WebGL Postprocessing
2019-12-13 12:13:17 +01:00
Olivier Guyot
cae32edb02 WebGL Postprocess / fix viewport computation with pixelratio != 1 2019-12-13 10:34:31 +01:00
Olivier Guyot
ca0ce4986d Merge pull request #10119 from mike-000/patch-8
Add crossOrigin option to ol/format/KML for icons
2019-12-13 09:26:56 +01:00
Olivier Guyot
6537fecc69 Merge pull request #10181 from roemhildtg/master
add tags to example docs
2019-12-13 09:25:50 +01:00
Gregg Roemhildt
f8b145f82a Using label classes on the anchor
Co-Authored-By: Olivier Guyot <olivier.guyot@camptocamp.com>
2019-12-12 20:03:21 -06:00
mike-000
6596a988c0 Add crossOrigin option for icons
Avoid unnecessary tests by using only one test for the default icon crossOrigin,.  In other cases ensure that the specified option is set.
2019-12-12 17:50:50 +00:00
mike-000
f13ebbee3f Add crossOrigin option for icons
Add  * @this {KML} to functions invoked using .call
2019-12-12 17:21:14 +00:00
Andreas Hocevar
6684bc221a Merge pull request #10407 from ahocevar/renderfeature-extent
Use render feature compatible extent check
2019-12-12 08:42:59 +01:00
Andreas Hocevar
c1857efd81 Use render feature compatible extent check 2019-12-11 22:21:15 +01:00
Andreas Hocevar
8e0a8114d7 Merge pull request #10340 from mike-000/patch-7
Draw circles and custom geometry in user coordinates
2019-12-11 10:07:12 +01:00
mike-000
2e544cb677 Circles and custom geometry in user coordinates
Pass the view projection to the geometry function so circles and other custom geometry can be given the expected shape/size in the view while being defined in user coordinates.

Add tests to draw circles in a user projection and along both axes
Draw regular polygon in a user projection
Draw box in a user projection
2019-12-10 19:47:37 +00:00
Andreas Hocevar
e361391503 Merge pull request #10393 from ahocevar/vectortile-getfeaturesinextent
getFeaturesInExtent function for ol/source/VectorTile
2019-12-10 15:24:54 +01:00
Andreas Hocevar
bbc1de280d getFeaturesInExtent() for VectorTile source 2019-12-10 14:07:37 +01:00
Andreas Hocevar
f460198850 Simpler tileLoadFunction for vector tiles 2019-12-10 13:50:35 +01:00
Andreas Hocevar
f52f72dd96 Merge pull request #10402 from ahocevar/no-preventdefault
Do not preventDefault on pointerdown
2019-12-10 13:40:53 +01:00
Andreas Hocevar
8911b96d3c Do not preventDefault on pointerdown 2019-12-10 12:25:23 +01:00
Andreas Hocevar
38b278339d Merge pull request #10269 from mike-000/patch-2
Replace the BNG layer source in the Raster Reprojection example
2019-12-10 09:20:50 +01:00
Andreas Hocevar
02b34a4c23 Merge pull request #10394 from ahocevar/cleanup-maprenderer
Remove map renderer element when disposing
2019-12-09 09:30:55 +01:00
Andreas Hocevar
ff02dd6653 Merge pull request #10391 from ahocevar/box-shadow
Use box-shadow css instead of filter
2019-12-09 09:29:47 +01:00
Andreas Hocevar
dc3e515c0e Merge pull request #10392 from ahocevar/interim-vectortiles
Fix interim tile handing for vector tiles
2019-12-09 09:29:01 +01:00
Frédéric Junod
9939f082d0 Merge pull request #10399 from openlayers/dependabot/npm_and_yarn/rollup-1.27.9
Bump rollup from 1.25.1 to 1.27.9
2019-12-09 08:57:31 +01:00
Frédéric Junod
36deaf9fd1 Merge pull request #10398 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.2.2
Bump terser-webpack-plugin from 2.2.1 to 2.2.2
2019-12-09 08:57:05 +01:00
Frédéric Junod
211368436f Merge pull request #10397 from openlayers/dependabot/npm_and_yarn/babel/core-7.7.5
Bump @babel/core from 7.7.4 to 7.7.5
2019-12-09 08:56:38 +01:00
Frédéric Junod
c3773c1419 Merge pull request #10396 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.7.6
Bump @babel/preset-env from 7.7.4 to 7.7.6
2019-12-09 08:56:10 +01:00
dependabot-preview[bot]
dcadbf374a Bump rollup from 1.25.1 to 1.27.9
Bumps [rollup](https://github.com/rollup/rollup) from 1.25.1 to 1.27.9.
- [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/v1.25.1...v1.27.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 07:33:33 +00:00
dependabot-preview[bot]
29d34b8694 Bump terser-webpack-plugin from 2.2.1 to 2.2.2
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 07:32:31 +00:00
dependabot-preview[bot]
da2d743023 Bump @babel/core from 7.7.4 to 7.7.5
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.4 to 7.7.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 07:31:51 +00:00
dependabot-preview[bot]
c3d31c796f Bump @babel/preset-env from 7.7.4 to 7.7.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-09 07:30:48 +00:00
Andreas Hocevar
cefc57622b Remove map renderer element when disposing 2019-12-08 17:52:28 +01:00
Andreas Hocevar
5f6ea987a5 Merge pull request #10380 from mike-000/patch-5
Adjust examples for layer canvas pixel ratio and rotation
2019-12-07 16:52:26 +01:00
Andreas Hocevar
174dea3232 Fix interim tile handing for vector tiles 2019-12-07 15:18:18 +01:00
Andreas Hocevar
d86d4db813 Use boxe-shadow css instead of filter 2019-12-07 13:53:28 +01:00
Frédéric Junod
f9f8f9c7c5 Merge pull request #10384 from mike-000/patch-4
Include Transform typedef in API
2019-12-06 09:42:00 +01:00
Andreas Hocevar
29c55aacae Merge pull request #10385 from walkermatt/rbush
Import transpiled rbush
2019-12-05 17:06:24 +01:00
Matt Walker
a389903749 Import transpiled rbush. Resolves #10379 2019-12-05 12:09:42 +00:00
mike-000
35b2a92c10 Include Transform typedef in API 2019-12-05 12:06:03 +00:00
mike-000
2790d50660 Adjust for layer canvas rotation
replace missed lines
2019-12-04 23:47:12 +00:00
mike-000
b4ae4ab86f Adjust for layer canvas rotation 2019-12-04 23:08:29 +00:00
mike-000
aaae50e689 Adjust for layer canvas pixel ratio and rotation 2019-12-04 23:04:44 +00:00
mike-000
10f9a70d5f Adjust for layer canvas pixel ratio and rotation 2019-12-04 22:59:16 +00:00
Andreas Hocevar
fb73bbaa00 Merge pull request #10363 from ahocevar/svg-layer
Interactive SVG layer example
2019-12-03 14:51:37 +01:00
Andreas Hocevar
d3b492d175 Interactive SVG layer example 2019-12-03 14:39:44 +01:00
Olivier Guyot
3530b4cf12 Merge pull request #10120 from mike-000/patch-9
Resolve constraints using anchor if following a cancelled animation
2019-12-03 09:37:48 +01:00
Tim Schaub
b1ebd03244 Merge pull request #10365 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.7.4
Bump @babel/preset-env from 7.6.3 to 7.7.4
2019-12-02 14:37:57 -07:00
Tim Schaub
f6bb0a3ad6 Merge pull request #10366 from openlayers/dependabot/npm_and_yarn/karma-coverage-istanbul-reporter-2.1.1
Bump karma-coverage-istanbul-reporter from 2.1.0 to 2.1.1
2019-12-02 14:37:37 -07:00
Tim Schaub
b1b3544f4d Merge pull request #10367 from openlayers/dependabot/npm_and_yarn/coveralls-3.0.9
Bump coveralls from 3.0.7 to 3.0.9
2019-12-02 14:37:16 -07:00
Tim Schaub
3865a7c23a Merge pull request #10368 from openlayers/dependabot/npm_and_yarn/sinon-7.5.0
Bump sinon from 7.3.2 to 7.5.0
2019-12-02 14:36:48 -07:00
Tim Schaub
3f82a8be77 Merge pull request #10369 from openlayers/dependabot/npm_and_yarn/babel/core-7.7.4
Bump @babel/core from 7.7.2 to 7.7.4
2019-12-02 14:36:21 -07:00
Tim Schaub
611946aa6f Merge pull request #10370 from mike-000/patch-5
Replace Bing layer with MapTiler
2019-12-02 14:35:29 -07:00
mike-000
aaebab2831 Replace Bing layer with MapTiler 2019-12-02 16:40:16 +00:00
dependabot-preview[bot]
66c1112c84 Bump @babel/core from 7.7.2 to 7.7.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.7.2 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.2...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 07:31:50 +00:00
dependabot-preview[bot]
45d1e8f032 Bump sinon from 7.3.2 to 7.5.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 7.3.2 to 7.5.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v7.3.2...v7.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 07:31:23 +00:00
dependabot-preview[bot]
05169ccd1f Bump coveralls from 3.0.7 to 3.0.9
Bumps [coveralls](https://github.com/nickmerwin/node-coveralls) from 3.0.7 to 3.0.9.
- [Release notes](https://github.com/nickmerwin/node-coveralls/releases)
- [Commits](https://github.com/nickmerwin/node-coveralls/commits/3.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 07:30:40 +00:00
dependabot-preview[bot]
bcaf3b5a9b Bump karma-coverage-istanbul-reporter from 2.1.0 to 2.1.1
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 07:30:08 +00:00
dependabot-preview[bot]
8e9c8e8707 Bump @babel/preset-env from 7.6.3 to 7.7.4
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.6.3 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.3...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 07:29:21 +00:00
Andreas Hocevar
c70e385398 Merge pull request #10362 from ahocevar/leftover-from-10332
Remove line that was accidently added with #10332
2019-12-01 11:34:32 +01:00
Andreas Hocevar
2b6925dc1e Remove line that was accidently added with #10332 2019-11-30 18:16:54 +01:00
Andreas Hocevar
057650fe7d Merge pull request #10309 from ahocevar/vectortile-rendermode-vector
Bring back vector render mode for vector tile layers
2019-11-29 11:51:38 +01:00
Andreas Hocevar
10a6284b0b Merge pull request #10332 from ahocevar/no-touch-action-css
Conditional default prevention instead of touch-action: none
2019-11-29 09:52:29 +01:00
Andreas Hocevar
f0a32e11d5 Fix typo
Co-Authored-By: Frédéric Junod <frederic.junod@camptocamp.com>
2019-11-29 09:46:46 +01:00
Andreas Hocevar
0a319ea2a2 Merge pull request #10301 from ahocevar/getfeatures-fixes
Create hit detection data per layer and without requestAnimationFrame
2019-11-29 09:44:09 +01:00
Andreas Hocevar
75103e08ed Merge pull request #10347 from adube/utfgrid-source-handle-load-state-loaded
Set utfgrid tile as loaded after load instead of empty
2019-11-27 18:14:09 +01:00
Alexandre Dubé
d87caed50f Set utfgrid tile as loaded after load instead of empty 2019-11-27 11:37:52 -05:00
Andreas Hocevar
cda01cfeb9 Merge pull request #10344 from ahocevar/preemptive-tilejson
Fix lazy UTFGrid loading
2019-11-27 10:21:30 +01:00
Andreas Hocevar
79074d31c1 Fix lazy UTFGrid loading 2019-11-27 09:44:43 +01:00
Andreas Hocevar
e2c4670d6a Merge pull request #10321 from greggian/touch-dragbox
Support touch events for DragBox interaction
2019-11-26 18:34:28 +01:00
Andreas Hocevar
e881e4bb99 Merge pull request #10315 from mike-000/patch-5
Replace Bing sources in some examples
2019-11-26 18:32:44 +01:00
mike-000
28818e5b4e Replace Bing layers with MapTiler 2019-11-26 17:06:14 +00:00
Andreas Hocevar
a66734dd20 Merge pull request #10330 from greggian/modify-circle
Fix modifying circle geometries
2019-11-26 17:42:33 +01:00
Andreas Hocevar
7c4c4c47ec Merge pull request #10337 from openlayers/dependabot/npm_and_yarn/fs-extra-8.1.0
Bump fs-extra from 8.0.1 to 8.1.0
2019-11-25 10:23:14 +01:00
Andreas Hocevar
0e18a7007f Merge pull request #10336 from openlayers/dependabot/npm_and_yarn/eslint-6.7.1
Bump eslint from 6.6.0 to 6.7.1
2019-11-25 10:22:45 +01:00
dependabot-preview[bot]
ec7fc3e680 Bump eslint from 6.6.0 to 6.7.1
Bumps [eslint](https://github.com/eslint/eslint) from 6.6.0 to 6.7.1.
- [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/v6.6.0...v6.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 08:42:51 +00:00
Andreas Hocevar
354d9aea8b Merge pull request #10335 from openlayers/dependabot/npm_and_yarn/yargs-15.0.2
Bump yargs from 14.2.0 to 15.0.2
2019-11-25 09:40:44 +01:00
Andreas Hocevar
3e7d0650b1 Merge pull request #10334 from openlayers/dependabot/npm_and_yarn/webpack-dev-middleware-3.7.2
Bump webpack-dev-middleware from 3.6.2 to 3.7.2
2019-11-25 09:40:09 +01:00
Andreas Hocevar
36586ec4a1 Merge pull request #10333 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-5.0.5
Bump copy-webpack-plugin from 5.0.4 to 5.0.5
2019-11-25 09:39:42 +01:00
dependabot-preview[bot]
46f32d2387 Bump fs-extra from 8.0.1 to 8.1.0
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 8.0.1 to 8.1.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/commits/8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:33:37 +00:00
dependabot-preview[bot]
6e3fd19b89 Bump yargs from 14.2.0 to 15.0.2
Bumps [yargs](https://github.com/yargs/yargs) from 14.2.0 to 15.0.2.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v14.2.0...v15.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:32:19 +00:00
dependabot-preview[bot]
0d4bbd69fc Bump webpack-dev-middleware from 3.6.2 to 3.7.2
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 3.6.2 to 3.7.2.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v3.6.2...v3.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:31:27 +00:00
dependabot-preview[bot]
6906784319 Bump copy-webpack-plugin from 5.0.4 to 5.0.5
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.4...v5.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 07:30:37 +00:00
Andreas Hocevar
88b8b2f7cb Conditional default prevention instead of touch-action: none 2019-11-25 01:09:05 +01:00
Greg Gianforcaro
6bada6ab98 Add test modifying circle with snap enabled 2019-11-23 16:11:27 -05:00
Greg Gianforcaro
93d3ddb033 Fix modifying circle geometries
The Snap interaction may have altered the event coordinate, so Modify
should use the event coordinate whenever available.

Resolves #10316
2019-11-23 00:36:42 -05:00
Greg Gianforcaro
d99c77b992 Update DragBox jsdoc
- update the typedef to change the condition default value to {@link ol/events/condition~mouseActionButton}
- remove 'This interaction is only supported for mouse devices' comment
2019-11-22 16:35:31 -05:00
Andreas Hocevar
0ed57b8b7c Merge pull request #10318 from ahocevar/elm-pep
Use a minimalist pointer events polyfill
2019-11-21 14:45:34 +01:00
Andreas Hocevar
a990b8e0bf Merge pull request #10322 from mike-000/patch-6
Update tile grid option descriptions
2019-11-21 00:10:27 +01:00
mike-000
8865f22020 Fix trailing space 2019-11-20 18:28:59 +00:00
mike-000
fb7060a4d0 Update tile grid option descriptions
In version 6 coordinate increase downwards.  Revise the description for "sizes" to better distinguish zoom level and overall grid extents.  Remove reference to the "widths" options which was deprecated over 4 years ago.
2019-11-20 18:15:31 +00:00
mike-000
c3153075b2 Update tile grid option descriptions
In version 6 coordinate increase downwards.  Add a description for "sizes"
2019-11-20 18:02:42 +00:00
Greg Gianforcaro
2df22af3ca Update DragBox to use only condition for filtering
- Remove mouseOnly and mouseActionButton hardcoded filters
- Default condition to mouseActionButton
2019-11-20 11:01:57 -05:00
Andreas Hocevar
ae1e8b662d Update package-lock.json 2019-11-20 07:59:32 +01:00
Andreas Hocevar
569deddd06 Use elm-pep instead of PEP as pointer events polyfill 2019-11-20 07:59:32 +01:00
Andreas Hocevar
3e31551962 Improved tests 2019-11-20 00:52:18 +01:00
Andreas Hocevar
9317ad850e Create hit detection data per layer and without requestAnimationFrame 2019-11-20 00:50:43 +01:00
Andreas Hocevar
32932a7fd3 Merge pull request #10308 from ahocevar/hitdetect-index
Fix feature lookup after removal of alpha
2019-11-19 08:46:55 +01:00
Olivier Guyot
5d61d556a0 Merge pull request #10310 from brianhelba/overview-rotation
Ensure that OverviewMap respects the initial rotation of attached Maps
2019-11-18 16:40:54 +01:00
Brian Helba
c5ad886d7c Ensure that OverviewMap respects the initial rotation of attached Maps 2019-11-18 05:33:28 -05:00
Andreas Hocevar
cf6cd09f58 Bring back vector render mode for vector tile layers 2019-11-18 10:40:05 +01:00
Andreas Hocevar
3f8164250c Merge pull request #10306 from openlayers/dependabot/npm_and_yarn/puppeteer-2.0.0
Bump puppeteer from 1.20.0 to 2.0.0
2019-11-18 10:33:25 +01:00
Andreas Hocevar
bb6c02ae57 Update reference images 2019-11-18 10:19:53 +01:00
dependabot-preview[bot]
e5f5177969 Bump puppeteer from 1.20.0 to 2.0.0
Bumps [puppeteer](https://github.com/GoogleChrome/puppeteer) from 1.20.0 to 2.0.0.
- [Release notes](https://github.com/GoogleChrome/puppeteer/releases)
- [Commits](https://github.com/GoogleChrome/puppeteer/compare/v1.20.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 08:45:04 +00:00
Andreas Hocevar
b2e5098311 Merge pull request #10307 from openlayers/dependabot/npm_and_yarn/babel/core-7.7.2
Bump @babel/core from 7.6.4 to 7.7.2
2019-11-18 09:43:34 +01:00
Andreas Hocevar
31854fd882 Merge pull request #10305 from openlayers/dependabot/npm_and_yarn/proj4-2.6.0
Bump proj4 from 2.5.0 to 2.6.0
2019-11-18 09:43:03 +01:00
Andreas Hocevar
331dd7e1d7 Merge pull request #10304 from openlayers/dependabot/npm_and_yarn/handlebars-4.5.3
Bump handlebars from 4.4.5 to 4.5.3
2019-11-18 09:42:31 +01:00
Andreas Hocevar
ff17156c8f Merge pull request #10303 from openlayers/dependabot/npm_and_yarn/glob-7.1.6
Bump glob from 7.1.5 to 7.1.6
2019-11-18 09:42:04 +01:00
Andreas Hocevar
a75c18330d Merge pull request #10302 from ahocevar/sign
Do not use Math.sign() to support very old browsers
2019-11-18 08:58:35 +01:00
Andreas Hocevar
d0b4967ec0 Fix feature lookup after removal of alpha 2019-11-18 08:56:20 +01:00
dependabot-preview[bot]
b6185981c0 Bump @babel/core from 7.6.4 to 7.7.2
Bumps [@babel/core](https://github.com/babel/babel) from 7.6.4 to 7.7.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.6.4...v7.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 07:38:30 +00:00
dependabot-preview[bot]
90bb31d81e Bump proj4 from 2.5.0 to 2.6.0
Bumps [proj4](https://github.com/proj4js/proj4js) from 2.5.0 to 2.6.0.
- [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.5.0...2.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 07:37:19 +00:00
dependabot-preview[bot]
4aabfb694d Bump handlebars from 4.4.5 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.5 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.5...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 07:36:47 +00:00
dependabot-preview[bot]
1641114c6a Bump glob from 7.1.5 to 7.1.6
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.5 to 7.1.6.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.5...v7.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-18 07:35:46 +00:00
Andreas Hocevar
3cca945002 Do not use Math.sign() to support very old browsers 2019-11-18 07:54:20 +01:00
Andreas Hocevar
f784fe6e42 Merge pull request #10295 from ahocevar/hitdetect-no-style
Do not fail when hit detecting  features without style
2019-11-14 16:03:13 +01:00
Andreas Hocevar
fcd98774a0 Do not fail when hit detecting features without style 2019-11-14 14:32:11 +01:00
Andreas Hocevar
54c86b1a04 Merge pull request #10293 from ahocevar/vectortile-getfeatures
Do not hit detect while tile is loading
2019-11-14 11:03:35 +01:00
Andreas Hocevar
818113e3ce Do not hit detect while tile is loading 2019-11-14 10:30:13 +01:00
Frédéric Junod
47216505de Merge pull request #10292 from jomue/patch-1
Fix typo in jsdoc in ol/source/WMTS
2019-11-14 09:11:21 +01:00
Andreas Hocevar
0a4c9edde7 Merge pull request #10291 from ahocevar/tabindex
tabindex without focus condition
2019-11-14 09:07:37 +01:00
Andreas Hocevar
30c4ce51b2 Merge pull request #10286 from ahocevar/passive
Use passive option to avoid Chrome warning
2019-11-14 09:06:50 +01:00
Jonas
5dbd1e4cbb Fix typo in jsdoc 2019-11-14 08:50:35 +01:00
Andreas Hocevar
643a3ad86b tabindex without focux condition 2019-11-13 23:24:53 +01:00
Andreas Hocevar
fab8a449c3 Use passive option to avoid Chrome warning 2019-11-13 11:08:44 +01:00
Tim Schaub
8b036ba96c Merge pull request #10285 from mike-000/patch-3
Fix WMS GetLegendGraphic example codesandbox error
2019-11-12 21:14:11 -07:00
mike-000
4fb301e3e5 Fix codesandbox error
src="" is not needed and causes an error when the example is opened in codesandbox
2019-11-12 16:38:14 +00:00
Frédéric Junod
9478cb1945 Merge pull request #10283 from fredj/targetNotEditable
Use the originalEvent in the targetNotEditable condition
2019-11-12 08:24:20 +01:00
Andreas Hocevar
86b2026f54 Merge pull request #10280 from openlayers/dependabot/npm_and_yarn/rollup-plugin-commonjs-10.1.0
Bump rollup-plugin-commonjs from 10.0.0 to 10.1.0
2019-11-11 20:13:40 +01:00
Andreas Hocevar
c7a0512397 Merge pull request #10279 from openlayers/dependabot/npm_and_yarn/rollup-plugin-terser-5.1.2
Bump rollup-plugin-terser from 5.0.0 to 5.1.2
2019-11-11 20:13:10 +01:00
Andreas Hocevar
e1f707145b Merge pull request #10278 from openlayers/dependabot/npm_and_yarn/eslint-6.6.0
Bump eslint from 6.0.0 to 6.6.0
2019-11-11 20:12:36 +01:00
Andreas Hocevar
434096ed9a Merge pull request #10277 from openlayers/dependabot/npm_and_yarn/karma-webpack-4.0.2
Bump karma-webpack from 4.0.0-rc.6 to 4.0.2
2019-11-11 20:11:59 +01:00
Andreas Hocevar
241e695f7f Merge pull request #10276 from openlayers/dependabot/npm_and_yarn/webpack-dev-server-3.9.0
Bump webpack-dev-server from 3.3.1 to 3.9.0
2019-11-11 20:11:25 +01:00
Frederic Junod
fc7cb5cd51 Use the originalEvent in the targetNotEditable condition 2019-11-11 14:41:39 +01:00
Frédéric Junod
79a3091ba4 Merge pull request #10282 from jansule/patch-1
Fix documentation of Stroke.lineDash default value
2019-11-11 12:41:40 +01:00
Jan Suleiman
2581252f88 Fix documentation of Stroke.lineDash default value
Documentation states that default value of lineDash is `undefined`, but it is `null` actually.
2019-11-11 11:39:26 +01:00
dependabot-preview[bot]
e016af83ee Bump rollup-plugin-commonjs from 10.0.0 to 10.1.0
Bumps [rollup-plugin-commonjs](https://github.com/rollup/rollup-plugin-commonjs) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/rollup/rollup-plugin-commonjs/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-commonjs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup-plugin-commonjs/compare/v10.0.0...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:17:57 +00:00
dependabot-preview[bot]
b65249326f Bump rollup-plugin-terser from 5.0.0 to 5.1.2
Bumps [rollup-plugin-terser](https://github.com/TrySound/rollup-plugin-terser) from 5.0.0 to 5.1.2.
- [Release notes](https://github.com/TrySound/rollup-plugin-terser/releases)
- [Commits](https://github.com/TrySound/rollup-plugin-terser/compare/v5.0.0...v5.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:16:50 +00:00
dependabot-preview[bot]
5c24fc8514 Bump eslint from 6.0.0 to 6.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 6.0.0 to 6.6.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/v6.0.0...v6.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:15:53 +00:00
dependabot-preview[bot]
0c052bf67c Bump karma-webpack from 4.0.0-rc.6 to 4.0.2
Bumps [karma-webpack](https://github.com/webpack-contrib/karma-webpack) from 4.0.0-rc.6 to 4.0.2.
- [Release notes](https://github.com/webpack-contrib/karma-webpack/releases)
- [Changelog](https://github.com/webpack-contrib/karma-webpack/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/karma-webpack/compare/v4.0.0-rc.6...v4.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:14:56 +00:00
dependabot-preview[bot]
ecb42824f2 Bump webpack-dev-server from 3.3.1 to 3.9.0
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 3.3.1 to 3.9.0.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.3.1...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 10:13:46 +00:00
mike-000
cf72a649cc Replace BNG layer source
The MapTiler MiniScale source used for the BNG layer is no longer working.  The data continues to be available via ESRI UK https://www.arcgis.com/home/item.html?id=5b5ff94ca7414a26b75e0d337a023d38
2019-11-08 15:52:39 +00:00
Frédéric Junod
6fe5c88614 Merge pull request #10259 from fredj/abortDrawing
Remove all the sketch features in abortDrawing
2019-11-08 09:35:33 +01:00
Frédéric Junod
6f6551ad75 Merge pull request #10265 from fredj/update_operators_doc_in_example
Update operators doc in WebGL points layer example
2019-11-07 15:31:05 +01:00
Frederic Junod
59faeff1bf Update operators doc in WebGL points layer example
The text is a copy/paste from `ol/style/expressions`
2019-11-07 15:05:57 +01:00
Andreas Hocevar
366d548b91 Merge pull request #10256 from ahocevar/no-measuretextwidth-bypass
Do not bypass measureTextWidth
2019-11-07 10:30:52 +01:00
Frédéric Junod
222a344ae9 Merge pull request #10264 from fredj/webgl_var
Remove unused variable from vertex shader
2019-11-07 09:22:34 +01:00
Olivier Guyot
3d1cef9aa2 Merge pull request #10257 from brianhelba/patch-1
Allow View.adjust* methods to take a null opt_anchor
2019-11-07 09:10:11 +01:00
Olivier Guyot
3850bd1083 Merge pull request #10261 from jahow/webgl-fix-ff-warning
WebGL / do not throw error when shader compilation gives a warning
2019-11-07 09:09:46 +01:00
Frederic Junod
5c023adc08 Remove unused variable from vertex shader 2019-11-07 09:02:50 +01:00
Olivier Guyot
ae66471e78 Webgl renderer / hide shader compile errors
Turns out there are sometimes errors that will not prevent the
shader from functioning normally. As such, it is not possible
to simply throw when there are errors/warnings.

Since we are not logging to the console, these errors will have to stay hidden
unless the user requests them explicitly.
2019-11-06 21:40:39 +01:00
Frederic Junod
51c9b56254 Remove all the sketch features in abortDrawing 2019-11-06 14:18:55 +01:00
Brian Helba
d90a4569da Allow View.adjust* methods to take a null opt_anchor
The methods `View.adjustRotation`, `View.adjustZoom` and `View.adjustResolution`
optionally take an `opt_anchor` parameter. When `opt_anchor` is `undefined`, the
methods work properly. When it is `null`, they currently attempt to access the
`null` value as though it is a `Coordinate` object, and throw:
```
TypeError: Cannot read property '0' of null
```

This change allows `opt_anchor` to safely be `null`.

Existing code paths already expect this to be supported. For example, when
`MouseWheelZoom.useAnchor_` is `false`, then
[`MouseWheelZoom.lastAnchor_` remains `null`](77bc6897dd/src/ol/interaction/MouseWheelZoom.js (L166));
thus, this `null` value
[is passed to `View.adjustZoom` as `opt_anchor`](77bc6897dd/src/ol/interaction/MouseWheelZoom.js (L209)).
2019-11-05 21:30:17 -05:00
Andreas Hocevar
48ec398037 Do not bypass measureTextWidth 2019-11-05 21:08:48 +01:00
Frédéric Junod
77bc6897dd Merge pull request #10255 from fredj/handleMapBrowserEvent_element_type
Don't use instanceof HTMLElement in handleMapBrowserEvent
2019-11-05 13:55:22 +01:00
Frederic Junod
6978c69f20 Don't use instanceof HTMLElement in handleMapBrowserEvent
Because not all elements in the DOM are instance of `HTMLElement`.
For example, SVGs created with `document.createElementNS` are instances of `Element`.
2019-11-05 11:08:14 +01:00
Andreas Hocevar
146e38c7ef Merge pull request #10251 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.6.3
Bump @babel/preset-env from 7.4.4 to 7.6.3
2019-11-04 17:50:13 +01:00
Andreas Hocevar
17fa323f50 Merge pull request #10250 from openlayers/dependabot/npm_and_yarn/buble-0.19.8
Bump buble from 0.19.7 to 0.19.8
2019-11-04 17:49:44 +01:00
Andreas Hocevar
a053fac728 Merge pull request #10249 from openlayers/dependabot/npm_and_yarn/karma-firefox-launcher-1.2.0
Bump karma-firefox-launcher from 1.1.0 to 1.2.0
2019-11-04 17:48:37 +01:00
Andreas Hocevar
978d620191 Merge pull request #10248 from openlayers/dependabot/npm_and_yarn/html-to-image-0.1.1
Bump html-to-image from 0.1.0 to 0.1.1
2019-11-04 17:47:54 +01:00
Andreas Hocevar
4e0e34e26b Merge pull request #10247 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-2.2.1
Bump terser-webpack-plugin from 2.0.1 to 2.2.1
2019-11-04 17:46:59 +01:00
dependabot-preview[bot]
4f46d8ae32 Bump @babel/preset-env from 7.4.4 to 7.6.3
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.4.4 to 7.6.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.4...v7.6.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 13:58:18 +00:00
dependabot-preview[bot]
7a2671650f Bump buble from 0.19.7 to 0.19.8
Bumps [buble](https://github.com/bublejs/buble) from 0.19.7 to 0.19.8.
- [Release notes](https://github.com/bublejs/buble/releases)
- [Changelog](https://github.com/bublejs/buble/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bublejs/buble/compare/v0.19.7...v0.19.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 13:57:39 +00:00
dependabot-preview[bot]
2e2fa241fc Bump karma-firefox-launcher from 1.1.0 to 1.2.0
Bumps [karma-firefox-launcher](https://github.com/karma-runner/karma-firefox-launcher) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/karma-runner/karma-firefox-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-firefox-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-firefox-launcher/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 13:57:02 +00:00
dependabot-preview[bot]
200763bf97 Bump html-to-image from 0.1.0 to 0.1.1
Bumps [html-to-image](https://github.com/bubkoo/html-to-image) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/bubkoo/html-to-image/releases)
- [Commits](https://github.com/bubkoo/html-to-image/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 13:56:21 +00:00
dependabot-preview[bot]
d11cb02af4 Bump terser-webpack-plugin from 2.0.1 to 2.2.1
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 2.0.1 to 2.2.1.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.0.1...v2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-04 13:55:46 +00:00
Andreas Hocevar
e4be8309f7 Merge pull request #10246 from openlayers/release-v6.1.1
Release v6.1.1
2019-11-04 12:25:24 +01:00
Andreas Hocevar
39a5511073 Update package version to 6.1.1 2019-11-04 12:16:04 +01:00
Andreas Hocevar
396f07bea1 Changelog for v6.1.1 2019-11-04 12:14:09 +01:00
Olivier Guyot
33980d0ba8 Merge pull request #10235 from jahow/webgl-optimizations
Various optimizations and fixes for the WebGL points renderer
2019-11-04 10:10:20 +01:00
Olivier Guyot
7da86ae71f Webgl points renderer / slight improvements following review
Also fixes a lint error.
2019-11-04 09:55:54 +01:00
Olivier Guyot
af15cfb815 Icon webgl example / avoid doing hit detection when view is moving 2019-11-04 09:31:38 +01:00
Olivier Guyot
600e1a4647 Webgl points renderer / use a smaller canvas for hit detection render
The hit detection render is now done against a canvas with half the
width/height of the main render. This still provides sufficient precision
while requiring a much smaller memory allocation (especially for
retina devices).
2019-11-04 09:31:38 +01:00
Olivier Guyot
43010c8934 Webgl / return 0 if doing renderTarget.read outside of data width/height
This would happen when WebGLPointsLayerRenderer.forEachFeatureAtCoordinate
is called on "warped" worlds at -360/+360 degrees, and may produce false
positives.
2019-11-04 09:31:38 +01:00
jahow
f7b0f6750b Resolve memory leak when deleting a webgl layer
Various references were kept, preventing the layer and underlying
renderer and webgl context to be garbage collected.

Also, the Helper was simplified because it turns out deleting manually
all Webgl objects is useless: these objects will be released when
the context is garbage collected anyway.

Note: this touches the Layer and BaseLayer classes, as the following were
preventing the layer from being garbage collected:
* layer reference in the `state_` object in BaseLayer
* dangling listener for source change in Layer
2019-11-04 09:31:38 +01:00
Olivier Guyot
e5e03d46a0 Webgl points renderer / more optimizations
Simplify calls in the attributes callback, also less stress
on garbage collection.
2019-11-04 09:31:38 +01:00
Olivier Guyot
e78c14c061 Webgl points renderer / add a cache for features in the source
This allows quicker access to features as well as their geometries
and properties, reducing the time taken by a rebuildBuffers call.
2019-11-04 09:31:38 +01:00
Andreas Hocevar
21f99e01c3 Merge pull request #10244 from ahocevar/no-multi-assign
Update to new eslint config with no-multi-assign
2019-11-02 16:48:46 +01:00
Andreas Hocevar
8098572346 Update package-lock.json 2019-11-02 15:20:35 +01:00
Andreas Hocevar
ac50cc3460 New eslint config with no-multi-assign 2019-11-02 15:20:21 +01:00
Andreas Hocevar
06ae419db6 Merge pull request #10243 from ahocevar/fix-font-measure
Store correct font value
2019-11-02 14:08:03 +01:00
Andreas Hocevar
43d6247671 Add rendering test case 2019-11-01 22:23:34 +01:00
Andreas Hocevar
442213f85b Store correct font value 2019-11-01 22:06:00 +01:00
Andreas Hocevar
2a96b6a8e3 Merge pull request #10239 from ahocevar/simpler-container-reuse
Simpler container reuse
2019-11-01 19:14:05 +01:00
Frédéric Junod
89f92a53b4 Merge pull request #10237 from fredj/zIndex_falsy_value
Fix layer zIndex test with falsy values
2019-11-01 08:25:56 +01:00
Andreas Hocevar
9c26d9d7dd Merge pull request #10221 from Kai-W/source-undefined-bug
Fix for undefined Source
2019-10-31 22:21:45 +01:00
Andreas Hocevar
3de05c249b Fix container transform comparison 2019-10-31 20:29:20 +01:00
Andreas Hocevar
bb2bdb17aa Render vector tile layers to a single canvas 2019-10-31 20:29:19 +01:00
Frederic Junod
b8c70bcbe7 Fix layer zIndex test with falsy values 2019-10-31 15:58:36 +01:00
Frederic Junod
c23d59e3a8 Remove extra argument passed to RenderEvent constructor 2019-10-31 15:47:27 +01:00
Andreas Hocevar
5dec336f94 Merge pull request #10228 from ahocevar/vectortile-hitdetect-rendertile
Use render tiles instead of source tiles for hit detection
2019-10-31 10:44:52 +01:00
Andreas Hocevar
e3f83f3601 Merge pull request #10226 from ahocevar/reproj-tile-abort
ABORT reproj tiles properly
2019-10-30 16:55:35 +01:00
Andreas Hocevar
3d0f7e4af8 Update the vector-tile-selection example 2019-10-30 14:39:54 +01:00
Andreas Hocevar
4b13c6dae0 Speed up rendering by not using alpha 2019-10-30 14:36:23 +01:00
Andreas Hocevar
7097a4c6ba Use render tiles instead of source tiles for hit detection 2019-10-30 11:44:12 +01:00
Andreas Hocevar
79ea5bf9cd Set ABORT state in base class 2019-10-30 10:29:58 +01:00
Andreas Hocevar
97d0d277fb Merge pull request #10224 from ahocevar/hitdetect-vectortiles-fixes
Vector tile hit detection fixes
2019-10-29 22:33:53 +01:00
Andreas Hocevar
025b27bdec Use correct resolution for tile hit canvas 2019-10-29 22:11:46 +01:00
Andreas Hocevar
00af5a87be Only use source tile when it is available 2019-10-29 18:29:42 +01:00
kai.westerkamp
53f6359f8f Fix for undefined Source 2019-10-29 15:38:14 +01:00
Frédéric Junod
bac3a8e9d8 Merge pull request #10218 from fredj/doc_fixes_expression
Documentation fixes in ol/style/expressions
2019-10-29 11:17:27 +01:00
Andreas Hocevar
66eedbfed2 Merge pull request #10216 from ahocevar/changelog-dependabot
Update changelog script to recognize dependabot instead of greenkeeper
2019-10-29 10:56:16 +01:00
Frédéric Junod
7d7228d45c Update src/ol/style/expressions.js
Co-Authored-By: Olivier Guyot <olivier.guyot@camptocamp.com>
2019-10-29 10:50:14 +01:00
Andreas Hocevar
459efede60 Update package-lock.json 2019-10-29 10:47:58 +01:00
Frederic Junod
b0ed775bc6 Documentation fixes 2019-10-29 08:42:11 +01:00
Andreas Hocevar
43ebfc4653 Merge pull request #10215 from openlayers/release-v6.1.0
Release v6.1.0
2019-10-28 22:00:33 +01:00
Andreas Hocevar
49c1486e06 Update changelog script to recognize dependabot instead of greenkeeper 2019-10-28 21:49:18 +01:00
Andreas Hocevar
3902759595 Update package version to 6.1.0 2019-10-28 21:44:02 +01:00
Andreas Hocevar
d71c733d9b Changelog for v6.1.0 2019-10-28 21:44:01 +01:00
Andreas Hocevar
90e1819d76 Merge pull request #10214 from jahow/webgl-layer-boolean-operators
WebGL / Add 'case' operator for style expressions
2019-10-28 21:11:47 +01:00
Olivier Guyot
f84fae8f70 Merge pull request #10198 from jahow/fix-webgl-renderer-loading-extent
WebGL renderer / use the specified loading strategy for the vector data
2019-10-28 16:19:52 +01:00
Olivier Guyot
6c0dd6152d Modified the icon-sprite-webgl example to allow filtering on a string attribute 2019-10-28 15:55:15 +01:00
Olivier Guyot
b96e70e952 Expressions / renamed mod to % to be more in line with MB style spec 2019-10-28 15:55:15 +01:00
Olivier Guyot
501c90b0a2 Expressions / introduced the case operator
This operator is used for if/else control flow
2019-10-28 15:52:31 +01:00
Olivier Guyot
2a2783c086 ShaderBuilder / better handling of strings variables/attributes
Now values which are not mentioned in the style are still added to
the string literals mapping.

Also an error will be thrown if a style references a missing variable.
2019-10-28 15:21:44 +01:00
Olivier Guyot
2f49876180 Expressions / add != operator & slightly better doc 2019-10-28 15:13:43 +01:00
Frédéric Junod
c7161acb6a Merge pull request #10212 from fredj/dependabot_config
Add config file for dependabot
2019-10-28 13:53:07 +01:00
Andreas Hocevar
db6314b6b2 Merge pull request #10187 from ahocevar/tabindex-scrollover
Set touch-action to allow native touch gestures
2019-10-28 13:49:44 +01:00
Tim Schaub
65eb24da68 Merge pull request #10194 from MrSoUndso/dev
Added check to make sure extent array has four objects.
2019-10-28 06:39:11 -06:00
Jakob Gerstmayer
6652192647 fixed spacing issues (again) 2019-10-28 12:55:26 +01:00
Jakob Gerstmayer
bc34fe5b71 incorporated suggestions 2019-10-28 12:51:40 +01:00
Olivier Guyot
80b4473180 Simplify the heatmap example
Use a weight function instead of manually edditing the features.
2019-10-28 10:27:29 +01:00
Olivier Guyot
cd3b222467 Specify an actual extent when loading features in the Webgl points renderer
This means any specified loading strategy will be taken into account.

Also added some tests to make sure the interaction with the source is
correct.
2019-10-28 10:26:31 +01:00
Andreas Hocevar
6e4259359b Merge pull request #10208 from openlayers/dependabot/npm_and_yarn/pixelmatch-5.1.0
Bump pixelmatch from 5.0.2 to 5.1.0
2019-10-28 09:24:39 +01:00
Frederic Junod
a2e6119da1 Add config file for dependabot 2019-10-28 09:24:35 +01:00
dependabot-preview[bot]
c992cea9a4 Bump pixelmatch from 5.0.2 to 5.1.0
Bumps [pixelmatch](https://github.com/mapbox/pixelmatch) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/mapbox/pixelmatch/releases)
- [Commits](https://github.com/mapbox/pixelmatch/compare/v5.0.2...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 08:14:17 +00:00
Andreas Hocevar
ced327e9a0 Merge pull request #10210 from openlayers/dependabot/npm_and_yarn/glob-7.1.5
Bump glob from 7.1.4 to 7.1.5
2019-10-28 09:14:06 +01:00
Andreas Hocevar
df1fcc0d90 Merge pull request #10209 from openlayers/dependabot/npm_and_yarn/karma-4.4.1
Bump karma from 4.1.0 to 4.4.1
2019-10-28 09:13:19 +01:00
Andreas Hocevar
b13cbe8cb8 Merge pull request #10207 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-5.0.2
Bump ol-mapbox-style from 5.0.0-beta.3 to 5.0.2
2019-10-28 09:12:19 +01:00
dependabot-preview[bot]
2abc88d41c Bump glob from 7.1.4 to 7.1.5
Bumps [glob](https://github.com/isaacs/node-glob) from 7.1.4 to 7.1.5.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/master/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v7.1.4...v7.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 07:55:53 +00:00
dependabot-preview[bot]
3e0494aa9e Bump karma from 4.1.0 to 4.4.1
Bumps [karma](https://github.com/karma-runner/karma) from 4.1.0 to 4.4.1.
- [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/v4.1.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 07:55:02 +00:00
dependabot-preview[bot]
aa5487b67b Bump ol-mapbox-style from 5.0.0-beta.3 to 5.0.2
Bumps [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) from 5.0.0-beta.3 to 5.0.2.
- [Release notes](https://github.com/openlayers/ol-mapbox-style/releases)
- [Changelog](https://github.com/openlayers/ol-mapbox-style/blob/master/CHANGELOG.md)
- [Commits](https://github.com/openlayers/ol-mapbox-style/compare/v5.0.0-beta.3...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-28 07:52:59 +00:00
Tim Schaub
76333f72ba Merge pull request #10204 from tschaub/doc-layout
Avoid scrolling over navigation
2019-10-27 17:05:39 -06:00
Tim Schaub
3ac08bcbef Merge pull request #10205 from tschaub/inline-default
Add the default to the type column
2019-10-27 17:04:17 -06:00
Andreas Hocevar
15a64e657d Merge pull request #10178 from TieSKey/master
Make ol/interaction/Select#handleEvent return always true.
2019-10-27 22:58:39 +01:00
TigerShark
4f0431edd5 Restore pointerMove in condition.js and example.
Wrongly removed on previous commit as pointed by @ahocevar.
2019-10-27 11:45:53 -03:00
Tim Schaub
0f87df0ade Add the default to the type column 2019-10-26 17:27:04 -06:00
Tim Schaub
1c21853269 Avoid scrolling over navigation 2019-10-26 16:56:14 -06:00
Tim Schaub
1cd9256771 Merge pull request #10203 from tschaub/exempt-milestones
Keep issues assigned to a milestone from going stale
2019-10-26 16:29:28 -06:00
Tim Schaub
fcb95ced5f Merge pull request #10200 from tschaub/carbon
Carbon add on API docs
2019-10-26 13:11:21 -06:00
Tim Schaub
ffab886964 Keep issues assigned to a milestone from going stale 2019-10-26 13:10:16 -06:00
Tim Schaub
27cbbaf97b Less jumpy 2019-10-26 12:30:38 -06:00
Tim Schaub
c0831cc64b Carbon add on API docs 2019-10-26 11:11:04 -06:00
Olivier Guyot
c40263c38b Merge pull request #10196 from jahow/webgl-add-string-operators
Webgl / add support for string and arrays in style expressions
2019-10-25 17:27:39 +02:00
Frederic Junod
daaf9695ff Add assertNumbers function in ol/style/expressions 2019-10-25 15:46:49 +02:00
Andreas Hocevar
5d358a7367 Merge pull request #10197 from ahocevar/restore-node8-compatibility
Restore node v8 compatibility
2019-10-25 15:21:23 +02:00
Andreas Hocevar
80abb8fb15 Merge pull request #10195 from mike-000/patch-2
Treat hsl/hsla as named colors
2019-10-25 15:17:30 +02:00
Olivier Guyot
e63bb45e6f Webgl points layer / allow disabling hit detection
Having hit detection enabled has an overhead as it means
continously generating additional render instructions and rendering
to an offscreen canvas
2019-10-25 15:11:37 +02:00
Andreas Hocevar
edc02dbde2 Restore node v8 compatibility 2019-10-25 15:11:11 +02:00
Olivier Guyot
4462608991 Expressions / adds color and array conversion operators
Also fixes existing error throwingtests which were essentially doing nothing.
2019-10-25 14:55:44 +02:00
Olivier Guyot
ff3cc9b4d0 Expressions / renamed operator pow to ^
To be more in line with Mapbox style spec
2019-10-25 14:55:44 +02:00
Olivier Guyot
a844691d7b Added new example styles in the webgl points layer example 2019-10-25 14:55:44 +02:00
Olivier Guyot
acf973751b Webgl / added time and resolution as default uniforms
Also added the `zoom` and `resolution` style operators
2019-10-25 14:55:44 +02:00
Olivier Guyot
e843b2cfc0 Expressions / adaptation and cleanup after stretch operator removal
The examples have been fixed as well.
2019-10-25 14:55:44 +02:00
Olivier Guyot
719495587c Expressions / rework the interpolate operator
This operator is now able to map numbers to output ranges as well as colors,
making the stretch operator unnecessary. Also allows giving multiple stops,
like in Mapbox style spec.
2019-10-25 14:55:44 +02:00
Olivier Guyot
9e010631c1 Expressions / refactor operators to avoid linting errors
Previously the utilities used the Operators dict before its definition.
2019-10-25 14:55:44 +02:00
Olivier Guyot
a64f2eb720 Update the icon-sprite-webgl example to use a WebGLPoints layer 2019-10-25 14:55:44 +02:00
Olivier Guyot
d643951a74 Shader Builder / add option to generate hit detection shaders 2019-10-25 14:55:44 +02:00
Olivier Guyot
a39f751981 Shader Builder / adapt logic & test to the new expression types
Also fixes a sneaky bug where the two last texture coordinates were inverted.
2019-10-25 14:55:44 +02:00
Olivier Guyot
fc98704bcb Expressions / adds a test for a complex combination of operators 2019-10-25 14:55:44 +02:00
Olivier Guyot
27c530ec64 Expressions / introduce the match operator
This operator allows mapping from input values to output values of different
kinds and handles variable arguments count.
2019-10-25 14:55:44 +02:00
Olivier Guyot
e3f7d29bb2 Expressions / add utilities for using strings in GLSL & more type checking
It is now possible to specify a type hint when parsing an expression, which
helps determine the output value type.

When no single output type can be inferred, an error is thrown.

For strings, every literal value will be replaced by a number and a map of
these associations will be kept in the parsing context, which is passed
recursively.
2019-10-25 14:55:44 +02:00
Olivier Guyot
44347a9ed3 Adapt the icon-sprite-webgl example to the new expressions module 2019-10-25 14:55:44 +02:00
Olivier Guyot
31dae929f5 ShaderBuilder / adapt logic & tests to new expressions module 2019-10-25 14:55:44 +02:00
Olivier Guyot
5712792772 Expressions / add more tests for conversion to GLSL 2019-10-25 14:55:44 +02:00
Olivier Guyot
bcf7649b9a Expressions / store the variables & attributes in the context 2019-10-25 14:55:44 +02:00
Olivier Guyot
7e4119d580 Expressions / restored the parsing logic with better type checking
Converting expressions to GLSL is now done in ol/style/expressions, with the
same logic as before in ol/webgl/ShaderBuilder.
2019-10-25 14:55:44 +02:00
Olivier Guyot
72903d6454 Expressions / added operator declarations & type checking logic 2019-10-25 14:55:44 +02:00
Olivier Guyot
35af80b433 Style / add an ol/style/expressions module
This module will contain the utilities and operator declarations
for literal style expressions, boh for type checking and parsing
2019-10-25 14:55:44 +02:00
mike-000
ad6d91b9ae Treat hsl/hsla as named colors
hsl/hsla values produce an assertion error in fromStringInternal_  This simplest solution is to treat them as named colors.
2019-10-25 13:31:18 +01:00
Jakob Gerstmayer
37cbb8e43e fixed spacing issues 2019-10-25 12:06:15 +02:00
Jakob Gerstmayer
e0329febc4 Added check to make sure extent array has four objects. 2019-10-25 11:43:18 +02:00
Andreas Hocevar
cff00f1c3b Merge pull request #10188 from ahocevar/renderevent-docs
Document that map render events do not have a context set
2019-10-24 17:14:40 +02:00
Andreas Hocevar
61c4fa8cd6 Document that map render events do not have a context set 2019-10-24 16:32:04 +02:00
Andreas Hocevar
cc24ec1be6 Set touch-action to allow page scrolling 2019-10-24 16:18:40 +02:00
Frédéric Junod
2b0256140e Merge pull request #10184 from fredj/heatmap_weight
Clamp the weight value between 0 and 1
2019-10-24 15:34:17 +02:00
Frederic Junod
88bbb8c1ae Clamp the weight value between 0 and 1 2019-10-24 13:52:59 +02:00
mike-000
f47fa8b407 Add crossOrigin option for icons
Make the crossOrigin setting for icons configurable to avoid errors when KML files reference images when are not CORS enabled
Pass scope in readPlacemark_
and to handle IconStyle in a placemark style map

Test crossOrigin option for icons
Add tests for IconStyle in style maps and shared styles
2019-10-24 11:04:47 +01:00
roemhildtg
9908433cfd add tags to example docs
#10022
2019-10-23 22:06:46 -05:00
TigerShark
e60dc93e0e Make ol/interaction/Select#handleEvent return always true.
Previously it was returning true only if the event was a pointerMove
which prevented multiple Select objects with other event types from
working.
2019-10-23 17:30:56 -03:00
Tim Schaub
599835e818 Merge pull request #10175 from tschaub/untagged
Remove description from type tag
2019-10-23 13:57:15 -06:00
Tim Schaub
afa688273b Merge pull request #10176 from tschaub/toggle
Avoid toggling when clicking the title
2019-10-23 13:56:58 -06:00
Tim Schaub
6b4e00e6ac Remove description from type tag 2019-10-23 10:27:56 -06:00
Tim Schaub
10379920d2 Avoid toggling when clicking the title 2019-10-23 10:26:21 -06:00
Andreas Hocevar
ebae0386bd Merge pull request #10172 from ahocevar/apidoc-geometry-inherited
Ensure inherited docs are shown
2019-10-23 15:40:08 +02:00
Andreas Hocevar
bf7af07657 Ensure inherited docs are shown 2019-10-23 14:40:27 +02:00
Andreas Hocevar
327fe11344 Merge pull request #10171 from mike-000/patch-1
Open default attributions links in a new tab or window
2019-10-23 13:48:05 +02:00
Andreas Hocevar
319efedb14 Merge pull request #10047 from KaiVolland/apidoc-changes
Apidoc changes
2019-10-23 13:41:03 +02:00
Andreas Hocevar
4fe16d0281 Tidy up navigation 2019-10-23 13:26:56 +02:00
mike-000
ce8b63a67e Open default attributions links in new tab/window 2019-10-23 12:10:55 +01:00
mike-000
6b25f713cd Open default attributions links in new tab/window 2019-10-23 12:08:40 +01:00
mike-000
4b79818797 Open default attributions links in new tab/window 2019-10-23 12:03:01 +01:00
Andreas Hocevar
062614388c Merge pull request #10161 from ahocevar/vectorimage-getfeatures
Implement getFeatures() for ol/layer/VectorImage
2019-10-23 11:26:08 +02:00
Olivier Guyot
8c5be52462 Merge pull request #10168 from jahow/webgl-style-add-filter
Webgl / Add support for filtering and color interpolation in style expressions
2019-10-23 09:45:16 +02:00
Frédéric Junod
b6d694050e Merge pull request #10170 from openlayers/select-feature_html
Add back html from select-features example
2019-10-23 09:24:43 +02:00
Olivier Guyot
fc555241ea ShaderBuilder / simplify check/parse code a bit 2019-10-23 09:22:12 +02:00
Frederic Junod
33b0f88771 Add back html from select-features example
The example was removed and added back in 38124d770b but the html file was missing
2019-10-23 09:03:19 +02:00
Olivier Guyot
1fe5a68e16 Fix the triangles style in the wbegl-points-layer example 2019-10-22 23:27:26 +02:00
Olivier Guyot
948003ff27 Rewrite to filter-points-webgl example to use a Webgl points layer
The demonstrated features have been recreated using a literal
style (filtering, pulse animation).
2019-10-22 23:17:00 +02:00
Olivier Guyot
d837166a1b Literal Style / add new math operators 2019-10-22 23:17:00 +02:00
Olivier Guyot
c659c05de8 ShaderBuilder / fix stretch operator GLSL expression 2019-10-22 23:17:00 +02:00
Olivier Guyot
485ade42b5 Literal Style / add support for color interpolation 2019-10-22 23:17:00 +02:00
Olivier Guyot
85c3aae454 ShaderBuilder / add support for color interpolation in parse 2019-10-22 23:17:00 +02:00
Olivier Guyot
a29fc016f5 ShaderBuilder / formatColor/Array utilities now output vecX(...) 2019-10-22 23:17:00 +02:00
Olivier Guyot
19eadaea24 Shader Builder / add type checking in expressions parsing
All expressions will now be type checked before actually being parsed.
2019-10-22 23:17:00 +02:00
Olivier Guyot
b8e8d30df0 Shader Builder / add utilities for checking an expression type
Type checking is done either against a literal value (number, string...)
or against the operator in case of an expression.

Sometimes it is not possible to infer only one type, for example
the value 'transparent' could either be a color or a string. This
is covered by the fact that all operators expect exactly one type
for their arguments.
2019-10-22 23:17:00 +02:00
Olivier Guyot
f43637cc33 Shader Builder / support strings in formatColor 2019-10-22 23:17:00 +02:00
Olivier Guyot
56faf4c3ad Color / add an isStringColor utility function 2019-10-22 23:17:30 +02:00
Olivier Guyot
a0b271a812 Literal Style / add support for variables in the style
These variables are accessed using the `var` operator, and are meant
to be mutated directly in the style object. When doing so,
the new value will always be used for the render.

This is intended to be used for modifying the style through external
parameters such as an input field, a slider, mouse position etc.
2019-10-22 23:17:00 +02:00
Olivier Guyot
a1c00744d1 Webgl points renderer / throw if shader compilation fails
This should only happen if providing handcrafted shaders to the renderer.
2019-10-22 23:17:00 +02:00
Olivier Guyot
94b8cf6af3 Webgl / add support for a time operator in literal styles
This required adding `u_time` as one of the default uniforms provided by the
webgl helper.
2019-10-22 23:17:23 +02:00
Olivier Guyot
0c0c8c5d56 Literal Style / add support for a filter property 2019-10-22 23:17:00 +02:00
Andreas Hocevar
fef4d4e9b7 Merge pull request #10093 from mike-000/patch-3
Set label text for Graticule option styles
2019-10-22 15:23:01 +02:00
Tim Schaub
8e4fbe3e74 Merge pull request #10160 from ejn/minor/improve-test-10158
Improve test in case of async call
2019-10-22 07:06:36 -06:00
mike-000
110c17cf9e Remove label style caches 2019-10-22 12:04:06 +01:00
Olivier Guyot
e38250ee14 ShaderBuilder / add fragment discard expression in shader params 2019-10-22 11:39:30 +02:00
Andreas Hocevar
39012a58f8 Implement getFeatures() for ol/layer/VectorImage 2019-10-22 11:27:26 +02:00
Olivier Guyot
7b66b294a8 ShaderBuilder / attempt to clarify the way attributes are handled in parseSymbolStyle 2019-10-22 11:18:39 +02:00
Olivier Guyot
9ee93cd2cf ShaderBuilder / refactoring to use an actual builder pattern
There is now a ShaderBuilder class with chainable methods
to specify more easily the contents of the final shaders.
This is to avoid passing around large objects to different functions,
and allow for a richer API.

The documentation has also been corrected and clarified.
2019-10-22 11:12:06 +02:00
Edward Nash
ed18310136 Improve test in case of async call 2019-10-22 10:21:52 +02:00
Andreas Hocevar
a3c137cff1 Merge pull request #10159 from ejn/bugfix/10158-target-name-collision
Fix target name collision in event.Target and Control
2019-10-22 09:53:19 +02:00
Edward Nash
9eb4816b27 Fix property name collision target_ with Control
* As described in #10158, Control uses the property target_ for
   a custom parent HTMLElement, leading to Events on the Control being
   dispatched with that as the target and not the Control itself.

 * Solved by renaming the target_ property on Target to eventTarget_
2019-10-22 09:37:05 +02:00
Edward Nash
ee653a8e0d Add regression test for event target on Control
* Check possible name collision of target element with EventTarget
2019-10-22 09:37:05 +02:00
mike-000
7edd10d66f Test that label text is set in styles 2019-10-21 16:00:54 +01:00
Frédéric Junod
e0cab3d3ba Merge pull request #10157 from openlayers/dependabot/npm_and_yarn/karma-coverage-istanbul-reporter-2.1.0
Bump karma-coverage-istanbul-reporter from 2.0.5 to 2.1.0
2019-10-21 16:01:30 +02:00
Frédéric Junod
34ed3c684e Merge pull request #10155 from openlayers/dependabot/npm_and_yarn/types/pbf-3.0.2
Bump @types/pbf from 3.0.1 to 3.0.2
2019-10-21 15:42:55 +02:00
Frédéric Junod
d0811ea286 Merge pull request #10153 from openlayers/dependabot/npm_and_yarn/yargs-14.2.0
Bump yargs from 14.0.0 to 14.2.0
2019-10-21 15:42:37 +02:00
Frédéric Junod
54c5330203 Merge pull request #10154 from openlayers/dependabot/npm_and_yarn/babel/core-7.6.4
Bump @babel/core from 7.4.4 to 7.6.4
2019-10-21 15:42:03 +02:00
dependabot-preview[bot]
09768c6634 Bump karma-coverage-istanbul-reporter from 2.0.5 to 2.1.0
Bumps [karma-coverage-istanbul-reporter](https://github.com/mattlewis92/karma-coverage-istanbul-reporter) from 2.0.5 to 2.1.0.
- [Release notes](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/releases)
- [Changelog](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mattlewis92/karma-coverage-istanbul-reporter/compare/v2.0.5...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 13:33:34 +00:00
dependabot-preview[bot]
dfdb498d0d Bump @types/pbf from 3.0.1 to 3.0.2
Bumps [@types/pbf](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pbf) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pbf)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 13:32:16 +00:00
dependabot-preview[bot]
d1aec83ca2 Bump @babel/core from 7.4.4 to 7.6.4
Bumps [@babel/core](https://github.com/babel/babel) from 7.4.4 to 7.6.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.4.4...v7.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 13:31:44 +00:00
dependabot-preview[bot]
2937513cb3 Bump yargs from 14.0.0 to 14.2.0
Bumps [yargs](https://github.com/yargs/yargs) from 14.0.0 to 14.2.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v14.0.0...v14.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 13:31:06 +00:00
Frédéric Junod
b46e985af0 Merge pull request #10151 from openlayers/dependabot/npm_and_yarn/rollup-plugin-babel-4.3.3
Bump rollup-plugin-babel from 4.3.2 to 4.3.3
2019-10-21 15:05:07 +02:00
dependabot-preview[bot]
e50662f0a1 Bump rollup-plugin-babel from 4.3.2 to 4.3.3
Bumps [rollup-plugin-babel](https://github.com/rollup/rollup-plugin-babel) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/rollup/rollup-plugin-babel/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup-plugin-babel/compare/v4.3.2...v4.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 12:22:12 +00:00
Frédéric Junod
bcdb191de2 Merge pull request #10148 from openlayers/dependabot/npm_and_yarn/rollup-plugin-node-resolve-5.2.0
Bump rollup-plugin-node-resolve from 5.0.0 to 5.2.0
2019-10-21 14:19:56 +02:00
dependabot-preview[bot]
775bf82631 Bump rollup-plugin-node-resolve from 5.0.0 to 5.2.0
Bumps [rollup-plugin-node-resolve](https://github.com/rollup/rollup-plugin-node-resolve) from 5.0.0 to 5.2.0.
- [Release notes](https://github.com/rollup/rollup-plugin-node-resolve/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-node-resolve/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup-plugin-node-resolve/compare/v5.0.0...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 12:06:29 +00:00
Frédéric Junod
fc9123947d Merge pull request #10150 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-5.0.4
Bump copy-webpack-plugin from 5.0.3 to 5.0.4
2019-10-21 14:06:22 +02:00
Frédéric Junod
636c65da69 Merge pull request #10149 from openlayers/dependabot/npm_and_yarn/rbush-3.0.1
Bump rbush from 3.0.0 to 3.0.1
2019-10-21 14:05:08 +02:00
Frédéric Junod
adcbd0bb50 Merge pull request #10147 from openlayers/dependabot/npm_and_yarn/rollup-1.25.1
Bump rollup from 1.12.0 to 1.25.1
2019-10-21 14:04:18 +02:00
dependabot-preview[bot]
89c0eaef8d Bump copy-webpack-plugin from 5.0.3 to 5.0.4
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 5.0.3 to 5.0.4.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.3...v5.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 11:55:42 +00:00
dependabot-preview[bot]
889eef66c1 Bump rbush from 3.0.0 to 3.0.1
Bumps [rbush](https://github.com/mourner/rbush) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/mourner/rbush/releases)
- [Commits](https://github.com/mourner/rbush/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 11:55:03 +00:00
dependabot-preview[bot]
de851e9b29 Bump rollup from 1.12.0 to 1.25.1
Bumps [rollup](https://github.com/rollup/rollup) from 1.12.0 to 1.25.1.
- [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/v1.12.0...v1.25.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 11:53:47 +00:00
Andreas Hocevar
cb6b716b98 Merge pull request #10145 from openlayers/greenkeeper/handlebars-4.4.5
Greenkeeper/handlebars 4.4.5
2019-10-21 12:02:35 +02:00
greenkeeper[bot]
2980a0a168 chore(package): update lockfile package-lock.json 2019-10-20 21:11:28 +00:00
greenkeeper[bot]
829aac1860 chore(package): update handlebars to version 4.4.5
Closes #10081
2019-10-20 21:11:23 +00:00
Andreas Hocevar
3d351a53e6 Merge pull request #10142 from ahocevar/fix-tilechange-events
Fix tilechange events
2019-10-19 09:06:12 +02:00
Tim Schaub
a0ceebfb2f Merge pull request #10132 from openlayers/greenkeeper/webpack-4.41.2
Update webpack to the latest version 🚀
2019-10-18 21:46:42 -06:00
Tim Schaub
a9d93fe151 Merge pull request #10143 from openlayers/greenkeeper/mocha-6.2.2
Update mocha to the latest version 🚀
2019-10-18 21:46:17 -06:00
greenkeeper[bot]
b4257779f1 chore(package): update lockfile package-lock.json 2019-10-18 21:17:40 +00:00
greenkeeper[bot]
0f3778ce00 chore(package): update mocha to version 6.2.2 2019-10-18 21:17:31 +00:00
Andreas Hocevar
36a366bfeb Do not stop event propagation in prepareTile 2019-10-18 20:50:01 +02:00
Olivier Guyot
95bcb574b7 Merge pull request #10138 from wirdehall/master
Should be able to ovveride defaultvalue of style in selection.
2019-10-18 09:57:55 +02:00
wirdehall
bd5510b62a Updated docs for Select style.
Updated docs for Select style with new option of false.
2019-10-18 00:20:05 +02:00
wirdehall
a34e7ddd99 Should be able to ovveride defaultvalue of style in selection.
null or false should be able to prevent overriding the style.
As discussed here: https://github.com/openlayers/openlayers/issues/10131
2019-10-17 15:05:30 +02:00
Tim Schaub
1de0d09acb Merge pull request #10135 from mike-000/patch-1
Revise the description of applyTransform for geometries
2019-10-16 12:54:32 -06:00
mike-000
2b1417df3f Revise the description of applyTransform
Revise the description of applyTransform and transformFn (loosely based on that used in ol/extent) to avoid any misunderstanding that the function is called inside a forEach method.
2019-10-16 13:59:38 +01:00
Andreas Hocevar
cfac31799b Merge pull request #10133 from ahocevar/unlisten-source-change
Properly unregister source tile change listeners
2019-10-15 23:16:18 +02:00
Andreas Hocevar
61fc71c30f Properly unregister source tile change listeners 2019-10-15 21:23:37 +02:00
greenkeeper[bot]
9f3052211b chore(package): update lockfile package-lock.json 2019-10-15 13:46:36 +00:00
greenkeeper[bot]
4450981b0d chore(package): update webpack to version 4.41.2 2019-10-15 13:46:30 +00:00
Andreas Hocevar
54884314ee Merge pull request #10094 from ahocevar/immediate-hitdetection
New Layer#getFeatures method with fast hit detection
2019-10-14 22:21:08 +02:00
Frédéric Junod
a75ea2cc6b Merge pull request #10117 from openlayers/greenkeeper/pbf-3.2.1
Update pbf to the latest version 🚀
2019-10-14 15:35:22 +02:00
Frédéric Junod
aba93e7b9c Merge pull request #10104 from openlayers/attribution_font_size
Remove font sizing from the attribution control
2019-10-14 15:28:02 +02:00
Andreas Hocevar
90d6a6f441 Move hit detection to its own module 2019-10-14 14:40:06 +02:00
Andreas Hocevar
7454df0c2f Resolve empty when tile not loaded yet 2019-10-14 14:13:57 +02:00
Frederic Junod
a126702e95 Add back max-width for the attribution control in examples 2019-10-14 09:24:18 +02:00
Tim Schaub
dd788b406c Merge pull request #10114 from openlayers/greenkeeper/coveralls-3.0.7
Update coveralls to the latest version 🚀
2019-10-13 08:02:53 -06:00
Tim Schaub
c97a26ae26 Merge pull request #10116 from openlayers/greenkeeper/webpack-4.41.1
Update webpack to the latest version 🚀
2019-10-13 08:02:06 -06:00
mike-000
937f7f613e Resolve constraints using anchor
Resolve constraints using anchor if view state is the result of cancelling an animation with anchor
2019-10-12 21:13:34 +01:00
Tim Schaub
f475387d39 Merge pull request #10108 from notnotse/issue/9814-fix-documentation-for-handlemoveevent
Fix documentation for handleMoveEvent
2019-10-12 08:14:39 -06:00
Tim Schaub
5af4dfa623 Merge pull request #10118 from mike-000/patch-7
Document the OSM crossOrigin default
2019-10-12 08:13:17 -06:00
Andreas Hocevar
e3666f18da Merge pull request #10112 from ahocevar/rendertile-no-error
No ERROR state for render tiles
2019-10-11 21:52:12 +02:00
mike-000
046b78cca7 Document the OSM crossOrigin default 2019-10-11 18:16:19 +01:00
greenkeeper[bot]
b349058c58 chore(package): update lockfile package-lock.json 2019-10-11 14:50:07 +00:00
greenkeeper[bot]
8a53947f44 fix(package): update pbf to version 3.2.1 2019-10-11 14:50:02 +00:00
Olivier Guyot
9acba8f82a Merge pull request #10115 from jahow/improve-heatmap-test
Improve Heatmap hit detection test
2019-10-11 16:40:07 +02:00
Andreas Hocevar
0cb9d73848 No ERROR state for render tiles 2019-10-11 14:58:22 +02:00
greenkeeper[bot]
7069e2688d chore(package): update lockfile package-lock.json 2019-10-11 12:26:52 +00:00
greenkeeper[bot]
0c72fce1ff chore(package): update webpack to version 4.41.1 2019-10-11 12:26:47 +00:00
Olivier Guyot
87414256e2 Heatmap / use worker events instead of timeout for test 2019-10-11 14:06:27 +02:00
greenkeeper[bot]
9e7e15ed5c chore(package): update lockfile package-lock.json 2019-10-10 23:19:36 +00:00
greenkeeper[bot]
68850c7ddc chore(package): update coveralls to version 3.0.7 2019-10-10 23:19:29 +00:00
Frédéric Junod
f277206631 Merge pull request #10111 from mike-000/patch-6
Correct the defaulting of ol/source/VectorTile maxZoom
2019-10-10 16:05:51 +02:00
mike-000
2a2cc40d42 Correct the defaulting of maxZoom
Only default if undefined as maxZoom: 0 should be valid as it is for all other tile sources
2019-10-10 14:08:10 +01:00
Bobo Häggström
395b59c01e Fix documentation for handleMoveEvent
This fixes #9814
2019-10-10 10:40:47 +02:00
Frédéric Junod
58b4b6eeea Merge pull request #10102 from KlausBenndorf/type-fixes
Cosmetic type fixes
2019-10-10 09:43:53 +02:00
Simon Seyock
5b1106ac23 some type corrections 2019-10-10 09:07:35 +02:00
Frédéric Junod
2483fbd26b Merge pull request #10107 from mike-000/patch-5
Update Vector Tile Info example test for no features
2019-10-10 08:47:40 +02:00
Frédéric Junod
736ef88473 Merge pull request #10097 from fredj/text-align
Align layer canvas to the left
2019-10-10 08:31:36 +02:00
Andreas Hocevar
873999ec7d Merge pull request #10105 from openlayers/greenkeeper/jsdoc-plugin-typescript-2.0.4
Update jsdoc-plugin-typescript to the latest version 🚀
2019-10-09 20:19:51 +02:00
mike-000
cbf0ecfd75 Update test for no features 2019-10-09 18:25:04 +01:00
Frederic Junod
97ded06ee4 Remove attribution control custom style in examples 2019-10-09 16:48:19 +02:00
greenkeeper[bot]
782ff6e9f5 chore(package): update lockfile package-lock.json 2019-10-09 14:45:37 +00:00
greenkeeper[bot]
dc2137b622 chore(package): update jsdoc-plugin-typescript to version 2.0.4 2019-10-09 14:45:32 +00:00
Frederic Junod
c5eb80e610 Remove font sizing from the attribution control 2019-10-09 14:19:24 +02:00
Olivier Guyot
d1ee300968 Merge pull request #10101 from jahow/add-heatmap-hit-detection
Add hit detection support on the Heatmap layer
2019-10-08 14:45:53 +02:00
Olivier Guyot
b44a6ab26a Heatmap / add hit detection shaders 2019-10-08 13:27:31 +02:00
Kai Volland
3cb0aae796 Removes modulelink 2019-10-08 10:12:29 +02:00
Kai Volland
490bef8d40 Readds modules without classes to navigation 2019-10-08 10:12:12 +02:00
Andreas Hocevar
f477fc18f2 Add tests 2019-10-08 08:23:38 +02:00
Andreas Hocevar
3c243b0236 getFeature() for VectorTile layer 2019-10-08 08:23:38 +02:00
Andreas Hocevar
e9785317eb Move hit detection code to Immediate.js 2019-10-08 08:23:38 +02:00
Andreas Hocevar
315695eeb8 New Layer#getFeatures method with fast hit detection for VectorLayer 2019-10-08 08:23:38 +02:00
Frederic Junod
f20db28901 Align layer canvas to the left
So that the position is not affected by the `text-align` css rule.
2019-10-07 13:48:32 +02:00
Frederic Junod
2ce14a50a1 Add a rendering test case for text-align css property 2019-10-07 13:25:04 +02:00
Andreas Hocevar
057cc92716 Merge pull request #10087 from petrsloup/vector-tiles-4326-example
Add example showing vector tiles in EPSG:4326
2019-10-07 10:07:30 +02:00
Kai Volland
5786121cd5 Adapts linktext to module 2019-10-07 09:50:14 +02:00
mike-000
b727e4f45e Set label text for option styles
Set label text for lonLabelStyle and latLabelStyle options
2019-10-04 22:00:20 +01:00
Andreas Hocevar
fb9673465a Simpler way to use EPSG:4326 as projection 2019-10-04 14:07:13 +02:00
Andreas Hocevar
babdce4819 Merge pull request #10086 from petrsloup/update-mapbox-style-example
Update mapbox-style example
2019-10-03 20:39:47 +02:00
Petr Sloup
684e305bc8 Minor mapbox-style example docs update 2019-10-03 19:16:19 +02:00
Olivier Guyot
deb541791a Merge pull request #10083 from MoonE/example-webgl
webgl points layer example fixes
2019-10-03 17:43:22 +02:00
Maximilian Krög
db49842f63 Display error message instead of 'style not valid yet...' 2019-10-03 17:06:39 +02:00
Maximilian Krög
8fe8302dc2 Remove duplicate type definition for style 2019-10-03 15:45:35 +02:00
Maximilian Krög
b1a9f765fc Parse the style in the constructor.
This detects errors earlier and allows the caller to handle the thrown exception.
Remove assertion 65 as it should no longer be needed.
2019-10-03 14:36:48 +02:00
Petr Sloup
db583be0f9 Add example showing vector tiles in EPSG:4326 2019-10-03 13:00:47 +02:00
Maximilian Krög
d0cd1064ff Also check predefined styles for validity. 2019-10-03 03:02:58 +02:00
Maximilian Krög
b4a996e760 Catch errors in style definition
Do not replace the layer if the style is invalid.
Thrown errors are caught and the layer will not be changed.
2019-10-03 01:59:42 +02:00
Maximilian Krög
dee114d4c4 Guard against JSON.parse errors.
Also show successful style parse status after a style error was corrected
but it is the same style as previously.
2019-10-03 01:59:42 +02:00
Maximilian Krög
db34a338d6 Reset status message when selecting from select element. 2019-10-03 01:59:21 +02:00
Maximilian Krög
0eac5007e8 Reserve the height for the style parse messages. 2019-10-03 01:59:00 +02:00
Maximilian Krög
c1921a6b16 Preselect the 'circles' style in the select input
The text in the editor element already is from the circles style..
2019-10-03 01:57:49 +02:00
Maximilian Krög
dc28590cff Remove invalid option from style select
When this option was selected the text field contained 'undefined'
as it is not one of the predefined styles.
2019-10-03 01:48:45 +02:00
Frédéric Junod
3ab32ff744 Merge pull request #10076 from fredj/rm_typecast
Remove unnecessary typecast
2019-10-02 14:57:55 +02:00
Frederic Junod
daaaff5ac7 Remove unnecessary typecast
Remove typecast where typescript is able to correctly deduce the type.
2019-10-02 10:44:06 +02:00
Tim Schaub
fa0258a323 Merge pull request #10074 from mike-000/patch-2
Remove offsets from mouse position calculation
2019-10-01 09:29:47 -06:00
mike-000
4f83392b76 Remove offsets from mouse position calculation
and remove space
2019-10-01 15:55:30 +01:00
mike-000
8a04f5059d Remove offsets from mouse position calculation
Fixes #10073

Remove unneeded offsets from mouse position calculation as box position was centered in #9919
2019-10-01 15:47:36 +01:00
Frédéric Junod
92f70c225f Merge pull request #10072 from fredj/better_typing
Better typing
2019-10-01 15:27:27 +02:00
Frederic Junod
41b7893523 Mark properties as nullable 2019-10-01 10:47:07 +02:00
Frederic Junod
89becd4c6d Remove unused variables 2019-10-01 08:34:00 +02:00
Tim Schaub
7eb60fae23 Merge pull request #10070 from openlayers/release-v6.0.1
Changes for 6.0.1
2019-09-30 12:44:56 -06:00
Kai Volland
d08c0baff9 Introduces apidoc changes
- Removes modules from the apidoc navigation
- Adds a weight paramater to the search to be
more accurate on searchresults
2019-09-27 17:25:01 +02:00
Kai Volland
b045e4ee5b Removes unused *.less files 2019-09-27 17:19:19 +02:00
1088 changed files with 90440 additions and 42515 deletions

View File

@@ -1,52 +0,0 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:latest-browsers
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- v1-dependencies-
- run:
name: Install Dependencies
command: npm install
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}
- run:
name: Run Tests
command: npm test
- store_artifacts:
path: coverage/
destination: coverage
- store_artifacts:
path: rendering/cases/
destination: rendering
- run:
name: Build Examples
command: npm run build-examples
- store_artifacts:
path: build/examples
destination: examples
- run:
name: Build API Docs
command: npm run apidoc
- store_artifacts:
path: build/apidoc
destination: apidoc

7
.dependabot/config.yml Normal file
View File

@@ -0,0 +1,7 @@
# See https://dependabot.com/docs/config-file/
version: 1
update_configs:
- package_manager: "javascript"
directory: "/"
update_schedule: "weekly"
version_requirement_updates: "increase_versions_if_necessary"

4
.github/codeql/config.yml vendored Normal file
View File

@@ -0,0 +1,4 @@
name: "OpenLayers CodeQL Config"
paths:
- src

2
.github/stale.yml vendored
View File

@@ -8,6 +8,8 @@ exemptLabels:
- regression - regression
- bug - bug
- 'pull request accepted' - 'pull request accepted'
# Issues assigned to a milestone will not go stale
exemptMilestones: true
# Label to use when marking an issue as stale # Label to use when marking an issue as stale
staleLabel: stale staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable # Comment to post when marking an issue as stale. Set to `false` to disable

View File

@@ -3,7 +3,7 @@ name: Publish
on: on:
push: push:
branches: branches:
- master - main
jobs: jobs:
publish-npm: publish-npm:

40
.github/workflows/security.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: "Security Scan"
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0' # At 00:00 on Sunday
jobs:
codeql:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# Must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head of the pull request.
# Only include this option if you are running this workflow on pull requests.
fetch-depth: 2
# If this run was triggered by a pull request event then checkout
# the head of the pull request instead of the merge commit.
# Only include this step if you are running this workflow on pull requests.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
config-file: ./.github/codeql/config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

140
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,140 @@
name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CI: true
jobs:
pretest:
name: Pre-Test (Node ${{ matrix.node }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Determine Cache Directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Configure Job Cache
uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run pretest
spec:
name: Spec (Node ${{ matrix.node }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Determine Cache Directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Configure Job Cache
uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run test-spec
rendering:
name: Rendering (Node ${{ matrix.node }} / ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- 14
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: Set Node.js Version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Determine Cache Directory
id: npm-cache
run: |
echo "::set-output name=dir::$(npm config get cache)"
- name: Configure Job Cache
uses: actions/cache@v1
with:
path: ${{ steps.npm-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: npm ci
- name: Run Tests
run: npm run test-rendering
- name: Store Rendering Test Artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: rendering-tests
path: rendering/cases/**/actual.png

76
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at openlayers-psc@lists.osgeo.org. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

View File

@@ -1,6 +1,6 @@
# Contributing to OpenLayers # Contributing to OpenLayers
Thanks for your interest in contributing to OpenLayers. Thanks for your interest in contributing to OpenLayers. Please see the project's [Code of Conduct](https://github.com/openlayers/openlayers/blob/main/CODE_OF_CONDUCT.md) before proceeding.
## Asking Questions ## Asking Questions
@@ -21,7 +21,7 @@ Look for `readme.md` files! Several directories contain a `readme.md` file that
## Contributing Code ## Contributing Code
See [`DEVELOPING.md`](https://github.com/openlayers/openlayers/blob/master/DEVELOPING.md) to learn how to get started developing. See [`DEVELOPING.md`](https://github.com/openlayers/openlayers/blob/main/DEVELOPING.md) to learn how to get started developing.
Our preferred means of receiving contributions is through [pull requests](https://help.github.com/articles/using-pull-requests). Make sure Our preferred means of receiving contributions is through [pull requests](https://help.github.com/articles/using-pull-requests). Make sure
that your pull request follows our pull request guidelines below before submitting it. that your pull request follows our pull request guidelines below before submitting it.
@@ -31,7 +31,7 @@ This page describes what you need to know to contribute code to OpenLayers as a
## Contributor License Agreement ## Contributor License Agreement
Your contribution will be under our [license](https://raw.githubusercontent.com/openlayers/openlayers/master/LICENSE.md) as per [GitHub's terms of service](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license). Your contribution will be under our [license](https://raw.githubusercontent.com/openlayers/openlayers/main/LICENSE.md) as per [GitHub's terms of service](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license).
## Pull request guidelines ## Pull request guidelines
@@ -42,8 +42,7 @@ Your pull request must:
* Follow OpenLayers's coding style. * Follow OpenLayers's coding style.
* Pass the integration tests run automatically by the CircleCI Continuous * Pass the integration tests run automatically by the Continuous Integration system.
Integration system.
* Address a single issue or add a single item of functionality. * Address a single issue or add a single item of functionality.
@@ -104,7 +103,7 @@ Please keep the header line short, no more than 50 characters.
### Be possible to merge automatically ### Be possible to merge automatically
Occasionally other changes to `master` might mean that your pull request cannot Occasionally other changes to `main` might mean that your pull request cannot
be merged automatically. In this case you may need to rebase your branch on a be merged automatically. In this case you may need to rebase your branch on a
more recent `master`, resolve any conflicts, and `git push --force` to update more recent `main`, resolve any conflicts, and `git push --force` to update
your branch so that it can be merged automatically. your branch so that it can be merged automatically.

View File

@@ -5,12 +5,6 @@
You will obviously start by You will obviously start by
[forking](https://github.com/openlayers/openlayers/fork) the OpenLayers repository. [forking](https://github.com/openlayers/openlayers/fork) the OpenLayers repository.
### CircleCI
The CircleCI hook is enabled on the Github repository. This means every pull request
is run through a full test suite to ensure it compiles and passes the tests. Failing
pull requests will not be merged.
### Development dependencies ### Development dependencies
The minimum requirements are: The minimum requirements are:

View File

@@ -41,14 +41,28 @@ See the following examples for more detail on bundling OpenLayers with your appl
* Using [Parcel](https://github.com/openlayers/ol-parcel) * Using [Parcel](https://github.com/openlayers/ol-parcel)
* Using [Browserify](https://github.com/openlayers/ol-browserify) * Using [Browserify](https://github.com/openlayers/ol-browserify)
## Sponsors
OpenLayers appreciates contributions of all kinds. We especially want to thank our fiscal sponsors who contribute to ongoing project maintenance.
![Pozi logo](./sponsor-logos/pozi.png)
> Pozi helps connect communities through spatial thinking.
> We love Openlayers and it forms a core part of our platform.
> https://pozi.com/ https://app.pozi.com/
See our [Open Collective](https://opencollective.com/openlayers/contribute/sponsors-214/checkout) page if you too are interested in becoming a regular sponsor.
## IntelliSense support and type checking for VS Code ## IntelliSense support and type checking for VS Code
The `ol` package contains a `src/` folder with JSDoc annotated sources. TypeScript can get type definitions from these sources with a `jsconfig.json` config file in the project root: The ol package contains a src/ folder with JSDoc annotated sources. TypeScript can get type definitions from these sources with a [`jsconfig.json`](https://gist.github.com/ahocevar/9a7253cb4712e8bf38d75d8ac898e36c#file-jsconfig-json) (when authoring in JavaScript) or [`tsconfig.json`](https://gist.github.com/ahocevar/ad7b52a2fa0f6c5495193cd695ab3780#file-tsconfig-json) (when authoring in TypeScript) config file in the project root:
```js
<details><summary>jsconfig.json</summary>
```json
{ {
"compilerOptions": { "compilerOptions": {
"checkJs": true, "checkJs": true,
// Point to the JSDoc typed sources when using modules from the ol package
"baseUrl": "./", "baseUrl": "./",
"paths": { "paths": {
"ol": ["node_modules/ol/src"], "ol": ["node_modules/ol/src"],
@@ -58,16 +72,52 @@ The `ol` package contains a `src/` folder with JSDoc annotated sources. TypeScri
"include": [ "include": [
"**/*.js", "**/*.js",
"node_modules/ol/**/*.js" "node_modules/ol/**/*.js"
] ],
"typeAcquisition": {
"exclude": ["ol"]
}
} }
``` ```
Project template with this configuration: https://gist.github.com/9a7253cb4712e8bf38d75d8ac898e36c.
Note that the above only works when authoring in plain JavaScript. For similar configurations with a `tsconfig.json` in TypeScript projects, your mileage may vary. </details>
<details><summary>tsconfig.json</summary>
```json
{
"compilerOptions": {
"allowJs": true,
"baseUrl": "./",
"paths": {
"ol": ["node_modules/ol/src"],
"ol/*": ["node_modules/ol/src/*"]
}
},
"include": [
"**/*.ts",
"node_modules/ol/**/*"
],
"typeAcquisition": {
"exclude": ["ol"]
}
}
```
</details>
TypeScript users may want to use a [third-party types package](https://github.com/hanreev/types-ol) instead.
## Supported Browsers ## Supported Browsers
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](http://polyfill.io) for `requestAnimationFrame` and `Element.prototype.classList` are required, and using the KML format requires a polyfill for `URL`. OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge.
For older browsers and platforms (Internet Explorer, Android 4.x, iOS v12 and older, Safari v12 and older), polyfills may be needed for the following browser features:
* [`fetch`](https://caniuse.com/#feat=fetch): Available from [polyfill.io](https://polyfill.io/).
* [`requestAnimationFrame`](https://caniuse.com/#feat=requestanimationframe): Available from [polyfill.io](https://polyfill.io/).
* [`element.prototype.classList` (`add`/`remove`)](https://caniuse.com/#feat=classlist): Available from [polyfill.io](https://polyfill.io/).
* [`URL` API](https://caniuse.com/#feat=url): Available from [polyfill.io](https://polyfill.io/).
* [`TextDecoder`](https://caniuse.com/#feat=textencoder): Available from [polyfill.io](https://polyfill.io/).
* [Pointer events](https://caniuse.com/#feat=pointer): Use [elm-pep](https://npmjs.com/package/elm-pep) (lightweight) or [pepjs](https://npmjs.com/package/pepjs) (for really, really old browsers).
## Documentation ## Documentation
@@ -86,4 +136,4 @@ Please see our guide on [contributing](CONTRIBUTING.md) if you're interested in
- Need help? Find it on [Stack Overflow using the tag 'openlayers'](http://stackoverflow.com/questions/tagged/openlayers) - Need help? Find it on [Stack Overflow using the tag 'openlayers'](http://stackoverflow.com/questions/tagged/openlayers)
- Follow [@openlayers](https://twitter.com/openlayers) on Twitter - Follow [@openlayers](https://twitter.com/openlayers) on Twitter
[![CircleCI](https://circleci.com/gh/openlayers/openlayers/tree/master.svg?style=svg)](https://circleci.com/gh/openlayers/openlayers/tree/master) ![Test Status](https://github.com/openlayers/openlayers/workflows/Test/badge.svg)

View File

@@ -1,5 +1,46 @@
## Upgrade notes ## Upgrade notes
### v6.5.0
#### Units of the `hitTolerance` option fixed
Previously, the `hitTolerance` option of the map's `getFeaturesAtPixel()`, `forEachFeatureAtPixel()` and `hasFeatureAtPixel()` methods behaved differently depending on the `devicePixelRatio` (or the `pixelRatio` of the map), because the original value was internally multiplied by the device pixel ratio twice instead of just once. Now this is fixed. **Note**: The `hitTolerance`'s units are css pixels. The documentation was updated to reflect this.
If your application adjusts for that with code like
```js
{ hitTolerance: 10 / devicePixelRatio, }
```
you'll have to change that code to
```js
{ hitTolerance: 10, }
```
### v6.4.0
#### Pointer events polyfill removed
Now that all major browsers support Pointer events natively, we removed the [elm-pep](https://npmjs.com/package/elm-pep) dependency. If you are targeting older browsers that do not support Pointer events, you now need to include a pointer events polyfill ([elm-pep](https://npmjs.com/package/elm-pep) or [pepjs](https://www.npmjs.com/package/@openlayers/pepjs)) in your application.
### v6.3.2
#### Backwards incompatible changes
##### Geolocation no longer stop tracking after an error
Previously, when the Geolocation class encounter an error the tracking was stopped. It now continues to track.
To get the previous behavior, use the following code:
```js
geolocation.on('error', function (error) {
geolocation.setTracking(false);
});
```
### v6.3.0
#### Vector source loading when extent crosses +/-180
Previously, when an extent crossed the date line, vector source loaders were called with an extent with 540 degrees of longitude. Now, two loader calls with the visible extent on both sides of the projection extent are issued. This should not require any application code changes, but may affect custom loaders.
### v6.0.0 ### v6.0.0
#### Backwards incompatible changes #### Backwards incompatible changes
@@ -77,7 +118,7 @@ Generally, the responsibility of applying center/rotation/resolutions constraint
##### The view `extent` option now applies to the whole viewport ##### The view `extent` option now applies to the whole viewport
Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainCenterOnly` in the view options. Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainOnlyCenter` in the view options.
As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input. As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input.
@@ -1422,7 +1463,7 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
}); });
``` ```
See https://openlayers.org/en/master/examples/vector-layer.html for a real example. See https://openlayers.org/en/latest/examples/vector-layer.html for a real example.
Note that you no longer need to set a `projection` on the source! Note that you no longer need to set a `projection` on the source!
@@ -1444,7 +1485,7 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library. The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
See https://openlayers.org/en/master/examples/igc.html for a real example. See https://openlayers.org/en/latest/examples/igc.html for a real example.
* Note about KML * Note about KML
@@ -1502,9 +1543,9 @@ now specify an `extent` instead of `widths`. These settings are used to restrict
}); });
``` ```
See https://openlayers.org/en/master/examples/vector-osm.html for a real example. See https://openlayers.org/en/latest/examples/vector-osm.html for a real example.
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See https://openlayers.org/en/master/examples/vector-osm.html for an example. * The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See https://openlayers.org/en/latest/examples/vector-osm.html for an example.
#### Change to `ol.style.Icon` #### Change to `ol.style.Icon`

View File

@@ -53,7 +53,7 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
}); });
``` ```
See https://openlayers.org/en/master/examples/vector-layer.html for a real example. See https://openlayers.org/en/latest/examples/vector-layer.html for a real example.
Note that you no longer need to set a `projection` on the source! Note that you no longer need to set a `projection` on the source!
@@ -75,7 +75,7 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library. The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
See https://openlayers.org/en/master/examples/igc.html for a real example. See https://openlayers.org/en/latest/examples/igc.html for a real example.
* Note about KML * Note about KML
@@ -133,9 +133,9 @@ The 3.5.0 release includes features and fixes from a whopping 129 pull requests
}); });
``` ```
See https://openlayers.org/en/master/examples/vector-osm.html for a real example. See https://openlayers.org/en/latest/examples/vector-osm.html for a real example.
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See https://openlayers.org/en/master/examples/vector-osm.html for an example. * The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See https://openlayers.org/en/latest/examples/vector-osm.html for an example.
### Change to `ol.style.Icon` ### Change to `ol.style.Icon`

View File

@@ -83,7 +83,7 @@ Generally, the responsibility of applying center/rotation/resolutions constraint
##### The view `extent` option now applies to the whole viewport ##### The view `extent` option now applies to the whole viewport
Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainCenterOnly` in the view options. Previously, this options only constrained the view *center*. This behaviour can still be obtained by specifying `constrainOnlyCenter` in the view options.
As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input. As a side effect, the view `rotate` method is gone and has been replaced with `adjustRotation` which takes a delta as input.

86
changelog/v6.1.0.md Normal file
View File

@@ -0,0 +1,86 @@
# 6.1.0
With 47 pull requests, this release keeps up the momentum of the v6.x effort and brings several bug fixes, performance improvements and new features. In addition to that, we added some missing documentation to our API docs and gave them some usability improvements.
## New features
* A new, performance optimized hit detection API on the layer level, `Layer#getFeatures(pixel)` has been introduced. At this point it is implemented for vector, vector tile and image vector layers, and is recommended when performance is critical, e.g. for hit detection on mouseover.
* For the WebGLPoints layer, we made several additions to the style expressions system. This includes a `case` operator, support for array and string types, and type checking.
## List of all changes
* [#10214](https://github.com/openlayers/openlayers/pull/10214) - WebGL / Add 'case' operator for style expressions ([@jahow](https://github.com/jahow))
* [#10198](https://github.com/openlayers/openlayers/pull/10198) - WebGL renderer / use the specified loading strategy for the vector data ([@jahow](https://github.com/jahow))
* [#10212](https://github.com/openlayers/openlayers/pull/10212) - Add config file for dependabot ([@fredj](https://github.com/fredj))
* [#10187](https://github.com/openlayers/openlayers/pull/10187) - Set touch-action to allow native touch gestures ([@ahocevar](https://github.com/ahocevar))
* [#10194](https://github.com/openlayers/openlayers/pull/10194) - Added check to make sure extent array has four objects. ([@MrSoUndso](https://github.com/MrSoUndso))
* [#10204](https://github.com/openlayers/openlayers/pull/10204) - Avoid scrolling over navigation ([@tschaub](https://github.com/tschaub))
* [#10205](https://github.com/openlayers/openlayers/pull/10205) - Add the default to the type column ([@tschaub](https://github.com/tschaub))
* [#10178](https://github.com/openlayers/openlayers/pull/10178) - Make ol/interaction/Select#handleEvent return always true. ([@TieSKey](https://github.com/TieSKey))
* [#10203](https://github.com/openlayers/openlayers/pull/10203) - Keep issues assigned to a milestone from going stale ([@tschaub](https://github.com/tschaub))
* [#10200](https://github.com/openlayers/openlayers/pull/10200) - Carbon add on API docs ([@tschaub](https://github.com/tschaub))
* [#10196](https://github.com/openlayers/openlayers/pull/10196) - Webgl / add support for string and arrays in style expressions ([@jahow](https://github.com/jahow))
* [#10197](https://github.com/openlayers/openlayers/pull/10197) - Restore node v8 compatibility ([@ahocevar](https://github.com/ahocevar))
* [#10195](https://github.com/openlayers/openlayers/pull/10195) - Treat hsl/hsla as named colors ([@mike-000](https://github.com/mike-000))
* [#10188](https://github.com/openlayers/openlayers/pull/10188) - Document that map render events do not have a context set ([@ahocevar](https://github.com/ahocevar))
* [#10184](https://github.com/openlayers/openlayers/pull/10184) - Clamp the weight value between 0 and 1 ([@fredj](https://github.com/fredj))
* [#10175](https://github.com/openlayers/openlayers/pull/10175) - Remove description from type tag ([@tschaub](https://github.com/tschaub))
* [#10176](https://github.com/openlayers/openlayers/pull/10176) - Avoid toggling when clicking the title ([@tschaub](https://github.com/tschaub))
* [#10172](https://github.com/openlayers/openlayers/pull/10172) - Ensure inherited docs are shown ([@ahocevar](https://github.com/ahocevar))
* [#10171](https://github.com/openlayers/openlayers/pull/10171) - Open default attributions links in a new tab or window ([@mike-000](https://github.com/mike-000))
* [#10047](https://github.com/openlayers/openlayers/pull/10047) - Apidoc changes ([@KaiVolland](https://github.com/KaiVolland))
* [#10161](https://github.com/openlayers/openlayers/pull/10161) - Implement getFeatures() for ol/layer/VectorImage ([@ahocevar](https://github.com/ahocevar))
* [#10168](https://github.com/openlayers/openlayers/pull/10168) - Webgl / Add support for filtering and color interpolation in style expressions ([@jahow](https://github.com/jahow))
* [#10170](https://github.com/openlayers/openlayers/pull/10170) - Add back html from select-features example ([@openlayers](https://github.com/openlayers))
* [#10093](https://github.com/openlayers/openlayers/pull/10093) - Set label text for Graticule option styles ([@mike-000](https://github.com/mike-000))
* [#10160](https://github.com/openlayers/openlayers/pull/10160) - Improve test in case of async call ([@ejn](https://github.com/ejn))
* [#10159](https://github.com/openlayers/openlayers/pull/10159) - Fix target name collision in event.Target and Control ([@ejn](https://github.com/ejn))
* [#10142](https://github.com/openlayers/openlayers/pull/10142) - Fix tilechange events ([@ahocevar](https://github.com/ahocevar))
* [#10138](https://github.com/openlayers/openlayers/pull/10138) - Should be able to ovveride defaultvalue of style in selection. ([@wirdehall](https://github.com/wirdehall))
* [#10135](https://github.com/openlayers/openlayers/pull/10135) - Revise the description of applyTransform for geometries ([@mike-000](https://github.com/mike-000))
* [#10133](https://github.com/openlayers/openlayers/pull/10133) - Properly unregister source tile change listeners ([@ahocevar](https://github.com/ahocevar))
* [#10094](https://github.com/openlayers/openlayers/pull/10094) - New Layer#getFeatures method with fast hit detection ([@ahocevar](https://github.com/ahocevar))
* [#10104](https://github.com/openlayers/openlayers/pull/10104) - Remove font sizing from the attribution control ([@openlayers](https://github.com/openlayers))
* [#10108](https://github.com/openlayers/openlayers/pull/10108) - Fix documentation for handleMoveEvent ([@notnotse](https://github.com/notnotse))
* [#10118](https://github.com/openlayers/openlayers/pull/10118) - Document the OSM crossOrigin default ([@mike-000](https://github.com/mike-000))
* [#10112](https://github.com/openlayers/openlayers/pull/10112) - No ERROR state for render tiles ([@ahocevar](https://github.com/ahocevar))
* [#10115](https://github.com/openlayers/openlayers/pull/10115) - Improve Heatmap hit detection test ([@jahow](https://github.com/jahow))
* [#10111](https://github.com/openlayers/openlayers/pull/10111) - Correct the defaulting of ol/source/VectorTile maxZoom ([@mike-000](https://github.com/mike-000))
* [#10102](https://github.com/openlayers/openlayers/pull/10102) - Cosmetic type fixes ([@KlausBenndorf](https://github.com/KlausBenndorf))
* [#10107](https://github.com/openlayers/openlayers/pull/10107) - Update Vector Tile Info example test for no features ([@mike-000](https://github.com/mike-000))
* [#10097](https://github.com/openlayers/openlayers/pull/10097) - Align layer canvas to the left ([@fredj](https://github.com/fredj))
* [#10101](https://github.com/openlayers/openlayers/pull/10101) - Add hit detection support on the Heatmap layer ([@jahow](https://github.com/jahow))
* [#10087](https://github.com/openlayers/openlayers/pull/10087) - Add example showing vector tiles in EPSG:4326 ([@petrsloup](https://github.com/petrsloup))
* [#10086](https://github.com/openlayers/openlayers/pull/10086) - Update mapbox-style example ([@petrsloup](https://github.com/petrsloup))
* [#10083](https://github.com/openlayers/openlayers/pull/10083) - webgl points layer example fixes ([@MoonE](https://github.com/MoonE))
* [#10076](https://github.com/openlayers/openlayers/pull/10076) - Remove unnecessary typecast ([@fredj](https://github.com/fredj))
* [#10074](https://github.com/openlayers/openlayers/pull/10074) - Remove offsets from mouse position calculation ([@mike-000](https://github.com/mike-000))
* [#10072](https://github.com/openlayers/openlayers/pull/10072) - Better typing ([@fredj](https://github.com/fredj))
<details>
<summary>Dependency Updates</summary>
* [#10208](https://github.com/openlayers/openlayers/pull/10208) - Bump pixelmatch from 5.0.2 to 5.1.0 ([@openlayers](https://github.com/openlayers))
* [#10210](https://github.com/openlayers/openlayers/pull/10210) - Bump glob from 7.1.4 to 7.1.5 ([@openlayers](https://github.com/openlayers))
* [#10209](https://github.com/openlayers/openlayers/pull/10209) - Bump karma from 4.1.0 to 4.4.1 ([@openlayers](https://github.com/openlayers))
* [#10207](https://github.com/openlayers/openlayers/pull/10207) - Bump ol-mapbox-style from 5.0.0-beta.3 to 5.0.2 ([@openlayers](https://github.com/openlayers))
* [#10157](https://github.com/openlayers/openlayers/pull/10157) - Bump karma-coverage-istanbul-reporter from 2.0.5 to 2.1.0 ([@openlayers](https://github.com/openlayers))
* [#10155](https://github.com/openlayers/openlayers/pull/10155) - Bump @types/pbf from 3.0.1 to 3.0.2 ([@openlayers](https://github.com/openlayers))
* [#10153](https://github.com/openlayers/openlayers/pull/10153) - Bump yargs from 14.0.0 to 14.2.0 ([@openlayers](https://github.com/openlayers))
* [#10154](https://github.com/openlayers/openlayers/pull/10154) - Bump @babel/core from 7.4.4 to 7.6.4 ([@openlayers](https://github.com/openlayers))
* [#10151](https://github.com/openlayers/openlayers/pull/10151) - Bump rollup-plugin-babel from 4.3.2 to 4.3.3 ([@openlayers](https://github.com/openlayers))
* [#10148](https://github.com/openlayers/openlayers/pull/10148) - Bump rollup-plugin-node-resolve from 5.0.0 to 5.2.0 ([@openlayers](https://github.com/openlayers))
* [#10150](https://github.com/openlayers/openlayers/pull/10150) - Bump copy-webpack-plugin from 5.0.3 to 5.0.4 ([@openlayers](https://github.com/openlayers))
* [#10149](https://github.com/openlayers/openlayers/pull/10149) - Bump rbush from 3.0.0 to 3.0.1 ([@openlayers](https://github.com/openlayers))
* [#10147](https://github.com/openlayers/openlayers/pull/10147) - Bump rollup from 1.12.0 to 1.25.1 ([@openlayers](https://github.com/openlayers))
* [#10145](https://github.com/openlayers/openlayers/pull/10145) - Greenkeeper/handlebars 4.4.5 ([@openlayers](https://github.com/openlayers))
* [#10132](https://github.com/openlayers/openlayers/pull/10132) - Update webpack to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
* [#10143](https://github.com/openlayers/openlayers/pull/10143) - Update mocha to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
* [#10117](https://github.com/openlayers/openlayers/pull/10117) - Update pbf to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
* [#10114](https://github.com/openlayers/openlayers/pull/10114) - Update coveralls to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
* [#10116](https://github.com/openlayers/openlayers/pull/10116) - Update webpack to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
* [#10105](https://github.com/openlayers/openlayers/pull/10105) - Update jsdoc-plugin-typescript to the latest version 🚀 ([@openlayers](https://github.com/openlayers))
</details>

17
changelog/v6.1.1.md Normal file
View File

@@ -0,0 +1,17 @@
# 6.1.1
Hot on the heels of OpenLayers 6.x, this patch release includes a few fixes for existing functionality. There should be nothing special needed to upgrade an application from 6.x to 6.1.1. See the 6.0.0 release notes for details on upgrading from an older version.
## Changes
* [#10235](https://github.com/openlayers/openlayers/pull/10235) - Various optimizations and fixes for the WebGL points renderer ([@jahow](https://github.com/jahow))
* [#10244](https://github.com/openlayers/openlayers/pull/10244) - Update to new eslint config with no-multi-assign ([@ahocevar](https://github.com/ahocevar))
* [#10243](https://github.com/openlayers/openlayers/pull/10243) - Store correct font value ([@ahocevar](https://github.com/ahocevar))
* [#10239](https://github.com/openlayers/openlayers/pull/10239) - Simpler container reuse ([@ahocevar](https://github.com/ahocevar))
* [#10237](https://github.com/openlayers/openlayers/pull/10237) - Fix layer zIndex test with falsy values ([@fredj](https://github.com/fredj))
* [#10221](https://github.com/openlayers/openlayers/pull/10221) - Fix for undefined Source ([@Kai-W](https://github.com/Kai-W))
* [#10228](https://github.com/openlayers/openlayers/pull/10228) - Use render tiles instead of source tiles for hit detection ([@ahocevar](https://github.com/ahocevar))
* [#10226](https://github.com/openlayers/openlayers/pull/10226) - ABORT reproj tiles properly ([@ahocevar](https://github.com/ahocevar))
* [#10224](https://github.com/openlayers/openlayers/pull/10224) - Vector tile hit detection fixes ([@ahocevar](https://github.com/ahocevar))
* [#10218](https://github.com/openlayers/openlayers/pull/10218) - Documentation fixes in ol/style/expressions ([@fredj](https://github.com/fredj))
* [#10216](https://github.com/openlayers/openlayers/pull/10216) - Update changelog script to recognize dependabot instead of greenkeeper ([@ahocevar](https://github.com/ahocevar))

196
changelog/v6.2.0.md Normal file
View File

@@ -0,0 +1,196 @@
# 6.2.0
With almost 90 pull requests, this release brings several new features, performance improvements and bug fixes. In addition to that, we once again improved the API documentation and the example pages.
## New features and improvements
* Mousewheel zooming now brings the same user experience as trackpad zooming. One click on the wheel no longer means a jump of a whole zoom level. Instead, depending on the speed of moving the wheel, the user has fine-grained control over zoom increments/decrements.
* Users now have better control over the initial map viewport when the aspect ratio of the map is different from a specified initial extent.
* Text rendering has been optimized for decluttering and improved for rotated views. This means lower memory footprint and no more blurry text when the map is rotated. **Note:** Whit this change, the label cache has been deprecated.
* A new `displacement` option for icon, circle and regular shape styles makes positioning of point symbolizers more flexible.
* Several improvements have been made to the KML parser for reading styles, bringing the rendered result much closer to Google Earth.
* OpenLayers is now less aggressive on stopping events and preventing event default behavior. This means that users have more control over events, making it easier to use interactive SVGs as layers and to embed maps on scrollable pages.
* Vector tile layers now have a `vector` render mode, which brings improved zooming experience for sources with not too much data.
* We replaced the previous pointer events polyfill to elm-pep, which should work better in web components.
## List of all changes
* [#10613](https://github.com/openlayers/openlayers/pull/10613) - Show KML name labels for Points in MultiGeometry ([@mike-000](https://github.com/mike-000))
* [#10632](https://github.com/openlayers/openlayers/pull/10632) - Draw interaction: Append coordinates to polygons and lines (reworked) ([@jahow](https://github.com/jahow))
* [#9565](https://github.com/openlayers/openlayers/pull/9565) - Make mousewheel zoom behave like trackpad zoom. ([@dbrnz](https://github.com/dbrnz))
* [#10580](https://github.com/openlayers/openlayers/pull/10580) - Fix KML Polystyle outline 0 conflict with Linestyle for linestrings ([@mike-000](https://github.com/mike-000))
* [#10612](https://github.com/openlayers/openlayers/pull/10612) - Make examples work in Internet Explorer ([@ahocevar](https://github.com/ahocevar))
* [#10587](https://github.com/openlayers/openlayers/pull/10587) - Adds option to View for using larger resolution value when clamping #10586 ([@jeremy-smith-maco](https://github.com/jeremy-smith-maco))
* [#10607](https://github.com/openlayers/openlayers/pull/10607) - Update elm-pep to fix builds for IE < 11 ([@ahocevar](https://github.com/ahocevar))
* [#10598](https://github.com/openlayers/openlayers/pull/10598) - Remove inheritDoc to work around JSDoc issue ([@ahocevar](https://github.com/ahocevar))
* [#10574](https://github.com/openlayers/openlayers/pull/10574) - Text rendering improvements ([@ahocevar](https://github.com/ahocevar))
* [#10591](https://github.com/openlayers/openlayers/pull/10591) - Remove obsolete license notice ([@ahocevar](https://github.com/ahocevar))
* [#10588](https://github.com/openlayers/openlayers/pull/10588) - Sort doc navigation properly and add missing modules ([@ahocevar](https://github.com/ahocevar))
* [#10581](https://github.com/openlayers/openlayers/pull/10581) - Use package-lock.json for the checksum calculation ([@DanielRuf](https://github.com/DanielRuf))
* [#10584](https://github.com/openlayers/openlayers/pull/10584) - fixed issue with version throwing an error if it is null ([@MrSoUndso](https://github.com/MrSoUndso))
* [#10575](https://github.com/openlayers/openlayers/pull/10575) - Fix ol/layer/Graticule rendercomplete problem ([@mike-000](https://github.com/mike-000))
* [#10562](https://github.com/openlayers/openlayers/pull/10562) - Zoomify: Separate the service pixel ratio and the device pixel ratio ([@crubier](https://github.com/crubier))
* [#10573](https://github.com/openlayers/openlayers/pull/10573) - Replace Bing layer with MapTiler in example ([@mike-000](https://github.com/mike-000))
* [#10570](https://github.com/openlayers/openlayers/pull/10570) - Use correct extent for the vector image ([@ahocevar](https://github.com/ahocevar))
* [#10572](https://github.com/openlayers/openlayers/pull/10572) - Assert each layer is only added to the map once ([@ahocevar](https://github.com/ahocevar))
* [#10563](https://github.com/openlayers/openlayers/pull/10563) - More compatible way of exporting a map as pdf ([@ahocevar](https://github.com/ahocevar))
* [#10545](https://github.com/openlayers/openlayers/pull/10545) - Make KML point feature styles compatible with declutter ([@mike-000](https://github.com/mike-000))
* [#10542](https://github.com/openlayers/openlayers/pull/10542) - Replace Bing layer with MapTiler in KML example ([@mike-000](https://github.com/mike-000))
* [#10543](https://github.com/openlayers/openlayers/pull/10543) - @api tag must not have a value. ([@MoonE](https://github.com/MoonE))
* [#10547](https://github.com/openlayers/openlayers/pull/10547) - Only generate module apidoc pages when it contains api tags ([@MoonE](https://github.com/MoonE))
* [#10502](https://github.com/openlayers/openlayers/pull/10502) - Stop events that originate with a removed target ([@walkermatt](https://github.com/walkermatt))
* [#10527](https://github.com/openlayers/openlayers/pull/10527) - Remove label cache, render text directly to target canvas ([@ahocevar](https://github.com/ahocevar))
* [#10534](https://github.com/openlayers/openlayers/pull/10534) - [GeoJSON] Read projection from CRS type EPSG ([@wussup](https://github.com/wussup))
* [#10430](https://github.com/openlayers/openlayers/pull/10430) - Offset regular shape ([@Razi91](https://github.com/Razi91))
* [#10513](https://github.com/openlayers/openlayers/pull/10513) - fixed flag-name in upgrade notes ([@fgubler](https://github.com/fgubler))
* [#10504](https://github.com/openlayers/openlayers/pull/10504) - Fix for reset north when rotation is 360 degrees ([@mike-000](https://github.com/mike-000))
* [#10510](https://github.com/openlayers/openlayers/pull/10510) - Remove build/apidoc before running jsdoc again ([@MoonE](https://github.com/MoonE))
* [#10498](https://github.com/openlayers/openlayers/pull/10498) - Fixing issue #10497 on behalf of LarryHuang ([@gazza0](https://github.com/gazza0))
* [#10496](https://github.com/openlayers/openlayers/pull/10496) - Do not stop events when dragging ([@ahocevar](https://github.com/ahocevar))
* [#10478](https://github.com/openlayers/openlayers/pull/10478) - Do not abort and dispose of tiles ([@ahocevar](https://github.com/ahocevar))
* [#10495](https://github.com/openlayers/openlayers/pull/10495) - typo in view.fit ([@danielklim](https://github.com/danielklim))
* [#10473](https://github.com/openlayers/openlayers/pull/10473) - Fix for undefined source in Vector layer ([@mike-000](https://github.com/mike-000))
* [#10484](https://github.com/openlayers/openlayers/pull/10484) - Use a function to get the value of the gradient ([@fredj](https://github.com/fredj))
* [#10262](https://github.com/openlayers/openlayers/pull/10262) - Rework to make Document and XMLSerializer lazy and injectable ([@bjornharrtell](https://github.com/bjornharrtell))
* [#10461](https://github.com/openlayers/openlayers/pull/10461) - Fix link in apidocs to ObjectEvent. ([@MoonE](https://github.com/MoonE))
* [#10413](https://github.com/openlayers/openlayers/pull/10413) - Limit the ZoomSlider's range to the view's constrained resolution. ([@MoonE](https://github.com/MoonE))
* [#10438](https://github.com/openlayers/openlayers/pull/10438) - Avoid accessing the DOM to read the viewport size too often ([@jahow](https://github.com/jahow))
* [#10439](https://github.com/openlayers/openlayers/pull/10439) - WebGL points layer / add support for symbol rotation ([@jahow](https://github.com/jahow))
* [#10434](https://github.com/openlayers/openlayers/pull/10434) - Disable image smoothing for the DEM source in the Sea Level example ([@mike-000](https://github.com/mike-000))
* [#10417](https://github.com/openlayers/openlayers/pull/10417) - Replace Bing layer with MapTiler ([@mike-000](https://github.com/mike-000))
* [#10415](https://github.com/openlayers/openlayers/pull/10415) - Control button span element pointer events ([@mike-000](https://github.com/mike-000))
* [#10409](https://github.com/openlayers/openlayers/pull/10409) - Improve viewport computation in WebGL Postprocessing ([@jahow](https://github.com/jahow))
* [#10119](https://github.com/openlayers/openlayers/pull/10119) - Add crossOrigin option to ol/format/KML for icons ([@mike-000](https://github.com/mike-000))
* [#10181](https://github.com/openlayers/openlayers/pull/10181) - add tags to example docs ([@roemhildtg](https://github.com/roemhildtg))
* [#10407](https://github.com/openlayers/openlayers/pull/10407) - Use render feature compatible extent check ([@ahocevar](https://github.com/ahocevar))
* [#10340](https://github.com/openlayers/openlayers/pull/10340) - Draw circles and custom geometry in user coordinates ([@mike-000](https://github.com/mike-000))
* [#10393](https://github.com/openlayers/openlayers/pull/10393) - getFeaturesInExtent function for ol/source/VectorTile ([@ahocevar](https://github.com/ahocevar))
* [#10402](https://github.com/openlayers/openlayers/pull/10402) - Do not preventDefault on pointerdown ([@ahocevar](https://github.com/ahocevar))
* [#10269](https://github.com/openlayers/openlayers/pull/10269) - Replace the BNG layer source in the Raster Reprojection example ([@mike-000](https://github.com/mike-000))
* [#10394](https://github.com/openlayers/openlayers/pull/10394) - Remove map renderer element when disposing ([@ahocevar](https://github.com/ahocevar))
* [#10391](https://github.com/openlayers/openlayers/pull/10391) - Use box-shadow css instead of filter ([@ahocevar](https://github.com/ahocevar))
* [#10392](https://github.com/openlayers/openlayers/pull/10392) - Fix interim tile handing for vector tiles ([@ahocevar](https://github.com/ahocevar))
* [#10380](https://github.com/openlayers/openlayers/pull/10380) - Adjust examples for layer canvas pixel ratio and rotation ([@mike-000](https://github.com/mike-000))
* [#10384](https://github.com/openlayers/openlayers/pull/10384) - Include Transform typedef in API ([@mike-000](https://github.com/mike-000))
* [#10385](https://github.com/openlayers/openlayers/pull/10385) - Import transpiled rbush ([@walkermatt](https://github.com/walkermatt))
* [#10363](https://github.com/openlayers/openlayers/pull/10363) - Interactive SVG layer example ([@ahocevar](https://github.com/ahocevar))
* [#10120](https://github.com/openlayers/openlayers/pull/10120) - Resolve constraints using anchor if following a cancelled animation ([@mike-000](https://github.com/mike-000))
* [#10370](https://github.com/openlayers/openlayers/pull/10370) - Replace Bing layer with MapTiler ([@mike-000](https://github.com/mike-000))
* [#10362](https://github.com/openlayers/openlayers/pull/10362) - Remove line that was accidently added with #10332 ([@ahocevar](https://github.com/ahocevar))
* [#10309](https://github.com/openlayers/openlayers/pull/10309) - Bring back vector render mode for vector tile layers ([@ahocevar](https://github.com/ahocevar))
* [#10332](https://github.com/openlayers/openlayers/pull/10332) - Conditional default prevention instead of touch-action: none ([@ahocevar](https://github.com/ahocevar))
* [#10301](https://github.com/openlayers/openlayers/pull/10301) - Create hit detection data per layer and without requestAnimationFrame ([@ahocevar](https://github.com/ahocevar))
* [#10347](https://github.com/openlayers/openlayers/pull/10347) - Set utfgrid tile as loaded after load instead of empty ([@adube](https://github.com/adube))
* [#10344](https://github.com/openlayers/openlayers/pull/10344) - Fix lazy UTFGrid loading ([@ahocevar](https://github.com/ahocevar))
* [#10321](https://github.com/openlayers/openlayers/pull/10321) - Support touch events for DragBox interaction ([@greggian](https://github.com/greggian))
* [#10315](https://github.com/openlayers/openlayers/pull/10315) - Replace Bing sources in some examples ([@mike-000](https://github.com/mike-000))
* [#10330](https://github.com/openlayers/openlayers/pull/10330) - Fix modifying circle geometries ([@greggian](https://github.com/greggian))
* [#10318](https://github.com/openlayers/openlayers/pull/10318) - Use a minimalist pointer events polyfill ([@ahocevar](https://github.com/ahocevar))
* [#10322](https://github.com/openlayers/openlayers/pull/10322) - Update tile grid option descriptions ([@mike-000](https://github.com/mike-000))
* [#10308](https://github.com/openlayers/openlayers/pull/10308) - Fix feature lookup after removal of alpha ([@ahocevar](https://github.com/ahocevar))
* [#10310](https://github.com/openlayers/openlayers/pull/10310) - Ensure that OverviewMap respects the initial rotation of attached Maps ([@brianhelba](https://github.com/brianhelba))
* [#10302](https://github.com/openlayers/openlayers/pull/10302) - Do not use Math.sign() to support very old browsers ([@ahocevar](https://github.com/ahocevar))
* [#10295](https://github.com/openlayers/openlayers/pull/10295) - Do not fail when hit detecting features without style ([@ahocevar](https://github.com/ahocevar))
* [#10293](https://github.com/openlayers/openlayers/pull/10293) - Do not hit detect while tile is loading ([@ahocevar](https://github.com/ahocevar))
* [#10292](https://github.com/openlayers/openlayers/pull/10292) - Fix typo in jsdoc in ol/source/WMTS ([@jomue](https://github.com/jomue))
* [#10291](https://github.com/openlayers/openlayers/pull/10291) - tabindex without focus condition ([@ahocevar](https://github.com/ahocevar))
* [#10286](https://github.com/openlayers/openlayers/pull/10286) - Use passive option to avoid Chrome warning ([@ahocevar](https://github.com/ahocevar))
* [#10285](https://github.com/openlayers/openlayers/pull/10285) - Fix WMS GetLegendGraphic example codesandbox error ([@mike-000](https://github.com/mike-000))
* [#10283](https://github.com/openlayers/openlayers/pull/10283) - Use the originalEvent in the targetNotEditable condition ([@fredj](https://github.com/fredj))
* [#10282](https://github.com/openlayers/openlayers/pull/10282) - Fix documentation of Stroke.lineDash default value ([@jansule](https://github.com/jansule))
* [#10259](https://github.com/openlayers/openlayers/pull/10259) - Remove all the sketch features in abortDrawing ([@fredj](https://github.com/fredj))
* [#10265](https://github.com/openlayers/openlayers/pull/10265) - Update operators doc in WebGL points layer example ([@fredj](https://github.com/fredj))
* [#10256](https://github.com/openlayers/openlayers/pull/10256) - Do not bypass measureTextWidth ([@ahocevar](https://github.com/ahocevar))
* [#10264](https://github.com/openlayers/openlayers/pull/10264) - Remove unused variable from vertex shader ([@fredj](https://github.com/fredj))
* [#10257](https://github.com/openlayers/openlayers/pull/10257) - Allow View.adjust* methods to take a null opt_anchor ([@brianhelba](https://github.com/brianhelba))
* [#10261](https://github.com/openlayers/openlayers/pull/10261) - WebGL / do not throw error when shader compilation gives a warning ([@jahow](https://github.com/jahow))
* [#10255](https://github.com/openlayers/openlayers/pull/10255) - Don't use instanceof HTMLElement in handleMapBrowserEvent ([@fredj](https://github.com/fredj))
<details>
<summary>Dependency Updates</summary>
* [#10629](https://github.com/openlayers/openlayers/pull/10629) - Bump ol-mapbox-style from 6.0.0 to 6.0.1 ([@openlayers](https://github.com/openlayers))
* [#10628](https://github.com/openlayers/openlayers/pull/10628) - Bump puppeteer from 2.1.0 to 2.1.1 ([@openlayers](https://github.com/openlayers))
* [#10627](https://github.com/openlayers/openlayers/pull/10627) - Bump handlebars from 4.7.2 to 4.7.3 ([@openlayers](https://github.com/openlayers))
* [#10626](https://github.com/openlayers/openlayers/pull/10626) - Bump webpack-dev-server from 3.10.2 to 3.10.3 ([@openlayers](https://github.com/openlayers))
* [#10600](https://github.com/openlayers/openlayers/pull/10600) - Bump puppeteer from 2.0.0 to 2.1.0 ([@openlayers](https://github.com/openlayers))
* [#10606](https://github.com/openlayers/openlayers/pull/10606) - Bump @babel/core from 7.8.3 to 7.8.4 ([@openlayers](https://github.com/openlayers))
* [#10605](https://github.com/openlayers/openlayers/pull/10605) - Bump webpack-dev-server from 3.10.1 to 3.10.2 ([@openlayers](https://github.com/openlayers))
* [#10604](https://github.com/openlayers/openlayers/pull/10604) - Bump rollup from 1.29.1 to 1.31.0 ([@openlayers](https://github.com/openlayers))
* [#10603](https://github.com/openlayers/openlayers/pull/10603) - Bump @babel/preset-env from 7.8.3 to 7.8.4 ([@openlayers](https://github.com/openlayers))
* [#10602](https://github.com/openlayers/openlayers/pull/10602) - Bump url-polyfill from 1.1.7 to 1.1.8 ([@openlayers](https://github.com/openlayers))
* [#10601](https://github.com/openlayers/openlayers/pull/10601) - Bump terser-webpack-plugin from 2.3.2 to 2.3.4 ([@openlayers](https://github.com/openlayers))
* [#10578](https://github.com/openlayers/openlayers/pull/10578) - Bump sinon from 8.1.0 to 8.1.1 ([@openlayers](https://github.com/openlayers))
* [#10577](https://github.com/openlayers/openlayers/pull/10577) - Bump mocha from 7.0.0 to 7.0.1 ([@openlayers](https://github.com/openlayers))
* [#10576](https://github.com/openlayers/openlayers/pull/10576) - Bump rollup from 1.29.0 to 1.29.1 ([@openlayers](https://github.com/openlayers))
* [#10551](https://github.com/openlayers/openlayers/pull/10551) - Bump handlebars from 4.7.1 to 4.7.2 ([@openlayers](https://github.com/openlayers))
* [#10550](https://github.com/openlayers/openlayers/pull/10550) - Bump @babel/preset-env from 7.8.2 to 7.8.3 ([@openlayers](https://github.com/openlayers))
* [#10549](https://github.com/openlayers/openlayers/pull/10549) - Bump sinon from 8.0.4 to 8.1.0 ([@openlayers](https://github.com/openlayers))
* [#10548](https://github.com/openlayers/openlayers/pull/10548) - Bump @babel/core from 7.8.0 to 7.8.3 ([@openlayers](https://github.com/openlayers))
* [#10518](https://github.com/openlayers/openlayers/pull/10518) - Bump front-matter from 3.0.2 to 3.1.0 ([@openlayers](https://github.com/openlayers))
* [#10516](https://github.com/openlayers/openlayers/pull/10516) - Bump handlebars from 4.5.3 to 4.7.1 ([@openlayers](https://github.com/openlayers))
* [#10514](https://github.com/openlayers/openlayers/pull/10514) - Bump terser-webpack-plugin from 2.3.1 to 2.3.2 ([@openlayers](https://github.com/openlayers))
* [#10523](https://github.com/openlayers/openlayers/pull/10523) - Bump sinon from 8.0.2 to 8.0.4 ([@openlayers](https://github.com/openlayers))
* [#10515](https://github.com/openlayers/openlayers/pull/10515) - Bump @babel/preset-env from 7.7.7 to 7.8.2 ([@openlayers](https://github.com/openlayers))
* [#10517](https://github.com/openlayers/openlayers/pull/10517) - Bump karma-firefox-launcher from 1.2.0 to 1.3.0 ([@openlayers](https://github.com/openlayers))
* [#10519](https://github.com/openlayers/openlayers/pull/10519) - Bump @babel/core from 7.7.7 to 7.8.0 ([@openlayers](https://github.com/openlayers))
* [#10520](https://github.com/openlayers/openlayers/pull/10520) - Bump globby from 10.0.1 to 11.0.0 ([@openlayers](https://github.com/openlayers))
* [#10521](https://github.com/openlayers/openlayers/pull/10521) - Bump rollup-plugin-terser from 5.1.3 to 5.2.0 ([@openlayers](https://github.com/openlayers))
* [#10522](https://github.com/openlayers/openlayers/pull/10522) - Bump rollup from 1.28.0 to 1.29.0 ([@openlayers](https://github.com/openlayers))
* [#10480](https://github.com/openlayers/openlayers/pull/10480) - Bump mocha from 6.2.2 to 7.0.0 ([@openlayers](https://github.com/openlayers))
* [#10482](https://github.com/openlayers/openlayers/pull/10482) - Bump sinon from 8.0.1 to 8.0.2 ([@openlayers](https://github.com/openlayers))
* [#10481](https://github.com/openlayers/openlayers/pull/10481) - Bump yargs from 15.0.2 to 15.1.0 ([@openlayers](https://github.com/openlayers))
* [#10479](https://github.com/openlayers/openlayers/pull/10479) - Bump rollup from 1.27.14 to 1.28.0 ([@openlayers](https://github.com/openlayers))
* [#10466](https://github.com/openlayers/openlayers/pull/10466) - Bump webpack from 4.41.4 to 4.41.5 ([@openlayers](https://github.com/openlayers))
* [#10467](https://github.com/openlayers/openlayers/pull/10467) - Bump sinon from 8.0.0 to 8.0.1 ([@openlayers](https://github.com/openlayers))
* [#10450](https://github.com/openlayers/openlayers/pull/10450) - Bump @babel/core from 7.7.5 to 7.7.7 ([@openlayers](https://github.com/openlayers))
* [#10449](https://github.com/openlayers/openlayers/pull/10449) - Bump eslint from 6.7.2 to 6.8.0 ([@openlayers](https://github.com/openlayers))
* [#10448](https://github.com/openlayers/openlayers/pull/10448) - Bump rollup from 1.27.13 to 1.27.14 ([@openlayers](https://github.com/openlayers))
* [#10447](https://github.com/openlayers/openlayers/pull/10447) - Bump @babel/preset-env from 7.7.6 to 7.7.7 ([@openlayers](https://github.com/openlayers))
* [#10446](https://github.com/openlayers/openlayers/pull/10446) - Bump sinon from 7.5.0 to 8.0.0 ([@openlayers](https://github.com/openlayers))
* [#10445](https://github.com/openlayers/openlayers/pull/10445) - Bump webpack from 4.41.2 to 4.41.4 ([@openlayers](https://github.com/openlayers))
* [#10444](https://github.com/openlayers/openlayers/pull/10444) - Bump terser-webpack-plugin from 2.3.0 to 2.3.1 ([@openlayers](https://github.com/openlayers))
* [#10443](https://github.com/openlayers/openlayers/pull/10443) - Bump webpack-dev-server from 3.9.0 to 3.10.1 ([@openlayers](https://github.com/openlayers))
* [#10425](https://github.com/openlayers/openlayers/pull/10425) - Bump elm-pep from 1.0.2 to 1.0.3 ([@openlayers](https://github.com/openlayers))
* [#10427](https://github.com/openlayers/openlayers/pull/10427) - Bump webpack-cli from 3.3.2 to 3.3.10 ([@openlayers](https://github.com/openlayers))
* [#10426](https://github.com/openlayers/openlayers/pull/10426) - Bump copy-webpack-plugin from 5.0.5 to 5.1.1 ([@openlayers](https://github.com/openlayers))
* [#10424](https://github.com/openlayers/openlayers/pull/10424) - Bump eslint from 6.7.1 to 6.7.2 ([@openlayers](https://github.com/openlayers))
* [#10423](https://github.com/openlayers/openlayers/pull/10423) - Bump marked from 0.7.0 to 0.8.0 ([@openlayers](https://github.com/openlayers))
* [#10422](https://github.com/openlayers/openlayers/pull/10422) - Bump url-polyfill from 1.1.5 to 1.1.7 ([@openlayers](https://github.com/openlayers))
* [#10421](https://github.com/openlayers/openlayers/pull/10421) - Bump rollup-plugin-terser from 5.1.2 to 5.1.3 ([@openlayers](https://github.com/openlayers))
* [#10420](https://github.com/openlayers/openlayers/pull/10420) - Bump terser-webpack-plugin from 2.2.2 to 2.3.0 ([@openlayers](https://github.com/openlayers))
* [#10419](https://github.com/openlayers/openlayers/pull/10419) - Bump rollup from 1.27.9 to 1.27.13 ([@openlayers](https://github.com/openlayers))
* [#10418](https://github.com/openlayers/openlayers/pull/10418) - Bump babel-loader from 8.0.5 to 8.0.6 ([@openlayers](https://github.com/openlayers))
* [#10399](https://github.com/openlayers/openlayers/pull/10399) - Bump rollup from 1.25.1 to 1.27.9 ([@openlayers](https://github.com/openlayers))
* [#10398](https://github.com/openlayers/openlayers/pull/10398) - Bump terser-webpack-plugin from 2.2.1 to 2.2.2 ([@openlayers](https://github.com/openlayers))
* [#10397](https://github.com/openlayers/openlayers/pull/10397) - Bump @babel/core from 7.7.4 to 7.7.5 ([@openlayers](https://github.com/openlayers))
* [#10396](https://github.com/openlayers/openlayers/pull/10396) - Bump @babel/preset-env from 7.7.4 to 7.7.6 ([@openlayers](https://github.com/openlayers))
* [#10365](https://github.com/openlayers/openlayers/pull/10365) - Bump @babel/preset-env from 7.6.3 to 7.7.4 ([@openlayers](https://github.com/openlayers))
* [#10366](https://github.com/openlayers/openlayers/pull/10366) - Bump karma-coverage-istanbul-reporter from 2.1.0 to 2.1.1 ([@openlayers](https://github.com/openlayers))
* [#10367](https://github.com/openlayers/openlayers/pull/10367) - Bump coveralls from 3.0.7 to 3.0.9 ([@openlayers](https://github.com/openlayers))
* [#10368](https://github.com/openlayers/openlayers/pull/10368) - Bump sinon from 7.3.2 to 7.5.0 ([@openlayers](https://github.com/openlayers))
* [#10369](https://github.com/openlayers/openlayers/pull/10369) - Bump @babel/core from 7.7.2 to 7.7.4 ([@openlayers](https://github.com/openlayers))
* [#10337](https://github.com/openlayers/openlayers/pull/10337) - Bump fs-extra from 8.0.1 to 8.1.0 ([@openlayers](https://github.com/openlayers))
* [#10336](https://github.com/openlayers/openlayers/pull/10336) - Bump eslint from 6.6.0 to 6.7.1 ([@openlayers](https://github.com/openlayers))
* [#10335](https://github.com/openlayers/openlayers/pull/10335) - Bump yargs from 14.2.0 to 15.0.2 ([@openlayers](https://github.com/openlayers))
* [#10334](https://github.com/openlayers/openlayers/pull/10334) - Bump webpack-dev-middleware from 3.6.2 to 3.7.2 ([@openlayers](https://github.com/openlayers))
* [#10333](https://github.com/openlayers/openlayers/pull/10333) - Bump copy-webpack-plugin from 5.0.4 to 5.0.5 ([@openlayers](https://github.com/openlayers))
* [#10306](https://github.com/openlayers/openlayers/pull/10306) - Bump puppeteer from 1.20.0 to 2.0.0 ([@openlayers](https://github.com/openlayers))
* [#10307](https://github.com/openlayers/openlayers/pull/10307) - Bump @babel/core from 7.6.4 to 7.7.2 ([@openlayers](https://github.com/openlayers))
* [#10305](https://github.com/openlayers/openlayers/pull/10305) - Bump proj4 from 2.5.0 to 2.6.0 ([@openlayers](https://github.com/openlayers))
* [#10304](https://github.com/openlayers/openlayers/pull/10304) - Bump handlebars from 4.4.5 to 4.5.3 ([@openlayers](https://github.com/openlayers))
* [#10303](https://github.com/openlayers/openlayers/pull/10303) - Bump glob from 7.1.5 to 7.1.6 ([@openlayers](https://github.com/openlayers))
* [#10280](https://github.com/openlayers/openlayers/pull/10280) - Bump rollup-plugin-commonjs from 10.0.0 to 10.1.0 ([@openlayers](https://github.com/openlayers))
* [#10279](https://github.com/openlayers/openlayers/pull/10279) - Bump rollup-plugin-terser from 5.0.0 to 5.1.2 ([@openlayers](https://github.com/openlayers))
* [#10278](https://github.com/openlayers/openlayers/pull/10278) - Bump eslint from 6.0.0 to 6.6.0 ([@openlayers](https://github.com/openlayers))
* [#10277](https://github.com/openlayers/openlayers/pull/10277) - Bump karma-webpack from 4.0.0-rc.6 to 4.0.2 ([@openlayers](https://github.com/openlayers))
* [#10276](https://github.com/openlayers/openlayers/pull/10276) - Bump webpack-dev-server from 3.3.1 to 3.9.0 ([@openlayers](https://github.com/openlayers))
* [#10251](https://github.com/openlayers/openlayers/pull/10251) - Bump @babel/preset-env from 7.4.4 to 7.6.3 ([@openlayers](https://github.com/openlayers))
* [#10250](https://github.com/openlayers/openlayers/pull/10250) - Bump buble from 0.19.7 to 0.19.8 ([@openlayers](https://github.com/openlayers))
* [#10249](https://github.com/openlayers/openlayers/pull/10249) - Bump karma-firefox-launcher from 1.1.0 to 1.2.0 ([@openlayers](https://github.com/openlayers))
* [#10248](https://github.com/openlayers/openlayers/pull/10248) - Bump html-to-image from 0.1.0 to 0.1.1 ([@openlayers](https://github.com/openlayers))
* [#10247](https://github.com/openlayers/openlayers/pull/10247) - Bump terser-webpack-plugin from 2.0.1 to 2.2.1 ([@openlayers](https://github.com/openlayers))
</details>

13
changelog/v6.2.1.md Normal file
View File

@@ -0,0 +1,13 @@
# 6.2.1
This is a bugfix release which resolves bundler issues due to a circular dependency, and brings a few documentation and example fixes.
## List of all changes
* [#10656](https://github.com/openlayers/openlayers/pull/10656) - Fix for export PDF example compatibility issues, and layer opacity handling. ([@mike-000](https://github.com/mike-000))
* [#10653](https://github.com/openlayers/openlayers/pull/10653) - More reliable check for module content beyond classes ([@ahocevar](https://github.com/ahocevar))
* [#10617](https://github.com/openlayers/openlayers/pull/10617) - Improve apidoc generation performance ([@MoonE](https://github.com/MoonE))
* [#10625](https://github.com/openlayers/openlayers/pull/10625) - Apidoc cleanup navigation html ([@MoonE](https://github.com/MoonE))
* [#10649](https://github.com/openlayers/openlayers/pull/10649) - Remove circular dependency ([@ahocevar](https://github.com/ahocevar))
* [#10637](https://github.com/openlayers/openlayers/pull/10637) - Develop on 6.2.1 ([@openlayers](https://github.com/openlayers))

123
changelog/v6.3.0.md Normal file
View File

@@ -0,0 +1,123 @@
# 6.3.0
With more than 70 pull requests, this release not only brings significant improvements to the API documentation. It also fixes some old bugs and brings frequently requested improvements. And good news for TypeScript users: OpenLayers now ships with type definitions in `.d.ts` files.
## New features and improvements
* Several improvements to the Graticule layer, like consistent labeling, no more missing graticule lines, and it now works for views that cross the date line.
* Better support for KML icon colors, as well as fills and outlines in PolyStyle
* Better `ol/Overlay` performance and support for panning off-screen overlays into view
* Most of the rendering code can now be run in web workers, e.g. to render to an OffscreenCanvas
* OpenLayers now works fine in web components with shadow root
* WebGL point layers now support rotation based on feature attributes
## List of all changes
* [#10490](https://github.com/openlayers/openlayers/pull/10490) - Select style multiple select interactions removed ([@bepremeg](https://github.com/bepremeg))
* [#10531](https://github.com/openlayers/openlayers/pull/10531) - Dynamically chose the number of subdivisions based on the size of the Image to reproject ([@pjsg](https://github.com/pjsg))
* [#10618](https://github.com/openlayers/openlayers/pull/10618) - Add apidoc-debug task to debug the apidoc generation process ([@MoonE](https://github.com/MoonE))
* [#10343](https://github.com/openlayers/openlayers/pull/10343) - Correct interactions with circle geometries when using user coordinates ([@mike-000](https://github.com/mike-000))
* [#10864](https://github.com/openlayers/openlayers/pull/10864) - Update dependencies ([@ahocevar](https://github.com/ahocevar))
* [#10859](https://github.com/openlayers/openlayers/pull/10859) - Add an example of clipping layer based on a vector source ([@SDaron](https://github.com/SDaron))
* [#10850](https://github.com/openlayers/openlayers/pull/10850) - API docs for enums ([@ahocevar](https://github.com/ahocevar))
* [#10857](https://github.com/openlayers/openlayers/pull/10857) - Make OSM XML example work at dateline and replace Bing with MapTiler ([@mike-000](https://github.com/mike-000))
* [#10858](https://github.com/openlayers/openlayers/pull/10858) - Perform auto-pan when adding an Overlay to a Map ([@ejn](https://github.com/ejn))
* [#10646](https://github.com/openlayers/openlayers/pull/10646) - Write fill and outline in KML PolyStyle ([@mike-000](https://github.com/mike-000))
* [#10800](https://github.com/openlayers/openlayers/pull/10800) - Make Overlay.panIntoView an API method ([@ejn](https://github.com/ejn))
* [#10807](https://github.com/openlayers/openlayers/pull/10807) - Handle Graticule wrapX without calculating excess meridians ([@mike-000](https://github.com/mike-000))
* [#10795](https://github.com/openlayers/openlayers/pull/10795) - Show graticule labels in wrapped worlds ([@mike-000](https://github.com/mike-000))
* [#10824](https://github.com/openlayers/openlayers/pull/10824) - Fix drawing svg icon with color option in ie11 ([@MoonE](https://github.com/MoonE))
* [#10802](https://github.com/openlayers/openlayers/pull/10802) - Apidoc add default-exported enums ([@MoonE](https://github.com/MoonE))
* [#10805](https://github.com/openlayers/openlayers/pull/10805) - make ImageSourceEventType available for consumers ([@regileeso](https://github.com/regileeso))
* [#10822](https://github.com/openlayers/openlayers/pull/10822) - parsing color from IconStyle in KML files ([@lysek](https://github.com/lysek))
* [#10848](https://github.com/openlayers/openlayers/pull/10848) - Speed up Overlay element positioning using CSS translate() ([@horsenit](https://github.com/horsenit))
* [#9590](https://github.com/openlayers/openlayers/pull/9590) - Calculate tile grid extent from extent of bottom-level tile matrix ([@mloskot](https://github.com/mloskot))
* [#10845](https://github.com/openlayers/openlayers/pull/10845) - Fix createHitDetectionImageData error for features with no size ([@gedaiu](https://github.com/gedaiu))
* [#10842](https://github.com/openlayers/openlayers/pull/10842) - Fix custom symbol example short description ([@mike-000](https://github.com/mike-000))
* [#10828](https://github.com/openlayers/openlayers/pull/10828) - Offscreen canvas example ([@ahocevar](https://github.com/ahocevar))
* [#10816](https://github.com/openlayers/openlayers/pull/10816) - Add 'funding' field to `package.json` ([@marcjansen](https://github.com/marcjansen))
* [#10813](https://github.com/openlayers/openlayers/pull/10813) - Add sponsors section to the readme ([@tschaub](https://github.com/tschaub))
* [#10474](https://github.com/openlayers/openlayers/pull/10474) - Fix for undefined source in Image layer ([@mike-000](https://github.com/mike-000))
* [#10785](https://github.com/openlayers/openlayers/pull/10785) - Detect Zoomify server-side retina tiles ([@ahocevar](https://github.com/ahocevar))
* [#10787](https://github.com/openlayers/openlayers/pull/10787) - Improved projection extent in the "Reprojection with EPSG.io Search" example ([@mike-000](https://github.com/mike-000))
* [#10792](https://github.com/openlayers/openlayers/pull/10792) - Add support for EventListener Object ([@flexjoly](https://github.com/flexjoly))
* [#10777](https://github.com/openlayers/openlayers/pull/10777) - Keep the render loop running during simulation ([@ahocevar](https://github.com/ahocevar))
* [#10791](https://github.com/openlayers/openlayers/pull/10791) - iOS 12 touchmove: Prevent touchmove event default when no preceding pointer event ([@sosmo](https://github.com/sosmo))
* [#10786](https://github.com/openlayers/openlayers/pull/10786) - Resolve constraints when updating size ([@ahocevar](https://github.com/ahocevar))
* [#10788](https://github.com/openlayers/openlayers/pull/10788) - Add safeguard to handleTouchMove ([@sosmo](https://github.com/sosmo))
* [#10722](https://github.com/openlayers/openlayers/pull/10722) - fix: handle layer clear event in case clear(true) called ([@jellyedwards](https://github.com/jellyedwards))
* [#10723](https://github.com/openlayers/openlayers/pull/10723) - Improve the extent transforms used by Graticule and handle extents crossing the dateline ([@mike-000](https://github.com/mike-000))
* [#10744](https://github.com/openlayers/openlayers/pull/10744) - Ensure the Modify Features Test example opens at correct zoom ([@mike-000](https://github.com/mike-000))
* [#10767](https://github.com/openlayers/openlayers/pull/10767) - Replace Bing layer with MapTiler in examples ([@mike-000](https://github.com/mike-000))
* [#10751](https://github.com/openlayers/openlayers/pull/10751) - Sort events / observables in all cases ([@MoonE](https://github.com/MoonE))
* [#10763](https://github.com/openlayers/openlayers/pull/10763) - TypeScript: Fix inconsistent optionality in various APIs ([@jumpinjackie](https://github.com/jumpinjackie))
* [#10758](https://github.com/openlayers/openlayers/pull/10758) - Allow using feature attributes for symbol rotation in WebGL layers ([@jahow](https://github.com/jahow))
* [#10748](https://github.com/openlayers/openlayers/pull/10748) - Fix "Cannot read property 'anchor' of undefined" in ol/View ([@mike-000](https://github.com/mike-000))
* [#10746](https://github.com/openlayers/openlayers/pull/10746) - Fix building apidoc on windows ([@MoonE](https://github.com/MoonE))
* [#10720](https://github.com/openlayers/openlayers/pull/10720) - Apidoc better search ([@MoonE](https://github.com/MoonE))
* [#10743](https://github.com/openlayers/openlayers/pull/10743) - Ignore user provided tile cache size when too small ([@ahocevar](https://github.com/ahocevar))
* [#10736](https://github.com/openlayers/openlayers/pull/10736) - Allow cluster source to unlisten from its source ([@M393](https://github.com/M393))
* [#10739](https://github.com/openlayers/openlayers/pull/10739) - Fix typo in trackpad timeout ([@ahocevar](https://github.com/ahocevar))
* [#10740](https://github.com/openlayers/openlayers/pull/10740) - Document tabindex behavior for MouseWheelZoom and DragPan ([@matthias-ccri](https://github.com/matthias-ccri))
* [#10738](https://github.com/openlayers/openlayers/pull/10738) - Fix text background decluttering ([@ahocevar](https://github.com/ahocevar))
* [#10715](https://github.com/openlayers/openlayers/pull/10715) - Fix disappearing graticule labels when rotation returns to 0 ([@mike-000](https://github.com/mike-000))
* [#10713](https://github.com/openlayers/openlayers/pull/10713) - Draw graticule labels in a postrender function ([@mike-000](https://github.com/mike-000))
* [#10711](https://github.com/openlayers/openlayers/pull/10711) - Make sure that optional args are typed accordingly ([@ahocevar](https://github.com/ahocevar))
* [#10710](https://github.com/openlayers/openlayers/pull/10710) - Fix stylefunction return type ([@ahocevar](https://github.com/ahocevar))
* [#10709](https://github.com/openlayers/openlayers/pull/10709) - Fix type and documentation of style function ([@ahocevar](https://github.com/ahocevar))
* [#10708](https://github.com/openlayers/openlayers/pull/10708) - Handle Select interactions with falsey select style ([@ahocevar](https://github.com/ahocevar))
* [#10707](https://github.com/openlayers/openlayers/pull/10707) - Get default projection for overview map from main map. ([@AugustusKling](https://github.com/AugustusKling))
* [#10699](https://github.com/openlayers/openlayers/pull/10699) - Make Select interaction work when there are multiple instances ([@ahocevar](https://github.com/ahocevar))
* [#10694](https://github.com/openlayers/openlayers/pull/10694) - Draw image with configured opacity ([@M393](https://github.com/M393))
* [#10703](https://github.com/openlayers/openlayers/pull/10703) - CI and test fixes ([@ahocevar](https://github.com/ahocevar))
* [#10698](https://github.com/openlayers/openlayers/pull/10698) - Shadow root ([@ahocevar](https://github.com/ahocevar))
* [#10688](https://github.com/openlayers/openlayers/pull/10688) - Publish type definition files ([@ahocevar](https://github.com/ahocevar))
* [#10691](https://github.com/openlayers/openlayers/pull/10691) - Do not exceed color range ([@ahocevar](https://github.com/ahocevar))
* [#10683](https://github.com/openlayers/openlayers/pull/10683) - Dispatch enterfullscreen and leavefullscreen from the FullScreen control ([@fredj](https://github.com/fredj))
* [#10676](https://github.com/openlayers/openlayers/pull/10676) - Document that overviewmap view must use same projection as main map ([@mike-000](https://github.com/mike-000))
* [#10678](https://github.com/openlayers/openlayers/pull/10678) - Add maxResolution option to ol/tilegrid.createXYZ() and ol/source/XYZ ([@mike-000](https://github.com/mike-000))
* [#10690](https://github.com/openlayers/openlayers/pull/10690) - Document minZoom and maxZoom options for all layers ([@mike-000](https://github.com/mike-000))
* [#10672](https://github.com/openlayers/openlayers/pull/10672) - Nicer mousewheel and trackpad zooming ([@ahocevar](https://github.com/ahocevar))
* [#10687](https://github.com/openlayers/openlayers/pull/10687) - Increase timeout in listenImage test ([@fredj](https://github.com/fredj))
* [#10684](https://github.com/openlayers/openlayers/pull/10684) - perf: only do expensive reload when texture changes ([@jellyedwards](https://github.com/jellyedwards))
* [#10675](https://github.com/openlayers/openlayers/pull/10675) - typo ([@jipexu](https://github.com/jipexu))
* [#10669](https://github.com/openlayers/openlayers/pull/10669) - More browser compatible Export Map example ([@mike-000](https://github.com/mike-000))
* [#10667](https://github.com/openlayers/openlayers/pull/10667) - Do not render label with the current linedash ([@ahocevar](https://github.com/ahocevar))
* [#10666](https://github.com/openlayers/openlayers/pull/10666) - Load polyfill before example specific scripts in examples template ([@mike-000](https://github.com/mike-000))
* [#6526](https://github.com/openlayers/openlayers/pull/6526) - Draw interaction: add abortDrawing method and drawabort event ([@tchandelle](https://github.com/tchandelle))
* [#10657](https://github.com/openlayers/openlayers/pull/10657) - Changelog for v6.2.1 ([@openlayers](https://github.com/openlayers))
<details>
<summary>Dependency Updates</summary>
* [#10855](https://github.com/openlayers/openlayers/pull/10855) - Bump rollup from 2.1.0 to 2.3.0 ([@openlayers](https://github.com/openlayers))
* [#10854](https://github.com/openlayers/openlayers/pull/10854) - Bump ol-mapbox-style from 6.1.0 to 6.1.1 ([@openlayers](https://github.com/openlayers))
* [#10853](https://github.com/openlayers/openlayers/pull/10853) - Bump buble from 0.19.8 to 0.20.0 ([@openlayers](https://github.com/openlayers))
* [#10852](https://github.com/openlayers/openlayers/pull/10852) - Bump webpack from 4.42.0 to 4.42.1 ([@openlayers](https://github.com/openlayers))
* [#10837](https://github.com/openlayers/openlayers/pull/10837) - Bump ol-mapbox-style from 6.0.1 to 6.1.0 ([@openlayers](https://github.com/openlayers))
* [#10836](https://github.com/openlayers/openlayers/pull/10836) - Bump coveralls from 3.0.9 to 3.0.11 ([@openlayers](https://github.com/openlayers))
* [#10835](https://github.com/openlayers/openlayers/pull/10835) - Bump @babel/preset-env from 7.8.7 to 7.9.0 ([@openlayers](https://github.com/openlayers))
* [#10834](https://github.com/openlayers/openlayers/pull/10834) - Bump rollup from 1.32.1 to 2.1.0 ([@openlayers](https://github.com/openlayers))
* [#10833](https://github.com/openlayers/openlayers/pull/10833) - Bump fs-extra from 8.1.0 to 9.0.0 ([@openlayers](https://github.com/openlayers))
* [#10832](https://github.com/openlayers/openlayers/pull/10832) - Bump @babel/core from 7.8.7 to 7.9.0 ([@openlayers](https://github.com/openlayers))
* [#10831](https://github.com/openlayers/openlayers/pull/10831) - Bump babel-loader from 8.0.6 to 8.1.0 ([@openlayers](https://github.com/openlayers))
* [#10830](https://github.com/openlayers/openlayers/pull/10830) - Bump mocha from 7.1.0 to 7.1.1 ([@openlayers](https://github.com/openlayers))
* [#10829](https://github.com/openlayers/openlayers/pull/10829) - Bump marked from 0.8.0 to 0.8.2 ([@openlayers](https://github.com/openlayers))
* [#10811](https://github.com/openlayers/openlayers/pull/10811) - Bump sinon from 9.0.0 to 9.0.1 ([@openlayers](https://github.com/openlayers))
* [#10810](https://github.com/openlayers/openlayers/pull/10810) - Bump rollup-plugin-terser from 5.2.0 to 5.3.0 ([@openlayers](https://github.com/openlayers))
* [#10809](https://github.com/openlayers/openlayers/pull/10809) - Bump yargs from 15.3.0 to 15.3.1 ([@openlayers](https://github.com/openlayers))
* [#10806](https://github.com/openlayers/openlayers/pull/10806) - [Security] Bump acorn from 6.1.1 to 6.4.1 ([@openlayers](https://github.com/openlayers))
* [#10755](https://github.com/openlayers/openlayers/pull/10755) - Bump rollup from 1.31.1 to 1.32.0 ([@openlayers](https://github.com/openlayers))
* [#10754](https://github.com/openlayers/openlayers/pull/10754) - Bump @babel/preset-env from 7.8.4 to 7.8.6 ([@openlayers](https://github.com/openlayers))
* [#10753](https://github.com/openlayers/openlayers/pull/10753) - Bump mocha from 7.0.1 to 7.1.0 ([@openlayers](https://github.com/openlayers))
* [#10752](https://github.com/openlayers/openlayers/pull/10752) - Bump @babel/core from 7.8.4 to 7.8.6 ([@openlayers](https://github.com/openlayers))
* [#10725](https://github.com/openlayers/openlayers/pull/10725) - Bump elm-pep from 1.0.4 to 1.0.6 ([@openlayers](https://github.com/openlayers))
* [#10726](https://github.com/openlayers/openlayers/pull/10726) - Bump sinon from 8.1.1 to 9.0.0 ([@openlayers](https://github.com/openlayers))
* [#10680](https://github.com/openlayers/openlayers/pull/10680) - Bump terser-webpack-plugin from 2.3.4 to 2.3.5 ([@openlayers](https://github.com/openlayers))
* [#10682](https://github.com/openlayers/openlayers/pull/10682) - Bump webpack from 4.41.5 to 4.41.6 ([@openlayers](https://github.com/openlayers))
* [#10681](https://github.com/openlayers/openlayers/pull/10681) - Bump webpack-cli from 3.3.10 to 3.3.11 ([@openlayers](https://github.com/openlayers))
* [#10679](https://github.com/openlayers/openlayers/pull/10679) - Bump rollup from 1.31.0 to 1.31.1 ([@openlayers](https://github.com/openlayers))
</details>

9
changelog/v6.3.1.md Normal file
View File

@@ -0,0 +1,9 @@
# 6.3.1
This is a bugfix release which removes the auto-generated `.d.ts` TypeScript type files from the published package.
## List of all changes
* [#10877](https://github.com/openlayers/openlayers/pull/10877) - Remove .d.ts files from the package ([@ahocevar](https://github.com/ahocevar))
* [#10872](https://github.com/openlayers/openlayers/pull/10872) - Use TypeScript 3.9 for type generation for better enums ([@ahocevar](https://github.com/ahocevar))

252
changelog/v6.4.0.md Normal file
View File

@@ -0,0 +1,252 @@
# 6.4.0
With more than 120 pull requests, this release brings a facelift of the website, as well as many bug fixes and several exciting new features.
## Upgrade notes
### Pointer events polyfill removed
Now that all major browsers support Pointer events natively, we removed the [elm-pep](https://npmjs.com/package/elm-pep) dependency. If you are targeting older browsers that do not support Pointer events, you now need to include a pointer events polyfill ([elm-pep](https://npmjs.com/package/elm-pep) or [pepjs](https://www.npmjs.com/package/@openlayers/pepjs)) in your application.
## New features and improvements
* Several event handling fixes and improvements for seamless integration into scrollable web pages and improved support for maps in web components.
* Map interactions work again when `ol.css` is not included in the build.
* More stable map views with decluttered labels during panning.
* Image smoothing can be disabled, so raster cells can have sharp edges in image layers now.
* Better cache management for tile layers.
* Retina/HiDPI support for regular shape and svg icon styles.
## List of all changes
* [#11322](https://github.com/openlayers/openlayers/pull/11322) - same dropdown hover than the site ([@jipexu](https://github.com/jipexu))
* [#11321](https://github.com/openlayers/openlayers/pull/11321) - dropdown margin bottom ([@jipexu](https://github.com/jipexu))
* [#11320](https://github.com/openlayers/openlayers/pull/11320) - margin bottom for dropdown ([@jipexu](https://github.com/jipexu))
* [#11319](https://github.com/openlayers/openlayers/pull/11319) - dropdown margin bottom ([@jipexu](https://github.com/jipexu))
* [#11318](https://github.com/openlayers/openlayers/pull/11318) - Mark active nav item ([@ahocevar](https://github.com/ahocevar))
* [#11317](https://github.com/openlayers/openlayers/pull/11317) - Make header and menu navigation consistent with web site ([@ahocevar](https://github.com/ahocevar))
* [#11277](https://github.com/openlayers/openlayers/pull/11277) - Have high resolution regular shape ([@sbrunner](https://github.com/sbrunner))
* [#11313](https://github.com/openlayers/openlayers/pull/11313) - Add direct link to other examples to tags ([@MoonE](https://github.com/MoonE))
* [#11310](https://github.com/openlayers/openlayers/pull/11310) - Update bootstrap, cleanup css, make pages more responsive ([@ahocevar](https://github.com/ahocevar))
* [#11304](https://github.com/openlayers/openlayers/pull/11304) - Reuse empty canvas ([@ahocevar](https://github.com/ahocevar))
* [#11309](https://github.com/openlayers/openlayers/pull/11309) - Do not extract comments to avoid asset name conflicts ([@ahocevar](https://github.com/ahocevar))
* [#11306](https://github.com/openlayers/openlayers/pull/11306) - Replace/remove usage of tileserver.maptiler.com ([@petrsloup](https://github.com/petrsloup))
* [#11270](https://github.com/openlayers/openlayers/pull/11270) - Fix handling of events originating from overlayContainerStopEvent children ([@ahocevar](https://github.com/ahocevar))
* [#11269](https://github.com/openlayers/openlayers/pull/11269) - Register and unregister events in set target handler ([@ahocevar](https://github.com/ahocevar))
* [#11300](https://github.com/openlayers/openlayers/pull/11300) - Drag and Drop to update source and fire event only if features added ([@mike-000](https://github.com/mike-000))
* [#11286](https://github.com/openlayers/openlayers/pull/11286) - Allow line breaks before slashes in apidoc navigation ([@MoonE](https://github.com/MoonE))
* [#11287](https://github.com/openlayers/openlayers/pull/11287) - Examples index page fixes ([@MoonE](https://github.com/MoonE))
* [#11197](https://github.com/openlayers/openlayers/pull/11197) - Added '&&' logical operator to expressions ([@RydingM](https://github.com/RydingM))
* [#11283](https://github.com/openlayers/openlayers/pull/11283) - Remove update while interacting/animating from VectorImage ([@yonzmeer](https://github.com/yonzmeer))
* [#11267](https://github.com/openlayers/openlayers/pull/11267) - Fix upright labels on vector tiles ([@ahocevar](https://github.com/ahocevar))
* [#11263](https://github.com/openlayers/openlayers/pull/11263) - Fix rotation reset in Mapbox-gl Layer example ([@mike-000](https://github.com/mike-000))
* [#11268](https://github.com/openlayers/openlayers/pull/11268) - Cache size ([@ahocevar](https://github.com/ahocevar))
* [#11271](https://github.com/openlayers/openlayers/pull/11271) - Make style override CSS compatible with importing ol.css and with IE ([@mike-000](https://github.com/mike-000))
* [#11253](https://github.com/openlayers/openlayers/pull/11253) - Only clamp to source extent for safe transforms ([@ahocevar](https://github.com/ahocevar))
* [#11258](https://github.com/openlayers/openlayers/pull/11258) - Replace ol tag with openlayers ([@ahocevar](https://github.com/ahocevar))
* [#11256](https://github.com/openlayers/openlayers/pull/11256) - Add dispose API docs to raster source (#10856) ([@EvertEt](https://github.com/EvertEt))
* [#11255](https://github.com/openlayers/openlayers/pull/11255) - GetDataAtPixel performance improvement ([@Shekenix](https://github.com/Shekenix))
* [#11252](https://github.com/openlayers/openlayers/pull/11252) - Add missing SimpleGeometry export ([@jmacura](https://github.com/jmacura))
* [#11226](https://github.com/openlayers/openlayers/pull/11226) - By modifying the common vertex, not all geometries were changed when … ([@michalzielanski](https://github.com/michalzielanski))
* [#11225](https://github.com/openlayers/openlayers/pull/11225) - Use 'source-over' to render reprojection edges ([@mike-000](https://github.com/mike-000))
* [#11224](https://github.com/openlayers/openlayers/pull/11224) - Quote . in RegExp ([@mohawk2](https://github.com/mohawk2))
* [#11219](https://github.com/openlayers/openlayers/pull/11219) - Make proj4 transforms behave like built-in transforms ([@ahocevar](https://github.com/ahocevar))
* [#11218](https://github.com/openlayers/openlayers/pull/11218) - getFeatures() uses wrong transforms after resetting rotation ([@ahocevar](https://github.com/ahocevar))
* [#11217](https://github.com/openlayers/openlayers/pull/11217) - Additional test coverage for serializing GeoJSON ([@tschaub](https://github.com/tschaub))
* [#11215](https://github.com/openlayers/openlayers/pull/11215) - Fix MVT multipolygons with featureClass: Feature ([@ahocevar](https://github.com/ahocevar))
* [#11193](https://github.com/openlayers/openlayers/pull/11193) - Fix VectorImage layer clipping with rotation ([@mike-000](https://github.com/mike-000))
* [#11195](https://github.com/openlayers/openlayers/pull/11195) - getExtent() to return getEmpty() if geometry is unprojectable ([@mike-000](https://github.com/mike-000))
* [#11188](https://github.com/openlayers/openlayers/pull/11188) - Late object initialization ([@michalzielanski](https://github.com/michalzielanski))
* [#11194](https://github.com/openlayers/openlayers/pull/11194) - ol/geom/LineString#getCoordinateAt() to return Z and M values if available ([@mike-000](https://github.com/mike-000))
* [#11198](https://github.com/openlayers/openlayers/pull/11198) - Add condition option to Extent interaction ([@mike-000](https://github.com/mike-000))
* [#11202](https://github.com/openlayers/openlayers/pull/11202) - Branch name changes ([@tschaub](https://github.com/tschaub))
* [#11192](https://github.com/openlayers/openlayers/pull/11192) - Use pepjs in examples to support more old/exotic browsers ([@ahocevar](https://github.com/ahocevar))
* [#11190](https://github.com/openlayers/openlayers/pull/11190) - Correct vector layer clipping with rotation ([@mike-000](https://github.com/mike-000))
* [#11037](https://github.com/openlayers/openlayers/pull/11037) - Allow icon and text styles to be scaled in two dimensions ([@mike-000](https://github.com/mike-000))
* [#11165](https://github.com/openlayers/openlayers/pull/11165) - Use drag-pan default condition with onFocusOnly ([@ahocevar](https://github.com/ahocevar))
* [#11172](https://github.com/openlayers/openlayers/pull/11172) - Use cross-browser find ([@ahocevar](https://github.com/ahocevar))
* [#11171](https://github.com/openlayers/openlayers/pull/11171) - Allow using un() for events registered with once() ([@ahocevar](https://github.com/ahocevar))
* [#11148](https://github.com/openlayers/openlayers/pull/11148) - Vectortile label flicker ([@ahocevar](https://github.com/ahocevar))
* [#11174](https://github.com/openlayers/openlayers/pull/11174) - Improve types and docs for getStyle/setStyle ([@ahocevar](https://github.com/ahocevar))
* [#11173](https://github.com/openlayers/openlayers/pull/11173) - Remove elm-pep dependency ([@ahocevar](https://github.com/ahocevar))
* [#11146](https://github.com/openlayers/openlayers/pull/11146) - Update JSTS example to use JSTS 2.3.0 ([@bjornharrtell](https://github.com/bjornharrtell))
* [#11135](https://github.com/openlayers/openlayers/pull/11135) - Re-enable onFocusOnly option for interaction defaults ([@ahocevar](https://github.com/ahocevar))
* [#11106](https://github.com/openlayers/openlayers/pull/11106) - Defer ZoomSlider initialization until its size is available ([@M393](https://github.com/M393))
* [#11120](https://github.com/openlayers/openlayers/pull/11120) - correct scalebar box sizing ([@mike-000](https://github.com/mike-000))
* [#11116](https://github.com/openlayers/openlayers/pull/11116) - No search autocomplete ([@ahocevar](https://github.com/ahocevar))
* [#11088](https://github.com/openlayers/openlayers/pull/11088) - Transform without axis order in proj4 ([@ahocevar](https://github.com/ahocevar))
* [#11089](https://github.com/openlayers/openlayers/pull/11089) - Use assign function instead of Object.assign ([@ahocevar](https://github.com/ahocevar))
* [#11082](https://github.com/openlayers/openlayers/pull/11082) - Fix outside window dragging ([@ahocevar](https://github.com/ahocevar))
* [#11066](https://github.com/openlayers/openlayers/pull/11066) - Move code of conduct to the root ([@tschaub](https://github.com/tschaub))
* [#11065](https://github.com/openlayers/openlayers/pull/11065) - Remove CircleCI integration ([@tschaub](https://github.com/tschaub))
* [#11054](https://github.com/openlayers/openlayers/pull/11054) - Add a code of conduct ([@openlayers](https://github.com/openlayers))
* [#11053](https://github.com/openlayers/openlayers/pull/11053) - Build examples and API docs ([@tschaub](https://github.com/tschaub))
* [#11050](https://github.com/openlayers/openlayers/pull/11050) - Run rendering and spec tests in parallel ([@tschaub](https://github.com/tschaub))
* [#11051](https://github.com/openlayers/openlayers/pull/11051) - Clear event listeners when disposing a raster source. ([@tschaub](https://github.com/tschaub))
* [#11046](https://github.com/openlayers/openlayers/pull/11046) - Reprojection: Just draw everything on pixel boundaries (always) ([@pjsg](https://github.com/pjsg))
* [#11049](https://github.com/openlayers/openlayers/pull/11049) - Fix tile opaque ([@alexisig](https://github.com/alexisig))
* [#11048](https://github.com/openlayers/openlayers/pull/11048) - Run tests as a GitHub CI workflow ([@openlayers](https://github.com/openlayers))
* [#11047](https://github.com/openlayers/openlayers/pull/11047) - Include processor from pixelworks and terminate workers before creating new ones ([@tschaub](https://github.com/tschaub))
* [#11045](https://github.com/openlayers/openlayers/pull/11045) - Install headless Chrome dependencies ([@tschaub](https://github.com/tschaub))
* [#11044](https://github.com/openlayers/openlayers/pull/11044) - Remove personal Mapbox key ([@tschaub](https://github.com/tschaub))
* [#11042](https://github.com/openlayers/openlayers/pull/11042) - Fix legacy build by defining ol alias ([@ahocevar](https://github.com/ahocevar))
* [#11041](https://github.com/openlayers/openlayers/pull/11041) - Fix custom controls with user-provided element ([@ahocevar](https://github.com/ahocevar))
* [#11025](https://github.com/openlayers/openlayers/pull/11025) - Get rid of MapBrowserPointerEvent ([@ahocevar](https://github.com/ahocevar))
* [#11024](https://github.com/openlayers/openlayers/pull/11024) - Make events work when inside a web component ([@ahocevar](https://github.com/ahocevar))
* [#11019](https://github.com/openlayers/openlayers/pull/11019) - Option to disable image smoothing for Image layer sources ([@mike-000](https://github.com/mike-000))
* [#11023](https://github.com/openlayers/openlayers/pull/11023) - Add MapBrowserPointerEvent to apidoc ([@MoonE](https://github.com/MoonE))
* [#11017](https://github.com/openlayers/openlayers/pull/11017) - Don't stop geolocation tracking on error ([@fredj](https://github.com/fredj))
* [#11011](https://github.com/openlayers/openlayers/pull/11011) - Set background fill style for each declutter label ([@mike-000](https://github.com/mike-000))
* [#10977](https://github.com/openlayers/openlayers/pull/10977) - Only render vector tile when there are executor groups ([@ahocevar](https://github.com/ahocevar))
* [#10990](https://github.com/openlayers/openlayers/pull/10990) - Include context options in tile cache key ([@mike-000](https://github.com/mike-000))
* [#10996](https://github.com/openlayers/openlayers/pull/10996) - Mapbox vector layer ([@tschaub](https://github.com/tschaub))
* [#10998](https://github.com/openlayers/openlayers/pull/10998) - Show the main.js right below the map ([@tschaub](https://github.com/tschaub))
* [#10997](https://github.com/openlayers/openlayers/pull/10997) - Update shelljs ([@tschaub](https://github.com/tschaub))
* [#10987](https://github.com/openlayers/openlayers/pull/10987) - Use brokenDiagonalRendering reprojection processing if image smoothing is disabled ([@mike-000](https://github.com/mike-000))
* [#10948](https://github.com/openlayers/openlayers/pull/10948) - Add constrainResolution option ([@wussup](https://github.com/wussup))
* [#10981](https://github.com/openlayers/openlayers/pull/10981) - Calculate WMTS TileGrid extent using TileMatrixSetLimit when available ([@nielsmeijer](https://github.com/nielsmeijer))
* [#10993](https://github.com/openlayers/openlayers/pull/10993) - Do not rely on custom type overrides ([@ahocevar](https://github.com/ahocevar))
* [#10989](https://github.com/openlayers/openlayers/pull/10989) - Add log2 function to ol/math ([@mike-000](https://github.com/mike-000))
* [#10986](https://github.com/openlayers/openlayers/pull/10986) - Correct bold font tag closure in example description ([@mike-000](https://github.com/mike-000))
* [#10982](https://github.com/openlayers/openlayers/pull/10982) - Handle scaled output canvas correctly ([@ahocevar](https://github.com/ahocevar))
* [#10983](https://github.com/openlayers/openlayers/pull/10983) - Trying to fix CI ([@ahocevar](https://github.com/ahocevar))
* [#10976](https://github.com/openlayers/openlayers/pull/10976) - Apply projection.getMetersPerUnit() to calculated WMTS resolution ([@nielsmeijer](https://github.com/nielsmeijer))
* [#10960](https://github.com/openlayers/openlayers/pull/10960) - Improve Vector Clipping Layer example with a background layer and intersect ([@SDaron](https://github.com/SDaron))
* [#10956](https://github.com/openlayers/openlayers/pull/10956) - Add undefined check for navigator.userAgent ([@pmulholland42](https://github.com/pmulholland42))
* [#10936](https://github.com/openlayers/openlayers/pull/10936) - Set pointerEvents style programmatically instead of relying on ol.css ([@ahocevar](https://github.com/ahocevar))
* [#10941](https://github.com/openlayers/openlayers/pull/10941) - Always prevent default after handleDragEvent ([@ahocevar](https://github.com/ahocevar))
* [#10939](https://github.com/openlayers/openlayers/pull/10939) - Losen listener type ([@ahocevar](https://github.com/ahocevar))
* [#10935](https://github.com/openlayers/openlayers/pull/10935) - Fix calling Overlay.panIntoView with no options ([@ejn](https://github.com/ejn))
* [#10937](https://github.com/openlayers/openlayers/pull/10937) - Use the tile coordinate as a tile pseudo URL in geojson-vt example ([@mike-000](https://github.com/mike-000))
* [#10934](https://github.com/openlayers/openlayers/pull/10934) - Update TypeScript to v3.8 ([@ahocevar](https://github.com/ahocevar))
* [#10931](https://github.com/openlayers/openlayers/pull/10931) - Use a new cache key in hopes of fixing test failures ([@tschaub](https://github.com/tschaub))
* [#10930](https://github.com/openlayers/openlayers/pull/10930) - Better test for uniform colors ([@ahocevar](https://github.com/ahocevar))
* [#10929](https://github.com/openlayers/openlayers/pull/10929) - Fix typo in 6.3.0 release doc ([@nikolas](https://github.com/nikolas))
* [#10917](https://github.com/openlayers/openlayers/pull/10917) - Fix the IGN WMTS example dead links and attribution ([@sambakk](https://github.com/sambakk))
* [#10911](https://github.com/openlayers/openlayers/pull/10911) - Remove link for fullscreen event from navigation ([@MoonE](https://github.com/MoonE))
* [#10916](https://github.com/openlayers/openlayers/pull/10916) - Store additional artifacts to debug test failures ([@tschaub](https://github.com/tschaub))
* [#10902](https://github.com/openlayers/openlayers/pull/10902) - Move readFromDocument implementation to the base class ([@fredj](https://github.com/fredj))
* [#10899](https://github.com/openlayers/openlayers/pull/10899) - Do not scroll page during feature translation ([@ahocevar](https://github.com/ahocevar))
* [#10862](https://github.com/openlayers/openlayers/pull/10862) - Use prettier ([@tschaub](https://github.com/tschaub))
* [#10895](https://github.com/openlayers/openlayers/pull/10895) - Fix dependency source management for examples ([@ahocevar](https://github.com/ahocevar))
* [#10882](https://github.com/openlayers/openlayers/pull/10882) - Apidoc - Fix toggle state when there are no hidden members ([@MoonE](https://github.com/MoonE))
* [#10893](https://github.com/openlayers/openlayers/pull/10893) - Fix focus condition ([@ahocevar](https://github.com/ahocevar))
* [#10878](https://github.com/openlayers/openlayers/pull/10878) - Avoid page scrolling when freehand drawing on mobile ([@ahocevar](https://github.com/ahocevar))
* [#10879](https://github.com/openlayers/openlayers/pull/10879) - Do not append hit canvas to document body ([@ahocevar](https://github.com/ahocevar))
* [#10877](https://github.com/openlayers/openlayers/pull/10877) - Remove .d.ts files from the package ([@ahocevar](https://github.com/ahocevar))
* [#10874](https://github.com/openlayers/openlayers/pull/10874) - fix return type ([@mike-000](https://github.com/mike-000))
* [#10840](https://github.com/openlayers/openlayers/pull/10840) - Remove inherit doc ([@fredj](https://github.com/fredj))
* [#10872](https://github.com/openlayers/openlayers/pull/10872) - Use TypeScript 3.9 for type generation for better enums ([@ahocevar](https://github.com/ahocevar))
* [#10537](https://github.com/openlayers/openlayers/pull/10537) - Correct resolution used for scale bar and add dpi option ([@mike-000](https://github.com/mike-000))
* [#10463](https://github.com/openlayers/openlayers/pull/10463) - Fix issue with reprojection and double drawing pixels. ([@pjsg](https://github.com/pjsg))
* [#10429](https://github.com/openlayers/openlayers/pull/10429) - Option to disable image smoothing for Tile layer sources (including reprojected sources) ([@mike-000](https://github.com/mike-000))
* [#10865](https://github.com/openlayers/openlayers/pull/10865) - View / avoid solving constraints related to map size during animation ([@jahow](https://github.com/jahow))
<details>
<summary>Dependency Updates</summary>
* [#11298](https://github.com/openlayers/openlayers/pull/11298) - Bump @babel/core from 7.10.4 to 7.10.5 ([@openlayers](https://github.com/openlayers))
* [#11297](https://github.com/openlayers/openlayers/pull/11297) - Bump puppeteer from 5.1.0 to 5.2.0 ([@openlayers](https://github.com/openlayers))
* [#11296](https://github.com/openlayers/openlayers/pull/11296) - Bump typescript from 3.9.6 to 3.9.7 ([@openlayers](https://github.com/openlayers))
* [#11295](https://github.com/openlayers/openlayers/pull/11295) - Bump eslint from 7.4.0 to 7.5.0 ([@openlayers](https://github.com/openlayers))
* [#11294](https://github.com/openlayers/openlayers/pull/11294) - Bump rollup from 2.21.0 to 2.22.1 ([@openlayers](https://github.com/openlayers))
* [#11293](https://github.com/openlayers/openlayers/pull/11293) - Bump terser-webpack-plugin from 3.0.6 to 3.0.7 ([@openlayers](https://github.com/openlayers))
* [#11292](https://github.com/openlayers/openlayers/pull/11292) - Bump url-polyfill from 1.1.9 to 1.1.10 ([@openlayers](https://github.com/openlayers))
* [#11291](https://github.com/openlayers/openlayers/pull/11291) - Bump marked from 1.1.0 to 1.1.1 ([@openlayers](https://github.com/openlayers))
* [#11288](https://github.com/openlayers/openlayers/pull/11288) - Bump lodash from 4.17.15 to 4.17.19 ([@openlayers](https://github.com/openlayers))
* [#11275](https://github.com/openlayers/openlayers/pull/11275) - Bump puppeteer from 5.0.0 to 5.1.0 ([@openlayers](https://github.com/openlayers))
* [#11274](https://github.com/openlayers/openlayers/pull/11274) - Bump rollup from 2.19.0 to 2.21.0 ([@openlayers](https://github.com/openlayers))
* [#11273](https://github.com/openlayers/openlayers/pull/11273) - Bump yargs from 15.4.0 to 15.4.1 ([@openlayers](https://github.com/openlayers))
* [#11244](https://github.com/openlayers/openlayers/pull/11244) - Bump rollup from 2.18.0 to 2.19.0 ([@openlayers](https://github.com/openlayers))
* [#11245](https://github.com/openlayers/openlayers/pull/11245) - Bump @babel/core from 7.10.3 to 7.10.4 ([@openlayers](https://github.com/openlayers))
* [#11243](https://github.com/openlayers/openlayers/pull/11243) - Bump pixelmatch from 5.2.0 to 5.2.1 ([@openlayers](https://github.com/openlayers))
* [#11248](https://github.com/openlayers/openlayers/pull/11248) - Bump eslint from 7.3.0 to 7.4.0 ([@openlayers](https://github.com/openlayers))
* [#11247](https://github.com/openlayers/openlayers/pull/11247) - Bump @babel/preset-env from 7.10.3 to 7.10.4 ([@openlayers](https://github.com/openlayers))
* [#11249](https://github.com/openlayers/openlayers/pull/11249) - Bump copy-webpack-plugin from 6.0.2 to 6.0.3 ([@openlayers](https://github.com/openlayers))
* [#11246](https://github.com/openlayers/openlayers/pull/11246) - Bump yargs from 15.3.1 to 15.4.0 ([@openlayers](https://github.com/openlayers))
* [#11242](https://github.com/openlayers/openlayers/pull/11242) - Bump typescript from 3.9.5 to 3.9.6 ([@openlayers](https://github.com/openlayers))
* [#11241](https://github.com/openlayers/openlayers/pull/11241) - Bump puppeteer from 4.0.0 to 5.0.0 ([@openlayers](https://github.com/openlayers))
* [#11210](https://github.com/openlayers/openlayers/pull/11210) - Bump puppeteer from 3.3.0 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#11209](https://github.com/openlayers/openlayers/pull/11209) - Bump rollup from 2.16.1 to 2.18.0 ([@openlayers](https://github.com/openlayers))
* [#11208](https://github.com/openlayers/openlayers/pull/11208) - Bump webpack-cli from 3.3.11 to 3.3.12 ([@openlayers](https://github.com/openlayers))
* [#11207](https://github.com/openlayers/openlayers/pull/11207) - Bump eslint from 7.2.0 to 7.3.0 ([@openlayers](https://github.com/openlayers))
* [#11206](https://github.com/openlayers/openlayers/pull/11206) - Bump @babel/preset-env from 7.10.2 to 7.10.3 ([@openlayers](https://github.com/openlayers))
* [#11205](https://github.com/openlayers/openlayers/pull/11205) - Bump terser-webpack-plugin from 3.0.4 to 3.0.6 ([@openlayers](https://github.com/openlayers))
* [#11204](https://github.com/openlayers/openlayers/pull/11204) - Bump @babel/core from 7.10.2 to 7.10.3 ([@openlayers](https://github.com/openlayers))
* [#11183](https://github.com/openlayers/openlayers/pull/11183) - Bump mocha from 7.2.0 to 8.0.1 ([@openlayers](https://github.com/openlayers))
* [#11181](https://github.com/openlayers/openlayers/pull/11181) - Bump terser-webpack-plugin from 3.0.3 to 3.0.4 ([@openlayers](https://github.com/openlayers))
* [#11182](https://github.com/openlayers/openlayers/pull/11182) - Bump rollup from 2.15.0 to 2.16.1 ([@openlayers](https://github.com/openlayers))
* [#11180](https://github.com/openlayers/openlayers/pull/11180) - Bump karma from 5.0.9 to 5.1.0 ([@openlayers](https://github.com/openlayers))
* [#11158](https://github.com/openlayers/openlayers/pull/11158) - Bump globby from 11.0.0 to 11.0.1 ([@openlayers](https://github.com/openlayers))
* [#11157](https://github.com/openlayers/openlayers/pull/11157) - Bump copy-webpack-plugin from 6.0.1 to 6.0.2 ([@openlayers](https://github.com/openlayers))
* [#11151](https://github.com/openlayers/openlayers/pull/11151) - Bump terser-webpack-plugin from 3.0.2 to 3.0.3 ([@openlayers](https://github.com/openlayers))
* [#11156](https://github.com/openlayers/openlayers/pull/11156) - Bump typescript from 3.9.3 to 3.9.5 ([@openlayers](https://github.com/openlayers))
* [#11155](https://github.com/openlayers/openlayers/pull/11155) - Bump fs-extra from 9.0.0 to 9.0.1 ([@openlayers](https://github.com/openlayers))
* [#11152](https://github.com/openlayers/openlayers/pull/11152) - Bump puppeteer from 3.2.0 to 3.3.0 ([@openlayers](https://github.com/openlayers))
* [#11153](https://github.com/openlayers/openlayers/pull/11153) - Bump eslint from 6.8.0 to 7.2.0 ([@openlayers](https://github.com/openlayers))
* [#11150](https://github.com/openlayers/openlayers/pull/11150) - Bump rollup from 2.12.0 to 2.15.0 ([@openlayers](https://github.com/openlayers))
* [#11154](https://github.com/openlayers/openlayers/pull/11154) - Bump ol-mapbox-style from 6.1.1 to 6.1.2 ([@openlayers](https://github.com/openlayers))
* [#11143](https://github.com/openlayers/openlayers/pull/11143) - [Security] Bump websocket-extensions from 0.1.3 to 0.1.4 ([@openlayers](https://github.com/openlayers))
* [#11123](https://github.com/openlayers/openlayers/pull/11123) - Bump @babel/core from 7.9.6 to 7.10.2 ([@openlayers](https://github.com/openlayers))
* [#11122](https://github.com/openlayers/openlayers/pull/11122) - Bump karma-coverage-istanbul-reporter from 3.0.2 to 3.0.3 ([@openlayers](https://github.com/openlayers))
* [#11125](https://github.com/openlayers/openlayers/pull/11125) - Bump terser-webpack-plugin from 3.0.1 to 3.0.2 ([@openlayers](https://github.com/openlayers))
* [#11126](https://github.com/openlayers/openlayers/pull/11126) - Bump front-matter from 4.0.0 to 4.0.2 ([@openlayers](https://github.com/openlayers))
* [#11124](https://github.com/openlayers/openlayers/pull/11124) - Bump rollup from 2.10.9 to 2.12.0 ([@openlayers](https://github.com/openlayers))
* [#11127](https://github.com/openlayers/openlayers/pull/11127) - Bump @babel/preset-env from 7.9.6 to 7.10.2 ([@openlayers](https://github.com/openlayers))
* [#11121](https://github.com/openlayers/openlayers/pull/11121) - Bump puppeteer from 3.1.0 to 3.2.0 ([@openlayers](https://github.com/openlayers))
* [#11096](https://github.com/openlayers/openlayers/pull/11096) - Bump rollup-plugin-terser from 5.3.0 to 6.1.0 ([@openlayers](https://github.com/openlayers))
* [#11095](https://github.com/openlayers/openlayers/pull/11095) - Bump front-matter from 3.2.1 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#11094](https://github.com/openlayers/openlayers/pull/11094) - Bump rollup from 2.10.2 to 2.10.9 ([@openlayers](https://github.com/openlayers))
* [#11099](https://github.com/openlayers/openlayers/pull/11099) - Bump mocha from 7.1.2 to 7.2.0 ([@openlayers](https://github.com/openlayers))
* [#11093](https://github.com/openlayers/openlayers/pull/11093) - Bump karma from 5.0.7 to 5.0.9 ([@openlayers](https://github.com/openlayers))
* [#11098](https://github.com/openlayers/openlayers/pull/11098) - Bump typescript from 3.9.2 to 3.9.3 ([@openlayers](https://github.com/openlayers))
* [#11097](https://github.com/openlayers/openlayers/pull/11097) - Bump puppeteer from 3.0.4 to 3.1.0 ([@openlayers](https://github.com/openlayers))
* [#11062](https://github.com/openlayers/openlayers/pull/11062) - Bump typescript from 3.8.3 to 3.9.2 ([@openlayers](https://github.com/openlayers))
* [#11057](https://github.com/openlayers/openlayers/pull/11057) - Bump copy-webpack-plugin from 5.1.1 to 6.0.1 ([@openlayers](https://github.com/openlayers))
* [#11060](https://github.com/openlayers/openlayers/pull/11060) - Bump karma from 5.0.5 to 5.0.7 ([@openlayers](https://github.com/openlayers))
* [#11059](https://github.com/openlayers/openlayers/pull/11059) - Bump rollup from 2.9.1 to 2.10.2 ([@openlayers](https://github.com/openlayers))
* [#11058](https://github.com/openlayers/openlayers/pull/11058) - Bump marked from 1.0.0 to 1.1.0 ([@openlayers](https://github.com/openlayers))
* [#11064](https://github.com/openlayers/openlayers/pull/11064) - Bump front-matter from 3.1.0 to 3.2.1 ([@openlayers](https://github.com/openlayers))
* [#11061](https://github.com/openlayers/openlayers/pull/11061) - Bump url-polyfill from 1.1.8 to 1.1.9 ([@openlayers](https://github.com/openlayers))
* [#11063](https://github.com/openlayers/openlayers/pull/11063) - Bump proj4 from 2.6.1 to 2.6.2 ([@openlayers](https://github.com/openlayers))
* [#11030](https://github.com/openlayers/openlayers/pull/11030) - Bump karma-coverage-istanbul-reporter from 3.0.0 to 3.0.2 ([@openlayers](https://github.com/openlayers))
* [#11031](https://github.com/openlayers/openlayers/pull/11031) - Bump karma from 5.0.4 to 5.0.5 ([@openlayers](https://github.com/openlayers))
* [#11032](https://github.com/openlayers/openlayers/pull/11032) - Bump puppeteer from 3.0.2 to 3.0.4 ([@openlayers](https://github.com/openlayers))
* [#11029](https://github.com/openlayers/openlayers/pull/11029) - Bump jquery from 3.5.0 to 3.5.1 ([@openlayers](https://github.com/openlayers))
* [#11028](https://github.com/openlayers/openlayers/pull/11028) - Bump rollup from 2.7.6 to 2.9.1 ([@openlayers](https://github.com/openlayers))
* [#11027](https://github.com/openlayers/openlayers/pull/11027) - Bump terser-webpack-plugin from 3.0.0 to 3.0.1 ([@openlayers](https://github.com/openlayers))
* [#11026](https://github.com/openlayers/openlayers/pull/11026) - Bump webpack-dev-server from 3.10.3 to 3.11.0 ([@openlayers](https://github.com/openlayers))
* [#11006](https://github.com/openlayers/openlayers/pull/11006) - Bump karma-mocha from 2.0.0 to 2.0.1 ([@openlayers](https://github.com/openlayers))
* [#11005](https://github.com/openlayers/openlayers/pull/11005) - Bump karma from 5.0.2 to 5.0.4 ([@openlayers](https://github.com/openlayers))
* [#11003](https://github.com/openlayers/openlayers/pull/11003) - Bump rollup from 2.7.2 to 2.7.6 ([@openlayers](https://github.com/openlayers))
* [#11002](https://github.com/openlayers/openlayers/pull/11002) - Bump puppeteer from 2.1.1 to 3.0.2 ([@openlayers](https://github.com/openlayers))
* [#10999](https://github.com/openlayers/openlayers/pull/10999) - Bump @babel/core from 7.9.0 to 7.9.6 ([@openlayers](https://github.com/openlayers))
* [#11004](https://github.com/openlayers/openlayers/pull/11004) - Bump @babel/preset-env from 7.9.5 to 7.9.6 ([@openlayers](https://github.com/openlayers))
* [#11001](https://github.com/openlayers/openlayers/pull/11001) - Bump karma-coverage-istanbul-reporter from 2.1.1 to 3.0.0 ([@openlayers](https://github.com/openlayers))
* [#11000](https://github.com/openlayers/openlayers/pull/11000) - Bump terser-webpack-plugin from 2.3.6 to 3.0.0 ([@openlayers](https://github.com/openlayers))
* [#10971](https://github.com/openlayers/openlayers/pull/10971) - Bump webpack from 4.42.1 to 4.43.0 ([@openlayers](https://github.com/openlayers))
* [#10972](https://github.com/openlayers/openlayers/pull/10972) - Bump marked from 0.8.2 to 1.0.0 ([@openlayers](https://github.com/openlayers))
* [#10970](https://github.com/openlayers/openlayers/pull/10970) - Bump mocha from 7.1.1 to 7.1.2 ([@openlayers](https://github.com/openlayers))
* [#10969](https://github.com/openlayers/openlayers/pull/10969) - Bump puppeteer from 3.0.0 to 3.0.1 ([@openlayers](https://github.com/openlayers))
* [#10968](https://github.com/openlayers/openlayers/pull/10968) - Bump coveralls from 3.0.11 to 3.1.0 ([@openlayers](https://github.com/openlayers))
* [#10967](https://github.com/openlayers/openlayers/pull/10967) - Bump terser-webpack-plugin from 2.3.5 to 2.3.6 ([@openlayers](https://github.com/openlayers))
* [#10966](https://github.com/openlayers/openlayers/pull/10966) - Bump rollup from 2.6.1 to 2.7.2 ([@openlayers](https://github.com/openlayers))
* [#10945](https://github.com/openlayers/openlayers/pull/10945) - Bump karma-mocha from 1.3.0 to 2.0.0 ([@openlayers](https://github.com/openlayers))
* [#10943](https://github.com/openlayers/openlayers/pull/10943) - Bump pngjs from 4.0.0 to 5.0.0 ([@openlayers](https://github.com/openlayers))
* [#10946](https://github.com/openlayers/openlayers/pull/10946) - Bump pixelmatch from 5.1.0 to 5.2.0 ([@openlayers](https://github.com/openlayers))
* [#10944](https://github.com/openlayers/openlayers/pull/10944) - Bump loglevelnext from 3.0.1 to 4.0.1 ([@openlayers](https://github.com/openlayers))
* [#10942](https://github.com/openlayers/openlayers/pull/10942) - Bump puppeteer from 2.1.1 to 3.0.0 ([@openlayers](https://github.com/openlayers))
* [#10947](https://github.com/openlayers/openlayers/pull/10947) - Bump karma from 5.0.1 to 5.0.2 ([@openlayers](https://github.com/openlayers))
* [#10918](https://github.com/openlayers/openlayers/pull/10918) - Bump @babel/preset-env from 7.9.0 to 7.9.5 ([@openlayers](https://github.com/openlayers))
* [#10921](https://github.com/openlayers/openlayers/pull/10921) - Bump pngjs from 3.4.0 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#10923](https://github.com/openlayers/openlayers/pull/10923) - Bump sinon from 9.0.1 to 9.0.2 ([@openlayers](https://github.com/openlayers))
* [#10922](https://github.com/openlayers/openlayers/pull/10922) - Bump karma from 4.4.1 to 5.0.1 ([@openlayers](https://github.com/openlayers))
* [#10920](https://github.com/openlayers/openlayers/pull/10920) - Bump jsdoc from 3.6.3 to 3.6.4 ([@openlayers](https://github.com/openlayers))
* [#10919](https://github.com/openlayers/openlayers/pull/10919) - Bump rollup from 2.3.3 to 2.6.1 ([@openlayers](https://github.com/openlayers))
* [#10924](https://github.com/openlayers/openlayers/pull/10924) - Bump jquery from 3.4.1 to 3.5.0 ([@openlayers](https://github.com/openlayers))
* [#10889](https://github.com/openlayers/openlayers/pull/10889) - Bump rollup from 2.3.0 to 2.3.3 ([@openlayers](https://github.com/openlayers))
* [#10891](https://github.com/openlayers/openlayers/pull/10891) - Bump handlebars from 4.7.4 to 4.7.6 ([@openlayers](https://github.com/openlayers))
</details>

28
changelog/v6.4.1.md Normal file
View File

@@ -0,0 +1,28 @@
# 6.4.1
This is a bugfix release which removes a few regressions that were introduced by v6.4.0, and fixes a few issues in examples caused by the website facelift.
## List of all changes
* [#11346](https://github.com/openlayers/openlayers/pull/11346) - Fix text instruction flat coordinates when stride is not 2 ([@ahocevar](https://github.com/ahocevar))
* [#11348](https://github.com/openlayers/openlayers/pull/11348) - Add all layers to layer export ([@M393](https://github.com/M393))
* [#11337](https://github.com/openlayers/openlayers/pull/11337) - Do not rely on old value for target ([@ahocevar](https://github.com/ahocevar))
* [#11345](https://github.com/openlayers/openlayers/pull/11345) - Fix the popup in the geographic example ([@MoonE](https://github.com/MoonE))
* [#11336](https://github.com/openlayers/openlayers/pull/11336) - Hit detect with pixelRatio of 1 ([@ahocevar](https://github.com/ahocevar))
* [#11341](https://github.com/openlayers/openlayers/pull/11341) - update link to BS doc ([@jipexu](https://github.com/jipexu))
* [#11340](https://github.com/openlayers/openlayers/pull/11340) - Examples fix / improvement ([@MoonE](https://github.com/MoonE))
* [#11339](https://github.com/openlayers/openlayers/pull/11339) - Use bootstrap 4.5.0 in all examples ([@MoonE](https://github.com/MoonE))
* [#11327](https://github.com/openlayers/openlayers/pull/11327) - Fix Internet Explorer issues ([@ahocevar](https://github.com/ahocevar))
* [#11315](https://github.com/openlayers/openlayers/pull/11315) - Examples fix html ([@MoonE](https://github.com/MoonE))
<details>
<summary>Dependency Updates</summary>
* [#11330](https://github.com/openlayers/openlayers/pull/11330) - Bump rollup from 2.22.1 to 2.23.0 ([@openlayers](https://github.com/openlayers))
* [#11332](https://github.com/openlayers/openlayers/pull/11332) - Bump jsdoc from 3.6.4 to 3.6.5 ([@openlayers](https://github.com/openlayers))
* [#11329](https://github.com/openlayers/openlayers/pull/11329) - Bump puppeteer from 5.2.0 to 5.2.1 ([@openlayers](https://github.com/openlayers))
* [#11328](https://github.com/openlayers/openlayers/pull/11328) - Bump webpack from 4.43.0 to 4.44.0 ([@openlayers](https://github.com/openlayers))
</details>

14
changelog/v6.4.2.md Normal file
View File

@@ -0,0 +1,14 @@
# 6.4.2
This is a bugfix release which removes a few regressions that were introduced by v6.4.0, and fixes a few issues in examples.
See the [v6.4.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v6.4.0) for a complete list of changes and upgrade notes when upgrading from v6.3.x.
## List of all changes
* [#11364](https://github.com/openlayers/openlayers/pull/11364) - Load pointer events polyfill - before other polyfills ([@ahocevar](https://github.com/ahocevar))
* [#11365](https://github.com/openlayers/openlayers/pull/11365) - Revert to original method proposed in #11193 ([@mike-000](https://github.com/mike-000))
* [#11359](https://github.com/openlayers/openlayers/pull/11359) - check projection can wrap before getting width ([@mike-000](https://github.com/mike-000))
* [#11355](https://github.com/openlayers/openlayers/pull/11355) - Cloak API key with instructions where to get one ([@ahocevar](https://github.com/ahocevar))
* [#11354](https://github.com/openlayers/openlayers/pull/11354) - Fix line breaks in changelog ([@ahocevar](https://github.com/ahocevar))

29
changelog/v6.4.3.md Normal file
View File

@@ -0,0 +1,29 @@
# 6.4.3
This is a bugfix release which fixes a performance regression, a rendering issue, and adds improvements to a few examples.
See the [v6.4.0 release notes](https://github.com/openlayers/openlayers/releases/tag/v6.4.0) for a complete list of changes and upgrade notes when upgrading from v6.3.x.
## List of all changes
* [#11379](https://github.com/openlayers/openlayers/pull/11379) - tooltip bs on fullscreen ([@jipexu](https://github.com/jipexu))
* [#11378](https://github.com/openlayers/openlayers/pull/11378) - Fix imageSmoothing: false when ImageStatic is stretched to fit extent ([@mike-000](https://github.com/mike-000))
* [#11367](https://github.com/openlayers/openlayers/pull/11367) - Use https for mapbox tiles ([@MoonE](https://github.com/MoonE))
* [#11377](https://github.com/openlayers/openlayers/pull/11377) - Only include renderBuffer when decluttering ([@ahocevar](https://github.com/ahocevar))
* [#11376](https://github.com/openlayers/openlayers/pull/11376) - Overlay Eample - Show the popup in front of the other overlays ([@MoonE](https://github.com/MoonE))
<details>
<summary>Dependency Updates</summary>
* [#11381](https://github.com/openlayers/openlayers/pull/11381) - Bump karma from 5.1.0 to 5.1.1 ([@openlayers](https://github.com/openlayers))
* [#11383](https://github.com/openlayers/openlayers/pull/11383) - Bump worker-loader from 2.0.0 to 3.0.0 ([@openlayers](https://github.com/openlayers))
* [#11386](https://github.com/openlayers/openlayers/pull/11386) - Bump webpack from 4.44.0 to 4.44.1 ([@openlayers](https://github.com/openlayers))
* [#11384](https://github.com/openlayers/openlayers/pull/11384) - Bump @babel/core from 7.10.5 to 7.11.0 ([@openlayers](https://github.com/openlayers))
* [#11382](https://github.com/openlayers/openlayers/pull/11382) - Bump mocha from 8.0.1 to 8.1.0 ([@openlayers](https://github.com/openlayers))
* [#11385](https://github.com/openlayers/openlayers/pull/11385) - Bump @babel/preset-env from 7.10.4 to 7.11.0 ([@openlayers](https://github.com/openlayers))
* [#11387](https://github.com/openlayers/openlayers/pull/11387) - Bump eslint from 7.5.0 to 7.6.0 ([@openlayers](https://github.com/openlayers))
* [#11388](https://github.com/openlayers/openlayers/pull/11388) - Bump terser-webpack-plugin from 3.0.7 to 3.0.8 ([@openlayers](https://github.com/openlayers))
</details>

279
changelog/v6.5.0.md Normal file
View File

@@ -0,0 +1,279 @@
# 6.5.0
With more than 110 pull requests, this release not only brings WFS 2.0 support and improved touch support for drawing geometries and querying features. In addition to that, several improvements, many bugs fixes, and nicer API docs and examples have found their way into the 6.5.0 release.
## Upgrade notes
### Units of the `hitTolerance` option fixed
Previously, the `hitTolerance` option of the map's `getFeaturesAtPixel()`, `forEachFeatureAtPixel()` and `hasFeatureAtPixel()` methods behaved differently depending on the `devicePixelRatio` (or the `pixelRatio` of the map), because the original value was internally multiplied by the device pixel ratio twice instead of just once. Now this is fixed. **Note**: The `hitTolerance`'s units are css pixels. The documentation was updated to reflect this.
If your application adjusts for that with code like
```js
{ hitTolerance: 10 / devicePixelRatio, }
```
you'll have to change that code to
```js
{ hitTolerance: 10, }
```
## New features and improvements
* New scale option in `RegularShape` and `Circle` style constructors
* WFS 2.0.0 support
* Added `preRender` and `postRender` methods to `WebGLLayerRenderer`
* Added `className` constructor option in `ol/layer/Heatmap`
* Added load events for `ol/source/Vector`
* New `iconUrlFunction` option for `ol/format/KML`
* Added `transition` option to `OSM` and `CartoDB` sources
* `DragAndDrop` interaction support for formats that read ArrayBuffer sources
* New `padding` option for `ol/View`
* New `cancel` event for the `DragBox` interaction
* When using `hitTolerance`, detect closest features first
* Ability to draw `Circle` geometries with a custom renderer
## List of all changes
* [#11859](https://github.com/openlayers/openlayers/pull/11859) - Do not fire duplicate postrender events ([@MoonE](https://github.com/MoonE))
* [#11858](https://github.com/openlayers/openlayers/pull/11858) - Correct documented event names for VectorSourceEvent ([@MoonE](https://github.com/MoonE))
* [#11844](https://github.com/openlayers/openlayers/pull/11844) - Fix Style expressions error message ([@MoonE](https://github.com/MoonE))
* [#11838](https://github.com/openlayers/openlayers/pull/11838) - Custom circle render ([@changqingom](https://github.com/changqingom))
* [#11811](https://github.com/openlayers/openlayers/pull/11811) - Better getPointResolution default when no transform available ([@mike-000](https://github.com/mike-000))
* [#11821](https://github.com/openlayers/openlayers/pull/11821) - Call the finishCondition when drawing points / circles ([@MoonE](https://github.com/MoonE))
* [#11824](https://github.com/openlayers/openlayers/pull/11824) - Add Units back to API docs ([@ahocevar](https://github.com/ahocevar))
* [#11817](https://github.com/openlayers/openlayers/pull/11817) - stopPropagation support for PluggableMap ([@greggian](https://github.com/greggian))
* [#11815](https://github.com/openlayers/openlayers/pull/11815) - Remove unnecessary line that breaks drawing with multi-touch ([@ahocevar](https://github.com/ahocevar))
* [#11800](https://github.com/openlayers/openlayers/pull/11800) - Fix removeLastPoint when removing last point ([@ahocevar](https://github.com/ahocevar))
* [#11769](https://github.com/openlayers/openlayers/pull/11769) - Modify interaction developer experience improvements ([@ahocevar](https://github.com/ahocevar))
* [#11803](https://github.com/openlayers/openlayers/pull/11803) - Modify fix vertex insertion ([@MoonE](https://github.com/MoonE))
* [#11783](https://github.com/openlayers/openlayers/pull/11783) - Cache hit detect indexes and check closest pixels first. ([@MoonE](https://github.com/MoonE))
* [#11791](https://github.com/openlayers/openlayers/pull/11791) - Now that pepjs was updated, we can point to the official package ([@ahocevar](https://github.com/ahocevar))
* [#11790](https://github.com/openlayers/openlayers/pull/11790) - Fix attributions links for WMS layers from swisstopo ([@openlayers](https://github.com/openlayers))
* [#11781](https://github.com/openlayers/openlayers/pull/11781) - Pass geometry to forEachFeatureAtPixel callback ([@ahocevar](https://github.com/ahocevar))
* [#11778](https://github.com/openlayers/openlayers/pull/11778) - No need to adjust hitTolerance for pixel ratio twice ([@ahocevar](https://github.com/ahocevar))
* [#11780](https://github.com/openlayers/openlayers/pull/11780) - Add a cancel event to the DragBox interaction ([@M393](https://github.com/M393))
* [#11779](https://github.com/openlayers/openlayers/pull/11779) - Restore Mode.CIRCLE in Draw interaction ([@mike-000](https://github.com/mike-000))
* [#11753](https://github.com/openlayers/openlayers/pull/11753) - Use Mode.LINE_STRING in Draw interaction for Circle geometries ([@mike-000](https://github.com/mike-000))
* [#11767](https://github.com/openlayers/openlayers/pull/11767) - Improve documentation of geometry rotation ([@mike-000](https://github.com/mike-000))
* [#11755](https://github.com/openlayers/openlayers/pull/11755) - Add padding option for View ([@ahocevar](https://github.com/ahocevar))
* [#11754](https://github.com/openlayers/openlayers/pull/11754) - Fix typo that prevents Rotate icon from indicating the view rotation ([@ahocevar](https://github.com/ahocevar))
* [#11719](https://github.com/openlayers/openlayers/pull/11719) - Clamp EPSG:3857 y to lowest/highest possible value instead of validity extent ([@ahocevar](https://github.com/ahocevar))
* [#11737](https://github.com/openlayers/openlayers/pull/11737) - Write the correct SRS code in EsriJSON ([@ahocevar](https://github.com/ahocevar))
* [#11749](https://github.com/openlayers/openlayers/pull/11749) - Document that snapTolerance must be greater than 0 ([@ahocevar](https://github.com/ahocevar))
* [#11750](https://github.com/openlayers/openlayers/pull/11750) - Update TMS tileUrlFunction example in ol/source/XYZ documentation ([@mike-000](https://github.com/mike-000))
* [#11739](https://github.com/openlayers/openlayers/pull/11739) - Fix: Check for layer extent in CanvasLayerRenderer.getDataAtPixel ([@boeckMt](https://github.com/boeckMt))
* [#11748](https://github.com/openlayers/openlayers/pull/11748) - Add fetch and TextDecoder to polyfill list in README ([@mike-000](https://github.com/mike-000))
* [#11740](https://github.com/openlayers/openlayers/pull/11740) - Wfs bbox per feature type ([@ger-benjamin](https://github.com/ger-benjamin))
* [#11722](https://github.com/openlayers/openlayers/pull/11722) - Correct meaning of 'start' and 'end' text align for LTR text ([@ahocevar](https://github.com/ahocevar))
* [#11741](https://github.com/openlayers/openlayers/pull/11741) - Include LICENSE.md in built package ([@bz2](https://github.com/bz2))
* [#11718](https://github.com/openlayers/openlayers/pull/11718) - Initialize sketch point on Draw#extend() ([@ahocevar](https://github.com/ahocevar))
* [#11732](https://github.com/openlayers/openlayers/pull/11732) - Replace readURI with readStyleURL for KML StyleURLs ([@mike-000](https://github.com/mike-000))
* [#11723](https://github.com/openlayers/openlayers/pull/11723) - Drag and Drop Interaction support for formats that read ArrayBuffer sources ([@mike-000](https://github.com/mike-000))
* [#11724](https://github.com/openlayers/openlayers/pull/11724) - Add transition option to OSM and CartoDB sources, document default ([@MoonE](https://github.com/MoonE))
* [#11721](https://github.com/openlayers/openlayers/pull/11721) - Handle empty Z coordinates in KML ([@mike-000](https://github.com/mike-000))
* [#11587](https://github.com/openlayers/openlayers/pull/11587) - Determine orientation by actual text start and end x ([@MoonE](https://github.com/MoonE))
* [#11720](https://github.com/openlayers/openlayers/pull/11720) - Return to simpler and less efficient winding order algorithm ([@ahocevar](https://github.com/ahocevar))
* [#11715](https://github.com/openlayers/openlayers/pull/11715) - Add all symbols to the legacy build ([@ahocevar](https://github.com/ahocevar))
* [#11716](https://github.com/openlayers/openlayers/pull/11716) - Treat svg as binary resource ([@mike-000](https://github.com/mike-000))
* [#11698](https://github.com/openlayers/openlayers/pull/11698) - Draw pointer improvements ([@ahocevar](https://github.com/ahocevar))
* [#11490](https://github.com/openlayers/openlayers/pull/11490) - iconUrlFunction option for ol/format/KML ([@mike-000](https://github.com/mike-000))
* [#11628](https://github.com/openlayers/openlayers/pull/11628) - VectorSource load events ([@simonseyock](https://github.com/simonseyock))
* [#11691](https://github.com/openlayers/openlayers/pull/11691) - Use Parcel v2 in copy/paste example code ([@ahocevar](https://github.com/ahocevar))
* [#11673](https://github.com/openlayers/openlayers/pull/11673) - Do not emulate dblclick and slingleclick on multi-touch ([@ahocevar](https://github.com/ahocevar))
* [#11676](https://github.com/openlayers/openlayers/pull/11676) - Fix countries.geojson Antarctica polygon so it wraps correctly ([@mike-000](https://github.com/mike-000))
* [#11646](https://github.com/openlayers/openlayers/pull/11646) - Ensure a unique tile key for each tile coordinate ([@ahocevar](https://github.com/ahocevar))
* [#11655](https://github.com/openlayers/openlayers/pull/11655) - Fix documentation of image render mode for vector tile layers ([@ahocevar](https://github.com/ahocevar))
* [#11668](https://github.com/openlayers/openlayers/pull/11668) - Don't try to get image data for zero sized images ([@tapioko](https://github.com/tapioko))
* [#11648](https://github.com/openlayers/openlayers/pull/11648) - Dwithin filter ([@virtualcitySYSTEMS](https://github.com/virtualcitySYSTEMS))
* [#11658](https://github.com/openlayers/openlayers/pull/11658) - Make webpack dev server run with current version ([@MoonE](https://github.com/MoonE))
* [#11590](https://github.com/openlayers/openlayers/pull/11590) - Export all the Event sub class ([@sbrunner](https://github.com/sbrunner))
* [#11594](https://github.com/openlayers/openlayers/pull/11594) - Display current OS copyright date in the Raster Reprojection example ([@mike-000](https://github.com/mike-000))
* [#11657](https://github.com/openlayers/openlayers/pull/11657) - Use https to avoid security warnings ([@mike-000](https://github.com/mike-000))
* [#11649](https://github.com/openlayers/openlayers/pull/11649) - Deal with undefined units from proj4 longlat projections ([@ahocevar](https://github.com/ahocevar))
* [#11403](https://github.com/openlayers/openlayers/pull/11403) - #11402 add CSS class name support for control buttons ([@cazacugmihai](https://github.com/cazacugmihai))
* [#11592](https://github.com/openlayers/openlayers/pull/11592) - New decluttering implementation ([@ahocevar](https://github.com/ahocevar))
* [#11618](https://github.com/openlayers/openlayers/pull/11618) - Update the Marker Animation example ([@mike-000](https://github.com/mike-000))
* [#11620](https://github.com/openlayers/openlayers/pull/11620) - Add charset to the examples html below the map ([@MoonE](https://github.com/MoonE))
* [#11613](https://github.com/openlayers/openlayers/pull/11613) - Allow mouse input if map is rendered in an other window ([@elnabo](https://github.com/elnabo))
* [#11597](https://github.com/openlayers/openlayers/pull/11597) - Improved performance when removing feature with only one Select ([@MoonE](https://github.com/MoonE))
* [#11607](https://github.com/openlayers/openlayers/pull/11607) - Reset attributions control to collapsible when no uncollapsible sources are visible ([@mike-000](https://github.com/mike-000))
* [#11609](https://github.com/openlayers/openlayers/pull/11609) - Modify interaction insert only one vertex ([@M393](https://github.com/M393))
* [#11605](https://github.com/openlayers/openlayers/pull/11605) - Remove context references when releasing tiles ([@ahocevar](https://github.com/ahocevar))
* [#11591](https://github.com/openlayers/openlayers/pull/11591) - Make permalink example less complex ([@kannes](https://github.com/kannes))
* [#11569](https://github.com/openlayers/openlayers/pull/11569) - Fix binary data exports to codesandbox in examples ([@mike-000](https://github.com/mike-000))
* [#11579](https://github.com/openlayers/openlayers/pull/11579) - Replace Animated GIF example globe gif ([@mike-000](https://github.com/mike-000))
* [#11565](https://github.com/openlayers/openlayers/pull/11565) - Animated GIF example ([@mike-000](https://github.com/mike-000))
* [#11571](https://github.com/openlayers/openlayers/pull/11571) - Replace countryflags.io with flagcdn.com in the Style Renderer example ([@mike-000](https://github.com/mike-000))
* [#11568](https://github.com/openlayers/openlayers/pull/11568) - Fix raster source crash bug when using multiple threads ([@rgroothuijsen](https://github.com/rgroothuijsen))
* [#11563](https://github.com/openlayers/openlayers/pull/11563) - Fix end world calculation if projection is not symmetric ([@MoonE](https://github.com/MoonE))
* [#11561](https://github.com/openlayers/openlayers/pull/11561) - Constrain resolution when fit called without duration ([@M393](https://github.com/M393))
* [#11559](https://github.com/openlayers/openlayers/pull/11559) - Only draw visible worlds ([@MoonE](https://github.com/MoonE))
* [#11519](https://github.com/openlayers/openlayers/pull/11519) - Do not draw multipoints outside render extent ([@MoonE](https://github.com/MoonE))
* [#11532](https://github.com/openlayers/openlayers/pull/11532) - Make TileGrid behave as documented with extent and sizes options ([@ahocevar](https://github.com/ahocevar))
* [#11545](https://github.com/openlayers/openlayers/pull/11545) - Use the className param in ol.layer.Heatmap ([@fredj](https://github.com/fredj))
* [#11548](https://github.com/openlayers/openlayers/pull/11548) - Bind tileUrlFunction before returning it from getTileUrlFunction ([@ahocevar](https://github.com/ahocevar))
* [#11549](https://github.com/openlayers/openlayers/pull/11549) - Only use elementFromPoint with ShadowRoot ([@ahocevar](https://github.com/ahocevar))
* [#11502](https://github.com/openlayers/openlayers/pull/11502) - Fix issue with WMS Capabilities containing a single layer ([@jbelien](https://github.com/jbelien))
* [#11540](https://github.com/openlayers/openlayers/pull/11540) - Avoid unnecessary transform in the MVT format ([@gberaudo](https://github.com/gberaudo))
* [#11537](https://github.com/openlayers/openlayers/pull/11537) - Add rotation and rotateWithView to ol/style/Circle clone method and options ([@mike-000](https://github.com/mike-000))
* [#11543](https://github.com/openlayers/openlayers/pull/11543) - wmts matrixset null pointer fix and improved handling of Identifier ([@sweco-dkjesh](https://github.com/sweco-dkjesh))
* [#11509](https://github.com/openlayers/openlayers/pull/11509) - Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier ([@fgravin](https://github.com/fgravin))
* [#11521](https://github.com/openlayers/openlayers/pull/11521) - Do not use fractional pixel ratio for rendering vector tiles ([@ahocevar](https://github.com/ahocevar))
* [#11517](https://github.com/openlayers/openlayers/pull/11517) - Make clockwise check work when coordinates are duplicated ([@ahocevar](https://github.com/ahocevar))
* [#11501](https://github.com/openlayers/openlayers/pull/11501) - Empty this.canvas_ for all pixel ratios when render() is called ([@mike-000](https://github.com/mike-000))
* [#11471](https://github.com/openlayers/openlayers/pull/11471) - Feature: added preRender and postRender methods to WebGLLayerRenderer… ([@MichaelLangbein](https://github.com/MichaelLangbein))
* [#11491](https://github.com/openlayers/openlayers/pull/11491) - Cosmetic fix to doc (missing closing quote) ([@mike-000](https://github.com/mike-000))
* [#11488](https://github.com/openlayers/openlayers/pull/11488) - "Layer Z-Index" example bugfix ([@michalzielanski](https://github.com/michalzielanski))
* [#11486](https://github.com/openlayers/openlayers/pull/11486) - guard for null ([@davidiamaf](https://github.com/davidiamaf))
* [#11481](https://github.com/openlayers/openlayers/pull/11481) - Adding original properties to cloned geometry ([@michalzielanski](https://github.com/michalzielanski))
* [#11404](https://github.com/openlayers/openlayers/pull/11404) - Add security scan ([@tschaub](https://github.com/tschaub))
* [#11470](https://github.com/openlayers/openlayers/pull/11470) - Fix pointer events polyfill link ([@ahocevar](https://github.com/ahocevar))
* [#11467](https://github.com/openlayers/openlayers/pull/11467) - Style renderer example ([@ahocevar](https://github.com/ahocevar))
* [#11455](https://github.com/openlayers/openlayers/pull/11455) - Apidoc improvements ([@MoonE](https://github.com/MoonE))
* [#11474](https://github.com/openlayers/openlayers/pull/11474) - fix: modify rbush package import ([@haasz](https://github.com/haasz))
* [#11472](https://github.com/openlayers/openlayers/pull/11472) - Typescript 4.0.2 ([@ahocevar](https://github.com/ahocevar))
* [#11454](https://github.com/openlayers/openlayers/pull/11454) - VectorTile source projection has to match the view projection ([@ahocevar](https://github.com/ahocevar))
* [#11438](https://github.com/openlayers/openlayers/pull/11438) - Better scroll behaviour for apidocs ([@MoonE](https://github.com/MoonE))
* [#11446](https://github.com/openlayers/openlayers/pull/11446) - Checks before calling handleEvent on interactions ([@ahocevar](https://github.com/ahocevar))
* [#11305](https://github.com/openlayers/openlayers/pull/11305) - PluggableMap: avoid crash when multiple interactions are removed ([@megawac](https://github.com/megawac))
* [#11433](https://github.com/openlayers/openlayers/pull/11433) - Fix typo in module name ([@fredj](https://github.com/fredj))
* [#11419](https://github.com/openlayers/openlayers/pull/11419) - WFS 2.0.0 support ([@bjornharrtell](https://github.com/bjornharrtell))
* [#11418](https://github.com/openlayers/openlayers/pull/11418) - Icon color default to composite operation ([@MoonE](https://github.com/MoonE))
* [#11416](https://github.com/openlayers/openlayers/pull/11416) - Examples add labels to inputs ([@MoonE](https://github.com/MoonE))
* [#11417](https://github.com/openlayers/openlayers/pull/11417) - Fix sort order of examples search results ([@ahocevar](https://github.com/ahocevar))
* [#11413](https://github.com/openlayers/openlayers/pull/11413) - Include scale option in RegularShape and Circle style constructors ([@mike-000](https://github.com/mike-000))
* [#11401](https://github.com/openlayers/openlayers/pull/11401) - Ensure image extent is valid when scale is negative ([@mike-000](https://github.com/mike-000))
* [#11395](https://github.com/openlayers/openlayers/pull/11395) - Correct inchesPerMeter and add tests for ScaleBar text ([@mike-000](https://github.com/mike-000))
* [#11407](https://github.com/openlayers/openlayers/pull/11407) - Support deprecated coordinates element for GML3+ formats ([@bjornharrtell](https://github.com/bjornharrtell))
* [#11398](https://github.com/openlayers/openlayers/pull/11398) - Fix link to workshop / download ([@MoonE](https://github.com/MoonE))
* [#11391](https://github.com/openlayers/openlayers/pull/11391) - Simplify scale calculation used for WMS getLegendUrl() ([@mike-000](https://github.com/mike-000))
<details>
<summary>Dependency Updates</summary>
* [#11851](https://github.com/openlayers/openlayers/pull/11851) - Bump @babel/preset-env from 7.12.10 to 7.12.11 ([@openlayers](https://github.com/openlayers))
* [#11850](https://github.com/openlayers/openlayers/pull/11850) - Bump marked from 1.2.6 to 1.2.7 ([@openlayers](https://github.com/openlayers))
* [#11852](https://github.com/openlayers/openlayers/pull/11852) - Bump rollup from 2.35.0 to 2.35.1 ([@openlayers](https://github.com/openlayers))
* [#11853](https://github.com/openlayers/openlayers/pull/11853) - Bump copy-webpack-plugin from 6.4.0 to 6.4.1 ([@openlayers](https://github.com/openlayers))
* [#11849](https://github.com/openlayers/openlayers/pull/11849) - Bump eslint from 7.15.0 to 7.16.0 ([@openlayers](https://github.com/openlayers))
* [#11848](https://github.com/openlayers/openlayers/pull/11848) - Bump ol-mapbox-style from 6.2.1 to 6.3.0 ([@openlayers](https://github.com/openlayers))
* [#11828](https://github.com/openlayers/openlayers/pull/11828) - Bump ol-mapbox-style from 6.1.4 to 6.2.1 ([@openlayers](https://github.com/openlayers))
* [#11830](https://github.com/openlayers/openlayers/pull/11830) - Bump jsdoc-plugin-typescript from 2.0.5 to 2.0.6 ([@openlayers](https://github.com/openlayers))
* [#11829](https://github.com/openlayers/openlayers/pull/11829) - Bump typescript from 4.1.2 to 4.1.3 ([@openlayers](https://github.com/openlayers))
* [#11833](https://github.com/openlayers/openlayers/pull/11833) - Bump rollup from 2.34.2 to 2.35.0 ([@openlayers](https://github.com/openlayers))
* [#11834](https://github.com/openlayers/openlayers/pull/11834) - Bump copy-webpack-plugin from 6.3.2 to 6.4.0 ([@openlayers](https://github.com/openlayers))
* [#11832](https://github.com/openlayers/openlayers/pull/11832) - Bump @babel/preset-env from 7.12.7 to 7.12.10 ([@openlayers](https://github.com/openlayers))
* [#11835](https://github.com/openlayers/openlayers/pull/11835) - Bump sinon from 9.2.1 to 9.2.2 ([@openlayers](https://github.com/openlayers))
* [#11831](https://github.com/openlayers/openlayers/pull/11831) - Bump marked from 1.2.5 to 1.2.6 ([@openlayers](https://github.com/openlayers))
* [#11827](https://github.com/openlayers/openlayers/pull/11827) - Bump @babel/core from 7.12.9 to 7.12.10 ([@openlayers](https://github.com/openlayers))
* [#11820](https://github.com/openlayers/openlayers/pull/11820) - [Security] Bump ini from 1.3.5 to 1.3.7 ([@openlayers](https://github.com/openlayers))
* [#11809](https://github.com/openlayers/openlayers/pull/11809) - Bump yargs from 16.1.1 to 16.2.0 ([@openlayers](https://github.com/openlayers))
* [#11808](https://github.com/openlayers/openlayers/pull/11808) - Bump worker-loader from 3.0.5 to 3.0.6 ([@openlayers](https://github.com/openlayers))
* [#11807](https://github.com/openlayers/openlayers/pull/11807) - Bump eslint from 7.14.0 to 7.15.0 ([@openlayers](https://github.com/openlayers))
* [#11806](https://github.com/openlayers/openlayers/pull/11806) - Bump rollup from 2.34.0 to 2.34.2 ([@openlayers](https://github.com/openlayers))
* [#11786](https://github.com/openlayers/openlayers/pull/11786) - Bump rollup from 2.33.3 to 2.34.0 ([@openlayers](https://github.com/openlayers))
* [#11787](https://github.com/openlayers/openlayers/pull/11787) - Bump babel-loader from 8.2.1 to 8.2.2 ([@openlayers](https://github.com/openlayers))
* [#11785](https://github.com/openlayers/openlayers/pull/11785) - Bump @babel/core from 7.12.7 to 7.12.9 ([@openlayers](https://github.com/openlayers))
* [#11762](https://github.com/openlayers/openlayers/pull/11762) - Bump typescript from 4.0.5 to 4.1.2 ([@openlayers](https://github.com/openlayers))
* [#11764](https://github.com/openlayers/openlayers/pull/11764) - Bump copy-webpack-plugin from 6.3.1 to 6.3.2 ([@openlayers](https://github.com/openlayers))
* [#11758](https://github.com/openlayers/openlayers/pull/11758) - Bump rollup from 2.33.2 to 2.33.3 ([@openlayers](https://github.com/openlayers))
* [#11761](https://github.com/openlayers/openlayers/pull/11761) - Bump @babel/core from 7.12.3 to 7.12.7 ([@openlayers](https://github.com/openlayers))
* [#11760](https://github.com/openlayers/openlayers/pull/11760) - Bump proj4 from 2.6.2 to 2.6.3 ([@openlayers](https://github.com/openlayers))
* [#11763](https://github.com/openlayers/openlayers/pull/11763) - Bump eslint from 7.13.0 to 7.14.0 ([@openlayers](https://github.com/openlayers))
* [#11759](https://github.com/openlayers/openlayers/pull/11759) - Bump @babel/preset-env from 7.12.1 to 7.12.7 ([@openlayers](https://github.com/openlayers))
* [#11757](https://github.com/openlayers/openlayers/pull/11757) - Bump marked from 1.2.4 to 1.2.5 ([@openlayers](https://github.com/openlayers))
* [#11756](https://github.com/openlayers/openlayers/pull/11756) - Bump puppeteer from 5.4.1 to 5.5.0 ([@openlayers](https://github.com/openlayers))
* [#11747](https://github.com/openlayers/openlayers/pull/11747) - Bump rollup from 2.33.1 to 2.33.2 ([@openlayers](https://github.com/openlayers))
* [#11746](https://github.com/openlayers/openlayers/pull/11746) - Bump babel-loader from 8.1.0 to 8.2.1 ([@openlayers](https://github.com/openlayers))
* [#11745](https://github.com/openlayers/openlayers/pull/11745) - Bump yargs from 16.1.0 to 16.1.1 ([@openlayers](https://github.com/openlayers))
* [#11744](https://github.com/openlayers/openlayers/pull/11744) - Bump webpack-dev-middleware from 4.0.0 to 4.0.2 ([@openlayers](https://github.com/openlayers))
* [#11743](https://github.com/openlayers/openlayers/pull/11743) - Bump copy-webpack-plugin from 6.3.0 to 6.3.1 ([@openlayers](https://github.com/openlayers))
* [#11742](https://github.com/openlayers/openlayers/pull/11742) - Bump marked from 1.2.3 to 1.2.4 ([@openlayers](https://github.com/openlayers))
* [#11731](https://github.com/openlayers/openlayers/pull/11731) - Bump mocha from 8.2.0 to 8.2.1 ([@openlayers](https://github.com/openlayers))
* [#11730](https://github.com/openlayers/openlayers/pull/11730) - Bump marked from 1.2.2 to 1.2.3 ([@openlayers](https://github.com/openlayers))
* [#11729](https://github.com/openlayers/openlayers/pull/11729) - Bump eslint from 7.12.1 to 7.13.0 ([@openlayers](https://github.com/openlayers))
* [#11728](https://github.com/openlayers/openlayers/pull/11728) - Bump webpack-cli from 4.1.0 to 4.2.0 ([@openlayers](https://github.com/openlayers))
* [#11727](https://github.com/openlayers/openlayers/pull/11727) - Bump karma-firefox-launcher from 2.0.0 to 2.1.0 ([@openlayers](https://github.com/openlayers))
* [#11726](https://github.com/openlayers/openlayers/pull/11726) - Bump copy-webpack-plugin from 6.2.1 to 6.3.0 ([@openlayers](https://github.com/openlayers))
* [#11708](https://github.com/openlayers/openlayers/pull/11708) - Bump rollup from 2.32.1 to 2.33.1 ([@openlayers](https://github.com/openlayers))
* [#11705](https://github.com/openlayers/openlayers/pull/11705) - Bump webpack-dev-middleware from 3.7.2 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#11706](https://github.com/openlayers/openlayers/pull/11706) - Bump url-polyfill from 1.1.11 to 1.1.12 ([@openlayers](https://github.com/openlayers))
* [#11707](https://github.com/openlayers/openlayers/pull/11707) - Bump typescript from 4.0.3 to 4.0.5 ([@openlayers](https://github.com/openlayers))
* [#11709](https://github.com/openlayers/openlayers/pull/11709) - Bump sinon from 9.2.0 to 9.2.1 ([@openlayers](https://github.com/openlayers))
* [#11710](https://github.com/openlayers/openlayers/pull/11710) - Bump puppeteer from 5.4.0 to 5.4.1 ([@openlayers](https://github.com/openlayers))
* [#11711](https://github.com/openlayers/openlayers/pull/11711) - Bump eslint from 7.12.0 to 7.12.1 ([@openlayers](https://github.com/openlayers))
* [#11689](https://github.com/openlayers/openlayers/pull/11689) - Bump pngjs from 5.0.0 to 6.0.0 ([@openlayers](https://github.com/openlayers))
* [#11686](https://github.com/openlayers/openlayers/pull/11686) - Bump shx from 0.3.2 to 0.3.3 ([@openlayers](https://github.com/openlayers))
* [#11683](https://github.com/openlayers/openlayers/pull/11683) - Bump puppeteer from 5.3.1 to 5.4.0 ([@openlayers](https://github.com/openlayers))
* [#11682](https://github.com/openlayers/openlayers/pull/11682) - Bump karma-firefox-launcher from 1.3.0 to 2.0.0 ([@openlayers](https://github.com/openlayers))
* [#11684](https://github.com/openlayers/openlayers/pull/11684) - Bump marked from 1.2.0 to 1.2.2 ([@openlayers](https://github.com/openlayers))
* [#11685](https://github.com/openlayers/openlayers/pull/11685) - Bump rollup from 2.32.0 to 2.32.1 ([@openlayers](https://github.com/openlayers))
* [#11688](https://github.com/openlayers/openlayers/pull/11688) - Bump webpack-cli from 4.0.0 to 4.1.0 ([@openlayers](https://github.com/openlayers))
* [#11687](https://github.com/openlayers/openlayers/pull/11687) - Bump eslint from 7.11.0 to 7.12.0 ([@openlayers](https://github.com/openlayers))
* [#11666](https://github.com/openlayers/openlayers/pull/11666) - Bump worker-loader from 3.0.4 to 3.0.5 ([@openlayers](https://github.com/openlayers))
* [#11665](https://github.com/openlayers/openlayers/pull/11665) - Bump url-polyfill from 1.1.10 to 1.1.11 ([@openlayers](https://github.com/openlayers))
* [#11664](https://github.com/openlayers/openlayers/pull/11664) - Bump @babel/core from 7.11.6 to 7.12.3 ([@openlayers](https://github.com/openlayers))
* [#11663](https://github.com/openlayers/openlayers/pull/11663) - Bump yargs from 16.0.3 to 16.1.0 ([@openlayers](https://github.com/openlayers))
* [#11662](https://github.com/openlayers/openlayers/pull/11662) - Bump mocha from 8.1.3 to 8.2.0 ([@openlayers](https://github.com/openlayers))
* [#11661](https://github.com/openlayers/openlayers/pull/11661) - Bump rollup from 2.29.0 to 2.32.0 ([@openlayers](https://github.com/openlayers))
* [#11660](https://github.com/openlayers/openlayers/pull/11660) - Bump @babel/preset-env from 7.11.5 to 7.12.1 ([@openlayers](https://github.com/openlayers))
* [#11643](https://github.com/openlayers/openlayers/pull/11643) - Bump terser-webpack-plugin from 4.2.2 to 4.2.3 ([@openlayers](https://github.com/openlayers))
* [#11645](https://github.com/openlayers/openlayers/pull/11645) - Bump webpack-cli from 3.3.12 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#11644](https://github.com/openlayers/openlayers/pull/11644) - Bump copy-webpack-plugin from 6.2.0 to 6.2.1 ([@openlayers](https://github.com/openlayers))
* [#11642](https://github.com/openlayers/openlayers/pull/11642) - Bump sinon from 9.1.0 to 9.2.0 ([@openlayers](https://github.com/openlayers))
* [#11641](https://github.com/openlayers/openlayers/pull/11641) - Bump rollup from 2.28.2 to 2.29.0 ([@openlayers](https://github.com/openlayers))
* [#11640](https://github.com/openlayers/openlayers/pull/11640) - Bump worker-loader from 3.0.3 to 3.0.4 ([@openlayers](https://github.com/openlayers))
* [#11639](https://github.com/openlayers/openlayers/pull/11639) - Bump eslint from 7.10.0 to 7.11.0 ([@openlayers](https://github.com/openlayers))
* [#11622](https://github.com/openlayers/openlayers/pull/11622) - Bump sinon from 9.0.3 to 9.1.0 ([@openlayers](https://github.com/openlayers))
* [#11623](https://github.com/openlayers/openlayers/pull/11623) - Bump copy-webpack-plugin from 6.1.1 to 6.2.0 ([@openlayers](https://github.com/openlayers))
* [#11603](https://github.com/openlayers/openlayers/pull/11603) - Bump rollup from 2.28.1 to 2.28.2 ([@openlayers](https://github.com/openlayers))
* [#11602](https://github.com/openlayers/openlayers/pull/11602) - Bump marked from 1.1.1 to 1.2.0 ([@openlayers](https://github.com/openlayers))
* [#11601](https://github.com/openlayers/openlayers/pull/11601) - Bump puppeteer from 5.3.0 to 5.3.1 ([@openlayers](https://github.com/openlayers))
* [#11600](https://github.com/openlayers/openlayers/pull/11600) - Bump eslint from 7.9.0 to 7.10.0 ([@openlayers](https://github.com/openlayers))
* [#11599](https://github.com/openlayers/openlayers/pull/11599) - Bump worker-loader from 3.0.2 to 3.0.3 ([@openlayers](https://github.com/openlayers))
* [#11598](https://github.com/openlayers/openlayers/pull/11598) - Bump karma from 5.2.2 to 5.2.3 ([@openlayers](https://github.com/openlayers))
* [#11578](https://github.com/openlayers/openlayers/pull/11578) - Bump rollup from 2.26.11 to 2.28.1 ([@openlayers](https://github.com/openlayers))
* [#11576](https://github.com/openlayers/openlayers/pull/11576) - Bump terser-webpack-plugin from 4.2.0 to 4.2.2 ([@openlayers](https://github.com/openlayers))
* [#11575](https://github.com/openlayers/openlayers/pull/11575) - Bump typescript from 4.0.2 to 4.0.3 ([@openlayers](https://github.com/openlayers))
* [#11577](https://github.com/openlayers/openlayers/pull/11577) - Bump copy-webpack-plugin from 6.1.0 to 6.1.1 ([@openlayers](https://github.com/openlayers))
* [#11574](https://github.com/openlayers/openlayers/pull/11574) - Bump jsdoc from 3.6.5 to 3.6.6 ([@openlayers](https://github.com/openlayers))
* [#11573](https://github.com/openlayers/openlayers/pull/11573) - Bump webpack from 4.44.1 to 4.44.2 ([@openlayers](https://github.com/openlayers))
* [#11558](https://github.com/openlayers/openlayers/pull/11558) - Bump yargs from 15.4.1 to 16.0.3 ([@openlayers](https://github.com/openlayers))
* [#11557](https://github.com/openlayers/openlayers/pull/11557) - Bump eslint from 7.8.1 to 7.9.0 ([@openlayers](https://github.com/openlayers))
* [#11556](https://github.com/openlayers/openlayers/pull/11556) - Bump puppeteer from 5.2.1 to 5.3.0 ([@openlayers](https://github.com/openlayers))
* [#11555](https://github.com/openlayers/openlayers/pull/11555) - Bump karma from 5.2.1 to 5.2.2 ([@openlayers](https://github.com/openlayers))
* [#11554](https://github.com/openlayers/openlayers/pull/11554) - Bump terser-webpack-plugin from 4.1.0 to 4.2.0 ([@openlayers](https://github.com/openlayers))
* [#11553](https://github.com/openlayers/openlayers/pull/11553) - Bump rollup from 2.26.10 to 2.26.11 ([@openlayers](https://github.com/openlayers))
* [#11531](https://github.com/openlayers/openlayers/pull/11531) - Bump rollup from 2.26.8 to 2.26.10 ([@openlayers](https://github.com/openlayers))
* [#11530](https://github.com/openlayers/openlayers/pull/11530) - Bump @babel/preset-env from 7.11.0 to 7.11.5 ([@openlayers](https://github.com/openlayers))
* [#11529](https://github.com/openlayers/openlayers/pull/11529) - Bump rollup-plugin-terser from 7.0.1 to 7.0.2 ([@openlayers](https://github.com/openlayers))
* [#11528](https://github.com/openlayers/openlayers/pull/11528) - Bump @babel/core from 7.11.4 to 7.11.6 ([@openlayers](https://github.com/openlayers))
* [#11526](https://github.com/openlayers/openlayers/pull/11526) - Bump eslint from 7.7.0 to 7.8.1 ([@openlayers](https://github.com/openlayers))
* [#11527](https://github.com/openlayers/openlayers/pull/11527) - Bump karma from 5.1.1 to 5.2.1 ([@openlayers](https://github.com/openlayers))
* [#11525](https://github.com/openlayers/openlayers/pull/11525) - Bump copy-webpack-plugin from 6.0.4 to 6.1.0 ([@openlayers](https://github.com/openlayers))
* [#11515](https://github.com/openlayers/openlayers/pull/11515) - [Security] Bump http-proxy from 1.17.0 to 1.18.1 ([@openlayers](https://github.com/openlayers))
* [#11504](https://github.com/openlayers/openlayers/pull/11504) - [Security] Bump bl from 4.0.2 to 4.0.3 ([@openlayers](https://github.com/openlayers))
* [#11496](https://github.com/openlayers/openlayers/pull/11496) - Bump mocha from 8.1.1 to 8.1.3 ([@openlayers](https://github.com/openlayers))
* [#11495](https://github.com/openlayers/openlayers/pull/11495) - Bump rollup-plugin-terser from 7.0.0 to 7.0.1 ([@openlayers](https://github.com/openlayers))
* [#11494](https://github.com/openlayers/openlayers/pull/11494) - Bump copy-webpack-plugin from 6.0.3 to 6.0.4 ([@openlayers](https://github.com/openlayers))
* [#11493](https://github.com/openlayers/openlayers/pull/11493) - Bump rollup from 2.26.5 to 2.26.8 ([@openlayers](https://github.com/openlayers))
* [#11462](https://github.com/openlayers/openlayers/pull/11462) - Bump rollup from 2.26.3 to 2.26.5 ([@openlayers](https://github.com/openlayers))
* [#11460](https://github.com/openlayers/openlayers/pull/11460) - Bump karma-sourcemap-loader from 0.3.7 to 0.3.8 ([@openlayers](https://github.com/openlayers))
* [#11459](https://github.com/openlayers/openlayers/pull/11459) - Bump ol-mapbox-style from 6.1.3 to 6.1.4 ([@openlayers](https://github.com/openlayers))
* [#11458](https://github.com/openlayers/openlayers/pull/11458) - Bump worker-loader from 3.0.1 to 3.0.2 ([@openlayers](https://github.com/openlayers))
* [#11457](https://github.com/openlayers/openlayers/pull/11457) - Bump @babel/core from 7.11.1 to 7.11.4 ([@openlayers](https://github.com/openlayers))
* [#11443](https://github.com/openlayers/openlayers/pull/11443) - Bump eslint from 7.6.0 to 7.7.0 ([@openlayers](https://github.com/openlayers))
* [#11441](https://github.com/openlayers/openlayers/pull/11441) - Bump terser-webpack-plugin from 4.0.0 to 4.1.0 ([@openlayers](https://github.com/openlayers))
* [#11440](https://github.com/openlayers/openlayers/pull/11440) - Bump rollup from 2.23.1 to 2.26.3 ([@openlayers](https://github.com/openlayers))
* [#11439](https://github.com/openlayers/openlayers/pull/11439) - Bump sinon from 9.0.2 to 9.0.3 ([@openlayers](https://github.com/openlayers))
* [#11442](https://github.com/openlayers/openlayers/pull/11442) - Bump ol-mapbox-style from 6.1.2 to 6.1.3 ([@openlayers](https://github.com/openlayers))
* [#11426](https://github.com/openlayers/openlayers/pull/11426) - Bump @babel/core from 7.11.0 to 7.11.1 ([@openlayers](https://github.com/openlayers))
* [#11425](https://github.com/openlayers/openlayers/pull/11425) - Bump rollup from 2.23.0 to 2.23.1 ([@openlayers](https://github.com/openlayers))
* [#11424](https://github.com/openlayers/openlayers/pull/11424) - Bump rollup-plugin-terser from 6.1.0 to 7.0.0 ([@openlayers](https://github.com/openlayers))
* [#11423](https://github.com/openlayers/openlayers/pull/11423) - Bump worker-loader from 3.0.0 to 3.0.1 ([@openlayers](https://github.com/openlayers))
* [#11422](https://github.com/openlayers/openlayers/pull/11422) - Bump terser-webpack-plugin from 3.0.8 to 4.0.0 ([@openlayers](https://github.com/openlayers))
* [#11421](https://github.com/openlayers/openlayers/pull/11421) - Bump mocha from 8.1.0 to 8.1.1 ([@openlayers](https://github.com/openlayers))
</details>

View File

@@ -17,7 +17,6 @@
"config/jsdoc/api/plugins/markdown", "config/jsdoc/api/plugins/markdown",
"jsdoc-plugin-typescript", "jsdoc-plugin-typescript",
"config/jsdoc/api/plugins/inline-options", "config/jsdoc/api/plugins/inline-options",
"config/jsdoc/api/plugins/inheritdoc",
"config/jsdoc/api/plugins/events", "config/jsdoc/api/plugins/events",
"config/jsdoc/api/plugins/observable", "config/jsdoc/api/plugins/observable",
"config/jsdoc/api/plugins/api" "config/jsdoc/api/plugins/api"

View File

@@ -1,55 +1,107 @@
<table><tr> <div class="row mb-3">
<th width="33.3%">Map</th><th width="33.3%">View</th><th width="33.3%">Layers</th> <div class="col-xl-4 col-lg-6 py-3">
</tr><tr> <div class="card h-100 bg-light">
<td><p>A <a href="module-ol_Map-Map.html">map</a> is made of <a href="module-ol_layer_Base-BaseLayer.html">layers</a>, a <a href="module-ol_View-View.html">view</a> to visualize them, <a href="module-ol_interaction_Interaction-Interaction.html">interactions</a> to modify map content and <a href="module-ol_control_Control-Control.html">controls</a> with UI components.</p> <div class="card-body">
<a href="module-ol_Map-Map.html">Overview</a><br> <h4 class="card-title">Map</h4>
<a href="module-ol_Map-Map.html#Map">Creation</a><br> <p>A <a href="module-ol_Map-Map.html">map</a> is made of <a href="module-ol_layer_Base-BaseLayer.html">layers</a>, a <a href="module-ol_View-View.html">view</a> to visualize them, <a href="module-ol_interaction_Interaction-Interaction.html">interactions</a> to modify map content and <a href="module-ol_control_Control-Control.html">controls</a> with UI components.</p>
<a href="module-ol_MapBrowserEvent-MapBrowserEvent.html">Events</a></td> <a href="module-ol_Map-Map.html">Overview</a><br>
<td><p>The view manages the visual parameters of the map view, like resolution or rotation.</p> <a href="module-ol_Map-Map.html#Map">Creation</a><br>
<a href="module-ol_View-View.html">View</a> with center, projection, resolution and rotation</td> <a href="module-ol_MapBrowserEvent-MapBrowserEvent.html">Events</a>
<td><p>Layers are lightweight containers that get their data from <a href="module-ol_source_Source-Source.html">sources</a>.</p> </div>
<a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a><br> </div>
<a href="module-ol_layer_Image-ImageLayer.html">ol/layer/Image</a><br> </div>
<a href="module-ol_layer_Vector-VectorLayer.html">ol/layer/Vector</a><br> <div class="col-xl-4 col-lg-6 py-3">
<a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a></td> <div class="card h-100 bg-light">
</tr><tr> <div class="card-body">
<th>Controls</th><th>Interactions</th><th>Sources and formats</th> <h4 class="card-title">View</h4>
</tr><tr> <p>The view manages the visual parameters of the map view, like resolution or rotation.</p>
<td><a href="module-ol_control.html#.defaults">Map default controls</a><br> <a href="module-ol_View-View.html">View</a> with center, projection, resolution and rotation
<a href="module-ol_control_Control-Control.html">All controls</a> </div>
</td> </div>
<td> </div>
<a href="module-ol_interaction.html#~defaults">Map default interactions</a><br> <div class="col-xl-4 col-lg-6 py-3">
Interactions for <a href="module-ol_Feature-Feature.html">vector features</a> <div class="card h-100 bg-light">
<ul><li><a href="module-ol_interaction_Select-Select.html">ol/interaction/Select</a></li> <div class="card-body">
<li><a href="module-ol_interaction_Draw-Draw.html">ol/interaction/Draw</a></li> <h4 class="card-title">Layers</h4>
<li><a href="module-ol_interaction_Modify-Modify.html">ol/interaction/Modify</a></li></ul> <p>Layers are lightweight containers that get their data from <a href="module-ol_source_Source-Source.html">sources</a>.</p>
<a href="module-ol_interaction_Interaction-Interaction.html">All interactions</a></td> <a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a><br>
<td><a href="module-ol_source_Tile-TileSource.html">Tile sources</a> for <a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a> <a href="module-ol_layer_Image-ImageLayer.html">ol/layer/Image</a><br>
<br><a href="module-ol_source_Image-ImageSource.html">Image sources</a> for <a href="module-ol_layer_Image-ImageLayer.html">ol/layer/Image</a> <a href="module-ol_layer_Vector-VectorLayer.html">ol/layer/Vector</a><br>
<br><a href="module-ol_source_Vector-VectorSource.html">Vector sources</a> for <a href="module-ol_layer_Vector-VectorLayer.html">ol/layer/Vector</a> <a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a>
<br><a href="module-ol_source_VectorTile-VectorTile.html">Vector tile sources</a> for <a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a> </div>
<br><a href="module-ol_format_Feature-FeatureFormat.html">Formats</a> for reading/writing vector data </div>
<br><a href="module-ol_format_WMSCapabilities-WMSCapabilities.html">ol/format/WMSCapabilities</a></td></tr> </div>
<tr><th>Projections</th><th>Observable objects</th><th>Other components</th></tr> <div class="col-xl-4 col-lg-6 py-3">
<tr><td><p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use <a href="module-ol_proj.html#.transform">ol/proj#transform()</a> and <a href="module-ol_proj.html#.transformExtent">ol/proj#transformExtent()</a>.</p> <div class="card h-100 bg-light">
<a href="module-ol_proj.html">ol/proj</a></td> <div class="card-body">
<td><p>Changes to all <a href="module-ol_Object-BaseObject.html">ol/Object</a>s can be observed by calling the <a href="module-ol_Object-BaseObject.html#on">object.on('propertychange')</a> method. Listeners receive an <a href="module-ol_Object-ObjectEvent.html">ol/Object.ObjectEvent</a> with information on the changed property and old value.</p> <h4 class="card-title">Controls</h4>
<td> <a href="module-ol_control.html#.defaults">Map default controls</a><br>
<a href="module-ol_Geolocation.html">ol/Geolocation</a><br> <a href="module-ol_control_Control-Control.html">All controls</a>
<a href="module-ol_Overlay-Overlay.html">ol/Overlay</a><br></td> </div>
</tr></table> </div>
</div>
&nbsp; <div class="col-xl-4 col-lg-6 py-3">
<div class="card h-100 bg-light">
#### API change policy <div class="card-body">
<h4 class="card-title">Interactions</h4>
<a href="module-ol_interaction.html#~defaults">Map default interactions</a><br>
Interactions for <a href="module-ol_Feature-Feature.html">vector features</a>
<ul><li><a href="module-ol_interaction_Select-Select.html">ol/interaction/Select</a></li>
<li><a href="module-ol_interaction_Draw-Draw.html">ol/interaction/Draw</a></li>
<li><a href="module-ol_interaction_Modify-Modify.html">ol/interaction/Modify</a></li>
</ul>
<a href="module-ol_interaction_Interaction-Interaction.html">All interactions</a>
</div>
</div>
</div>
<div class="col-xl-4 col-lg-6 py-3">
<div class="card h-100 bg-light">
<div class="card-body">
<h4 class="card-title">Sources and formats</h4>
<a href="module-ol_source_Tile-TileSource.html">Tile sources</a> for <a href="module-ol_layer_Tile-TileLayer.html">ol/layer/Tile</a>
<br><a href="module-ol_source_Image-ImageSource.html">Image sources</a> for <a href="module-ol_layer_Image-ImageLayer.html">ol/layer/Image</a>
<br><a href="module-ol_source_Vector-VectorSource.html">Vector sources</a> for <a href="module-ol_layer_Vector-VectorLayer.html">ol/layer/Vector</a>
<br><a href="module-ol_source_VectorTile-VectorTile.html">Vector tile sources</a> for <a href="module-ol_layer_VectorTile-VectorTileLayer.html">ol/layer/VectorTile</a>
<br><a href="module-ol_format_Feature-FeatureFormat.html">Formats</a> for reading/writing vector data
<br><a href="module-ol_format_WMSCapabilities-WMSCapabilities.html">ol/format/WMSCapabilities</a>
</div>
</div>
</div>
<div class="col-xl-4 col-lg-6 py-3">
<div class="card h-100 bg-light">
<div class="card-body">
<h4 class="card-title">Projections</h4>
<p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use <a href="module-ol_proj.html#.transform">ol/proj#transform()</a> and <a href="module-ol_proj.html#.transformExtent">ol/proj#transformExtent()</a>.</p>
<a href="module-ol_proj.html">ol/proj</a>
</div>
</div>
</div>
<div class="col-xl-4 col-lg-6 py-3">
<div class="card h-100 bg-light">
<div class="card-body">
<h4 class="card-title">Observable objects</h4>
<p>Changes to all <a href="module-ol_Object-BaseObject.html">ol/Object</a>s can be observed by calling the <a href="module-ol_Object-BaseObject.html#on">object.on('propertychange')</a> method. Listeners receive an <a href="module-ol_Object.ObjectEvent.html">ol/Object.ObjectEvent</a> with information on the changed property and old value.</p>
</div>
</div>
</div>
<div class="col-xl-4 col-lg-6 py-3">
<div class="card h-100 bg-light">
<div class="card-body">
<h4 class="card-title">Other components</h4>
<a href="module-ol_Geolocation.html">ol/Geolocation</a><br>
<a href="module-ol_Overlay-Overlay.html">ol/Overlay</a><br>
</div>
</div>
</div>
</div>
<h3 class="mb-3">API change policy</h3>
The OpenLayers API consists of The OpenLayers API consists of
* names and signatures of constructors <ul>
* names and signatures of instance methods and properties <li>names and signatures of constructors</li>
* names and signatures of functions <li>names and signatures of instance methods and properties</li>
* names of constants <li>names and signatures of functions</li>
<li>names of constants</li>
Within a major release series, the API will not be changed. Any changes to the API will be accompanied by a new major release. </ul>
<p>Within a major release series, the API will not be changed. Any changes to the API will be accompanied by a new major release.</p>
*Note*: The API change policy does not cover CSS class names that are used to style the OpenLayers UI. It also does not cover any typedefs and enums. <p class="text-danger">Note: The API change policy does not cover CSS class names that are used to style the OpenLayers UI. It also does not cover any typedefs and enums.</p>

View File

@@ -2,34 +2,29 @@
* Define an @api tag * Define an @api tag
* @param {Object} dictionary The tag dictionary. * @param {Object} dictionary The tag dictionary.
*/ */
exports.defineTags = function(dictionary) { exports.defineTags = function (dictionary) {
dictionary.defineTag('api', { dictionary.defineTag('api', {
mustHaveValue: false, mustNotHaveValue: true,
canHaveType: false, canHaveType: false,
canHaveName: false, canHaveName: false,
onTagged: function(doclet, tag) { onTagged: function (doclet, tag) {
includeTypes(doclet); includeTypes(doclet);
doclet.stability = 'stable'; doclet.stability = 'stable';
} },
}); });
}; };
/* /*
* Based on @api annotations, and assuming that items with no @api annotation * Based on @api annotations, and assuming that items with no @api annotation
* should not be documented, this plugin removes undocumented symbols * should not be documented, this plugin removes undocumented symbols
* from the documentation. * from the documentation.
*/ */
const api = []; const api = {};
const classes = {}; const classes = {};
const types = {}; const types = {};
const modules = {}; const modules = {};
function hasApiMembers(doclet) {
return doclet.longname.split('#')[0] == this.longname;
}
function includeAugments(doclet) { function includeAugments(doclet) {
// Make sure that `observables` and `fires` are taken from an already processed `class` doclet. // Make sure that `observables` and `fires` are taken from an already processed `class` doclet.
// This is necessary because JSDoc generates multiple doclets with the same longname. // This is necessary because JSDoc generates multiple doclets with the same longname.
@@ -60,7 +55,7 @@ function includeAugments(doclet) {
if (!doclet.fires) { if (!doclet.fires) {
doclet.fires = []; doclet.fires = [];
} }
cls.fires.forEach(function(f) { cls.fires.forEach(function (f) {
if (doclet.fires.indexOf(f) == -1) { if (doclet.fires.indexOf(f) == -1) {
doclet.fires.push(f); doclet.fires.push(f);
} }
@@ -70,23 +65,20 @@ function includeAugments(doclet) {
if (!doclet.observables) { if (!doclet.observables) {
doclet.observables = []; doclet.observables = [];
} }
cls.observables.forEach(function(f) { cls.observables.forEach(function (f) {
if (doclet.observables.indexOf(f) == -1) { if (doclet.observables.indexOf(f) == -1) {
doclet.observables.push(f); doclet.observables.push(f);
} }
}); });
} }
cls._hideConstructor = true; cls._hideConstructor = true;
if (!cls.undocumented) {
cls._documented = true;
}
} }
} }
} }
} }
function extractTypes(item) { function extractTypes(item) {
item.type.names.forEach(function(type) { item.type.names.forEach(function (type) {
const match = type.match(/^(.*<)?([^>]*)>?$/); const match = type.match(/^(.*<)?([^>]*)>?$/);
if (match) { if (match) {
modules[match[2]] = true; modules[match[2]] = true;
@@ -110,16 +102,47 @@ function includeTypes(doclet) {
} }
} }
exports.handlers = { const defaultExports = {};
const path = require('path');
const moduleRoot = path.join(process.cwd(), 'src');
newDoclet: function(e) { // Tag default exported Identifiers because their name should be the same as the module name.
exports.astNodeVisitor = {
visitNode: function (node, e, parser, currentSourceName) {
if (node.parent && node.parent.type === 'ExportDefaultDeclaration') {
const modulePath = path
.relative(moduleRoot, currentSourceName)
.replace(/\.js$/, '');
const exportName =
'module:' +
modulePath.replace(/\\/g, '/') +
(node.name ? '~' + node.name : '');
defaultExports[exportName] = true;
}
},
};
function sortOtherMembers(doclet) {
if (doclet.fires) {
doclet.fires.sort(function (a, b) {
return a.split(/#?event:/)[1] < b.split(/#?event:/)[1] ? -1 : 1;
});
}
if (doclet.observables) {
doclet.observables.sort(function (a, b) {
return a.name < b.name ? -1 : 1;
});
}
}
exports.handlers = {
newDoclet: function (e) {
const doclet = e.doclet; const doclet = e.doclet;
if (doclet.stability) { if (doclet.stability) {
modules[doclet.longname.split(/[~\.]/).shift()] = true; modules[doclet.longname.split(/[~\.]/).shift()] = true;
api.push(doclet); api[doclet.longname.split('#')[0]] = true;
} }
if (doclet.kind == 'class') { if (doclet.kind == 'class') {
modules[doclet.longname.split(/[~\.]/).shift()] = true;
if (!(doclet.longname in classes)) { if (!(doclet.longname in classes)) {
classes[doclet.longname] = doclet; classes[doclet.longname] = doclet;
} else if ('augments' in doclet) { } else if ('augments' in doclet) {
@@ -132,24 +155,16 @@ exports.handlers = {
} }
}, },
parseComplete: function(e) { parseComplete: function (e) {
const doclets = e.doclets; const doclets = e.doclets;
const byLongname = doclets.index.longname;
for (let i = doclets.length - 1; i >= 0; --i) { for (let i = doclets.length - 1; i >= 0; --i) {
const doclet = doclets[i]; const doclet = doclets[i];
if (doclet.stability) { if (doclet.stability) {
if (doclet.kind == 'class') { if (doclet.kind == 'class') {
includeAugments(doclet); includeAugments(doclet);
} }
if (doclet.fires) { sortOtherMembers(doclet);
doclet.fires.sort(function(a, b) {
return a.split(/#?event:/)[1] < b.split(/#?event:/)[1] ? -1 : 1;
});
}
if (doclet.observables) {
doclet.observables.sort(function(a, b) {
return a.name < b.name ? -1 : 1;
});
}
// Always document namespaces and items with stability annotation // Always document namespaces and items with stability annotation
continue; continue;
} }
@@ -160,20 +175,39 @@ exports.handlers = {
if (doclet.isEnum || doclet.kind == 'typedef') { if (doclet.isEnum || doclet.kind == 'typedef') {
continue; continue;
} }
if (doclet.kind == 'class' && api.some(hasApiMembers, doclet)) { if (doclet.kind == 'class' && doclet.longname in api) {
// Mark undocumented classes with documented members as unexported. // Mark undocumented classes with documented members as unexported.
// This is used in ../template/tmpl/container.tmpl to hide the // This is used in ../template/tmpl/container.tmpl to hide the
// constructor from the docs. // constructor from the docs.
doclet._hideConstructor = true; doclet._hideConstructor = true;
includeAugments(doclet); includeAugments(doclet);
} else if (!doclet._hideConstructor && !(doclet.kind == 'typedef' && doclet.longname in types)) { sortOtherMembers(doclet);
} else if (!doclet._hideConstructor) {
// Remove all other undocumented symbols // Remove all other undocumented symbols
doclet.undocumented = true; doclet.undocumented = true;
} }
if (doclet._documented) { if (
delete doclet.undocumented; doclet.memberof &&
byLongname[doclet.memberof] &&
byLongname[doclet.memberof][0].isEnum &&
!byLongname[doclet.memberof][0].properties.some((p) => p.stability)
) {
byLongname[doclet.memberof][0].undocumented = true;
} }
} }
} },
processingComplete(e) {
const byLongname = e.doclets.index.longname;
for (const name in defaultExports) {
if (!(name in byLongname)) {
throw new Error(
`missing ${name} in doclet index, did you forget a @module tag?`
);
}
byLongname[name].forEach(function (doclet) {
doclet.isDefaultExport = true;
});
}
},
}; };

View File

@@ -1,8 +1,7 @@
const events = {}; const events = {};
exports.handlers = { exports.handlers = {
newDoclet: function (e) {
newDoclet: function(e) {
const doclet = e.doclet; const doclet = e.doclet;
if (doclet.kind !== 'event') { if (doclet.kind !== 'event') {
return; return;
@@ -15,7 +14,7 @@ exports.handlers = {
events[cls].push(doclet.longname); events[cls].push(doclet.longname);
}, },
parseComplete: function(e) { parseComplete: function (e) {
const doclets = e.doclets; const doclets = e.doclets;
for (let i = 0, ii = doclets.length - 1; i < ii; ++i) { for (let i = 0, ii = doclets.length - 1; i < ii; ++i) {
const doclet = doclets[i]; const doclet = doclets[i];
@@ -34,6 +33,5 @@ exports.handlers = {
} }
} }
} }
} },
}; };

View File

@@ -1,110 +0,0 @@
/*
* This is a hack to prevent inheritDoc tags from entirely removing
* documentation of the method that inherits the documentation.
*/
exports.defineTags = function(dictionary) {
dictionary.defineTag('inheritDoc', {
mustHaveValue: false,
canHaveType: false,
canHaveName: false,
onTagged: function(doclet, tag) {
doclet.inheritdoc = true;
}
});
};
const lookup = {};
const incompleteByClass = {};
const keepKeys = ['comment', 'meta', 'name', 'memberof', 'longname', 'augment',
'stability'];
exports.handlers = {
newDoclet: function(e) {
const doclet = e.doclet;
let incompletes;
if (!(doclet.longname in lookup)) {
lookup[doclet.longname] = [];
}
lookup[doclet.longname].push(doclet);
if (doclet.inheritdoc) {
if (!(doclet.memberof in incompleteByClass)) {
incompleteByClass[doclet.memberof] = [];
}
incompletes = incompleteByClass[doclet.memberof];
if (incompletes.indexOf(doclet.name) == -1) {
incompletes.push(doclet.name);
}
}
},
parseComplete: function(e) {
let ancestors, candidate, candidates, doclet, i, j, k, l, key;
let incompleteDoclet, stability, incomplete, incompletes;
const doclets = e.doclets;
for (i = doclets.length - 1; i >= 0; --i) {
doclet = doclets[i];
if (doclet.augments) {
ancestors = [].concat(doclet.augments);
}
incompletes = incompleteByClass[doclet.longname];
if (ancestors && incompletes) {
// collect ancestors from the whole hierarchy
for (j = 0; j < ancestors.length; ++j) {
candidates = lookup[ancestors[j]];
if (candidates) {
for (k = candidates.length - 1; k >= 0; --k) {
candidate = candidates[k];
if (candidate.augments) {
ancestors = ancestors.concat(candidate.augments);
}
}
}
}
// walk through all inheritDoc members
for (j = incompletes.length - 1; j >= 0; --j) {
incomplete = incompletes[j];
candidates = lookup[doclet.longname + '#' + incomplete];
if (candidates) {
// get the incomplete doclet that needs to be augmented
for (k = candidates.length - 1; k >= 0; --k) {
incompleteDoclet = candidates[k];
if (incompleteDoclet.inheritdoc) {
break;
}
}
}
// find the documented ancestor
for (k = ancestors.length - 1; k >= 0; --k) {
candidates = lookup[ancestors[k] + '#' + incomplete];
if (candidates) {
for (l = candidates.length - 1; l >= 0; --l) {
candidate = candidates[l];
if (candidate && !candidate.inheritdoc) {
stability = candidate.stability || incompleteDoclet.stability;
if (stability) {
incompleteDoclet.stability = stability;
for (key in candidate) {
if (candidate.hasOwnProperty(key) &&
keepKeys.indexOf(key) == -1) {
incompleteDoclet[key] = candidate[key];
}
}
// We have found a matching parent doc and applied it so we
// don't want to ignore this doclet anymore.
incompleteDoclet.ignore = false;
// We found a match so we can stop break
break;
}
}
}
}
}
}
}
}
}
};

View File

@@ -6,12 +6,11 @@
const properties = {}; const properties = {};
exports.handlers = { exports.handlers = {
/** /**
* Collects all typedefs, keyed by longname * Collects all typedefs, keyed by longname
* @param {Object} e Event object. * @param {Object} e Event object.
*/ */
newDoclet: function(e) { newDoclet: function (e) {
if (e.doclet.kind == 'typedef' && e.doclet.properties) { if (e.doclet.kind == 'typedef' && e.doclet.properties) {
properties[e.doclet.longname] = e.doclet.properties; properties[e.doclet.longname] = e.doclet.properties;
} }
@@ -22,7 +21,7 @@ exports.handlers = {
* collected typedefs. * collected typedefs.
* @param {Object} e Event object. * @param {Object} e Event object.
*/ */
parseComplete: function(e) { parseComplete: function (e) {
const doclets = e.doclets; const doclets = e.doclets;
for (let i = 0, ii = doclets.length; i < ii; ++i) { for (let i = 0, ii = doclets.length; i < ii; ++i) {
const doclet = doclets[i]; const doclet = doclets[i];
@@ -34,16 +33,18 @@ exports.handlers = {
const type = param.type.names[0]; const type = param.type.names[0];
if (type in properties) { if (type in properties) {
param.type.names[0] = type; param.type.names[0] = type;
params.push.apply(params, properties[type].map(p => { params.push.apply(
const property = Object.assign({}, p); params,
property.name = `${param.name}.${property.name}`; properties[type].map((p) => {
return property; const property = Object.assign({}, p);
})); property.name = `${param.name}.${property.name}`;
return property;
})
);
} }
} }
} }
} }
} }
} },
}; };

View File

@@ -19,7 +19,7 @@ const tags = [
'properties', 'properties',
'returns', 'returns',
'see', 'see',
'summary' 'summary',
]; ];
const hasOwnProp = Object.prototype.hasOwnProperty; const hasOwnProp = Object.prototype.hasOwnProperty;
@@ -27,32 +27,32 @@ const hasOwnProp = Object.prototype.hasOwnProperty;
const markedRenderer = new marked.Renderer(); const markedRenderer = new marked.Renderer();
// Allow prettyprint to work on inline code samples // Allow prettyprint to work on inline code samples
markedRenderer.code = function(code, language) { markedRenderer.code = function (code, language) {
const langClass = language ? ' lang-' + language : ''; const langClass = language ? ' lang-' + language : '';
return format('<pre class="prettyprint source%s"><code>%s</code></pre>', return format(
langClass, escapeCode(code)); '<pre class="prettyprint source%s"><code>%s</code></pre>',
langClass,
escapeCode(code)
);
}; };
function escapeCode(source) { function escapeCode(source) {
return source.replace(/</g, '&lt;') return source
.replace(/</g, '&lt;')
.replace(/"/g, '&quot;') .replace(/"/g, '&quot;')
.replace(/'/g, '&#39;'); .replace(/'/g, '&#39;');
} }
function escapeUnderscoresAndTildes(source) { function escapeUnderscoresAndTildes(source) {
return source.replace(/\{@[^}\r\n]+\}/g, function(wholeMatch) { return source.replace(/\{@[^}\r\n]+\}/g, function (wholeMatch) {
return wholeMatch return wholeMatch.replace(/(^|[^\\])_/g, '$1\\_').replace('~', '&tilde;');
.replace(/(^|[^\\])_/g, '$1\\_')
.replace('~', '&tilde;');
}); });
} }
function unencodeQuotesAndTildes(source) { function unencodeQuotesAndTildes(source) {
return source.replace(/\{@[^}\r\n]+\}/g, function(wholeMatch) { return source.replace(/\{@[^}\r\n]+\}/g, function (wholeMatch) {
return wholeMatch return wholeMatch.replace(/&quot;/g, '"').replace(/&tilde;/g, '~');
.replace(/&quot;/g, '"')
.replace(/&tilde;/g, '~');
}); });
} }
@@ -63,7 +63,7 @@ function parse(source) {
result = marked(source, {renderer: markedRenderer}) result = marked(source, {renderer: markedRenderer})
.replace(/\s+$/, '') .replace(/\s+$/, '')
.replace(/&#39;/g, '\''); .replace(/&#39;/g, "'");
result = unencodeQuotesAndTildes(result); result = unencodeQuotesAndTildes(result);
@@ -82,15 +82,18 @@ function shouldProcessString(tagName, text) {
} }
function process(doclet) { function process(doclet) {
tags.forEach(function(tag) { tags.forEach(function (tag) {
if (!hasOwnProp.call(doclet, tag)) { if (!hasOwnProp.call(doclet, tag)) {
return; return;
} }
if (typeof doclet[tag] === 'string' && shouldProcessString(tag, doclet[tag])) { if (
typeof doclet[tag] === 'string' &&
shouldProcessString(tag, doclet[tag])
) {
doclet[tag] = parse(doclet[tag]); doclet[tag] = parse(doclet[tag]);
} else if (Array.isArray(doclet[tag])) { } else if (Array.isArray(doclet[tag])) {
doclet[tag].forEach(function(value, index, original) { doclet[tag].forEach(function (value, index, original) {
const inner = {}; const inner = {};
inner[tag] = value; inner[tag] = value;
@@ -103,9 +106,8 @@ function process(doclet) {
}); });
} }
exports.handlers = { exports.handlers = {
newDoclet: function(e) { newDoclet: function (e) {
process(e.doclet); process(e.doclet);
} },
}; };

View File

@@ -2,15 +2,14 @@ const classes = {};
const observables = {}; const observables = {};
exports.handlers = { exports.handlers = {
newDoclet: function (e) {
newDoclet: function(e) {
const doclet = e.doclet; const doclet = e.doclet;
if (doclet.kind == 'class' && !(doclet.longname in classes)) { if (doclet.kind == 'class' && !(doclet.longname in classes)) {
classes[doclet.longname] = doclet; classes[doclet.longname] = doclet;
} }
}, },
parseComplete: function(e) { parseComplete: function (e) {
const doclets = e.doclets; const doclets = e.doclets;
let cls, doclet, event, i, ii, observable; let cls, doclet, event, i, ii, observable;
for (i = 0, ii = doclets.length - 1; i < ii; ++i) { for (i = 0, ii = doclets.length - 1; i < ii; ++i) {
@@ -26,8 +25,8 @@ exports.handlers = {
} }
observable = observables[key]; observable = observables[key];
observable.name = name; observable.name = name;
observable.readonly = typeof observable.readonly == 'boolean' ? observable.readonly =
observable.readonly : true; typeof observable.readonly == 'boolean' ? observable.readonly : true;
if (doclet.name.indexOf('get') === 0) { if (doclet.name.indexOf('get') === 0) {
observable.type = doclet.returns[0].type; observable.type = doclet.returns[0].type;
observable.description = doclet.returns[0].description; observable.description = doclet.returns[0].description;
@@ -53,17 +52,16 @@ exports.handlers = {
} }
} }
} }
} },
}; };
exports.defineTags = function(dictionary) { exports.defineTags = function (dictionary) {
dictionary.defineTag('observable', { dictionary.defineTag('observable', {
mustNotHaveValue: true, mustNotHaveValue: true,
canHaveType: false, canHaveType: false,
canHaveName: false, canHaveName: false,
onTagged: function(doclet, tag) { onTagged: function (doclet, tag) {
doclet.observable = ''; doclet.observable = '';
} },
}); });
}; };

View File

@@ -24,7 +24,7 @@ The second line tells the Closure compiler the type of the argument.
The third line (`@api`) marks the method as part of the api and thus exportable. Without such an api annotation, the method will not be documented in the generated API documentation. Symbols without an api annotation will also not be exportable. The third line (`@api`) marks the method as part of the api and thus exportable. Without such an api annotation, the method will not be documented in the generated API documentation. Symbols without an api annotation will also not be exportable.
The `@api` annotation can be used in conjunction with the `@inheritDoc` annotation to export a symbol that is documented on a parent class (where the method may be abstract). In general, `@api` annotations should never be used on abstract methods (only on their implementations). In general, `@api` annotations should never be used on abstract methods (only on their implementations).
### Events ### Events

View File

@@ -1,9 +0,0 @@
@navWidth: 250px;
@colorSubtitle: rgb(119, 156, 52);
@colorRed: rgb(238, 125, 125);
@colorLink: #2a6496;
@colorBgNavi: #2a2a2a;
.font-description () {
font-family: "freight-text-pro",Georgia,Cambria,"Times New Roman",Times,serif
}

View File

@@ -1,10 +0,0 @@
@import "common.less";
footer {
margin: 15px 0;
padding-top: 15px;
border-top: 1px solid #e1e1e1;
.font-description();
font-size: 0.8em;
color: gray;
}

View File

@@ -1,22 +0,0 @@
@import "common.less";
// normalize
html, body {
font: 1em "jaf-bernino-sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
background-color: #fff;
}
ul, ol {
margin: 0;
padding: 0;
}
li {
list-style-type: none;
}
#wrap {
position: relative;
}
@import "navigation.less";
@import "main.less";
@import "footer.less";

View File

@@ -1,288 +0,0 @@
@import "common.less";
.main {
padding: 20px 20px;
margin-left: @navWidth;
.page-title {
display: none;
}
h1 {
font-weight: bold;
font-size: 1.6em;
margin: 0;
}
h2 {
font-weight: bold;
font-size: 1.5em;
margin: 0;
}
h3 {
font-weight: bold;
font-size: 12px;
margin: 5px 0;
}
h4 {
font-weight: bold;
font-size: 1em;
}
h5 {
font-weight: bold;
font-size: 12px;
}
dd {
font-size: 12px;
}
h4.name {
span.type-signature {
display: inline-block;
border-radius: 3px;
background-color: gray;
color: #fff;
font-size: 0.7em;
padding: 2px 4px;
}
span.type {
margin-left: 5px;
}
span.glyphicon {
display: inline-block;
vertical-align: middle;
color: #e1e1e1;
margin-left: 7px;
}
span.returnType {
margin-left: 3px;
background-color: transparent!important;
color: gray!important;
}
}
span.static {
display: inline-block;
border-radius: 3px;
background-color: @colorSubtitle!important;
color: #fff;
font-size: 0.7em;
padding: 2px 4px;
margin-right: 8px;
}
span.number {
background-color: #ccc!important;
color: #2fa2b1!important;
}
span.string {
background-color: #ccc!important;
color: #2fa2b1!important;
}
span.object {
background-color: #ccc!important;
color: #2fa2b1!important;
}
span.array {
background-color: #ccc!important;
color: #2fa2b1!important;
}
span.boolean {
background-color: #ccc!important;
color: #2fa2b1!important;
}
.subsection-title {
font-size: 14px;
margin-top: 30px;
color: @colorSubtitle;
}
.description {
margin-top: 10px;
// .font-description();
font-size: 13px;
p {
font-size: 13px;
}
}
.tag-source {
font-size: 12px;
}
dt.tag-source {
margin-top: 5px;
}
dt.tag-todo {
font-size: 10px;
display: inline-block;
background-color: @colorLink;
color: #fff;
padding: 2px 4px;
border-radius: 5px;
}
.type-signature {
font-size: 12px;
}
.tag-deprecated {
display: inline-block;
font-size: 10px;
}
.important {
background-color: @colorRed;
color: #fff;
padding: 2px 4px;
border-radius: 5px;
}
.nameContainer {
position: relative;
margin-top: 20px;
padding-top: 5px;
border-top: 1px solid #e1e1e1;
.inherited {
display: inline-block;
border-radius: 3px;
background-color: #888!important;
font-size: 0.7em;
padding: 2px 4px;
margin-right: 5px;
a {
color: #fff;
}
}
.tag-source {
position: absolute;
top: 17px;
right: 0;
font-size: 10px;
a {
color: gray;
}
}
&.inherited {
color: gray;
}
h4 {
margin-right: 150px;
line-height: 1.3;
.signature {
font-size: 13px;
font-weight: normal;
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}
}
}
pre {
font-size: 11px;
}
table {
width: 100%;
margin-bottom: 15px;
th {
padding: 3px 3px;
}
td {
vertical-align: top;
padding: 5px 3px;
}
.name {
width: 110px;
}
.type {
width: 60px;
color: #aaa;
font-size: 11px;
}
.attributes {
width: 80px;
color: #aaa;
font-size: 11px;
}
.description {
font-size: 12px;
p {
margin: 0;
}
}
.optional {
float: left;
border-radius: 3px;
background-color: #ddd!important;
font-size: 0.7em;
padding: 2px 4px;
margin-right: 5px;
color: gray;
}
}
.readme {
p {
margin-top: 15px;
line-height: 1.2;
font-size: 0.85em;
}
h1 {
font-size: 1.7em;
}
h2 {
margin-top: 30px;
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #e1e1e1;
}
li {
font-size: 0.9em;
margin-bottom: 10px;
}
}
article {
ol, ul {
margin-left: 25px;
}
ol > li {
list-style-type: decimal;
margin-bottom: 5px;
}
ul > li {
margin-bottom: 5px;
list-style-type: disc;
}
}
}

View File

@@ -1,103 +0,0 @@
@import "common.less";
::-webkit-scrollbar {
width: 8px;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: gray;
border-radius: 4px;
}
.navigation {
position: fixed;
float: left;
width: @navWidth;
height: 100%;
background-color: @colorBgNavi;
.applicationName {
margin: 0;
margin-top: 15px;
padding: 10px 15px;
font: bold 1.25em Helvetica;
color: #fff;
a {
color: #fff;
}
}
.search {
padding: 10px 15px;
input {
background-color: #333;
color: #fff;
border-color: #555;
}
}
.list {
padding: 10px 15px 0 15px;
position: relative;
overflow: auto;
width: 100%;
}
li.item {
margin-bottom: 8px;
padding-bottom: 8px;
border-bottom: 1px solid #333;
a {
color: #bbb;
&:hover {
color: #fff;
}
}
.title {
cursor: pointer;
position: relative;
a {
color: #e1e1e1;
&:hover {
color: #fff;
}
}
display: block;
font-size: 0.8em;
.static {
display: block;
border-radius: 3px;
background-color: @colorSubtitle;
color: #000;
font-size: 0.7em;
padding: 2px 4px;
float: right;
}
}
.subtitle {
margin-top: 10px;
font: bold 0.65em Helvetica;
color: @colorSubtitle;
display: block;
}
ul {
& > li {
font-size: 0.7em;
padding-left: 8px;
margin-top: 2px;
}
}
.itemMembers {
display: none;
}
}
}

View File

@@ -4,7 +4,7 @@ const hasOwnProp = Object.prototype.hasOwnProperty;
// Work around an issue with hasOwnProperty in JSDoc's templateHelper.js. // Work around an issue with hasOwnProperty in JSDoc's templateHelper.js.
//TODO Fix in JSDoc. //TODO Fix in JSDoc.
Object.prototype.hasOwnProperty = function(property) { Object.prototype.hasOwnProperty = function (property) {
return property in this; return property in this;
}; };
@@ -14,7 +14,6 @@ const path = require('jsdoc/lib/jsdoc/path');
const taffy = require('taffydb').taffy; const taffy = require('taffydb').taffy;
const handle = require('jsdoc/lib/jsdoc/util/error').handle; const handle = require('jsdoc/lib/jsdoc/util/error').handle;
const helper = require('jsdoc/lib/jsdoc/util/templateHelper'); const helper = require('jsdoc/lib/jsdoc/util/templateHelper');
const _ = require('underscore');
const htmlsafe = helper.htmlsafe; const htmlsafe = helper.htmlsafe;
const linkto = helper.linkto; const linkto = helper.linkto;
const resolveAuthorLinks = helper.resolveAuthorLinks; const resolveAuthorLinks = helper.resolveAuthorLinks;
@@ -32,7 +31,11 @@ function find(spec) {
} }
function tutoriallink(tutorial) { function tutoriallink(tutorial) {
return helper.toTutorial(tutorial, null, {tag: 'em', classname: 'disabled', prefix: 'Tutorial: '}); return helper.toTutorial(tutorial, null, {
tag: 'em',
classname: 'disabled',
prefix: 'Tutorial: ',
});
} }
function getAncestorLinks(doclet) { function getAncestorLinks(doclet) {
@@ -56,8 +59,12 @@ function needsSignature(doclet) {
// function and class definitions always get a signature // function and class definitions always get a signature
if (doclet.kind === 'function' || doclet.kind === 'class') { if (doclet.kind === 'function' || doclet.kind === 'class') {
needsSig = true; needsSig = true;
} else if (doclet.kind === 'typedef' && doclet.type && doclet.type.names && } else if (
doclet.type.names.length) { doclet.kind === 'typedef' &&
doclet.type &&
doclet.type.names &&
doclet.type.names.length
) {
// typedefs that contain functions get a signature, too // typedefs that contain functions get a signature, too
for (let i = 0, l = doclet.type.names.length; i < l; i++) { for (let i = 0, l = doclet.type.names.length; i < l; i++) {
if (doclet.type.names[i].toLowerCase() === 'function') { if (doclet.type.names[i].toLowerCase() === 'function') {
@@ -82,22 +89,30 @@ function addSignatureReturns(f) {
f.signature = '<span class="signature">' + (f.signature || '') + '</span>'; f.signature = '<span class="signature">' + (f.signature || '') + '</span>';
if (returnTypes.length) { if (returnTypes.length) {
f.signature += '<span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">' + (returnTypes.length ? '{' + returnTypes.join('|') + '}' : '') + '</span>'; f.signature +=
'<span class="fa fa-arrow-circle-right"></span><span class="type-signature returnType">' +
(returnTypes.length ? '{' + returnTypes.join('|') + '}' : '') +
'</span>';
} }
} }
function addSignatureTypes(f) { function addSignatureTypes(f) {
const types = helper.getSignatureTypes(f); const types = helper.getSignatureTypes(f);
f.signature = (f.signature || '') + '<span class="type-signature">' + (types.length ? ' :' + types.join('|') : '') + ' </span>'; f.signature =
(f.signature || '') +
'<span class="type-signature">' +
(types.length ? ' :' + types.join('|') : '') +
' </span>';
} }
function shortenPaths(files, commonPrefix) { function shortenPaths(files, commonPrefix) {
// always use forward slashes // always use forward slashes
const regexp = new RegExp('\\\\', 'g'); const regexp = new RegExp('\\\\', 'g');
Object.keys(files).forEach(function(file) { Object.keys(files).forEach(function (file) {
files[file].shortened = files[file].resolved.replace(commonPrefix, '') files[file].shortened = files[file].resolved
.replace(commonPrefix, '')
.replace(regexp, '/'); .replace(regexp, '/');
}); });
@@ -113,9 +128,10 @@ function getPathFromDoclet(doclet) {
return; return;
} }
const filepath = doclet.meta.path && doclet.meta.path !== 'null' ? const filepath =
doclet.meta.path + '/' + doclet.meta.filename.split(/[\/\\]/).pop() : doclet.meta.path && doclet.meta.path !== 'null'
doclet.meta.filename; ? doclet.meta.path + '/' + doclet.meta.filename.split(/[\/\\]/).pop()
: doclet.meta.filename;
return filepath; return filepath;
} }
@@ -127,7 +143,7 @@ function generate(title, docs, filename, resolveLinks) {
filename: filename, filename: filename,
title: title, title: title,
docs: docs, docs: docs,
packageInfo: (find({kind: 'package'}) || []) [0] packageInfo: (find({kind: 'package'}) || [])[0],
}; };
const outpath = path.join(outdir, filename); const outpath = path.join(outdir, filename);
@@ -141,7 +157,7 @@ function generate(title, docs, filename, resolveLinks) {
} }
function generateSourceFiles(sourceFiles) { function generateSourceFiles(sourceFiles) {
Object.keys(sourceFiles).forEach(function(file) { Object.keys(sourceFiles).forEach(function (file) {
let source; let source;
// links are keyed to the shortened path in each doclet's `meta.filename` property // links are keyed to the shortened path in each doclet's `meta.filename` property
const sourceOutfile = helper.getUniqueFilename(sourceFiles[file].shortened); const sourceOutfile = helper.getUniqueFilename(sourceFiles[file].shortened);
@@ -150,14 +166,20 @@ function generateSourceFiles(sourceFiles) {
try { try {
source = { source = {
kind: 'source', kind: 'source',
code: helper.htmlsafe(fs.readFileSync(sourceFiles[file].resolved, 'utf8')) code: helper.htmlsafe(
fs.readFileSync(sourceFiles[file].resolved, 'utf8')
),
}; };
} catch (e) { } catch (e) {
handle(e); handle(e);
} }
generate('Source: ' + sourceFiles[file].shortened, [source], sourceOutfile, generate(
false); 'Source: ' + sourceFiles[file].shortened,
[source],
sourceOutfile,
false
);
}); });
} }
@@ -176,18 +198,27 @@ function attachModuleSymbols(doclets, modules) {
const symbols = {}; const symbols = {};
// build a lookup table // build a lookup table
doclets.forEach(function(symbol) { doclets.forEach(function (symbol) {
symbols[symbol.longname] = symbol; symbols[symbol.longname] = symbol;
}); });
modules.forEach(function(module) { modules.forEach(function (module) {
if (symbols[module.longname]) { if (symbols[module.longname]) {
module.module = symbols[module.longname]; module.module = symbols[module.longname];
module.module.name = module.module.name.replace('module:', 'require("') + '")'; module.module.name =
module.module.name.replace('module:', 'require("') + '")';
} }
}); });
} }
function getPrettyName(doclet) {
const fullname = doclet.longname.replace('module:', '');
if (doclet.isDefaultExport) {
return fullname.split('~')[0];
}
return fullname;
}
/** /**
* Create the navigation sidebar. * Create the navigation sidebar.
* @param {object} members The members that will be used to create the sidebar. * @param {object} members The members that will be used to create the sidebar.
@@ -203,63 +234,99 @@ function attachModuleSymbols(doclets, modules) {
*/ */
function buildNav(members) { function buildNav(members) {
const nav = []; const nav = [];
// merge namespaces and classes, then sort members.classes.forEach(function (v) {
const merged = members.modules.concat(members.classes); // exclude interfaces from sidebar
merged.sort(function(a, b) { if (v.interface !== true) {
if (a.longname > b.longname) { nav.push({
type: 'class',
longname: v.longname,
prettyname: getPrettyName(v),
name: v.name,
module: find({
kind: 'module',
longname: v.memberof,
})[0],
members: find({
kind: 'member',
memberof: v.longname,
}),
methods: find({
kind: 'function',
memberof: v.longname,
}),
typedefs: find({
kind: 'typedef',
memberof: v.longname,
}),
fires: v.fires,
events: find({
kind: 'event',
memberof: v.longname,
}),
});
}
});
members.modules.forEach(function (v) {
const classes = find({
kind: 'class',
memberof: v.longname,
});
const members = find({
kind: 'member',
memberof: v.longname,
});
const methods = find({
kind: 'function',
memberof: v.longname,
});
const typedefs = find({
kind: 'typedef',
memberof: v.longname,
});
const events = find({
kind: 'event',
memberof: v.longname,
});
// Only add modules that contain more than just classes with their
// associated Options typedef
if (
typedefs.length > classes.length ||
members.length + methods.length > 0
) {
nav.push({
type: 'module',
longname: v.longname,
prettyname: getPrettyName(v),
name: v.name,
members: members,
methods: methods,
typedefs: typedefs,
fires: v.fires,
events: events,
});
}
});
nav.sort(function (a, b) {
const prettyNameA = a.prettyname.toLowerCase();
const prettyNameB = b.prettyname.toLowerCase();
if (prettyNameA > prettyNameB) {
return 1; return 1;
} }
if (a.longname < b.longname) { if (prettyNameA < prettyNameB) {
return -1; return -1;
} }
return 0; return 0;
}); });
function createEntry(type, v) {
return {
type: type,
longname: v.longname,
name: v.name,
classes: find({
kind: 'class',
memberof: v.longname
}).map(createEntry.bind(this, 'class')),
members: find({
kind: 'member',
memberof: v.longname
}),
methods: find({
kind: 'function',
memberof: v.longname
}),
typedefs: find({
kind: 'typedef',
memberof: v.longname
}),
events: find({
kind: 'event',
memberof: v.longname
})
};
}
_.each(merged, function(v) {
// exclude interfaces from sidebar
if (v.interface !== true) {
if (v.kind == 'module') {
nav.push(createEntry('module', v));
}
}
});
return nav; return nav;
} }
/** /**
* @param {Object} taffyData See <http://taffydb.com/>. * @param {Object} taffyData See <http://taffydb.com/>.
* @param {Object} opts Options. * @param {Object} opts Options.
* @param {Object} tutorials Tutorials. * @param {Object} tutorials Tutorials.
*/ */
exports.publish = function(taffyData, opts, tutorials) { exports.publish = function (taffyData, opts, tutorials) {
data = taffyData; data = taffyData;
const conf = env.conf.templates || {}; const conf = env.conf.templates || {};
@@ -288,26 +355,30 @@ exports.publish = function(taffyData, opts, tutorials) {
let sourceFiles = {}; let sourceFiles = {};
const sourceFilePaths = []; const sourceFilePaths = [];
data().each(function(doclet) { data().each(function (doclet) {
doclet.attribs = ''; doclet.attribs = '';
if (doclet.examples) { if (doclet.examples) {
doclet.examples = doclet.examples.map(function(example) { doclet.examples = doclet.examples.map(function (example) {
let caption, code; let caption, code;
if (example.match(/^\s*<caption>([\s\S]+?)<\/caption>(\s*[\n\r])([\s\S]+)$/i)) { if (
example.match(
/^\s*<caption>([\s\S]+?)<\/caption>(\s*[\n\r])([\s\S]+)$/i
)
) {
caption = RegExp.$1; caption = RegExp.$1;
code = RegExp.$3; code = RegExp.$3;
} }
return { return {
caption: caption || '', caption: caption || '',
code: code || example code: code || example,
}; };
}); });
} }
if (doclet.see) { if (doclet.see) {
doclet.see.forEach(function(seeItem, i) { doclet.see.forEach(function (seeItem, i) {
doclet.see[i] = hashToLink(doclet, seeItem); doclet.see[i] = hashToLink(doclet, seeItem);
}); });
} }
@@ -320,7 +391,7 @@ exports.publish = function(taffyData, opts, tutorials) {
resolvedSourcePath = resolveSourcePath(sourcePath); resolvedSourcePath = resolveSourcePath(sourcePath);
sourceFiles[sourcePath] = { sourceFiles[sourcePath] = {
resolved: resolvedSourcePath, resolved: resolvedSourcePath,
shortened: null shortened: null,
}; };
sourceFilePaths.push(resolvedSourcePath); sourceFilePaths.push(resolvedSourcePath);
} }
@@ -332,7 +403,7 @@ exports.publish = function(taffyData, opts, tutorials) {
const fromDir = path.join(templatePath, 'static'); const fromDir = path.join(templatePath, 'static');
const staticFiles = fs.ls(fromDir, 3); const staticFiles = fs.ls(fromDir, 3);
staticFiles.forEach(function(fileName) { staticFiles.forEach(function (fileName) {
const toDir = fs.toDir(fileName.replace(fromDir, outdir)); const toDir = fs.toDir(fileName.replace(fromDir, outdir));
fs.mkPath(toDir); fs.mkPath(toDir);
fs.copyFileSync(fileName, toDir); fs.copyFileSync(fileName, toDir);
@@ -344,15 +415,22 @@ exports.publish = function(taffyData, opts, tutorials) {
let staticFileScanner; let staticFileScanner;
if (conf['default'].staticFiles) { if (conf['default'].staticFiles) {
staticFilePaths = conf['default'].staticFiles.paths || []; staticFilePaths = conf['default'].staticFiles.paths || [];
staticFileFilter = new (require('jsdoc/lib/jsdoc/src/filter')).Filter(conf['default'].staticFiles); staticFileFilter = new (require('jsdoc/lib/jsdoc/src/filter').Filter)(
staticFileScanner = new (require('jsdoc/lib/jsdoc/src/scanner')).Scanner(); conf['default'].staticFiles
);
staticFileScanner = new (require('jsdoc/lib/jsdoc/src/scanner').Scanner)();
staticFilePaths.forEach(function(filePath) { staticFilePaths.forEach(function (filePath) {
const extraStaticFiles = staticFileScanner.scan([filePath], 10, staticFileFilter); const extraStaticFiles = staticFileScanner.scan(
[filePath],
10,
staticFileFilter
);
extraStaticFiles.forEach(function(fileName) { extraStaticFiles.forEach(function (fileName) {
const sourcePath = fs.statSync(filePath).isDirectory() ? filePath : const sourcePath = fs.statSync(filePath).isDirectory()
path.dirname(filePath); ? filePath
: path.dirname(filePath);
const toDir = fs.toDir(fileName.replace(sourcePath, outdir)); const toDir = fs.toDir(fileName.replace(sourcePath, outdir));
fs.mkPath(toDir); fs.mkPath(toDir);
fs.copyFileSync(fileName, toDir); fs.copyFileSync(fileName, toDir);
@@ -363,7 +441,7 @@ exports.publish = function(taffyData, opts, tutorials) {
if (sourceFilePaths.length) { if (sourceFilePaths.length) {
sourceFiles = shortenPaths(sourceFiles, path.commonPrefix(sourceFilePaths)); sourceFiles = shortenPaths(sourceFiles, path.commonPrefix(sourceFilePaths));
} }
data().each(function(doclet) { data().each(function (doclet) {
const url = helper.createLink(doclet); const url = helper.createLink(doclet);
helper.registerLink(doclet.longname, url); helper.registerLink(doclet.longname, url);
@@ -378,7 +456,7 @@ exports.publish = function(taffyData, opts, tutorials) {
} }
}); });
data().each(function(doclet) { data().each(function (doclet) {
const url = helper.longnameToUrl[doclet.longname]; const url = helper.longnameToUrl[doclet.longname];
if (url.indexOf('#') > -1) { if (url.indexOf('#') > -1) {
@@ -394,7 +472,7 @@ exports.publish = function(taffyData, opts, tutorials) {
}); });
// do this after the urls have all been generated // do this after the urls have all been generated
data().each(function(doclet) { data().each(function (doclet) {
doclet.ancestors = getAncestorLinks(doclet); doclet.ancestors = getAncestorLinks(doclet);
if (doclet.kind === 'member') { if (doclet.kind === 'member') {
@@ -420,8 +498,10 @@ exports.publish = function(taffyData, opts, tutorials) {
// once for all // once for all
view.nav = buildNav(members); view.nav = buildNav(members);
attachModuleSymbols(find({kind: ['class', 'function'], longname: {left: 'module:'}}), attachModuleSymbols(
members.modules); find({kind: ['class', 'function'], longname: {left: 'module:'}}),
members.modules
);
// only output pretty-printed source files if requested; do this before generating any other // only output pretty-printed source files if requested; do this before generating any other
// pages, so the other pages can link to the source files // pages, so the other pages can link to the source files
@@ -436,9 +516,18 @@ exports.publish = function(taffyData, opts, tutorials) {
// index page displays information from package.json and lists files // index page displays information from package.json and lists files
const files = find({kind: 'file'}); const files = find({kind: 'file'});
generate('Index', view.navigationHtml = helper.resolveLinks(view.partial('navigation.tmpl'));
[{kind: 'mainpage', readme: opts.readme, longname: (opts.mainpagetitle) ? opts.mainpagetitle : 'Main Page'}].concat(files), generate(
indexUrl); 'Index',
[
{
kind: 'mainpage',
readme: opts.readme,
longname: opts.mainpagetitle ? opts.mainpagetitle : 'Main Page',
},
].concat(files),
indexUrl
);
// set up the lists that we'll use to generate pages // set up the lists that we'll use to generate pages
const classes = taffy(members.classes); const classes = taffy(members.classes);
@@ -451,27 +540,47 @@ exports.publish = function(taffyData, opts, tutorials) {
if (hasOwnProp.call(helper.longnameToUrl, longname)) { if (hasOwnProp.call(helper.longnameToUrl, longname)) {
const myClasses = helper.find(classes, {longname: longname}); const myClasses = helper.find(classes, {longname: longname});
if (myClasses.length) { if (myClasses.length) {
generate('Class: ' + myClasses[0].name, myClasses, helper.longnameToUrl[longname]); generate(
'Class: ' + myClasses[0].name,
myClasses,
helper.longnameToUrl[longname]
);
} }
const myModules = helper.find(modules, {longname: longname}); const myModules = helper.find(modules, {longname: longname});
if (myModules.length) { if (myModules.length) {
generate('Module: ' + myModules[0].name, myModules, helper.longnameToUrl[longname]); generate(
'Module: ' + myModules[0].name,
myModules,
helper.longnameToUrl[longname]
);
} }
const myNamespaces = helper.find(namespaces, {longname: longname}); const myNamespaces = helper.find(namespaces, {longname: longname});
if (myNamespaces.length) { if (myNamespaces.length) {
generate('Namespace: ' + myNamespaces[0].name, myNamespaces, helper.longnameToUrl[longname]); generate(
'Namespace: ' + myNamespaces[0].name,
myNamespaces,
helper.longnameToUrl[longname]
);
} }
const myMixins = helper.find(mixins, {longname: longname}); const myMixins = helper.find(mixins, {longname: longname});
if (myMixins.length) { if (myMixins.length) {
generate('Mixin: ' + myMixins[0].name, myMixins, helper.longnameToUrl[longname]); generate(
'Mixin: ' + myMixins[0].name,
myMixins,
helper.longnameToUrl[longname]
);
} }
const myExternals = helper.find(externals, {longname: longname}); const myExternals = helper.find(externals, {longname: longname});
if (myExternals.length) { if (myExternals.length) {
generate('External: ' + myExternals[0].name, myExternals, helper.longnameToUrl[longname]); generate(
'External: ' + myExternals[0].name,
myExternals,
helper.longnameToUrl[longname]
);
} }
} }
} }
@@ -482,7 +591,7 @@ exports.publish = function(taffyData, opts, tutorials) {
title: title, title: title,
header: tutorial.title, header: tutorial.title,
content: tutorial.parse(), content: tutorial.parse(),
children: tutorial.children children: tutorial.children,
}; };
let html = view.render('tutorial.tmpl', tutorialData); let html = view.render('tutorial.tmpl', tutorialData);
@@ -495,8 +604,12 @@ exports.publish = function(taffyData, opts, tutorials) {
// tutorials can have only one parent so there is no risk for loops // tutorials can have only one parent so there is no risk for loops
function saveChildren(node) { function saveChildren(node) {
node.children.forEach(function(child) { node.children.forEach(function (child) {
generateTutorial('Tutorial: ' + child.title, child, helper.tutorialToUrl(child.name)); generateTutorial(
'Tutorial: ' + child.title,
child,
helper.tutorialToUrl(child.name)
);
saveChildren(child); saveChildren(child);
}); });
} }

View File

@@ -1,229 +0,0 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata></metadata>
<defs>
<font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
<font-face units-per-em="1200" ascent="960" descent="-240" />
<missing-glyph horiz-adv-x="500" />
<glyph />
<glyph />
<glyph unicode="&#xd;" />
<glyph unicode=" " />
<glyph unicode="*" d="M100 500v200h259l-183 183l141 141l183 -183v259h200v-259l183 183l141 -141l-183 -183h259v-200h-259l183 -183l-141 -141l-183 183v-259h-200v259l-183 -183l-141 141l183 183h-259z" />
<glyph unicode="+" d="M0 400v300h400v400h300v-400h400v-300h-400v-400h-300v400h-400z" />
<glyph unicode="&#xa0;" />
<glyph unicode="&#x2000;" horiz-adv-x="652" />
<glyph unicode="&#x2001;" horiz-adv-x="1304" />
<glyph unicode="&#x2002;" horiz-adv-x="652" />
<glyph unicode="&#x2003;" horiz-adv-x="1304" />
<glyph unicode="&#x2004;" horiz-adv-x="434" />
<glyph unicode="&#x2005;" horiz-adv-x="326" />
<glyph unicode="&#x2006;" horiz-adv-x="217" />
<glyph unicode="&#x2007;" horiz-adv-x="217" />
<glyph unicode="&#x2008;" horiz-adv-x="163" />
<glyph unicode="&#x2009;" horiz-adv-x="260" />
<glyph unicode="&#x200a;" horiz-adv-x="72" />
<glyph unicode="&#x202f;" horiz-adv-x="260" />
<glyph unicode="&#x205f;" horiz-adv-x="326" />
<glyph unicode="&#x20ac;" d="M100 500l100 100h113q0 47 5 100h-218l100 100h135q37 167 112 257q117 141 297 141q242 0 354 -189q60 -103 66 -209h-181q0 55 -25.5 99t-63.5 68t-75 36.5t-67 12.5q-24 0 -52.5 -10t-62.5 -32t-65.5 -67t-50.5 -107h379l-100 -100h-300q-6 -46 -6 -100h406l-100 -100 h-300q9 -74 33 -132t52.5 -91t62 -54.5t59 -29t46.5 -7.5q29 0 66 13t75 37t63.5 67.5t25.5 96.5h174q-31 -172 -128 -278q-107 -117 -274 -117q-205 0 -324 158q-36 46 -69 131.5t-45 205.5h-217z" />
<glyph unicode="&#x2212;" d="M200 400h900v300h-900v-300z" />
<glyph unicode="&#x2601;" d="M-14 494q0 -80 56.5 -137t135.5 -57h750q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5z" />
<glyph unicode="&#x2709;" d="M0 100l400 400l200 -200l200 200l400 -400h-1200zM0 300v600l300 -300zM0 1100l600 -603l600 603h-1200zM900 600l300 300v-600z" />
<glyph unicode="&#x270f;" d="M-13 -13l333 112l-223 223zM187 403l214 -214l614 614l-214 214zM887 1103l214 -214l99 92q13 13 13 32.5t-13 33.5l-153 153q-15 13 -33 13t-33 -13z" />
<glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
<glyph unicode="&#xe001;" d="M0 1200h1200l-500 -550v-550h300v-100h-800v100h300v550z" />
<glyph unicode="&#xe002;" d="M14 84q18 -55 86 -75.5t147 5.5q65 21 109 69t44 90v606l600 155v-521q-64 16 -138 -7q-79 -26 -122.5 -83t-25.5 -111q17 -55 85.5 -75.5t147.5 4.5q70 23 111.5 63.5t41.5 95.5v881q0 10 -7 15.5t-17 2.5l-752 -193q-10 -3 -17 -12.5t-7 -19.5v-689q-64 17 -138 -7 q-79 -25 -122.5 -82t-25.5 -112z" />
<glyph unicode="&#xe003;" d="M23 693q0 200 142 342t342 142t342 -142t142 -342q0 -142 -78 -261l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233z" />
<glyph unicode="&#xe005;" d="M100 784q0 64 28 123t73 100.5t104.5 64t119 20.5t120 -38.5t104.5 -104.5q48 69 109.5 105t121.5 38t118.5 -20.5t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-149.5 152.5t-126.5 127.5 t-94 124.5t-33.5 117.5z" />
<glyph unicode="&#xe006;" d="M-72 800h479l146 400h2l146 -400h472l-382 -278l145 -449l-384 275l-382 -275l146 447zM168 71l2 1z" />
<glyph unicode="&#xe007;" d="M-72 800h479l146 400h2l146 -400h472l-382 -278l145 -449l-384 275l-382 -275l146 447zM168 71l2 1zM237 700l196 -142l-73 -226l192 140l195 -141l-74 229l193 140h-235l-77 211l-78 -211h-239z" />
<glyph unicode="&#xe008;" d="M0 0v143l400 257v100q-37 0 -68.5 74.5t-31.5 125.5v200q0 124 88 212t212 88t212 -88t88 -212v-200q0 -51 -31.5 -125.5t-68.5 -74.5v-100l400 -257v-143h-1200z" />
<glyph unicode="&#xe009;" d="M0 0v1100h1200v-1100h-1200zM100 100h100v100h-100v-100zM100 300h100v100h-100v-100zM100 500h100v100h-100v-100zM100 700h100v100h-100v-100zM100 900h100v100h-100v-100zM300 100h600v400h-600v-400zM300 600h600v400h-600v-400zM1000 100h100v100h-100v-100z M1000 300h100v100h-100v-100zM1000 500h100v100h-100v-100zM1000 700h100v100h-100v-100zM1000 900h100v100h-100v-100z" />
<glyph unicode="&#xe010;" d="M0 50v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5zM0 650v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5zM600 50v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5zM600 650v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5z" />
<glyph unicode="&#xe011;" d="M0 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM0 450v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5zM0 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5 t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 450v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5 v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 450v200q0 21 14.5 35.5t35.5 14.5h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5z" />
<glyph unicode="&#xe012;" d="M0 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM0 450q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v200q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5 t-14.5 -35.5v-200zM0 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 50v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5 t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5zM400 450v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5zM400 850v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5 v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5z" />
<glyph unicode="&#xe013;" d="M29 454l419 -420l818 820l-212 212l-607 -607l-206 207z" />
<glyph unicode="&#xe014;" d="M106 318l282 282l-282 282l212 212l282 -282l282 282l212 -212l-282 -282l282 -282l-212 -212l-282 282l-282 -282z" />
<glyph unicode="&#xe015;" d="M23 693q0 200 142 342t342 142t342 -142t142 -342q0 -142 -78 -261l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233zM300 600v200h100v100h200v-100h100v-200h-100v-100h-200v100h-100z" />
<glyph unicode="&#xe016;" d="M23 694q0 200 142 342t342 142t342 -142t142 -342q0 -141 -78 -262l300 -299q7 -7 7 -18t-7 -18l-109 -109q-8 -8 -18 -8t-18 8l-300 299q-120 -77 -261 -77q-200 0 -342 142t-142 342zM176 694q0 -136 97 -233t234 -97t233.5 97t96.5 233t-96.5 233t-233.5 97t-234 -97 t-97 -233zM300 601h400v200h-400v-200z" />
<glyph unicode="&#xe017;" d="M23 600q0 183 105 331t272 210v-166q-103 -55 -165 -155t-62 -220q0 -177 125 -302t302 -125t302 125t125 302q0 120 -62 220t-165 155v166q167 -62 272 -210t105 -331q0 -118 -45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5 zM500 750q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v400q0 21 -14.5 35.5t-35.5 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-400z" />
<glyph unicode="&#xe018;" d="M100 1h200v300h-200v-300zM400 1v500h200v-500h-200zM700 1v800h200v-800h-200zM1000 1v1200h200v-1200h-200z" />
<glyph unicode="&#xe019;" d="M26 601q0 -33 6 -74l151 -38l2 -6q14 -49 38 -93l3 -5l-80 -134q45 -59 105 -105l133 81l5 -3q45 -26 94 -39l5 -2l38 -151q40 -5 74 -5q27 0 74 5l38 151l6 2q46 13 93 39l5 3l134 -81q56 44 104 105l-80 134l3 5q24 44 39 93l1 6l152 38q5 40 5 74q0 28 -5 73l-152 38 l-1 6q-16 51 -39 93l-3 5l80 134q-44 58 -104 105l-134 -81l-5 3q-45 25 -93 39l-6 1l-38 152q-40 5 -74 5q-27 0 -74 -5l-38 -152l-5 -1q-50 -14 -94 -39l-5 -3l-133 81q-59 -47 -105 -105l80 -134l-3 -5q-25 -47 -38 -93l-2 -6l-151 -38q-6 -48 -6 -73zM385 601 q0 88 63 151t152 63t152 -63t63 -151q0 -89 -63 -152t-152 -63t-152 63t-63 152z" />
<glyph unicode="&#xe020;" d="M100 1025v50q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-50q0 -11 -7 -18t-18 -7h-1050q-11 0 -18 7t-7 18zM200 100v800h900v-800q0 -41 -29.5 -71t-70.5 -30h-700q-41 0 -70.5 30 t-29.5 71zM300 100h100v700h-100v-700zM500 100h100v700h-100v-700zM500 1100h300v100h-300v-100zM700 100h100v700h-100v-700zM900 100h100v700h-100v-700z" />
<glyph unicode="&#xe021;" d="M1 601l656 644l644 -644h-200v-600h-300v400h-300v-400h-300v600h-200z" />
<glyph unicode="&#xe022;" d="M100 25v1150q0 11 7 18t18 7h475v-500h400v-675q0 -11 -7 -18t-18 -7h-850q-11 0 -18 7t-7 18zM700 800v300l300 -300h-300z" />
<glyph unicode="&#xe023;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM500 500v400h100 v-300h200v-100h-300z" />
<glyph unicode="&#xe024;" d="M-100 0l431 1200h209l-21 -300h162l-20 300h208l431 -1200h-538l-41 400h-242l-40 -400h-539zM488 500h224l-27 300h-170z" />
<glyph unicode="&#xe025;" d="M0 0v400h490l-290 300h200v500h300v-500h200l-290 -300h490v-400h-1100zM813 200h175v100h-175v-100z" />
<glyph unicode="&#xe026;" d="M1 600q0 122 47.5 233t127.5 191t191 127.5t233 47.5t233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233zM188 600q0 -170 121 -291t291 -121t291 121t121 291t-121 291t-291 121 t-291 -121t-121 -291zM350 600h150v300h200v-300h150l-250 -300z" />
<glyph unicode="&#xe027;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM350 600l250 300 l250 -300h-150v-300h-200v300h-150z" />
<glyph unicode="&#xe028;" d="M0 25v475l200 700h800q199 -700 200 -700v-475q0 -11 -7 -18t-18 -7h-1150q-11 0 -18 7t-7 18zM200 500h200l50 -200h300l50 200h200l-97 500h-606z" />
<glyph unicode="&#xe029;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM500 397v401 l297 -200z" />
<glyph unicode="&#xe030;" d="M23 600q0 -118 45.5 -224.5t123 -184t184 -123t224.5 -45.5t224.5 45.5t184 123t123 184t45.5 224.5h-150q0 -177 -125 -302t-302 -125t-302 125t-125 302t125 302t302 125q136 0 246 -81l-146 -146h400v400l-145 -145q-157 122 -355 122q-118 0 -224.5 -45.5t-184 -123 t-123 -184t-45.5 -224.5z" />
<glyph unicode="&#xe031;" d="M23 600q0 118 45.5 224.5t123 184t184 123t224.5 45.5q198 0 355 -122l145 145v-400h-400l147 147q-112 80 -247 80q-177 0 -302 -125t-125 -302h-150zM100 0v400h400l-147 -147q112 -80 247 -80q177 0 302 125t125 302h150q0 -118 -45.5 -224.5t-123 -184t-184 -123 t-224.5 -45.5q-198 0 -355 122z" />
<glyph unicode="&#xe032;" d="M100 0h1100v1200h-1100v-1200zM200 100v900h900v-900h-900zM300 200v100h100v-100h-100zM300 400v100h100v-100h-100zM300 600v100h100v-100h-100zM300 800v100h100v-100h-100zM500 200h500v100h-500v-100zM500 400v100h500v-100h-500zM500 600v100h500v-100h-500z M500 800v100h500v-100h-500z" />
<glyph unicode="&#xe033;" d="M0 100v600q0 41 29.5 70.5t70.5 29.5h100v200q0 82 59 141t141 59h300q82 0 141 -59t59 -141v-200h100q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-900q-41 0 -70.5 29.5t-29.5 70.5zM400 800h300v150q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-150z" />
<glyph unicode="&#xe034;" d="M100 0v1100h100v-1100h-100zM300 400q60 60 127.5 84t127.5 17.5t122 -23t119 -30t110 -11t103 42t91 120.5v500q-40 -81 -101.5 -115.5t-127.5 -29.5t-138 25t-139.5 40t-125.5 25t-103 -29.5t-65 -115.5v-500z" />
<glyph unicode="&#xe035;" d="M0 275q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 127 70.5 231.5t184.5 161.5t245 57t245 -57t184.5 -161.5t70.5 -231.5v-300q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 116 -49.5 227t-131 192.5t-192.5 131t-227 49.5t-227 -49.5t-192.5 -131t-131 -192.5 t-49.5 -227v-300zM200 20v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14zM800 20v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14z" />
<glyph unicode="&#xe036;" d="M0 400h300l300 -200v800l-300 -200h-300v-400zM688 459l141 141l-141 141l71 71l141 -141l141 141l71 -71l-141 -141l141 -141l-71 -71l-141 141l-141 -141z" />
<glyph unicode="&#xe037;" d="M0 400h300l300 -200v800l-300 -200h-300v-400zM700 857l69 53q111 -135 111 -310q0 -169 -106 -302l-67 54q86 110 86 248q0 146 -93 257z" />
<glyph unicode="&#xe038;" d="M0 401v400h300l300 200v-800l-300 200h-300zM702 858l69 53q111 -135 111 -310q0 -170 -106 -303l-67 55q86 110 86 248q0 145 -93 257zM889 951l7 -8q123 -151 123 -344q0 -189 -119 -339l-7 -8l81 -66l6 8q142 178 142 405q0 230 -144 408l-6 8z" />
<glyph unicode="&#xe039;" d="M0 0h500v500h-200v100h-100v-100h-200v-500zM0 600h100v100h400v100h100v100h-100v300h-500v-600zM100 100v300h300v-300h-300zM100 800v300h300v-300h-300zM200 200v100h100v-100h-100zM200 900h100v100h-100v-100zM500 500v100h300v-300h200v-100h-100v-100h-200v100 h-100v100h100v200h-200zM600 0v100h100v-100h-100zM600 1000h100v-300h200v-300h300v200h-200v100h200v500h-600v-200zM800 800v300h300v-300h-300zM900 0v100h300v-100h-300zM900 900v100h100v-100h-100zM1100 200v100h100v-100h-100z" />
<glyph unicode="&#xe040;" d="M0 200h100v1000h-100v-1000zM100 0v100h300v-100h-300zM200 200v1000h100v-1000h-100zM500 0v91h100v-91h-100zM500 200v1000h200v-1000h-200zM700 0v91h100v-91h-100zM800 200v1000h100v-1000h-100zM900 0v91h200v-91h-200zM1000 200v1000h200v-1000h-200z" />
<glyph unicode="&#xe041;" d="M1 700v475q0 10 7.5 17.5t17.5 7.5h474l700 -700l-500 -500zM148 953q0 -42 29 -71q30 -30 71.5 -30t71.5 30q29 29 29 71t-29 71q-30 30 -71.5 30t-71.5 -30q-29 -29 -29 -71z" />
<glyph unicode="&#xe042;" d="M2 700v475q0 11 7 18t18 7h474l700 -700l-500 -500zM148 953q0 -42 30 -71q29 -30 71 -30t71 30q30 29 30 71t-30 71q-29 30 -71 30t-71 -30q-30 -29 -30 -71zM701 1200h100l700 -700l-500 -500l-50 50l450 450z" />
<glyph unicode="&#xe043;" d="M100 0v1025l175 175h925v-1000l-100 -100v1000h-750l-100 -100h750v-1000h-900z" />
<glyph unicode="&#xe044;" d="M200 0l450 444l450 -443v1150q0 20 -14.5 35t-35.5 15h-800q-21 0 -35.5 -15t-14.5 -35v-1151z" />
<glyph unicode="&#xe045;" d="M0 100v700h200l100 -200h600l100 200h200v-700h-200v200h-800v-200h-200zM253 829l40 -124h592l62 124l-94 346q-2 11 -10 18t-18 7h-450q-10 0 -18 -7t-10 -18zM281 24l38 152q2 10 11.5 17t19.5 7h500q10 0 19.5 -7t11.5 -17l38 -152q2 -10 -3.5 -17t-15.5 -7h-600 q-10 0 -15.5 7t-3.5 17z" />
<glyph unicode="&#xe046;" d="M0 200q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-150q-4 8 -11.5 21.5t-33 48t-53 61t-69 48t-83.5 21.5h-200q-41 0 -82 -20.5t-70 -50t-52 -59t-34 -50.5l-12 -20h-150q-41 0 -70.5 -29.5t-29.5 -70.5v-600z M356 500q0 100 72 172t172 72t172 -72t72 -172t-72 -172t-172 -72t-172 72t-72 172zM494 500q0 -44 31 -75t75 -31t75 31t31 75t-31 75t-75 31t-75 -31t-31 -75zM900 700v100h100v-100h-100z" />
<glyph unicode="&#xe047;" d="M53 0h365v66q-41 0 -72 11t-49 38t1 71l92 234h391l82 -222q16 -45 -5.5 -88.5t-74.5 -43.5v-66h417v66q-34 1 -74 43q-18 19 -33 42t-21 37l-6 13l-385 998h-93l-399 -1006q-24 -48 -52 -75q-12 -12 -33 -25t-36 -20l-15 -7v-66zM416 521l178 457l46 -140l116 -317h-340 z" />
<glyph unicode="&#xe048;" d="M100 0v89q41 7 70.5 32.5t29.5 65.5v827q0 28 -1 39.5t-5.5 26t-15.5 21t-29 14t-49 14.5v70h471q120 0 213 -88t93 -228q0 -55 -11.5 -101.5t-28 -74t-33.5 -47.5t-28 -28l-12 -7q8 -3 21.5 -9t48 -31.5t60.5 -58t47.5 -91.5t21.5 -129q0 -84 -59 -156.5t-142 -111 t-162 -38.5h-500zM400 200h161q89 0 153 48.5t64 132.5q0 90 -62.5 154.5t-156.5 64.5h-159v-400zM400 700h139q76 0 130 61.5t54 138.5q0 82 -84 130.5t-239 48.5v-379z" />
<glyph unicode="&#xe049;" d="M200 0v57q77 7 134.5 40.5t65.5 80.5l173 849q10 56 -10 74t-91 37q-6 1 -10.5 2.5t-9.5 2.5v57h425l2 -57q-33 -8 -62 -25.5t-46 -37t-29.5 -38t-17.5 -30.5l-5 -12l-128 -825q-10 -52 14 -82t95 -36v-57h-500z" />
<glyph unicode="&#xe050;" d="M-75 200h75v800h-75l125 167l125 -167h-75v-800h75l-125 -167zM300 900v300h150h700h150v-300h-50q0 29 -8 48.5t-18.5 30t-33.5 15t-39.5 5.5t-50.5 1h-200v-850l100 -50v-100h-400v100l100 50v850h-200q-34 0 -50.5 -1t-40 -5.5t-33.5 -15t-18.5 -30t-8.5 -48.5h-49z " />
<glyph unicode="&#xe051;" d="M33 51l167 125v-75h800v75l167 -125l-167 -125v75h-800v-75zM100 901v300h150h700h150v-300h-50q0 29 -8 48.5t-18 30t-33.5 15t-40 5.5t-50.5 1h-200v-650l100 -50v-100h-400v100l100 50v650h-200q-34 0 -50.5 -1t-39.5 -5.5t-33.5 -15t-18.5 -30t-8 -48.5h-50z" />
<glyph unicode="&#xe052;" d="M0 50q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 350q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5 v-100zM0 650q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1000q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 950q0 -20 14.5 -35t35.5 -15h600q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-600q-21 0 -35.5 -14.5 t-14.5 -35.5v-100z" />
<glyph unicode="&#xe053;" d="M0 50q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 650q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5 v-100zM200 350q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM200 950q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5 t-14.5 -35.5v-100z" />
<glyph unicode="&#xe054;" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1000q-21 0 -35.5 15 t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-600 q-21 0 -35.5 15t-14.5 35z" />
<glyph unicode="&#xe055;" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 950v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
<glyph unicode="&#xe056;" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM0 950v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15 t-14.5 35zM300 50v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800 q-21 0 -35.5 15t-14.5 35zM300 650v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM300 950v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35z" />
<glyph unicode="&#xe057;" d="M-101 500v100h201v75l166 -125l-166 -125v75h-201zM300 0h100v1100h-100v-1100zM500 50q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 350q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35 v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 650q0 -20 14.5 -35t35.5 -15h500q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 950q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35v100 q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100z" />
<glyph unicode="&#xe058;" d="M1 50q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 350q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 650 q0 -20 14.5 -35t35.5 -15h500q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 950q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM801 0v1100h100v-1100 h-100zM934 550l167 -125v75h200v100h-200v75z" />
<glyph unicode="&#xe059;" d="M0 275v650q0 31 22 53t53 22h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53zM900 600l300 300v-600z" />
<glyph unicode="&#xe060;" d="M0 44v1012q0 18 13 31t31 13h1112q19 0 31.5 -13t12.5 -31v-1012q0 -18 -12.5 -31t-31.5 -13h-1112q-18 0 -31 13t-13 31zM100 263l247 182l298 -131l-74 156l293 318l236 -288v500h-1000v-737zM208 750q0 56 39 95t95 39t95 -39t39 -95t-39 -95t-95 -39t-95 39t-39 95z " />
<glyph unicode="&#xe062;" d="M148 745q0 124 60.5 231.5t165 172t226.5 64.5q123 0 227 -63t164.5 -169.5t60.5 -229.5t-73 -272q-73 -114 -166.5 -237t-150.5 -189l-57 -66q-10 9 -27 26t-66.5 70.5t-96 109t-104 135.5t-100.5 155q-63 139 -63 262zM342 772q0 -107 75.5 -182.5t181.5 -75.5 q107 0 182.5 75.5t75.5 182.5t-75.5 182t-182.5 75t-182 -75.5t-75 -181.5z" />
<glyph unicode="&#xe063;" d="M1 600q0 122 47.5 233t127.5 191t191 127.5t233 47.5t233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233zM173 600q0 -177 125.5 -302t301.5 -125v854q-176 0 -301.5 -125 t-125.5 -302z" />
<glyph unicode="&#xe064;" d="M117 406q0 94 34 186t88.5 172.5t112 159t115 177t87.5 194.5q21 -71 57.5 -142.5t76 -130.5t83 -118.5t82 -117t70 -116t50 -125.5t18.5 -136q0 -89 -39 -165.5t-102 -126.5t-140 -79.5t-156 -33.5q-114 6 -211.5 53t-161.5 138.5t-64 210.5zM243 414q14 -82 59.5 -136 t136.5 -80l16 98q-7 6 -18 17t-34 48t-33 77q-15 73 -14 143.5t10 122.5l9 51q-92 -110 -119.5 -185t-12.5 -156z" />
<glyph unicode="&#xe065;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5q366 -6 397 -14l-186 -186h-311q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v125l200 200v-225q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5 t-117.5 282.5zM436 341l161 50l412 412l-114 113l-405 -405zM995 1015l113 -113l113 113l-21 85l-92 28z" />
<glyph unicode="&#xe066;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h261l2 -80q-133 -32 -218 -120h-145q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-53q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5 zM423 524q30 38 81.5 64t103 35.5t99 14t77.5 3.5l29 -1v-209l360 324l-359 318v-216q-7 0 -19 -1t-48 -8t-69.5 -18.5t-76.5 -37t-76.5 -59t-62 -88t-39.5 -121.5z" />
<glyph unicode="&#xe067;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-169q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5 t-117.5 282.5zM342 632l283 -284l566 567l-136 137l-430 -431l-147 147z" />
<glyph unicode="&#xe068;" d="M0 603l300 296v-198h200v200h-200l300 300l295 -300h-195v-200h200v198l300 -296l-300 -300v198h-200v-200h195l-295 -300l-300 300h200v200h-200v-198z" />
<glyph unicode="&#xe069;" d="M200 50v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-1100l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5z" />
<glyph unicode="&#xe070;" d="M0 50v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-487l500 487v-1100l-500 488v-488l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5z" />
<glyph unicode="&#xe071;" d="M136 550l564 550v-487l500 487v-1100l-500 488v-488z" />
<glyph unicode="&#xe072;" d="M200 0l900 550l-900 550v-1100z" />
<glyph unicode="&#xe073;" d="M200 150q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800zM600 150q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v800q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-800z" />
<glyph unicode="&#xe074;" d="M200 150q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35v800q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-800z" />
<glyph unicode="&#xe075;" d="M0 0v1100l500 -487v487l564 -550l-564 -550v488z" />
<glyph unicode="&#xe076;" d="M0 0v1100l500 -487v487l500 -487v437q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v488z" />
<glyph unicode="&#xe077;" d="M300 0v1100l500 -487v437q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438z" />
<glyph unicode="&#xe078;" d="M100 250v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5zM100 500h1100l-550 564z" />
<glyph unicode="&#xe079;" d="M185 599l592 -592l240 240l-353 353l353 353l-240 240z" />
<glyph unicode="&#xe080;" d="M272 194l353 353l-353 353l241 240l572 -571l21 -22l-1 -1v-1l-592 -591z" />
<glyph unicode="&#xe081;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM300 500h200v-200h200v200h200v200h-200v200h-200v-200h-200v-200z" />
<glyph unicode="&#xe082;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM300 500h600v200h-600v-200z" />
<glyph unicode="&#xe083;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM246 459l213 -213l141 142l141 -142l213 213l-142 141l142 141l-213 212l-141 -141l-141 142l-212 -213l141 -141z" />
<glyph unicode="&#xe084;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5zM270 551l276 -277l411 411l-175 174l-236 -236l-102 102z" />
<glyph unicode="&#xe085;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM363 700h144q4 0 11.5 -1t11 -1t6.5 3t3 9t1 11t3.5 8.5t3.5 6t5.5 4t6.5 2.5t9 1.5t9 0.5h11.5h12.5q19 0 30 -10t11 -26 q0 -22 -4 -28t-27 -22q-5 -1 -12.5 -3t-27 -13.5t-34 -27t-26.5 -46t-11 -68.5h200q5 3 14 8t31.5 25.5t39.5 45.5t31 69t14 94q0 51 -17.5 89t-42 58t-58.5 32t-58.5 15t-51.5 3q-105 0 -172 -56t-67 -183zM500 300h200v100h-200v-100z" />
<glyph unicode="&#xe086;" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM400 300h400v100h-100v300h-300v-100h100v-200h-100v-100zM500 800h200v100h-200v-100z" />
<glyph unicode="&#xe087;" d="M0 500v200h194q15 60 36 104.5t55.5 86t88 69t126.5 40.5v200h200v-200q54 -20 113 -60t112.5 -105.5t71.5 -134.5h203v-200h-203q-25 -102 -116.5 -186t-180.5 -117v-197h-200v197q-140 27 -208 102.5t-98 200.5h-194zM290 500q24 -73 79.5 -127.5t130.5 -78.5v206h200 v-206q149 48 201 206h-201v200h200q-25 74 -76 127.5t-124 76.5v-204h-200v203q-75 -24 -130 -77.5t-79 -125.5h209v-200h-210z" />
<glyph unicode="&#xe088;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM356 465l135 135 l-135 135l109 109l135 -135l135 135l109 -109l-135 -135l135 -135l-109 -109l-135 135l-135 -135z" />
<glyph unicode="&#xe089;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM322 537l141 141 l87 -87l204 205l142 -142l-346 -345z" />
<glyph unicode="&#xe090;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -115 62 -215l568 567q-100 62 -216 62q-171 0 -292.5 -121.5t-121.5 -292.5zM391 245q97 -59 209 -59q171 0 292.5 121.5t121.5 292.5 q0 112 -59 209z" />
<glyph unicode="&#xe091;" d="M0 547l600 453v-300h600v-300h-600v-301z" />
<glyph unicode="&#xe092;" d="M0 400v300h600v300l600 -453l-600 -448v301h-600z" />
<glyph unicode="&#xe093;" d="M204 600l450 600l444 -600h-298v-600h-300v600h-296z" />
<glyph unicode="&#xe094;" d="M104 600h296v600h300v-600h298l-449 -600z" />
<glyph unicode="&#xe095;" d="M0 200q6 132 41 238.5t103.5 193t184 138t271.5 59.5v271l600 -453l-600 -448v301q-95 -2 -183 -20t-170 -52t-147 -92.5t-100 -135.5z" />
<glyph unicode="&#xe096;" d="M0 0v400l129 -129l294 294l142 -142l-294 -294l129 -129h-400zM635 777l142 -142l294 294l129 -129v400h-400l129 -129z" />
<glyph unicode="&#xe097;" d="M34 176l295 295l-129 129h400v-400l-129 130l-295 -295zM600 600v400l129 -129l295 295l142 -141l-295 -295l129 -130h-400z" />
<glyph unicode="&#xe101;" d="M23 600q0 118 45.5 224.5t123 184t184 123t224.5 45.5t224.5 -45.5t184 -123t123 -184t45.5 -224.5t-45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5zM456 851l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5 t21.5 34.5l58 302q4 20 -8 34.5t-33 14.5h-207q-20 0 -32 -14.5t-8 -34.5zM500 300h200v100h-200v-100z" />
<glyph unicode="&#xe102;" d="M0 800h100v-200h400v300h200v-300h400v200h100v100h-111v6t-1 15t-3 18l-34 172q-11 39 -41.5 63t-69.5 24q-32 0 -61 -17l-239 -144q-22 -13 -40 -35q-19 24 -40 36l-238 144q-33 18 -62 18q-39 0 -69.5 -23t-40.5 -61l-35 -177q-2 -8 -3 -18t-1 -15v-6h-111v-100z M100 0h400v400h-400v-400zM200 900q-3 0 14 48t35 96l18 47l214 -191h-281zM700 0v400h400v-400h-400zM731 900l202 197q5 -12 12 -32.5t23 -64t25 -72t7 -28.5h-269z" />
<glyph unicode="&#xe103;" d="M0 -22v143l216 193q-9 53 -13 83t-5.5 94t9 113t38.5 114t74 124q47 60 99.5 102.5t103 68t127.5 48t145.5 37.5t184.5 43.5t220 58.5q0 -189 -22 -343t-59 -258t-89 -181.5t-108.5 -120t-122 -68t-125.5 -30t-121.5 -1.5t-107.5 12.5t-87.5 17t-56.5 7.5l-99 -55z M238.5 300.5q19.5 -6.5 86.5 76.5q55 66 367 234q70 38 118.5 69.5t102 79t99 111.5t86.5 148q22 50 24 60t-6 19q-7 5 -17 5t-26.5 -14.5t-33.5 -39.5q-35 -51 -113.5 -108.5t-139.5 -89.5l-61 -32q-369 -197 -458 -401q-48 -111 -28.5 -117.5z" />
<glyph unicode="&#xe104;" d="M111 408q0 -33 5 -63q9 -56 44 -119.5t105 -108.5q31 -21 64 -16t62 23.5t57 49.5t48 61.5t35 60.5q32 66 39 184.5t-13 157.5q79 -80 122 -164t26 -184q-5 -33 -20.5 -69.5t-37.5 -80.5q-10 -19 -14.5 -29t-12 -26t-9 -23.5t-3 -19t2.5 -15.5t11 -9.5t19.5 -5t30.5 2.5 t42 8q57 20 91 34t87.5 44.5t87 64t65.5 88.5t47 122q38 172 -44.5 341.5t-246.5 278.5q22 -44 43 -129q39 -159 -32 -154q-15 2 -33 9q-79 33 -120.5 100t-44 175.5t48.5 257.5q-13 -8 -34 -23.5t-72.5 -66.5t-88.5 -105.5t-60 -138t-8 -166.5q2 -12 8 -41.5t8 -43t6 -39.5 t3.5 -39.5t-1 -33.5t-6 -31.5t-13.5 -24t-21 -20.5t-31 -12q-38 -10 -67 13t-40.5 61.5t-15 81.5t10.5 75q-52 -46 -83.5 -101t-39 -107t-7.5 -85z" />
<glyph unicode="&#xe105;" d="M-61 600l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5t145.5 -23.5t132.5 -59t116.5 -83.5t97 -90t74.5 -85.5t49 -63.5t20 -30l26 -40l-26 -40q-6 -10 -20 -30t-49 -63.5t-74.5 -85.5t-97 -90t-116.5 -83.5t-132.5 -59t-145.5 -23.5 t-145.5 23.5t-132.5 59t-116.5 83.5t-97 90t-74.5 85.5t-49 63.5t-20 30zM120 600q7 -10 40.5 -58t56 -78.5t68 -77.5t87.5 -75t103 -49.5t125 -21.5t123.5 20t100.5 45.5t85.5 71.5t66.5 75.5t58 81.5t47 66q-1 1 -28.5 37.5t-42 55t-43.5 53t-57.5 63.5t-58.5 54 q49 -74 49 -163q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 85 46 158q-102 -87 -226 -258zM377 656q49 -124 154 -191l105 105q-37 24 -75 72t-57 84l-20 36z" />
<glyph unicode="&#xe106;" d="M-61 600l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5q61 0 121 -17l37 142h148l-314 -1200h-148l37 143q-82 21 -165 71.5t-140 102t-109.5 112t-72 88.5t-29.5 43zM120 600q210 -282 393 -336l37 141q-107 18 -178.5 101.5t-71.5 193.5 q0 85 46 158q-102 -87 -226 -258zM377 656q49 -124 154 -191l47 47l23 87q-30 28 -59 69t-44 68l-14 26zM780 161l38 145q22 15 44.5 34t46 44t40.5 44t41 50.5t33.5 43.5t33 44t24.5 34q-97 127 -140 175l39 146q67 -54 131.5 -125.5t87.5 -103.5t36 -52l26 -40l-26 -40 q-7 -12 -25.5 -38t-63.5 -79.5t-95.5 -102.5t-124 -100t-146.5 -79z" />
<glyph unicode="&#xe107;" d="M-97.5 34q13.5 -34 50.5 -34h1294q37 0 50.5 35.5t-7.5 67.5l-642 1056q-20 33 -48 36t-48 -29l-642 -1066q-21 -32 -7.5 -66zM155 200l445 723l445 -723h-345v100h-200v-100h-345zM500 600l100 -300l100 300v100h-200v-100z" />
<glyph unicode="&#xe108;" d="M100 262v41q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44t106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -91 100 -113v-64q0 -21 -13 -29t-32 1l-94 78h-222l-94 -78q-19 -9 -32 -1t-13 29v64 q0 22 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5z" />
<glyph unicode="&#xe109;" d="M0 50q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v750h-1100v-750zM0 900h1100v150q0 21 -14.5 35.5t-35.5 14.5h-150v100h-100v-100h-500v100h-100v-100h-150q-21 0 -35.5 -14.5t-14.5 -35.5v-150zM100 100v100h100v-100h-100zM100 300v100h100v-100h-100z M100 500v100h100v-100h-100zM300 100v100h100v-100h-100zM300 300v100h100v-100h-100zM300 500v100h100v-100h-100zM500 100v100h100v-100h-100zM500 300v100h100v-100h-100zM500 500v100h100v-100h-100zM700 100v100h100v-100h-100zM700 300v100h100v-100h-100zM700 500 v100h100v-100h-100zM900 100v100h100v-100h-100zM900 300v100h100v-100h-100zM900 500v100h100v-100h-100z" />
<glyph unicode="&#xe110;" d="M0 200v200h259l600 600h241v198l300 -295l-300 -300v197h-159l-600 -600h-341zM0 800h259l122 -122l141 142l-181 180h-341v-200zM678 381l141 142l122 -123h159v198l300 -295l-300 -300v197h-241z" />
<glyph unicode="&#xe111;" d="M0 400v600q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5z" />
<glyph unicode="&#xe112;" d="M100 600v200h300v-250q0 -113 6 -145q17 -92 102 -117q39 -11 92 -11q37 0 66.5 5.5t50 15.5t36 24t24 31.5t14 37.5t7 42t2.5 45t0 47v25v250h300v-200q0 -42 -3 -83t-15 -104t-31.5 -116t-58 -109.5t-89 -96.5t-129 -65.5t-174.5 -25.5t-174.5 25.5t-129 65.5t-89 96.5 t-58 109.5t-31.5 116t-15 104t-3 83zM100 900v300h300v-300h-300zM800 900v300h300v-300h-300z" />
<glyph unicode="&#xe113;" d="M-30 411l227 -227l352 353l353 -353l226 227l-578 579z" />
<glyph unicode="&#xe114;" d="M70 797l580 -579l578 579l-226 227l-353 -353l-352 353z" />
<glyph unicode="&#xe115;" d="M-198 700l299 283l300 -283h-203v-400h385l215 -200h-800v600h-196zM402 1000l215 -200h381v-400h-198l299 -283l299 283h-200v600h-796z" />
<glyph unicode="&#xe116;" d="M18 939q-5 24 10 42q14 19 39 19h896l38 162q5 17 18.5 27.5t30.5 10.5h94q20 0 35 -14.5t15 -35.5t-15 -35.5t-35 -14.5h-54l-201 -961q-2 -4 -6 -10.5t-19 -17.5t-33 -11h-31v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-300v-50q0 -20 -14.5 -35t-35.5 -15 t-35.5 15t-14.5 35v50h-50q-21 0 -35.5 15t-14.5 35q0 21 14.5 35.5t35.5 14.5h535l48 200h-633q-32 0 -54.5 21t-27.5 43z" />
<glyph unicode="&#xe117;" d="M0 0v800h1200v-800h-1200zM0 900v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-100h-1200z" />
<glyph unicode="&#xe118;" d="M1 0l300 700h1200l-300 -700h-1200zM1 400v600h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-200h-1000z" />
<glyph unicode="&#xe119;" d="M302 300h198v600h-198l298 300l298 -300h-198v-600h198l-298 -300z" />
<glyph unicode="&#xe120;" d="M0 600l300 298v-198h600v198l300 -298l-300 -297v197h-600v-197z" />
<glyph unicode="&#xe121;" d="M0 100v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM31 400l172 739q5 22 23 41.5t38 19.5h672q19 0 37.5 -22.5t23.5 -45.5l172 -732h-1138zM800 100h100v100h-100v-100z M1000 100h100v100h-100v-100z" />
<glyph unicode="&#xe122;" d="M-101 600v50q0 24 25 49t50 38l25 13v-250l-11 5.5t-24 14t-30 21.5t-24 27.5t-11 31.5zM99 500v250v5q0 13 0.5 18.5t2.5 13t8 10.5t15 3h200l675 250v-850l-675 200h-38l47 -276q2 -12 -3 -17.5t-11 -6t-21 -0.5h-8h-83q-20 0 -34.5 14t-18.5 35q-56 337 -56 351z M1100 200v850q0 21 14.5 35.5t35.5 14.5q20 0 35 -14.5t15 -35.5v-850q0 -20 -15 -35t-35 -15q-21 0 -35.5 15t-14.5 35z" />
<glyph unicode="&#xe123;" d="M74 350q0 21 13.5 35.5t33.5 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3 32t29 13h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q20 0 33.5 -14.5t13.5 -35.5q0 -20 -13 -40t-31 -27q-22 -9 -63 -23t-167.5 -37 t-251.5 -23t-245.5 20.5t-178.5 41.5l-58 20q-18 7 -31 27.5t-13 40.5zM497 110q12 -49 40 -79.5t63 -30.5t63 30.5t39 79.5q-48 -6 -102 -6t-103 6z" />
<glyph unicode="&#xe124;" d="M21 445l233 -45l-78 -224l224 78l45 -233l155 179l155 -179l45 233l224 -78l-78 224l234 45l-180 155l180 156l-234 44l78 225l-224 -78l-45 233l-155 -180l-155 180l-45 -233l-224 78l78 -225l-233 -44l179 -156z" />
<glyph unicode="&#xe125;" d="M0 200h200v600h-200v-600zM300 275q0 -75 100 -75h61q123 -100 139 -100h250q46 0 83 57l238 344q29 31 29 74v100q0 44 -30.5 84.5t-69.5 40.5h-328q28 118 28 125v150q0 44 -30.5 84.5t-69.5 40.5h-50q-27 0 -51 -20t-38 -48l-96 -198l-145 -196q-20 -26 -20 -63v-400z M400 300v375l150 212l100 213h50v-175l-50 -225h450v-125l-250 -375h-214l-136 100h-100z" />
<glyph unicode="&#xe126;" d="M0 400v600h200v-600h-200zM300 525v400q0 75 100 75h61q123 100 139 100h250q46 0 83 -57l238 -344q29 -31 29 -74v-100q0 -44 -30.5 -84.5t-69.5 -40.5h-328q28 -118 28 -125v-150q0 -44 -30.5 -84.5t-69.5 -40.5h-50q-27 0 -51 20t-38 48l-96 198l-145 196 q-20 26 -20 63zM400 525l150 -212l100 -213h50v175l-50 225h450v125l-250 375h-214l-136 -100h-100v-375z" />
<glyph unicode="&#xe127;" d="M8 200v600h200v-600h-200zM308 275v525q0 17 14 35.5t28 28.5l14 9l362 230q14 6 25 6q17 0 29 -12l109 -112q14 -14 14 -34q0 -18 -11 -32l-85 -121h302q85 0 138.5 -38t53.5 -110t-54.5 -111t-138.5 -39h-107l-130 -339q-7 -22 -20.5 -41.5t-28.5 -19.5h-341 q-7 0 -90 81t-83 94zM408 289l100 -89h293l131 339q6 21 19.5 41t28.5 20h203q16 0 25 15t9 36q0 20 -9 34.5t-25 14.5h-457h-6.5h-7.5t-6.5 0.5t-6 1t-5 1.5t-5.5 2.5t-4 4t-4 5.5q-5 12 -5 20q0 14 10 27l147 183l-86 83l-339 -236v-503z" />
<glyph unicode="&#xe128;" d="M-101 651q0 72 54 110t139 37h302l-85 121q-11 16 -11 32q0 21 14 34l109 113q13 12 29 12q11 0 25 -6l365 -230q7 -4 16.5 -10.5t26 -26t16.5 -36.5v-526q0 -13 -85.5 -93.5t-93.5 -80.5h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-84 0 -139 39t-55 111zM-1 601h222 q15 0 28.5 -20.5t19.5 -40.5l131 -339h293l106 89v502l-342 237l-87 -83l145 -184q10 -11 10 -26q0 -11 -5 -20q-1 -3 -3.5 -5.5l-4 -4t-5 -2.5t-5.5 -1.5t-6.5 -1t-6.5 -0.5h-7.5h-6.5h-476v-100zM999 201v600h200v-600h-200z" />
<glyph unicode="&#xe129;" d="M97 719l230 -363q4 -6 10.5 -15.5t26 -25t36.5 -15.5h525q13 0 94 83t81 90v342q0 15 -20 28.5t-41 19.5l-339 131v106q0 84 -39 139t-111 55t-110 -53.5t-38 -138.5v-302l-121 84q-15 12 -33.5 11.5t-32.5 -13.5l-112 -110q-22 -22 -6 -53zM172 739l83 86l183 -146 q22 -18 47 -5q3 1 5.5 3.5l4 4t2.5 5t1.5 5.5t1 6.5t0.5 6v7.5v7v456q0 22 25 31t50 -0.5t25 -30.5v-202q0 -16 20 -29.5t41 -19.5l339 -130v-294l-89 -100h-503zM400 0v200h600v-200h-600z" />
<glyph unicode="&#xe130;" d="M1 585q-15 -31 7 -53l112 -110q13 -13 32 -13.5t34 10.5l121 85l-1 -302q0 -84 38.5 -138t110.5 -54t111 55t39 139v106l339 131q20 6 40.5 19.5t20.5 28.5v342q0 7 -81 90t-94 83h-525q-17 0 -35.5 -14t-28.5 -28l-10 -15zM76 565l237 339h503l89 -100v-294l-340 -130 q-20 -6 -40 -20t-20 -29v-202q0 -22 -25 -31t-50 0t-25 31v456v14.5t-1.5 11.5t-5 12t-9.5 7q-24 13 -46 -5l-184 -146zM305 1104v200h600v-200h-600z" />
<glyph unicode="&#xe131;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q162 0 299.5 -80t217.5 -218t80 -300t-80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 500h300l-2 -194l402 294l-402 298v-197h-298v-201z" />
<glyph unicode="&#xe132;" d="M0 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t231.5 47.5q122 0 232.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-218 -217.5t-300 -80t-299.5 80t-217.5 217.5t-80 299.5zM200 600l400 -294v194h302v201h-300v197z" />
<glyph unicode="&#xe133;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 600h200v-300h200v300h200l-300 400z" />
<glyph unicode="&#xe134;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 600l300 -400l300 400h-200v300h-200v-300h-200z" />
<glyph unicode="&#xe135;" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM254 780q-8 -34 5.5 -93t7.5 -87q0 -9 17 -44t16 -60q12 0 23 -5.5 t23 -15t20 -13.5q20 -10 108 -42q22 -8 53 -31.5t59.5 -38.5t57.5 -11q8 -18 -15 -55.5t-20 -57.5q12 -21 22.5 -34.5t28 -27t36.5 -17.5q0 -6 -3 -15.5t-3.5 -14.5t4.5 -17q101 -2 221 111q31 30 47 48t34 49t21 62q-14 9 -37.5 9.5t-35.5 7.5q-14 7 -49 15t-52 19 q-9 0 -39.5 -0.5t-46.5 -1.5t-39 -6.5t-39 -16.5q-50 -35 -66 -12q-4 2 -3.5 25.5t0.5 25.5q-6 13 -26.5 17t-24.5 7q2 22 -2 41t-16.5 28t-38.5 -20q-23 -25 -42 4q-19 28 -8 58q8 16 22 22q6 -1 26 -1.5t33.5 -4.5t19.5 -13q12 -19 32 -37.5t34 -27.5l14 -8q0 3 9.5 39.5 t5.5 57.5q-4 23 14.5 44.5t22.5 31.5q5 14 10 35t8.5 31t15.5 22.5t34 21.5q-6 18 10 37q8 0 23.5 -1.5t24.5 -1.5t20.5 4.5t20.5 15.5q-10 23 -30.5 42.5t-38 30t-49 26.5t-43.5 23q11 41 1 44q31 -13 58.5 -14.5t39.5 3.5l11 4q6 36 -17 53.5t-64 28.5t-56 23 q-19 -3 -37 0q-15 -12 -36.5 -21t-34.5 -12t-44 -8t-39 -6q-15 -3 -46 0t-45 -3q-20 -6 -51.5 -25.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79zM518 915q3 12 16 30.5t16 25.5q10 -10 18.5 -10t14 6t14.5 14.5t16 12.5q0 -18 8 -42.5t16.5 -44 t9.5 -23.5q-6 1 -39 5t-53.5 10t-36.5 16z" />
<glyph unicode="&#xe136;" d="M0 164.5q0 21.5 15 37.5l600 599q-33 101 6 201.5t135 154.5q164 92 306 -9l-259 -138l145 -232l251 126q13 -175 -151 -267q-123 -70 -253 -23l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5z" />
<glyph unicode="&#xe137;" horiz-adv-x="1220" d="M0 196v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM0 596v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5zM0 996v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM600 596h500v100h-500v-100zM800 196h300v100h-300v-100zM900 996h200v100h-200v-100z" />
<glyph unicode="&#xe138;" d="M100 1100v100h1000v-100h-1000zM150 1000h900l-350 -500v-300l-200 -200v500z" />
<glyph unicode="&#xe139;" d="M0 200v200h1200v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM0 500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500z M500 1000h200v100h-200v-100z" />
<glyph unicode="&#xe140;" d="M0 0v400l129 -129l200 200l142 -142l-200 -200l129 -129h-400zM0 800l129 129l200 -200l142 142l-200 200l129 129h-400v-400zM729 329l142 142l200 -200l129 129v-400h-400l129 129zM729 871l200 200l-129 129h400v-400l-129 129l-200 -200z" />
<glyph unicode="&#xe141;" d="M0 596q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM182 596q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM291 655 q0 23 15.5 38.5t38.5 15.5t39 -16t16 -38q0 -23 -16 -39t-39 -16q-22 0 -38 16t-16 39zM400 850q0 22 16 38.5t39 16.5q22 0 38 -16t16 -39t-16 -39t-38 -16q-23 0 -39 16.5t-16 38.5zM513 609q0 32 21 56.5t52 29.5l122 126l1 1q-9 14 -9 28q0 22 16 38.5t39 16.5 q22 0 38 -16t16 -39t-16 -39t-38 -16q-16 0 -29 10l-55 -145q17 -22 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5q-37 0 -62.5 25.5t-25.5 61.5zM800 655q0 22 16 38t39 16t38.5 -15.5t15.5 -38.5t-16 -39t-38 -16q-23 0 -39 16t-16 39z" />
<glyph unicode="&#xe142;" d="M-40 375q-13 -95 35 -173q35 -57 94 -89t129 -32q63 0 119 28q33 16 65 40.5t52.5 45.5t59.5 64q40 44 57 61l394 394q35 35 47 84t-3 96q-27 87 -117 104q-20 2 -29 2q-46 0 -79.5 -17t-67.5 -51l-388 -396l-7 -7l69 -67l377 373q20 22 39 38q23 23 50 23q38 0 53 -36 q16 -39 -20 -75l-547 -547q-52 -52 -125 -52q-55 0 -100 33t-54 96q-5 35 2.5 66t31.5 63t42 50t56 54q24 21 44 41l348 348q52 52 82.5 79.5t84 54t107.5 26.5q25 0 48 -4q95 -17 154 -94.5t51 -175.5q-7 -101 -98 -192l-252 -249l-253 -256l7 -7l69 -60l517 511 q67 67 95 157t11 183q-16 87 -67 154t-130 103q-69 33 -152 33q-107 0 -197 -55q-40 -24 -111 -95l-512 -512q-68 -68 -81 -163z" />
<glyph unicode="&#xe143;" d="M79 784q0 131 99 229.5t230 98.5q144 0 242 -129q103 129 245 129q130 0 227 -98.5t97 -229.5q0 -46 -17.5 -91t-61 -99t-77 -89.5t-104.5 -105.5q-197 -191 -293 -322l-17 -23l-16 23q-43 58 -100 122.5t-92 99.5t-101 100l-84.5 84.5t-68 74t-60 78t-33.5 70.5t-15 78z M250 784q0 -27 30.5 -70t61.5 -75.5t95 -94.5l22 -22q93 -90 190 -201q82 92 195 203l12 12q64 62 97.5 97t64.5 79t31 72q0 71 -48 119.5t-106 48.5q-73 0 -131 -83l-118 -171l-114 174q-51 80 -124 80q-59 0 -108.5 -49.5t-49.5 -118.5z" />
<glyph unicode="&#xe144;" d="M57 353q0 -94 66 -160l141 -141q66 -66 159 -66q95 0 159 66l283 283q66 66 66 159t-66 159l-141 141q-12 12 -19 17l-105 -105l212 -212l-389 -389l-247 248l95 95l-18 18q-46 45 -75 101l-55 -55q-66 -66 -66 -159zM269 706q0 -93 66 -159l141 -141l19 -17l105 105 l-212 212l389 389l247 -247l-95 -96l18 -18q46 -46 77 -99l29 29q35 35 62.5 88t27.5 96q0 93 -66 159l-141 141q-66 66 -159 66q-95 0 -159 -66l-283 -283q-66 -64 -66 -159z" />
<glyph unicode="&#xe145;" d="M200 100v953q0 21 30 46t81 48t129 38t163 15t162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5zM300 300h600v700h-600v-700zM496 150q0 -43 30.5 -73.5t73.5 -30.5t73.5 30.5t30.5 73.5t-30.5 73.5t-73.5 30.5 t-73.5 -30.5t-30.5 -73.5z" />
<glyph unicode="&#xe146;" d="M0 0l303 380l207 208l-210 212h300l267 279l-35 36q-15 14 -15 35t15 35q14 15 35 15t35 -15l283 -282q15 -15 15 -36t-15 -35q-14 -15 -35 -15t-35 15l-36 35l-279 -267v-300l-212 210l-208 -207z" />
<glyph unicode="&#xe148;" d="M295 433h139q5 -77 48.5 -126.5t117.5 -64.5v335l-27 7q-46 14 -79 26.5t-72 36t-62.5 52t-40 72.5t-16.5 99q0 92 44 159.5t109 101t144 40.5v78h100v-79q38 -4 72.5 -13.5t75.5 -31.5t71 -53.5t51.5 -84t24.5 -118.5h-159q-8 72 -35 109.5t-101 50.5v-307l64 -14 q34 -7 64 -16.5t70 -31.5t67.5 -52t47.5 -80.5t20 -112.5q0 -139 -89 -224t-244 -96v-77h-100v78q-152 17 -237 104q-40 40 -52.5 93.5t-15.5 139.5zM466 889q0 -29 8 -51t16.5 -34t29.5 -22.5t31 -13.5t38 -10q7 -2 11 -3v274q-61 -8 -97.5 -37.5t-36.5 -102.5zM700 237 q170 18 170 151q0 64 -44 99.5t-126 60.5v-311z" />
<glyph unicode="&#xe149;" d="M100 600v100h166q-24 49 -44 104q-10 26 -14.5 55.5t-3 72.5t25 90t68.5 87q97 88 263 88q129 0 230 -89t101 -208h-153q0 52 -34 89.5t-74 51.5t-76 14q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -11 2.5 -24.5t5.5 -24t9.5 -26.5t10.5 -25t14 -27.5t14 -25.5 t15.5 -27t13.5 -24h242v-100h-197q8 -50 -2.5 -115t-31.5 -94q-41 -59 -99 -113q35 11 84 18t70 7q32 1 102 -16t104 -17q76 0 136 30l50 -147q-41 -25 -80.5 -36.5t-59 -13t-61.5 -1.5q-23 0 -128 33t-155 29q-39 -4 -82 -17t-66 -25l-24 -11l-55 145l16.5 11t15.5 10 t13.5 9.5t14.5 12t14.5 14t17.5 18.5q48 55 54 126.5t-30 142.5h-221z" />
<glyph unicode="&#xe150;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM602 900l298 300l298 -300h-198v-900h-200v900h-198z" />
<glyph unicode="&#xe151;" d="M2 300h198v900h200v-900h198l-298 -300zM700 0v200h100v-100h200v-100h-300zM700 400v100h300v-200h-99v-100h-100v100h99v100h-200zM700 700v500h300v-500h-100v100h-100v-100h-100zM801 900h100v200h-100v-200z" />
<glyph unicode="&#xe152;" d="M2 300h198v900h200v-900h198l-298 -300zM700 0v500h300v-500h-100v100h-100v-100h-100zM700 700v200h100v-100h200v-100h-300zM700 1100v100h300v-200h-99v-100h-100v100h99v100h-200zM801 200h100v200h-100v-200z" />
<glyph unicode="&#xe153;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM800 100v400h300v-500h-100v100h-200zM800 1100v100h200v-500h-100v400h-100zM901 200h100v200h-100v-200z" />
<glyph unicode="&#xe154;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM800 400v100h200v-500h-100v400h-100zM800 800v400h300v-500h-100v100h-200zM901 900h100v200h-100v-200z" />
<glyph unicode="&#xe155;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM700 100v200h500v-200h-500zM700 400v200h400v-200h-400zM700 700v200h300v-200h-300zM700 1000v200h200v-200h-200z" />
<glyph unicode="&#xe156;" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM700 100v200h200v-200h-200zM700 400v200h300v-200h-300zM700 700v200h400v-200h-400zM700 1000v200h500v-200h-500z" />
<glyph unicode="&#xe157;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q162 0 281 -118.5t119 -281.5v-300q0 -165 -118.5 -282.5t-281.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500z" />
<glyph unicode="&#xe158;" d="M0 400v300q0 163 119 281.5t281 118.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-163 0 -281.5 117.5t-118.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM400 300l333 250l-333 250v-500z" />
<glyph unicode="&#xe159;" d="M0 400v300q0 163 117.5 281.5t282.5 118.5h300q163 0 281.5 -119t118.5 -281v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM300 700l250 -333l250 333h-500z" />
<glyph unicode="&#xe160;" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -162 -118.5 -281t-281.5 -119h-300q-165 0 -282.5 118.5t-117.5 281.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM300 400h500l-250 333z" />
<glyph unicode="&#xe161;" d="M0 400v300h300v200l400 -350l-400 -350v200h-300zM500 0v200h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-500v200h400q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-400z" />
<glyph unicode="&#xe162;" d="M216 519q10 -19 32 -19h302q-155 -438 -160 -458q-5 -21 4 -32l9 -8l9 -1q13 0 26 16l538 630q15 19 6 36q-8 18 -32 16h-300q1 4 78 219.5t79 227.5q2 17 -6 27l-8 8h-9q-16 0 -25 -15q-4 -5 -98.5 -111.5t-228 -257t-209.5 -238.5q-17 -19 -7 -40z" />
<glyph unicode="&#xe163;" d="M0 400q0 -165 117.5 -282.5t282.5 -117.5h300q47 0 100 15v185h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h500v185q-14 4 -114 7.5t-193 5.5l-93 2q-165 0 -282.5 -117.5t-117.5 -282.5v-300zM600 400v300h300v200l400 -350l-400 -350v200h-300z " />
<glyph unicode="&#xe164;" d="M0 400q0 -165 117.5 -282.5t282.5 -117.5h300q163 0 281.5 117.5t118.5 282.5v98l-78 73l-122 -123v-148q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h156l118 122l-74 78h-100q-165 0 -282.5 -117.5t-117.5 -282.5 v-300zM496 709l353 342l-149 149h500v-500l-149 149l-342 -353z" />
<glyph unicode="&#xe165;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM406 600 q0 80 57 137t137 57t137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137z" />
<glyph unicode="&#xe166;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 800l445 -500l450 500h-295v400h-300v-400h-300zM900 150h100v50h-100v-50z" />
<glyph unicode="&#xe167;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 700h300v-300h300v300h295l-445 500zM900 150h100v50h-100v-50z" />
<glyph unicode="&#xe168;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 705l305 -305l596 596l-154 155l-442 -442l-150 151zM900 150h100v50h-100v-50z" />
<glyph unicode="&#xe169;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 988l97 -98l212 213l-97 97zM200 401h700v699l-250 -239l-149 149l-212 -212l149 -149zM900 150h100v50h-100v-50z" />
<glyph unicode="&#xe170;" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM200 612l212 -212l98 97l-213 212zM300 1200l239 -250l-149 -149l212 -212l149 148l248 -237v700h-699zM900 150h100v50h-100v-50z" />
<glyph unicode="&#xe171;" d="M23 415l1177 784v-1079l-475 272l-310 -393v416h-392zM494 210l672 938l-672 -712v-226z" />
<glyph unicode="&#xe172;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-850q0 -21 -15 -35.5t-35 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 1000h100v200h-100v-200z" />
<glyph unicode="&#xe173;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-218l-276 -275l-120 120l-126 -127h-378v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM581 306l123 123l120 -120l353 352l123 -123l-475 -476zM600 1000h100v200h-100v-200z" />
<glyph unicode="&#xe174;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-269l-103 -103l-170 170l-298 -298h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 1000h100v200h-100v-200zM700 133l170 170l-170 170l127 127l170 -170l170 170l127 -128l-170 -169l170 -170 l-127 -127l-170 170l-170 -170z" />
<glyph unicode="&#xe175;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-300h-400v-200h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 300l300 -300l300 300h-200v300h-200v-300h-200zM600 1000v200h100v-200h-100z" />
<glyph unicode="&#xe176;" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-402l-200 200l-298 -298h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 300h200v-300h200v300h200l-300 300zM600 1000v200h100v-200h-100z" />
<glyph unicode="&#xe177;" d="M0 250q0 -21 14.5 -35.5t35.5 -14.5h1100q21 0 35.5 14.5t14.5 35.5v550h-1200v-550zM0 900h1200v150q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-150zM100 300v200h400v-200h-400z" />
<glyph unicode="&#xe178;" d="M0 400l300 298v-198h400v-200h-400v-198zM100 800v200h100v-200h-100zM300 800v200h100v-200h-100zM500 800v200h400v198l300 -298l-300 -298v198h-400zM800 300v200h100v-200h-100zM1000 300h100v200h-100v-200z" />
<glyph unicode="&#xe179;" d="M100 700v400l50 100l50 -100v-300h100v300l50 100l50 -100v-300h100v300l50 100l50 -100v-400l-100 -203v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447zM800 597q0 -29 10.5 -55.5t25 -43t29 -28.5t25.5 -18l10 -5v-397q0 -21 14.5 -35.5 t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v1106q0 31 -18 40.5t-44 -7.5l-276 -117q-25 -16 -43.5 -50.5t-18.5 -65.5v-359z" />
<glyph unicode="&#xe180;" d="M100 0h400v56q-75 0 -87.5 6t-12.5 44v394h500v-394q0 -38 -12.5 -44t-87.5 -6v-56h400v56q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v888q0 22 25 34.5t50 13.5l25 2v56h-400v-56q75 0 87.5 -6t12.5 -44v-394h-500v394q0 38 12.5 44t87.5 6v56h-400v-56q4 0 11 -0.5 t24 -3t30 -7t24 -15t11 -24.5v-888q0 -22 -25 -34.5t-50 -13.5l-25 -2v-56z" />
<glyph unicode="&#xe181;" d="M0 300q0 -41 29.5 -70.5t70.5 -29.5h300q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-300q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM100 100h400l200 200h105l295 98v-298h-425l-100 -100h-375zM100 300v200h300v-200h-300zM100 600v200h300v-200h-300z M100 1000h400l200 -200v-98l295 98h105v200h-425l-100 100h-375zM700 402v163l400 133v-163z" />
<glyph unicode="&#xe182;" d="M16.5 974.5q0.5 -21.5 16 -90t46.5 -140t104 -177.5t175 -208q103 -103 207.5 -176t180 -103.5t137 -47t92.5 -16.5l31 1l163 162q16 17 13 40.5t-22 37.5l-192 136q-19 14 -45 12t-42 -19l-119 -118q-143 103 -267 227q-126 126 -227 268l118 118q17 17 20 41.5 t-11 44.5l-139 194q-14 19 -36.5 22t-40.5 -14l-162 -162q-1 -11 -0.5 -32.5z" />
<glyph unicode="&#xe183;" d="M0 50v212q0 20 10.5 45.5t24.5 39.5l365 303v50q0 4 1 10.5t12 22.5t30 28.5t60 23t97 10.5t97 -10t60 -23.5t30 -27.5t12 -24l1 -10v-50l365 -303q14 -14 24.5 -39.5t10.5 -45.5v-212q0 -21 -15 -35.5t-35 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5zM0 712 q0 -21 14.5 -33.5t34.5 -8.5l202 33q20 4 34.5 21t14.5 38v146q141 24 300 24t300 -24v-146q0 -21 14.5 -38t34.5 -21l202 -33q20 -4 34.5 8.5t14.5 33.5v200q-6 8 -19 20.5t-63 45t-112 57t-171 45t-235 20.5q-92 0 -175 -10.5t-141.5 -27t-108.5 -36.5t-81.5 -40 t-53.5 -36.5t-31 -27.5l-9 -10v-200z" />
<glyph unicode="&#xe184;" d="M100 0v100h1100v-100h-1100zM175 200h950l-125 150v250l100 100v400h-100v-200h-100v200h-200v-200h-100v200h-200v-200h-100v200h-100v-400l100 -100v-250z" />
<glyph unicode="&#xe185;" d="M100 0h300v400q0 41 -29.5 70.5t-70.5 29.5h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-400zM500 0v1000q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-1000h-300zM900 0v700q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-700h-300z" />
<glyph unicode="&#xe186;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v300h-200v100h200v100h-300v-300h200v-100h-200v-100zM600 300h200v100h100v300h-100v100h-200v-500 zM700 400v300h100v-300h-100z" />
<glyph unicode="&#xe187;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h100v200h100v-200h100v500h-100v-200h-100v200h-100v-500zM600 300h200v100h100v300h-100v100h-200v-500 zM700 400v300h100v-300h-100z" />
<glyph unicode="&#xe188;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v100h-200v300h200v100h-300v-500zM600 300h300v100h-200v300h200v100h-300v-500z" />
<glyph unicode="&#xe189;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 550l300 -150v300zM600 400l300 150l-300 150v-300z" />
<glyph unicode="&#xe190;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300v500h700v-500h-700zM300 400h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130v-300zM575 549 q0 -65 27 -107t68 -42h130v300h-130q-38 0 -66.5 -43t-28.5 -108z" />
<glyph unicode="&#xe191;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v300h-200v100h200v100h-300v-300h200v-100h-200v-100zM601 300h100v100h-100v-100zM700 700h100 v-400h100v500h-200v-100z" />
<glyph unicode="&#xe192;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v400h-200v100h-100v-500zM301 400v200h100v-200h-100zM601 300h100v100h-100v-100zM700 700h100 v-400h100v500h-200v-100z" />
<glyph unicode="&#xe193;" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 700v100h300v-300h-99v-100h-100v100h99v200h-200zM201 300v100h100v-100h-100zM601 300v100h100v-100h-100z M700 700v100h200v-500h-100v400h-100z" />
<glyph unicode="&#xe194;" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM400 500v200 l100 100h300v-100h-300v-200h300v-100h-300z" />
<glyph unicode="&#xe195;" d="M0 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM182 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM400 400v400h300 l100 -100v-100h-100v100h-200v-100h200v-100h-200v-100h-100zM700 400v100h100v-100h-100z" />
<glyph unicode="&#xe197;" d="M-14 494q0 -80 56.5 -137t135.5 -57h222v300h400v-300h128q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5zM300 200h200v300h200v-300 h200l-300 -300z" />
<glyph unicode="&#xe198;" d="M-14 494q0 -80 56.5 -137t135.5 -57h8l414 414l403 -403q94 26 154.5 104t60.5 178q0 121 -85 207.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5zM300 200l300 300 l300 -300h-200v-300h-200v300h-200z" />
<glyph unicode="&#xe199;" d="M100 200h400v-155l-75 -45h350l-75 45v155h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170z" />
<glyph unicode="&#xe200;" d="M121 700q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350l-75 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5 t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -12t1 -11q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5z" />
</font>
</defs></svg>

Before

Width:  |  Height:  |  Size: 61 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,121 +1,277 @@
$(function () { $(function () {
// Search Items 'use strict';
$('#search').on('keyup', function (e) {
var value = $(this).val();
var $el = $('.navigation');
if (value) { // Allow user configuration?
var regexp = new RegExp(value, 'i'); const allowRegex = true;
$el.find('li, .itemMembers').hide(); const minInputForSearch = 1;
const minInputForFullText = 2;
const expandAllOnInputWithoutSearch = true;
$el.find('li').each(function (i, v) { function constructRegex(searchTerm, makeRe, allowRegex) {
var $item = $(v); try {
if (allowRegex) {
if ($item.data('name') && regexp.test($item.data('name'))) { return makeRe(searchTerm);
const container = $item.parent().parent().parent(); }
container.show(); } catch (e) {
container.closest('.itemMembers').show();
container.closest('.item').show();
$item.show();
$item.closest('.itemMembers').show();
$item.closest('.item').show();
}
});
} else {
$el.find('.item, .itemMembers').hide();
$('.navigation>ul>li').show();
}
$el.find('.list').scrollTop(0);
});
// Toggle when click an item element
$('.navigation').on('click', '.title', function (e) {
$(this).parent().find('.itemMembers').toggle();
});
// Show an item related a current documentation automatically
var filename = $('.page-title').data('filename')
.replace(/\.[a-z]+$/, '')
.replace('module-', 'module:')
.replace(/_/g, '/')
.replace(/-/g, '~');
var $currentItem = $('.navigation .item[data-name*="' + filename + '"]:eq(0)');
if ($currentItem.length) {
$currentItem
.remove()
.prependTo('.navigation .list')
.show()
.find('.itemMembers')
.show();
} }
// In case of invalid regexp fall back to non-regexp, but still allow . to match /
return makeRe(searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&').replace(/\\\./g, '[./]'));
}
// Auto resizing on navigation function getWeightFunction(searchTerm, allowRegex) {
var _onResize = function () { function makeRe(searchTerm) {
var height = $(window).height(); return {
var $el = $('.navigation'); begin: new RegExp('\\b' + searchTerm), // Begin matches word boundary
baseName: new RegExp('\\b' + searchTerm + '[^/]*$'), // Begin matches word boundary of class / module name
$el.height(height).find('.list').height(height - 133); fullName: new RegExp('\\b' + searchTerm + '(?:[~.]|$)'), // Complete word(s) of class / module matches
}; completeName: new RegExp('^' + searchTerm + '$') // Match from start to finish
}
$(window).on('resize', _onResize); }
_onResize(); const re = constructRegex(searchTerm, makeRe, allowRegex);
return function (matchedItem, beginOnly) {
var currentVersion = document.getElementById('package-version').innerHTML; // We could get smarter on the weight here
const name = matchedItem.dataset.name;
// warn about outdated version if (beginOnly) {
var packageUrl = 'https://raw.githubusercontent.com/openlayers/openlayers.github.io/build/package.json'; return re.baseName.test(name) ? 100 : 1;
fetch(packageUrl).then(function(response) { }
return response.json(); // If everything else is equal, prefer shorter names, and prefer classes over modules
}).then(function(json) { let weight = 10000 + matchedItem.dataset.longname.length - name.length * 100;
var latestVersion = json.version; if (re.begin.test(name)) {
document.getElementById('latest-version').innerHTML = latestVersion; weight += 10000;
var url = window.location.href; if (re.baseName.test(name)) {
var branchSearch = url.match(/\/([^\/]*)\/apidoc\//); weight += 10000;
var cookieText = 'dismissed=-' + latestVersion + '-'; if (re.fullName.test(name)) {
var dismissed = document.cookie.indexOf(cookieText) != -1; weight += 10000;
if (!dismissed && /^v[0-9\.]*$/.test(branchSearch[1]) && currentVersion != latestVersion) { if (re.completeName.test(name)) {
var link = url.replace(branchSearch[0], '/latest/apidoc/'); weight += 10000;
fetch(link, {method: 'head'}).then(function(response) { }
var a = document.getElementById('latest-link'); }
a.href = response.status == 200 ? link : '../../latest/apidoc/';
});
var latestCheck = document.getElementById('latest-check');
latestCheck.style.display = '';
document.getElementById('latest-dismiss').onclick = function() {
latestCheck.style.display = 'none';
document.cookie = cookieText;
} }
} }
}); return weight;
}
}
// create source code links to github const search = (function () {
var srcLinks = $('div.tag-source'); const $navList = $('.navigation-list');
srcLinks.each(function(i, el) { const navListNode = $navList.get(0);
var textParts = el.innerHTML.trim().split(', '); let $classItems;
var link = 'https://github.com/openlayers/openlayers/blob/v' + currentVersion + '/src/ol/' + let $members;
textParts[0]; let stateClass = (function () {
el.innerHTML = '<a href="' + link + '">' + textParts[0] + '</a>, ' + $navList.removeClass('search-started searching');
'<a href="' + link + textParts[1].replace('line ', '#L') + '">' + $navList.addClass('search-empty');
textParts[1] + '</a>'; return 'search-empty';
}); })();
let manualToggles = {};
// Highlighting current anchor // Show an item related a current documentation automatically
const longname = $('.page-title').data('filename')
var anchors = $('.anchor'); .replace(/\.[a-z]+$/, '')
var _onHashChange = function () { .replace('module-', 'module:')
var activeHash = window.document.location.hash .replace(/_/g, '/')
.replace(/\./g, '\\.') // Escape dot in element id .replace(/-/g, '~');
.replace(/\~/g, '\\~'); // Escape tilde in element id const currentItem = navListNode.querySelector('.item[data-longname="' + longname + '"]');
if (currentItem) {
anchors.removeClass('highlighted'); $navList.prepend(currentItem);
}
if (activeHash.length > 0) { return {
anchors.filter(activeHash).addClass('highlighted'); $navList: $navList,
$currentItem: currentItem ? $(currentItem) : undefined,
lastSearchTerm: undefined,
lastState: {},
lastClasses: undefined,
getClassList: function () {
return $classItems || ($classItems = $navList.find('li.item'));
},
getMembers: function () {
return $members || ($members = $navList.find('.item li'));
},
changeStateClass: function (newClass) {
if (newClass !== stateClass) {
navListNode.classList.remove(stateClass);
navListNode.classList.add(newClass);
stateClass = newClass;
} }
},
manualToggle: function ($node, show) {
$node.addClass('toggle-manual');
$node.toggleClass('toggle-manual-hide', !show);
$node.toggleClass('toggle-manual-show', show);
manualToggles[$node.data('longname')] = $node;
},
clearManualToggles: function() {
for (let clsName in manualToggles) {
manualToggles[clsName].removeClass('toggle-manual toggle-manual-show toggle-manual-hide');
}
manualToggles = {};
},
}; };
})();
$(window).on('hashchange', _onHashChange); const dummy = {subItems: {}};
_onHashChange(); function clearOldMatches(lastState, searchState) {
for (let itemName in lastState) {
const lastItem = lastState[itemName];
const item = searchState[itemName];
if (!item) {
lastItem.item.classList.remove('match');
}
if (lastItem.subItems) {
clearOldMatches(lastItem.subItems, (item || dummy).subItems);
}
}
}
function doSearch(searchTerm) {
searchTerm = searchTerm.toLowerCase();
const lastSearchTerm = search.lastSearchTerm;
if (searchTerm === lastSearchTerm) {
return;
}
// Avoid layout reflow by scrolling to top first.
search.$navList.scrollTop(0);
search.lastSearchTerm = searchTerm;
search.clearManualToggles();
if (searchTerm.length < minInputForSearch) {
const state = searchTerm.length && expandAllOnInputWithoutSearch ? 'search-started' : 'search-empty';
search.changeStateClass(state);
if (lastSearchTerm !== undefined && lastSearchTerm.length >= minInputForSearch) {
// Restore the original, sorted order
search.$navList.append(search.getClassList());
}
if (state === 'search-empty' && search.$currentItem) {
search.manualToggle(search.$currentItem, true);
}
search.lastClasses = undefined;
} else {
search.changeStateClass('searching');
const beginOnly = searchTerm.length < minInputForFullText;
const getSearchWeight = getWeightFunction(searchTerm, allowRegex);
const re = constructRegex(searchTerm, function (searchTerm) {
return new RegExp((beginOnly ? '\\b' : '') + searchTerm);
}, allowRegex);
const navList = search.$navList.get(0);
const classes = [];
const searchState = {};
search.getClassList().each(function (i, classEntry) {
const className = classEntry.dataset.longname;
if (!(className in searchState) && re.test(classEntry.dataset.name)) {
const cls = searchState[className] = {
item: classEntry,
// Do the weight thing
weight: getSearchWeight(classEntry, beginOnly) * 100000,
subItems: {}
};
classes.push(cls);
classEntry.classList.add('match');
}
});
search.getMembers().each(function (i, li) {
const name = li.dataset.name;
if (re.test(name)) {
const itemMember = li.parentElement.parentElement;
const classEntry = itemMember.parentElement;
const className = classEntry.dataset.longname;
let cls = searchState[className];
if (!cls) {
cls = searchState[className] = {
item: classEntry,
weight: 0,
subItems: {}
};
classes.push(cls);
classEntry.classList.add('match');
}
cls.weight += getSearchWeight(li, true);
const memberType = itemMember.dataset.type;
let members = cls.subItems[memberType];
if (!members) {
members = cls.subItems[memberType] = {
item: itemMember,
subItems: {}
};
itemMember.classList.add('match');
}
members.subItems[name] = { item: li };
li.classList.add('match');
}
});
classes.sort(function (a, b) {
return b.weight - a.weight;
});
clearOldMatches(search.lastState, searchState);
search.lastState = searchState;
search.lastClasses = classes;
for (let i = 0, ii = classes.length; i < ii; ++i) {
navList.appendChild(classes[i].item);
}
}
}
const searchInput = $('#search').get(0);
// Skip searches when typing fast.
let key;
function queueSearch() {
if (!key) {
key = setTimeout(function () {
key = undefined;
doSearch(searchInput.value);
}, 0);
}
}
// Search Items
searchInput.addEventListener('input', queueSearch);
searchInput.addEventListener('keydown', function(e) {
if (e.key === 'Enter') {
doSearch(searchInput.value);
const first = search.lastClasses ? search.lastClasses[0].item : null;
if (first) {
window.location.href = first.querySelector('.title a').href;
}
}
});
doSearch(searchInput.value);
searchInput.focus();
// Toggle when click an item element
search.$navList.on('click', '.toggle', function (e) {
if (event.target.tagName.toLowerCase() === 'a') {
return;
}
const clsItem = $(this).closest('.item');
const show = !clsItem.hasClass('toggle-manual-show');
search.manualToggle(clsItem, show);
});
// warn about outdated version
var currentVersion = document.getElementById('package-version').innerHTML;
var packageUrl = 'https://raw.githubusercontent.com/openlayers/openlayers.github.io/build/package.json';
fetch(packageUrl).then(function(response) {
return response.json();
}).then(function(json) {
var latestVersion = json.version;
document.getElementById('latest-version').innerHTML = latestVersion;
var url = window.location.href;
var branchSearch = url.match(/\/([^\/]*)\/apidoc\//);
var cookieText = 'dismissed=-' + latestVersion + '-';
var dismissed = document.cookie.indexOf(cookieText) != -1;
if (branchSearch && !dismissed && /^v[0-9\.]*$/.test(branchSearch[1]) && currentVersion != latestVersion) {
var link = url.replace(branchSearch[0], '/latest/apidoc/');
fetch(link, {method: 'head'}).then(function(response) {
var a = document.getElementById('latest-link');
a.href = response.status == 200 ? link : '../../latest/apidoc/';
});
var latestCheck = document.getElementById('latest-check');
latestCheck.style.display = '';
document.getElementById('latest-dismiss').onclick = function() {
latestCheck.style.display = 'none';
document.cookie = cookieText;
}
}
});
}); });

File diff suppressed because one or more lines are too long

View File

@@ -1,57 +1,33 @@
@import url(https://fonts.googleapis.com/css?family=Quattrocento+Sans:400,400italic,700); @import url(https://fonts.googleapis.com/css?family=Quattrocento+Sans:400,400italic,700);
.navbar-inverse { .navbar{
border: 0;
}
.navbar-inverse .navbar-inner {
background: #1F6B75; background: #1F6B75;
height: 50px;
text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
} }
.navbar-inverse .brand {
color: #fff; .navbar-brand img {
font-size: 160%;
font-weight: bold;
position: absolute;
top: 6px;
left: 16px;
}
.navbar-inverse .brand:hover,
.navbar-inverse .brand:focus {
color: #aae1e9;
text-decoration: none;
}
.navbar-inverse .brand img {
width: 35px;
height: 35px; height: 35px;
vertical-align: middle; vertical-align: middle;
margin-right: 5px; margin-right: 5px;
border:0; display: inline-block;
} }
.navbar-inverse .container {
padding: 0; .navbar-brand {
}
.navbar-inverse .navbar-nav>li>a {
color: #fff; color: #fff;
} font-size: 160%;
.navbar-inverse .navbar-nav>li>a:hover, font-weight: bold;
.navbar-inverse .navbar-nav>li>a:focus, padding: 8px 0;
.navbar-inverse .navbar-nav>li>a.active
{
outline:0;
color: #fff;
background-color: #268591;
} }
body { body {
padding-top: 50px; padding-top: 54px;
} }
.nameContainer .anchor { .nameContainer .anchor {
padding-top: 50px; padding-top: 70px;
margin-top: -50px; margin-top: -70px;
width: 0px; width: 0px;
height: 0px; height: 0px;
} }
.nameContainer .anchor.highlighted + h4 { /* Highlighting current anchor */
.nameContainer .anchor:target + h4 {
background-color: #faebcc; background-color: #faebcc;
} }
a { a {
@@ -60,6 +36,14 @@ a {
-webkit-transition: all .2s; -webkit-transition: all .2s;
transition: all .2s; transition: all .2s;
} }
a {
color: #03899c;
text-decoration:none
}
a:hover, a:focus, footer a:hover, footer a:focus {
color: #ff7a00;
text-decoration:none
}
.navigation li { .navigation li {
color: #888; color: #888;
} }
@@ -67,7 +51,6 @@ a {
html, html,
body { body {
font-family: "Quattrocento Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; font-family: "Quattrocento Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
font-size: 1.0em;
background-color: #fff; background-color: #fff;
} }
ul, ul,
@@ -79,26 +62,46 @@ li {
list-style-type: none; list-style-type: none;
} }
#wrap { #wrap {
position: relative; display: flex;
} flex-flow: row;
::-webkit-scrollbar {
width: 8px;
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: gray;
border-radius: 4px;
} }
.navigation { .navigation {
position: fixed;
float: left;
width: 250px;
height: 100%;
background-color: #2a2a2a; background-color: #2a2a2a;
} }
.navigation-list {
padding: 0 15px 0 15px;
}
@supports (position: sticky) {
.navigation {
position: sticky;
top: 54px;
height: calc(100vh - 54px);
}
.navigation-list {
overflow: auto;
/* 54px navbar height */
/* 4.25rem + 2px searchbox height */
/* 25px navigation padding */
height: calc(100vh - 54px - 4.25rem - 2px - 25px);
}
}
@media (max-width: 768px) {
#wrap {
flex-flow: column;
}
.navigation {
height: inherit;
position: inherit;
}
.navigation-list {
overflow: auto;
max-height: 33vh;
height: inherit;
}
}
.navigation .applicationName { .navigation .applicationName {
margin: 0; margin: 0;
margin-top: 15px;
padding: 10px 15px; padding: 10px 15px;
font: bold 1.25em Helvetica; font: bold 1.25em Helvetica;
color: #fff; color: #fff;
@@ -106,18 +109,25 @@ li {
.navigation .applicationName a { .navigation .applicationName a {
color: #fff; color: #fff;
} }
.navigation .include-modules {
color: #e1e1e1;
float: right;
font-size: 0.75em;
padding: 5px 15px;
}
.navigation .include-modules input {
vertical-align: text-bottom;
}
.navigation .search { .navigation .search {
padding: 10px 15px; padding: 1rem;
} }
.navigation .search input { .navigation .search input {
background-color: #333; background-color: #333;
color: #fff; color: #fff;
border-color: #555; border-color: #555;
} }
.navigation .list { .navigation .navigation-list-wrapper {
padding: 10px 15px 0 15px; padding: 10px 0 15px 0;
position: relative;
overflow: auto;
width: 100%; width: 100%;
} }
.navigation li.item { .navigation li.item {
@@ -125,6 +135,29 @@ li {
padding-bottom: 8px; padding-bottom: 8px;
border-bottom: 1px solid #333; border-bottom: 1px solid #333;
} }
.navigation .fa {
margin-right: 3px;
flex-shrink: 0;
}
.navigation .item .fa:before {
display: inline-block;
}
.navigation .item.toggle-manual .fa:before {
transition: transform .1s;
}
.navigation .item-class.toggle-manual-show .fa:before {
/* With 90deg the icon slightly slides left at transition end */
transform: rotate(89.9deg);
}
.navigation .item-module.toggle-manual-show .fa:before {
transform: rotate(45deg);
}
.navigation li.perfect-match {
border: 5px solid orange;
}
.navigation li.item a { .navigation li.item a {
color: #bbb; color: #bbb;
} }
@@ -133,8 +166,8 @@ li {
} }
.navigation li.item .title { .navigation li.item .title {
cursor: pointer; cursor: pointer;
position: relative; display: -ms-flexbox;
display: block; display: flex;
font-size: 0.85em; font-size: 0.85em;
} }
.navigation li.item .title a { .navigation li.item .title a {
@@ -158,17 +191,55 @@ li {
color: #1F6B75; color: #1F6B75;
display: block; display: block;
} }
.navigation li.item .modulelink {
position: relative;
font-size: 0.75em;
padding-left: 5px;
top: -5px;
}
.navigation li.item ul > li { .navigation li.item ul > li {
font-size: 0.75em; font-size: 0.75em;
padding-left: 8px; padding-left: 8px;
margin-top: 2px; margin-top: 2px;
} }
.navigation li.item .itemMembers { .navigation li.item .member-list {
padding-left: 8px;
}
/* search state */
/* show all classes when search is empty */
.navigation-list.search-empty .item {
display: block;
}
/* hide all members by default when search is empty */
.navigation-list.search-empty .item .member-list {
display: none; display: none;
} }
/* expand all members when input in search field available but too short to search */
.navigation-list.search-started li,
.navigation-list.search-started .member-list {
display: block;
}
/* when searching hide everything that is not a match */
.navigation-list.searching li,
.navigation-list.searching .member-list {
display: none;
}
.navigation-list.searching .match {
display: block;
}
/* allow user to hide / show members */
.navigation-list .item.toggle-manual-show li,
.navigation-list .item.toggle-manual-show .member-list {
display: block!important;
}
.navigation-list:not(.searching) .item.toggle-manual-hide li,
.navigation-list:not(.searching) .item.toggle-manual-hide .member-list {
display: none!important;
}
.main { .main {
padding: 20px 20px; padding: 1.5rem
margin-left: 250px;
} }
.main .page-title { .main .page-title {
display: none; display: none;
@@ -185,7 +256,7 @@ li {
} }
.main h3 { .main h3 {
font-weight: bold; font-weight: bold;
font-size: 13px; font-size: 1.3em;
margin: 5px 0; margin: 5px 0;
} }
.main h4 { .main h4 {
@@ -202,12 +273,6 @@ li {
.main h4.name span.type { .main h4.name span.type {
margin-left: 10px; margin-left: 10px;
} }
.main h4.name span.glyphicon {
display: inline-block;
vertical-align: middle;
color: #c1c1c1;
margin-left: 7px;
}
.main h4.name span.returnType, .main h4.name span.type { .main h4.name span.returnType, .main h4.name span.type {
margin-left: 3px; margin-left: 3px;
background-color: transparent!important; background-color: transparent!important;
@@ -230,7 +295,7 @@ span.type-signature.static {
margin-right: 3px; margin-right: 3px;
} }
.main .subsection-title { .main .subsection-title {
font-size: 15px; font-size: 18px;
margin-top: 30px; margin-top: 30px;
color: #1F6B75; color: #1F6B75;
} }
@@ -270,9 +335,9 @@ span.type-signature.static {
} }
.main .nameContainer { .main .nameContainer {
position: relative; position: relative;
margin-top: 20px; margin-top: 1.2rem;
padding-top: 5px; padding-top: 1.2rem;
border-top: 1px solid #e1e1e1; border-top: 2px solid #1F6B75;
} }
.main .nameContainer .inherited { .main .nameContainer .inherited {
display: inline-block; display: inline-block;
@@ -286,11 +351,13 @@ span.type-signature.static {
.main .nameContainer .inherited a { .main .nameContainer .inherited a {
color: #fff; color: #fff;
} }
.main .nameContainer .tag-source { @media (min-width: 768px) {
position: absolute; .main .nameContainer .tag-source {
top: 17px; position: absolute;
right: 0; top: 1.2rem;
font-size: 11px; right: 0;
font-size: 0.8rem;
}
} }
.main .nameContainer .tag-source a { .main .nameContainer .tag-source a {
color: gray; color: gray;
@@ -309,7 +376,17 @@ span.type-signature.static {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
} }
.main pre { .main pre {
font-size: 12px; display: block;
padding: 0.6rem;
margin: 0 0 10px;
font-size: 0.8rem;
line-height: 1.428571429;
color: #333;
word-break: break-all;
word-wrap: break-word;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
} }
.main table { .main table {
width: 100%; width: 100%;
@@ -349,11 +426,6 @@ span.type-signature.static {
margin-right: 5px; margin-right: 5px;
color: gray; color: gray;
} }
.main .readme p {
margin-top: 15px;
line-height: 1.2;
font-size: 0.9em;
}
.main .readme h1 { .main .readme h1 {
font-size: 1.7em; font-size: 1.7em;
} }

View File

@@ -0,0 +1,65 @@
/* Carbon adds (see https://sell.buysellads.com) */
#ad {
padding:0.5rem;
min-height: 125px;
}
#carbonads {
font-family: "Quattrocento Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
}
#carbonads {
display: flex;
}
#carbonads a {
color: inherit;
text-decoration: none;
}
#carbonads a:hover {
color: inherit;
}
#carbonads span {
position: relative;
display: block;
overflow: hidden;
}
#carbonads .carbon-wrap {
display: flex;
}
.carbon-img {
display: block;
margin: 0;
line-height: 1;
}
.carbon-img img {
display: block;
}
.carbon-text {
font-size: 13px;
padding: 10px;
line-height: 1.5;
text-align: left;
}
.carbon-poweredby {
display: block;
padding: 8px 10px;
text-align: center;
text-transform: uppercase;
letter-spacing: .5px;
font-weight: 600;
font-size: 9px;
line-height: 1;
}
#carbonads a.carbon-poweredby {
color: #aaa;
}

View File

@@ -9,10 +9,10 @@
<?js= self.partial('source.tmpl', doc) ?> <?js= self.partial('source.tmpl', doc) ?>
<?js } else { ?> <?js } else { ?>
<section> <section class="content">
<header> <header>
<h2><?js if (doc.ancestors && doc.ancestors.length) { ?> <h2 class="my-3"><?js if (doc.ancestors && doc.ancestors.length) { ?>
<span class="ancestors"><?js= doc.ancestors.join('') ?></span><?js } ?><?js= doc.name ?> <span class="ancestors"><?js= doc.ancestors.join('') ?></span><?js } ?><?js= doc.name ?>
<?js if (doc.variation) { ?> <?js if (doc.variation) { ?>
<sup class="variation"><?js= doc.variation ?></sup> <sup class="variation"><?js= doc.variation ?></sup>
@@ -41,19 +41,28 @@
<pre class="prettyprint source"><code>import <?js= doc.name ?> from '<?js= importPath ?>';</code></pre> <pre class="prettyprint source"><code>import <?js= doc.name ?> from '<?js= importPath ?>';</code></pre>
<?js } ?> <?js } ?>
<?js } ?> <?js } ?>
<div class="row p-3 ">
<div id="ad" class="col-lg-5 order-2 align-self-center border rounded bg-light ">
<script async type="text/javascript" src="https://cdn.carbonads.com/carbon.js?serve=CE7DV53U&placement=openlayersorg" id="_carbonads_js"></script>
</div>
<?js if (doc.classdesc) { ?> <?js if (doc.classdesc) { ?>
<div class="class-description"><?js= doc.classdesc ?></div> <div class="class-description col-lg-7 align-self-center pl-0"><?js= doc.classdesc ?></div>
<?js } ?> <?js } ?>
</div>
</header> </header>
<article> <article>
<div class="container-overview"> <div class="container-overview">
<?js if (doc.kind === 'module' && doc.module) { ?> <?js if (doc.kind === 'module' && doc.module) { ?>
<?js= self.partial('method.tmpl', doc.module) ?> <dl>
<?js= self.partial('method.tmpl', doc.module) ?>
</dl>
<?js } ?> <?js } ?>
<?js if (doc.kind === 'class') { ?> <?js if (doc.kind === 'class') { ?>
<?js= self.partial('method.tmpl', doc) ?> <dl>
<?js= self.partial('method.tmpl', doc) ?>
</dl>
<?js } else { ?> <?js } else { ?>
<?js if (doc.description) { ?> <?js if (doc.description) { ?>
<div class="description"><?js= doc.description ?></div> <div class="description"><?js= doc.description ?></div>

View File

@@ -1,5 +1,5 @@
<?js <?js
var data = obj; var data = obj;
data.forEach(function(example) { data.forEach(function(example) {
if (example.caption) { if (example.caption) {
?> ?>
@@ -13,4 +13,4 @@
<?js } ?> <?js } ?>
<?js <?js
}); });
?> ?>

View File

@@ -3,7 +3,8 @@ var version = obj.packageInfo.version;
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8">
<script> <script>
var gaProperty = 'UA-2577926-1'; var gaProperty = 'UA-2577926-1';
// Disable tracking if the opt-out cookie exists. // Disable tracking if the opt-out cookie exists.
@@ -61,48 +62,72 @@ var version = obj.packageInfo.version;
}) })
}); });
</script> </script>
<meta charset="utf-8">
<title>OpenLayers v<?js= version ?> API - <?js= title ?></title> <title>OpenLayers v<?js= version ?> API - <?js= title ?></title>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch"></script> <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch"></script>
<script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script> <script src="scripts/prettify/lang-css.js"> </script>
<script src="scripts/jquery.min.js"> </script> <script src="scripts/jquery.min.js"> </script>
<script src="scripts/bootstrap.bundle.min.js"> </script>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="styles/jaguar.css"> <link type="text/css" rel="stylesheet" href="styles/jaguar.css">
</head> <link type="text/css" rel="stylesheet" href="styles/site.css">
<body> </head>
<body>
<div class="container-fluid">
<header class="navbar navbar-expand-sm navbar-dark mb-3 py-0 fixed-top" role="navigation">
<a class="navbar-brand" href="https://openlayers.org/"><img src="logo-70x70.png" alt="">&nbsp;OpenLayers</a>
<div class="navbar navbar-inverse navbar-fixed-top"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#olmenu" aria-controls="olmenu" aria-expanded="false" aria-label="Toggle navigation">
<div class="navbar-inner"> <span class="navbar-toggler-icon"></span>
<div class="container"> </button>
<a class="brand" href="/"><img src="logo-70x70.png"> OpenLayers</a>
<ul class="nav navbar-nav pull-right">
<li><a href="../doc">Docs</a></li>
<li><a href="../examples">Examples</a></li>
<li><a href="index.html" class="active">API</a></li>
<li><a href="https://github.com/openlayers/openlayers">Code</a></li>
</ul>
</div>
</div>
</div>
<div id="wrap" class="clearfix"> <!-- menu items that get hidden below 768px width -->
<?js= this.partial('navigation.tmpl', this) ?> <nav class="collapse navbar-collapse" id="olmenu">
<div class="main"> <ul class="navbar-nav ml-auto">
<h1 class="page-title" data-filename="<?js= filename ?>"><?js= title ?></h1> <li class="nav-item dropdown">
<div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none"> <a class="nav-link dropdown-toggle" href="#" id="docdropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Docs</a>
<button id="latest-dismiss" type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <div class="dropdown-menu dropdown-menu-right" aria-labelledby="docdropdown">
This documentation is for OpenLayers v<span id="package-version"><?js= version ?></span>. The <a id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>. <a class="dropdown-item" href="/en/latest/doc/">Docs</a>
</div> <div class="dropdown-divider"></div>
<?js= content ?> <a class="dropdown-item" href="../doc/quickstart.html"><i class="fa fa-check fa-fw mr-2 fa-lg"></i>Quick Start</a>
<a class="dropdown-item" href="../doc/faq.html"><i class="fa fa-question fa-fw mr-2 fa-lg"></i>FAQ</a>
<a class="dropdown-item" href="../doc/tutorials/"><i class="fa fa-book fa-fw mr-2 fa-lg"></i>Tutorials</a>
<a class="dropdown-item" href="/workshop/"><i class="fa fa-graduation-cap fa-fw mr-2 fa-lg"></i>Workshop</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://stackoverflow.com/questions/tagged/openlayers"><i class="fa fa-stack-overflow fa-fw mr-2"></i>Ask a Question</a>
</div>
</li>
<li class="nav-item"><a class="nav-link" href="../examples/">Examples</a></li>
<li class="nav-item active"><a class="nav-link" href="../apidoc/"><i class="fa fa-sitemap mr-1"></i>API</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="codedropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Code</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="codedropdown">
<a class="dropdown-item" href="https://github.com/openlayers/openlayers"><i class="fa fa-github fa-fw mr-2 fa-lg"></i>Repository</a>
<a class="dropdown-item" href="/download/"><i class="fa fa-download fa-fw mr-2 fa-lg"></i>Download</a>
</div>
</li>
</ul>
</nav>
</header>
<div id="wrap" class="row">
<?js= this.navigationHtml ?>
<div class="main col-md-8 col-lg-9">
<h1 class="page-title" data-filename="<?js= filename ?>"><?js= title ?></h1>
<div id="latest-check" class="alert alert-warning alert-dismissible" role="alert" style="display:none">
<button id="latest-dismiss" type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
This documentation is for OpenLayers v<span id="package-version"><?js= version ?></span>. The <a id="latest-link" href="#" class="alert-link">latest</a> is v<span id="latest-version"></span>.
</div>
<?js= content ?>
</div>
</div>
<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
<script src="scripts/main.js"></script>
</div> </div>
</div> </body>
<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
<script src="scripts/main.js"></script>
</body>
</html> </html>

View File

@@ -1,10 +1,16 @@
<?js <?js
var data = obj; var data = obj;
var self = this; var self = this;
var version = self.find({kind: 'package' })[0].version;
if (/-dev$/.test(version)) {
version = 'main';
} else {
version = 'v' + version;
}
?> ?>
<dt class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>"> <dt class="<?js= (data.stability && data.stability !== 'stable') ? 'unstable' : '' ?>">
<?js if (data.stability || kind !== 'class') { ?>
<div class="nameContainer<?js if (data.inherited) { ?> inherited<?js } ?>"> <div class="nameContainer<?js if (data.inherited) { ?> inherited<?js } ?>">
<?js if (data.stability || kind !== 'class') { ?>
<div class="anchor" id="<?js= id ?>"> <div class="anchor" id="<?js= id ?>">
</div> </div>
<h4 class="name"> <h4 class="name">
@@ -16,11 +22,12 @@ var self = this;
</h4> </h4>
<?js if (data.meta) {?> <?js if (data.meta) {?>
<div class="tag-source"> <div class="tag-source">
<?js= self.linkto(meta.filename) ?>, <?js= self.linkto(meta.filename, 'line ' + meta.lineno, null, 'line' + meta.lineno) ?> <a href="https://github.com/openlayers/openlayers/blob/<?js= version ?>/src/ol/<?js= meta.filename ?>"><?js= meta.filename ?></a>,
<a href="https://github.com/openlayers/openlayers/blob/<?js= version ?>/src/ol/<?js= meta.filename ?>#L<?js= meta.lineno ?>">line <?js= meta.lineno ?></a>
</div> </div>
<?js } ?> <?js } ?>
<?js } ?>
</div> </div>
<?js } ?>
<?js if (data.summary) { ?> <?js if (data.summary) { ?>
<p class="summary"><?js= summary ?></p> <p class="summary"><?js= summary ?></p>
<?js } ?> <?js } ?>
@@ -64,7 +71,7 @@ var self = this;
<ul><?js fires.forEach(function(f) { <ul><?js fires.forEach(function(f) {
var parts = f.split(/#?event:/); var parts = f.split(/#?event:/);
var type = parts.pop(); var type = parts.pop();
var eventClassName = parts[0]; var eventClass = self.find({longname: parts[0]})[0];
parts = type.split(' '); parts = type.split(' ');
type = parts.shift(); type = parts.shift();
var description = parts.length ? parts.join(' ') : ''; var description = parts.length ? parts.join(' ') : '';
@@ -74,12 +81,9 @@ var self = this;
} }
?> ?>
<li class="<?js= (eventDoclet || data).stability !== 'stable' ? 'unstable' : '' ?>"> <li class="<?js= (eventDoclet || data).stability !== 'stable' ? 'unstable' : '' ?>">
<code><?js= eventClassName ? self.linkto(f, type) : type ?></code> <code><?js= eventClass ? self.linkto(f, type) : type ?></code>
<?js if (eventClassName) { <?js if (eventClass) { ?>
var eventClass = self.find({longname: eventClassName})[0]; (<?js= self.linkto(eventClass.longname) ?>)
if (eventClass) { ?>
(<?js= self.linkto(eventClass.longname) ?>)
<?js } ?>
<?js } ?> <?js } ?>
<?js= self.partial('stability.tmpl', eventDoclet || (data.stability ? data : {})) ?> <?js= self.partial('stability.tmpl', eventDoclet || (data.stability ? data : {})) ?>
<?js if (description) { ?> - <?js if (description) { ?> -

View File

@@ -1,103 +1,74 @@
<?js <?js
var self = this; var self = this;
function toShortName(name) { function toShortName(name) {
return name.indexOf('module:') === 0 ? name.split('/').pop() : name; return name.indexOf('module:') === 0 ? name.split('/').pop() : name;
}
function getItemCssClass(type) {
if (type === 'module') {
return 'fa-plus';
} else if (type === 'class') {
return 'fa-chevron-right';
}
return '';
}
const printListItem = (member) => {
const shortName = toShortName(member.name); ?>
<li data-name="<?js= shortName.toLowerCase() ?>"><?js= self.linkto(member.longname, shortName) ?><?js
};
const printListItemWithStability = (member) => {
const shortName = toShortName(member.name);
const cls = member.stability && member.stability !== 'stable' ? ' class="unstable"' : ''; ?>
<li data-name="<?js= shortName.toLowerCase() ?>"<?js= cls ?>><?js= self.linkto(member.longname, shortName) ?><?js
};
const printFiresListItem = (eventName) => {
const ancestor = self.find({longname: eventName})[0] ||
{longname: eventName, name: eventName.split(/#?event:/)[1]};
const eventEnum = ancestor.longname.split(/#?event:/)[0];
if (self.find({longname: eventEnum})[0]) {
printListItemWithStability(ancestor);
} else {
const cls = ancestor.stability && ancestor.stability !== 'stable' ? ' class="unstable"' : '';
const shortName = toShortName(ancestor.name); ?>
<li data-name="<?js= shortName.toLowerCase() ?>"<?js= cls ?>><?js= shortName ?><?js
}
};
function listContent(item, title, listItemPrinter) {
const type = title.toLowerCase();
if (item[type] && item[type].length) { ?>
<div class="member-list" data-type="<?js= type ?>">
<span class="subtitle"><?js= title ?></span>
<ul><?js
item[type].forEach(function (v) {
listItemPrinter(v);
}); ?>
</ul>
</div><?js
}
} }
?> ?>
<div class="navigation"> <div class="navigation col-md-4 col-lg-3">
<div class="search"> <div class="search-wrapper">
<input id="search" type="text" class="form-control input-sm" placeholder="Search Documentation"> <div class="search">
<input id="search" type="text" autocomplete="off" class="form-control input-sm" placeholder="Search Documentation">
</div>
</div>
<div class="navigation-list-wrapper">
<ul class="navigation-list search-empty"><?js
this.nav.forEach(function (item) { ?>
<li class="item item-<?js= item.type ?>" data-longname="<?js= item.longname ?>" data-name="<?js= item.prettyname.toLowerCase() ?>">
<span class="title toggle">
<span class="fa <?js= getItemCssClass(item.type) ?> mr-2 mt-1"></span>
<span><?js= self.linkto(item.longname, item.prettyname.replace(/[.~\/]/g, '\u200b$&')) ?></span>
</span><?js
listContent(item, 'Members', printListItem);
listContent(item, 'Typedefs', printListItemWithStability);
listContent(item, 'Methods', printListItemWithStability);
listContent(item, 'Fires', printFiresListItem);
}); ?>
</ul>
</div> </div>
<ul class="list">
<?js
let navbuilder;
this.nav.forEach(navbuilder = function (item) {
?>
<li class="item" data-name="<?js= item.longname ?>">
<span class="title">
<?js= self.linkto(item.longname, item.type === 'module' ? item.longname.replace('module:', '') : item.name) ?>
<?js if (item.type === 'namespace' &&
(item.members.length + item.typedefs.length + item.methods.length +
item.events.length > 0)) { ?>
<?js } ?>
</span>
<ul class="members itemMembers">
<?js
if (item.classes.length) {
?>
<span class="subtitle">Classes</span>
<?js
item.classes.forEach(function (v) {
navbuilder(v);
});
}
?>
</ul>
<ul class="members itemMembers">
<?js
if (item.members.length) {
?>
<span class="subtitle">Members</span>
<?js
item.members.forEach(function (v) {
?>
<li data-name="<?js= v.longname ?>"><?js= self.linkto(v.longname, toShortName(v.name)) ?></li>
<?js
});
}
?>
</ul>
<ul class="typedefs itemMembers">
<?js
if (item.typedefs.length) {
?>
<span class="subtitle">Typedefs</span>
<?js
item.typedefs.forEach(function (v) {
?>
<li data-name="<?js= v.longname ?>" class="<?js= (v.stability && v.stability !== 'stable') ? 'unstable' : ''?>">
<?js= self.linkto(v.longname, toShortName(v.name)) ?>
</li>
<?js
});
}
?>
</ul>
<ul class="methods itemMembers">
<?js
if (item.methods.length) {
?>
<span class="subtitle">Methods</span>
<?js
item.methods.forEach(function (v) {
?>
<li data-name="<?js= v.longname ?>" class="<?js= (v.stability && v.stability !== 'stable') ? 'unstable' : ''?>">
<?js= self.linkto(v.longname, toShortName(v.name)) ?>
</li>
<?js
});
}
?>
</ul>
<ul class="fires itemMembers">
<?js
if (item.fires && item.fires.length) {
?>
<span class="subtitle">Fires</span>
<?js
item.fires.forEach(function (v) {
v = self.find({longname: v})[0] || {longname: v, name: v.split(/#?event:/)[1]};
?>
<li data-name="<?js= v.longname ?>" class="<?js= (v.stability && v.stability != 'stable') ? 'unstable' : '' ?>">
<?js= self.linkto(v.longname, toShortName(v.name)) ?>
</li>
<?js
});
}
?>
</ul>
</li>
<?js }); ?>
</ul>
</div> </div>

View File

@@ -8,7 +8,7 @@
<th>Name</th> <th>Name</th>
<th>Type</th> <th>Type</th>
<th>Settable</th> <th>Settable</th>
<th><a href="module-ol_Object-ObjectEvent.html">ol/Object.ObjectEvent</a> type</th> <th><a href="module-ol_Object.ObjectEvent.html">ol/Object.ObjectEvent</a> type</th>
<th class="last">Description</th> <th class="last">Description</th>
</tr> </tr>
</thead> </thead>

View File

@@ -16,9 +16,8 @@
} }
}); });
/* determine if we need extra columns, "attributes" and "default" */ /* determine if we need extra "attributes" column */
params.hasAttributes = false; params.hasAttributes = false;
params.hasDefault = false;
params.hasName = false; params.hasName = false;
var colspan = 2; var colspan = 2;
@@ -40,10 +39,6 @@
params.hasName = true; params.hasName = true;
} }
if (typeof param.defaultvalue !== 'undefined') {
++colspan;
params.hasDefault = true;
}
}); });
?> ?>
@@ -56,10 +51,6 @@
<th>Type</th> <th>Type</th>
<?js if (params.hasDefault) {?>
<th>Default</th>
<?js } ?>
<th class="last">Description</th> <th class="last">Description</th>
</tr> </tr>
</thead> </thead>
@@ -80,18 +71,14 @@
<td class="type"> <td class="type">
<?js if (param.type && param.type.names) {?> <?js if (param.type && param.type.names) {?>
<?js= self.partial('type.tmpl', param.type.names) ?> <?js= self.partial('type.tmpl', param.type.names) ?>
<?js if (typeof param.defaultvalue !== 'undefined') { ?>
(defaults to <?js= self.htmlsafe(param.defaultvalue) ?>)
<?js } ?>
<?js } ?> <?js } ?>
</td> </td>
<?js if (params.hasDefault) {?>
<td class="default">
<?js if (typeof param.defaultvalue !== 'undefined') { ?>
<?js= self.htmlsafe(param.defaultvalue) ?>
<?js } ?>
</td>
<?js } ?> <?js } ?>
<?js } ?>
<td<?js= (param.subparams ? ' colspan=' + colspan : ' ') ?> class="description last"> <td<?js= (param.subparams ? ' colspan=' + colspan : ' ') ?> class="description last">
<?js if (param.stability) { ?> <?js if (param.stability) { ?>
<?js= self.partial('stability.tmpl', param) ?> <?js= self.partial('stability.tmpl', param) ?>

View File

@@ -1,15 +0,0 @@
/**
* Handle the api annotation.
* @param {Object} dictionary The tag dictionary.
*/
exports.defineTags = function(dictionary) {
dictionary.defineTag('api', {
onTagged: function(doclet, tag) {
doclet.api = true;
}
});
};

View File

@@ -11,7 +11,6 @@
}, },
"plugins": [ "plugins": [
"jsdoc-plugin-typescript", "jsdoc-plugin-typescript",
"config/jsdoc/info/api-plugin",
"config/jsdoc/info/define-plugin", "config/jsdoc/info/define-plugin",
"config/jsdoc/info/virtual-plugin" "config/jsdoc/info/virtual-plugin"
], ],

View File

@@ -5,31 +5,27 @@
* insensitive, with or without ticks). * insensitive, with or without ticks).
*/ */
const DEFAULT_VALUE = /default\s+is\s+`?(true|false)`?/i; const DEFAULT_VALUE = /default\s+is\s+`?(true|false)`?/i;
/** /**
* Hook to define new tags. * Hook to define new tags.
* @param {Object} dictionary The tag dictionary. * @param {Object} dictionary The tag dictionary.
*/ */
exports.defineTags = function(dictionary) { exports.defineTags = function (dictionary) {
dictionary.defineTag('define', { dictionary.defineTag('define', {
canHaveType: true, canHaveType: true,
mustHaveValue: true, mustHaveValue: true,
onTagged: function(doclet, tag) { onTagged: function (doclet, tag) {
const types = tag.value.type.names; const types = tag.value.type.names;
if (types.length === 1 && types[0] === 'boolean') { if (types.length === 1 && types[0] === 'boolean') {
const match = tag.value.description.match(DEFAULT_VALUE); const match = tag.value.description.match(DEFAULT_VALUE);
if (match) { if (match) {
doclet.define = { doclet.define = {
default: match[1] === 'true' default: match[1] === 'true',
}; };
doclet.description = tag.value.description; doclet.description = tag.value.description;
} }
} }
} },
}); });
}; };

View File

@@ -1,45 +1,46 @@
/** /**
* @fileoverview Generates JSON output based on exportable symbols (those with * @fileoverview Generates JSON output based on exportable symbols.
* an api tag) and boolean defines (with a define tag and a default value).
*/ */
const assert = require('assert'); const assert = require('assert');
const path = require('path'); const path = require('path');
/** /**
* Publish hook for the JSDoc template. Writes to JSON stdout. * Publish hook for the JSDoc template. Writes to JSON stdout.
* @param {function} data The root of the Taffy DB containing doclet records. * @param {function} data The root of the Taffy DB containing doclet records.
* @param {Object} opts Options. * @param {Object} opts Options.
* @return {Promise} A promise that resolves when writing is complete. * @return {Promise} A promise that resolves when writing is complete.
*/ */
exports.publish = function(data, opts) { exports.publish = function (data, opts) {
function getTypes(data) { function getTypes(data) {
const types = []; const types = [];
data.forEach(function(name) { data.forEach(function (name) {
types.push(name.replace(/^function$/, 'Function')); types.push(name.replace(/^function$/, 'Function'));
}); });
return types; return types;
} }
// get all doclets with the "api" property or define (excluding events) // get all doclets that have exports
const classes = {}; const classes = {};
const docs = data( const docs = data(
[ [
{define: {isObject: true}}, {define: {isObject: true}},
function() { function () {
if (this.kind == 'class') { if (this.kind == 'class') {
if (!('extends' in this) || typeof this.api == 'boolean') { classes[this.longname] = this;
classes[this.longname] = this; return true;
return true;
}
} }
return (typeof this.api == 'boolean' || return (
this.meta && (/[\\\/]externs$/).test(this.meta.path)); this.meta &&
} this.meta.path &&
this.longname.indexOf('<anonymous>') !== 0 &&
this.longname !== 'module:ol'
);
},
], ],
{kind: {'!is': 'file'}}, {kind: {'!is': 'file'}},
{kind: {'!is': 'event'}}).get(); {kind: {'!is': 'event'}},
{kind: {'!is': 'module'}}
).get();
// get symbols data, filter out those that are members of private classes // get symbols data, filter out those that are members of private classes
const symbols = []; const symbols = [];
@@ -49,117 +50,132 @@ exports.publish = function(data, opts) {
let base = []; let base = [];
const augments = {}; const augments = {};
const symbolsByName = {}; const symbolsByName = {};
docs.filter(function(doc) { docs
let include = true; .filter(function (doc) {
const constructor = doc.memberof; let include = true;
if (constructor && constructor.substr(-1) === '_' && constructor.indexOf('module:') === -1) { const constructor = doc.memberof;
assert.strictEqual(doc.inherited, true, if (
'Unexpected export on private class: ' + doc.longname); constructor &&
include = false; constructor.substr(-1) === '_' &&
} constructor.indexOf('module:') === -1
return include; ) {
}).forEach(function(doc) { assert.strictEqual(
const isExterns = (/[\\\/]externs$/).test(doc.meta.path); doc.inherited,
if (doc.define) { true,
defines.push({ 'Unexpected export on private class: ' + doc.longname
name: doc.longname, );
description: doc.description, include = false;
path: path.join(doc.meta.path, doc.meta.filename),
default: doc.define.default
});
} else if (doc.kind == 'typedef' || doc.isEnum === true) {
typedefs.push({
name: doc.longname,
types: getTypes(doc.type.names)
});
} else {
const symbol = {
name: doc.longname,
kind: doc.kind,
description: doc.classdesc || doc.description,
path: path.join(doc.meta.path, doc.meta.filename)
};
if (doc.augments) {
symbol.extends = doc.augments[0];
} }
if (doc.virtual) { return include;
symbol.virtual = true; })
} .forEach(function (doc) {
if (doc.type) { const isExterns = /[\\\/]externs$/.test(doc.meta.path);
symbol.types = getTypes(doc.type.names); if (doc.define) {
} defines.push({
if (doc.params) { name: doc.longname,
const params = []; description: doc.description,
doc.params.forEach(function(param) { path: path.join(doc.meta.path, doc.meta.filename),
const paramInfo = { default: doc.define.default,
name: param.name
};
params.push(paramInfo);
paramInfo.types = getTypes(param.type.names);
if (typeof param.variable == 'boolean') {
paramInfo.variable = param.variable;
}
if (typeof param.optional == 'boolean') {
paramInfo.optional = param.optional;
}
if (typeof param.nullable == 'boolean') {
paramInfo.nullable = param.nullable;
}
}); });
symbol.params = params; } else if (doc.type && (doc.kind == 'typedef' || doc.isEnum === true)) {
} typedefs.push({
if (doc.returns) { name: doc.longname,
symbol.returns = { types: getTypes(doc.type.names),
types: getTypes(doc.returns[0].type.names) });
} else {
const symbol = {
name: doc.longname,
kind: doc.kind,
description: doc.classdesc || doc.description,
path: path.join(doc.meta.path, doc.meta.filename),
}; };
if (typeof doc.returns[0].nullable == 'boolean') { if (doc.augments) {
symbol.returns.nullable = doc.returns[0].nullable; symbol.extends = doc.augments[0];
} }
} if (doc.virtual) {
if (doc.tags) { symbol.virtual = true;
doc.tags.every(function(tag) { }
if (tag.title == 'template') { if (doc.type) {
symbol.template = tag.value; symbol.types = getTypes(doc.type.names);
return false; }
if (doc.params) {
const params = [];
doc.params.forEach(function (param) {
const paramInfo = {
name: param.name,
};
params.push(paramInfo);
paramInfo.types = getTypes(param.type.names);
if (typeof param.variable == 'boolean') {
paramInfo.variable = param.variable;
}
if (typeof param.optional == 'boolean') {
paramInfo.optional = param.optional;
}
if (typeof param.nullable == 'boolean') {
paramInfo.nullable = param.nullable;
}
});
symbol.params = params;
}
if (doc.returns) {
symbol.returns = {
types: getTypes(doc.returns[0].type.names),
};
if (typeof doc.returns[0].nullable == 'boolean') {
symbol.returns.nullable = doc.returns[0].nullable;
} }
return true;
});
}
const target = isExterns ? externs : (doc.api ? symbols : base);
const existingSymbol = symbolsByName[symbol.name];
if (existingSymbol) {
const idx = target.indexOf(existingSymbol);
target.splice(idx, 1);
}
target.push(symbol);
symbolsByName[symbol.name] = symbol;
if (doc.api && symbol.extends) {
while (symbol.extends in classes && !classes[symbol.extends].api &&
classes[symbol.extends].augments) {
symbol.extends = classes[symbol.extends].augments[0];
} }
if (doc.tags) {
doc.tags.every(function (tag) {
if (tag.title == 'template') {
symbol.template = tag.value;
return false;
}
return true;
});
}
const target = isExterns ? externs : symbols;
const existingSymbol = symbolsByName[symbol.name];
if (existingSymbol) {
const idx = target.indexOf(existingSymbol);
target.splice(idx, 1);
}
target.push(symbol);
symbolsByName[symbol.name] = symbol;
if (symbol.extends) { if (symbol.extends) {
augments[symbol.extends] = true; while (
symbol.extends in classes &&
classes[symbol.extends].augments
) {
symbol.extends = classes[symbol.extends].augments[0];
}
if (symbol.extends) {
augments[symbol.extends] = true;
}
} }
} }
} });
base = base.filter(function (symbol) {
return symbol.name in augments || symbol.virtual;
}); });
base = base.filter(function(symbol) { return new Promise(function (resolve, reject) {
return (symbol.name in augments || symbol.virtual);
});
return new Promise(function(resolve, reject) {
process.stdout.write( process.stdout.write(
JSON.stringify({ JSON.stringify(
symbols: symbols, {
defines: defines, symbols: symbols,
typedefs: typedefs, defines: defines,
externs: externs, typedefs: typedefs,
base: base externs: externs,
}, null, 2)); base: base,
},
null,
2
)
);
}); });
}; };

View File

@@ -2,15 +2,13 @@
* Handle the interface and abstract annotations. * Handle the interface and abstract annotations.
* @param {Object} dictionary The tag dictionary. * @param {Object} dictionary The tag dictionary.
*/ */
exports.defineTags = function(dictionary) { exports.defineTags = function (dictionary) {
const classTag = dictionary.lookUp('class'); const classTag = dictionary.lookUp('class');
dictionary.defineTag('interface', { dictionary.defineTag('interface', {
mustHaveValue: false, mustNotHaveValue: true,
onTagged: function(doclet, tag) { onTagged: function (doclet, tag) {
classTag.onTagged.apply(this, arguments); classTag.onTagged.apply(this, arguments);
doclet.virtual = true; doclet.virtual = true;
} },
}); });
}; };

View File

@@ -3,11 +3,16 @@ module.exports = {
entry: './build/index.js', entry: './build/index.js',
devtool: 'source-map', devtool: 'source-map',
mode: 'production', mode: 'production',
resolve: {
alias: {
ol: path.resolve('./build/ol'),
},
},
output: { output: {
path: path.resolve('./build/legacy'), path: path.resolve('./build/legacy'),
filename: 'ol.js', filename: 'ol.js',
library: 'ol', library: 'ol',
libraryTarget: 'umd', libraryTarget: 'umd',
libraryExport: 'default' libraryExport: 'default',
} },
}; };

View File

@@ -47,7 +47,7 @@ The default `geometryFunction` can only handle `ol/geom/Point` geometries.
### 11 ### 11
`options.featureTypes` should be an Array. `options.featureTypes` must be an Array.
### 12 ### 12
@@ -111,7 +111,7 @@ Features for `updates` must have an id set by the feature reader or `ol.Feature#
### 28 ### 28
`renderMode` must be `'image'` or `'hybrid'`. `renderMode` must be `'image'`, `'hybrid'` or `'vector'`.
### 29 ### 29
@@ -241,11 +241,15 @@ Support for the `OES_element_index_uint` WebGL extension is mandatory for WebGL
Layer opacity must be a number. Layer opacity must be a number.
### 65
A symbol literal representation must be defined on the style supplied to a `WebGLPointsLayer` instance.
### 66 ### 66
`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. `forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled.
This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`.
### 67
A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both.
### 68
Data from this source can only be rendered if it has a projection compatible with the view projection.

View File

@@ -19,7 +19,7 @@ OpenLayers is available as [`ol` npm package](https://npmjs.com/package/ol), whi
By default, OpenLayers uses a performance optimized Canvas renderer. By default, OpenLayers uses a performance optimized Canvas renderer.
OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](http://polyfill.io), the application bundle needs to be transpiled (e.g. using [Babel](https://babeljs.io)) and bundled with polyfills for `requestAnimationFrame`, `Element.prototype.classList` and `URL`. OpenLayers runs on all modern browsers that support [HTML5](https://html.spec.whatwg.org/multipage/) and [ECMAScript 5](http://www.ecma-international.org/ecma-262/5.1/). This includes Chrome, Firefox, Safari and Edge. For older browsers and platforms like Internet Explorer (down to version 9) and Android 4.x, [polyfills](http://polyfill.io), the application bundle needs to be transpiled (e.g. using [Babel](https://babeljs.io)) and bundled with polyfills for `fetch`, `requestAnimationFrame`, `Element.prototype.classList`, `URL` and `TextDecoder`.
The library is intended for use on both desktop/laptop and mobile devices, and supports pointer and touch interactions. The library is intended for use on both desktop/laptop and mobile devices, and supports pointer and touch interactions.

View File

@@ -39,10 +39,10 @@ var map = new Map({
If a source (based on `ol/source/TileImage` or `ol/source/Image`) has a projection different from the current `ol/View`s projection then the reprojection happens automatically under the hood. If a source (based on `ol/source/TileImage` or `ol/source/Image`) has a projection different from the current `ol/View`s projection then the reprojection happens automatically under the hood.
### Examples ### Examples
- [Raster reprojection demo](https://openlayers.org/en/master/examples/reprojection.html) - [Raster reprojection demo](https://openlayers.org/en/latest/examples/reprojection.html)
- [OpenStreetMap to WGS84 reprojection](https://openlayers.org/en/master/examples/reprojection-wgs84.html) - [OpenStreetMap to WGS84 reprojection](https://openlayers.org/en/latest/examples/reprojection-wgs84.html)
- [Reprojection with EPSG.io database search](https://openlayers.org/en/master/examples/reprojection-by-code.html) - [Reprojection with EPSG.io database search](https://openlayers.org/en/latest/examples/reprojection-by-code.html)
- [Image reprojection](https://openlayers.org/en/master/examples/reprojection-image.html) - [Image reprojection](https://openlayers.org/en/latest/examples/reprojection-image.html)
### Custom projection ### Custom projection
The easiest way to use a custom projection is to add the [Proj4js](http://proj4js.org/) library to your project and then define the projection using a proj4 definition string. It can be installed with The easiest way to use a custom projection is to add the [Proj4js](http://proj4js.org/) library to your project and then define the projection using a proj4 definition string. It can be installed with
@@ -125,7 +125,7 @@ Although this is mathematically correct behavior of the inverse transformation,
A possible general solution would be to calculate the forward transformation for every vertex as well - but this would significantly decrease performance (especially for computationally expensive transformations). A possible general solution would be to calculate the forward transformation for every vertex as well - but this would significantly decrease performance (especially for computationally expensive transformations).
Therefore a recommended workaround is to define a proper visibility extent on the `ol.layer.Tile` in the view projection. Therefore a recommended workaround is to define a proper visibility extent on the `ol.layer.Tile` in the view projection.
Setting such a limit is demonstrated in the [reprojection demo example](https://openlayers.org/en/master/examples/reprojection.html). Setting such a limit is demonstrated in the [reprojection demo example](https://openlayers.org/en/latest/examples/reprojection.html).
### Resolution calculation ### Resolution calculation
When determining source tiles to load, the ideal source resolution needs to be calculated. When determining source tiles to load, the ideal source resolution needs to be calculated.

View File

@@ -5,10 +5,13 @@
"common": false, "common": false,
"createMapboxStreetsV6Style": false, "createMapboxStreetsV6Style": false,
"d3": false, "d3": false,
"domtoimage": false,
"geojsonvt": false, "geojsonvt": false,
"gifler": false,
"GyroNorm": false, "GyroNorm": false,
"jsPDF": false, "jsPDF": false,
"jsts": false, "jsts": false,
"JSZip": false,
"mapboxgl": false, "mapboxgl": false,
"saveAs": false, "saveAs": false,
"toastr": false, "toastr": false,

View File

@@ -1,29 +1,28 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import TileLayer from '../src/ol/layer/Tile.js';
import OSM from '../src/ol/source/OSM.js'; import OSM from '../src/ol/source/OSM.js';
import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 2 zoom: 2,
}) }),
}); });
document.getElementById('zoom-out').onclick = function() { document.getElementById('zoom-out').onclick = function () {
const view = map.getView(); const view = map.getView();
const zoom = view.getZoom(); const zoom = view.getZoom();
view.setZoom(zoom - 1); view.setZoom(zoom - 1);
}; };
document.getElementById('zoom-in').onclick = function() { document.getElementById('zoom-in').onclick = function () {
const view = map.getView(); const view = map.getView();
const zoom = view.getZoom(); const zoom = view.getZoom();
view.setZoom(zoom + 1); view.setZoom(zoom + 1);

View File

@@ -0,0 +1,12 @@
---
layout: example.html
title: Animated GIF
shortdesc: Example of using an animated GIF as an icon.
docs: >
Example of using an animated GIF as an icon.
Animation is achieved using the <a href="http://themadcreator.github.io/gifler/" target="_blank">Gifler</a> library.
tags: "animation, vector, style, icon, gif"
resources:
- https://unpkg.com/gifler@0.1.0/gifler.min.js
---
<div id="map" class="map"></div>

64
examples/animated-gif.js Normal file
View File

@@ -0,0 +1,64 @@
import Feature from '../src/ol/Feature.js';
import Map from '../src/ol/Map.js';
import Point from '../src/ol/geom/Point.js';
import View from '../src/ol/View.js';
import {Icon, Style} from '../src/ol/style.js';
import {Stamen, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
const iconFeature = new Feature({
geometry: new Point([0, 0]),
});
const vectorSource = new VectorSource({
features: [iconFeature],
});
const vectorLayer = new VectorLayer({
source: vectorSource,
});
const rasterLayer = new TileLayer({
source: new Stamen({
layer: 'toner',
}),
});
const map = new Map({
layers: [rasterLayer, vectorLayer],
target: document.getElementById('map'),
view: new View({
center: [0, 0],
zoom: 2,
}),
});
const gifUrl = 'data/globe.gif';
const gif = gifler(gifUrl);
gif.frames(
document.createElement('canvas'),
function (ctx, frame) {
if (!iconFeature.getStyle()) {
iconFeature.setStyle(
new Style({
image: new Icon({
img: ctx.canvas,
imgSize: [frame.width, frame.height],
opacity: 0.8,
}),
})
);
}
ctx.clearRect(0, 0, frame.width, frame.height);
ctx.drawImage(frame.buffer, frame.x, frame.y);
map.render();
},
true
);
// change mouse cursor when over icon
map.on('pointermove', function (e) {
const pixel = map.getEventPixel(e.originalEvent);
const hit = map.hasFeatureAtPixel(pixel);
map.getTarget().style.cursor = hit ? 'pointer' : '';
});

View File

@@ -1,9 +1,9 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import OSM from '../src/ol/source/OSM.js';
import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {easeIn, easeOut} from '../src/ol/easing.js'; import {easeIn, easeOut} from '../src/ol/easing.js';
import TileLayer from '../src/ol/layer/Tile.js';
import {fromLonLat} from '../src/ol/proj.js'; import {fromLonLat} from '../src/ol/proj.js';
import OSM from '../src/ol/source/OSM.js';
const london = fromLonLat([-0.12755, 51.507222]); const london = fromLonLat([-0.12755, 51.507222]);
const moscow = fromLonLat([37.6178, 55.7517]); const moscow = fromLonLat([37.6178, 55.7517]);
@@ -13,7 +13,7 @@ const bern = fromLonLat([7.4458, 46.95]);
const view = new View({ const view = new View({
center: istanbul, center: istanbul,
zoom: 6 zoom: 6,
}); });
const map = new Map({ const map = new Map({
@@ -21,10 +21,10 @@ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
preload: 4, preload: 4,
source: new OSM() source: new OSM(),
}) }),
], ],
view: view view: view,
}); });
// A bounce easing method (from https://github.com/DmitryBaranovskiy/raphael). // A bounce easing method (from https://github.com/DmitryBaranovskiy/raphael).
@@ -32,18 +32,18 @@ function bounce(t) {
const s = 7.5625; const s = 7.5625;
const p = 2.75; const p = 2.75;
let l; let l;
if (t < (1 / p)) { if (t < 1 / p) {
l = s * t * t; l = s * t * t;
} else { } else {
if (t < (2 / p)) { if (t < 2 / p) {
t -= (1.5 / p); t -= 1.5 / p;
l = s * t * t + 0.75; l = s * t * t + 0.75;
} else { } else {
if (t < (2.5 / p)) { if (t < 2.5 / p) {
t -= (2.25 / p); t -= 2.25 / p;
l = s * t * t + 0.9375; l = s * t * t + 0.9375;
} else { } else {
t -= (2.625 / p); t -= 2.625 / p;
l = s * t * t + 0.984375; l = s * t * t + 0.984375;
} }
} }
@@ -53,77 +53,85 @@ function bounce(t) {
// An elastic easing method (from https://github.com/DmitryBaranovskiy/raphael). // An elastic easing method (from https://github.com/DmitryBaranovskiy/raphael).
function elastic(t) { function elastic(t) {
return Math.pow(2, -10 * t) * Math.sin((t - 0.075) * (2 * Math.PI) / 0.3) + 1; return (
Math.pow(2, -10 * t) * Math.sin(((t - 0.075) * (2 * Math.PI)) / 0.3) + 1
);
} }
function onClick(id, callback) { function onClick(id, callback) {
document.getElementById(id).addEventListener('click', callback); document.getElementById(id).addEventListener('click', callback);
} }
onClick('rotate-left', function() { onClick('rotate-left', function () {
view.animate({ view.animate({
rotation: view.getRotation() + Math.PI / 2 rotation: view.getRotation() + Math.PI / 2,
}); });
}); });
onClick('rotate-right', function() { onClick('rotate-right', function () {
view.animate({ view.animate({
rotation: view.getRotation() - Math.PI / 2 rotation: view.getRotation() - Math.PI / 2,
}); });
}); });
onClick('rotate-around-rome', function() { onClick('rotate-around-rome', function () {
// Rotation animation takes the shortest arc, so animate in two parts // Rotation animation takes the shortest arc, so animate in two parts
const rotation = view.getRotation(); const rotation = view.getRotation();
view.animate({ view.animate(
rotation: rotation + Math.PI, {
anchor: rome, rotation: rotation + Math.PI,
easing: easeIn anchor: rome,
}, { easing: easeIn,
rotation: rotation + 2 * Math.PI, },
anchor: rome, {
easing: easeOut rotation: rotation + 2 * Math.PI,
}); anchor: rome,
easing: easeOut,
}
);
}); });
onClick('pan-to-london', function() { onClick('pan-to-london', function () {
view.animate({ view.animate({
center: london, center: london,
duration: 2000 duration: 2000,
}); });
}); });
onClick('elastic-to-moscow', function() { onClick('elastic-to-moscow', function () {
view.animate({ view.animate({
center: moscow, center: moscow,
duration: 2000, duration: 2000,
easing: elastic easing: elastic,
}); });
}); });
onClick('bounce-to-istanbul', function() { onClick('bounce-to-istanbul', function () {
view.animate({ view.animate({
center: istanbul, center: istanbul,
duration: 2000, duration: 2000,
easing: bounce easing: bounce,
}); });
}); });
onClick('spin-to-rome', function() { onClick('spin-to-rome', function () {
// Rotation animation takes the shortest arc, so animate in two parts // Rotation animation takes the shortest arc, so animate in two parts
const center = view.getCenter(); const center = view.getCenter();
view.animate({ view.animate(
center: [ {
center[0] + (rome[0] - center[0]) / 2, center: [
center[1] + (rome[1] - center[1]) / 2 center[0] + (rome[0] - center[0]) / 2,
], center[1] + (rome[1] - center[1]) / 2,
rotation: Math.PI, ],
easing: easeIn rotation: Math.PI,
}, { easing: easeIn,
center: rome, },
rotation: 2 * Math.PI, {
easing: easeOut center: rome,
}); rotation: 2 * Math.PI,
easing: easeOut,
}
);
}); });
function flyTo(location, done) { function flyTo(location, done) {
@@ -141,21 +149,28 @@ function flyTo(location, done) {
done(complete); done(complete);
} }
} }
view.animate({ view.animate(
center: location, {
duration: duration center: location,
}, callback); duration: duration,
view.animate({ },
zoom: zoom - 1, callback
duration: duration / 2 );
}, { view.animate(
zoom: zoom, {
duration: duration / 2 zoom: zoom - 1,
}, callback); duration: duration / 2,
},
{
zoom: zoom,
duration: duration / 2,
},
callback
);
} }
onClick('fly-to-bern', function() { onClick('fly-to-bern', function () {
flyTo(bern, function() {}); flyTo(bern, function () {});
}); });
function tour() { function tour() {
@@ -166,7 +181,7 @@ function tour() {
++index; ++index;
if (index < locations.length) { if (index < locations.length) {
const delay = index === 0 ? 0 : 750; const delay = index === 0 ? 0 : 750;
setTimeout(function() { setTimeout(function () {
flyTo(locations[index], next); flyTo(locations[index], next);
}, delay); }, delay);
} else { } else {

View File

@@ -6,6 +6,6 @@ docs: >
This example shows how to use a dynamic ArcGIS REST MapService. This example shows how to use a dynamic ArcGIS REST MapService.
This source type supports Map and Image Services. For dyamic ArcGIS This source type supports Map and Image Services. For dyamic ArcGIS
services. services.
tags: arcgis, image, dynamiclayer" tags: "arcgis, image, dynamiclayer"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>

View File

@@ -1,28 +1,29 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {Tile as TileLayer, Image as ImageLayer} from '../src/ol/layer.js'; import {ImageArcGISRest, OSM} from '../src/ol/source.js';
import {OSM, ImageArcGISRest} from '../src/ol/source.js'; import {Image as ImageLayer, Tile as TileLayer} from '../src/ol/layer.js';
const url = 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' + const url =
'Specialty/ESRI_StateCityHighway_USA/MapServer'; 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' +
'Specialty/ESRI_StateCityHighway_USA/MapServer';
const layers = [ const layers = [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}), }),
new ImageLayer({ new ImageLayer({
source: new ImageArcGISRest({ source: new ImageArcGISRest({
ratio: 1, ratio: 1,
params: {}, params: {},
url: url url: url,
}) }),
}) }),
]; ];
const map = new Map({ const map = new Map({
layers: layers, layers: layers,
target: 'map', target: 'map',
view: new View({ view: new View({
center: [-10997148, 4569099], center: [-10997148, 4569099],
zoom: 4 zoom: 4,
}) }),
}); });

View File

@@ -7,6 +7,6 @@ docs: >
This source type supports Map and Image Services. For cached ArcGIS This source type supports Map and Image Services. For cached ArcGIS
services, better performance is available by using services, better performance is available by using
<code>ol/source/XYZ</code> instead. <code>ol/source/XYZ</code> instead.
tags: arcgis, tile, tilelayer" tags: "arcgis, tile, tilelayer"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>

View File

@@ -1,27 +1,28 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import TileLayer from '../src/ol/layer/Tile.js'; import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
import {OSM, TileArcGISRest} from '../src/ol/source.js'; import {OSM, TileArcGISRest} from '../src/ol/source.js';
const url = 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' + const url =
'Specialty/ESRI_StateCityHighway_USA/MapServer'; 'https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/' +
'Specialty/ESRI_StateCityHighway_USA/MapServer';
const layers = [ const layers = [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}), }),
new TileLayer({ new TileLayer({
extent: [-13884991, 2870341, -7455066, 6338219], extent: [-13884991, 2870341, -7455066, 6338219],
source: new TileArcGISRest({ source: new TileArcGISRest({
url: url url: url,
}) }),
}) }),
]; ];
const map = new Map({ const map = new Map({
layers: layers, layers: layers,
target: 'map', target: 'map',
view: new View({ view: new View({
center: [-10997148, 4569099], center: [-10997148, 4569099],
zoom: 4 zoom: 4,
}) }),
}); });

View File

@@ -1,24 +1,24 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import {defaults as defaultControls, Attribution} from '../src/ol/control.js';
import TileLayer from '../src/ol/layer/Tile.js';
import OSM from '../src/ol/source/OSM.js'; import OSM from '../src/ol/source/OSM.js';
import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
import {Attribution, defaults as defaultControls} from '../src/ol/control.js';
const attribution = new Attribution({ const attribution = new Attribution({
collapsible: false collapsible: false,
}); });
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}) }),
], ],
controls: defaultControls({attribution: false}).extend([attribution]), controls: defaultControls({attribution: false}).extend([attribution]),
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 2 zoom: 2,
}) }),
}); });
function checkSize() { function checkSize() {

View File

@@ -6,7 +6,7 @@ docs: >
<p>When the Bing Maps tile service doesn't have tiles for a given resolution and region it returns "placeholder" tiles indicating that. Zoom the map beyond level 19 to see the "placeholder" tiles. If you want OpenLayers to display stretched tiles in place of "placeholder" tiles beyond zoom level 19 then set <code>maxZoom</code> to <code>19</code> in the options passed to <code>ol/source/BingMaps</code>.</p> <p>When the Bing Maps tile service doesn't have tiles for a given resolution and region it returns "placeholder" tiles indicating that. Zoom the map beyond level 19 to see the "placeholder" tiles. If you want OpenLayers to display stretched tiles in place of "placeholder" tiles beyond zoom level 19 then set <code>maxZoom</code> to <code>19</code> in the options passed to <code>ol/source/BingMaps</code>.</p>
tags: "bing, bing-maps" tags: "bing, bing-maps"
cloak: cloak:
- key: As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5 - key: ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp
value: Your Bing Maps Key from http://www.bingmapsportal.com/ here value: Your Bing Maps Key from http://www.bingmapsportal.com/ here
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>

View File

@@ -1,38 +1,39 @@
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import TileLayer from '../src/ol/layer/Tile.js';
import BingMaps from '../src/ol/source/BingMaps.js'; import BingMaps from '../src/ol/source/BingMaps.js';
import Map from '../src/ol/Map.js';
import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
const styles = [ const styles = [
'RoadOnDemand', 'RoadOnDemand',
'Aerial', 'Aerial',
'AerialWithLabelsOnDemand', 'AerialWithLabelsOnDemand',
'CanvasDark', 'CanvasDark',
'OrdnanceSurvey' 'OrdnanceSurvey',
]; ];
const layers = []; const layers = [];
let i, ii; let i, ii;
for (i = 0, ii = styles.length; i < ii; ++i) { for (i = 0, ii = styles.length; i < ii; ++i) {
layers.push(new TileLayer({ layers.push(
visible: false, new TileLayer({
preload: Infinity, visible: false,
source: new BingMaps({ preload: Infinity,
key: 'As1HiMj1PvLPlqc_gtM7AqZfBL8ZL3VrjaS3zIb22Uvb9WKhuJObROC-qUpa81U5', source: new BingMaps({
imagerySet: styles[i] key: 'ApTJzdkyN1DdFKkRAE6QIDtzihNaf6IWJsT-nQ_2eMoO4PN__0Tzhl2-WgJtXFSp',
// use maxZoom 19 to see stretched tiles instead of the BingMaps imagerySet: styles[i],
// "no photos at this zoom level" tiles // use maxZoom 19 to see stretched tiles instead of the BingMaps
// maxZoom: 19 // "no photos at this zoom level" tiles
// maxZoom: 19
}),
}) })
})); );
} }
const map = new Map({ const map = new Map({
layers: layers, layers: layers,
target: 'map', target: 'map',
view: new View({ view: new View({
center: [-6655.5402445057125, 6709968.258934638], center: [-6655.5402445057125, 6709968.258934638],
zoom: 13 zoom: 13,
}) }),
}); });
const select = document.getElementById('layer-select'); const select = document.getElementById('layer-select');

View File

@@ -1,33 +1,31 @@
import GeoJSON from '../src/ol/format/GeoJSON.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {platformModifierKeyOnly} from '../src/ol/events/condition.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
import {DragBox, Select} from '../src/ol/interaction.js'; import {DragBox, Select} from '../src/ol/interaction.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js'; import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {platformModifierKeyOnly} from '../src/ol/events/condition.js';
const vectorSource = new VectorSource({ const vectorSource = new VectorSource({
url: 'data/geojson/countries.geojson', url: 'data/geojson/countries.geojson',
format: new GeoJSON() format: new GeoJSON(),
}); });
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}), }),
new VectorLayer({ new VectorLayer({
source: vectorSource source: vectorSource,
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 2, zoom: 2,
constrainRotation: 16 constrainRotation: 16,
}) }),
}); });
// a normal select interaction to handle click // a normal select interaction to handle click
@@ -38,12 +36,12 @@ const selectedFeatures = select.getFeatures();
// a DragBox interaction used to select features by drawing boxes // a DragBox interaction used to select features by drawing boxes
const dragBox = new DragBox({ const dragBox = new DragBox({
condition: platformModifierKeyOnly condition: platformModifierKeyOnly,
}); });
map.addInteraction(dragBox); map.addInteraction(dragBox);
dragBox.on('boxend', function() { dragBox.on('boxend', function () {
// features that intersect the box geometry are added to the // features that intersect the box geometry are added to the
// collection of selected features // collection of selected features
@@ -54,7 +52,7 @@ dragBox.on('boxend', function() {
const oblique = rotation % (Math.PI / 2) !== 0; const oblique = rotation % (Math.PI / 2) !== 0;
const candidateFeatures = oblique ? [] : selectedFeatures; const candidateFeatures = oblique ? [] : selectedFeatures;
const extent = dragBox.getGeometry().getExtent(); const extent = dragBox.getGeometry().getExtent();
vectorSource.forEachFeatureIntersectingExtent(extent, function(feature) { vectorSource.forEachFeatureIntersectingExtent(extent, function (feature) {
candidateFeatures.push(feature); candidateFeatures.push(feature);
}); });
@@ -68,7 +66,7 @@ dragBox.on('boxend', function() {
const geometry = dragBox.getGeometry().clone(); const geometry = dragBox.getGeometry().clone();
geometry.rotate(-rotation, anchor); geometry.rotate(-rotation, anchor);
const extent = geometry.getExtent(); const extent = geometry.getExtent();
candidateFeatures.forEach(function(feature) { candidateFeatures.forEach(function (feature) {
const geometry = feature.getGeometry().clone(); const geometry = feature.getGeometry().clone();
geometry.rotate(-rotation, anchor); geometry.rotate(-rotation, anchor);
if (geometry.intersectsExtent(extent)) { if (geometry.intersectsExtent(extent)) {
@@ -76,18 +74,17 @@ dragBox.on('boxend', function() {
} }
}); });
} }
}); });
// clear selection when drawing a new box and when clicking on the map // clear selection when drawing a new box and when clicking on the map
dragBox.on('boxstart', function() { dragBox.on('boxstart', function () {
selectedFeatures.clear(); selectedFeatures.clear();
}); });
const infoBox = document.getElementById('info'); const infoBox = document.getElementById('info');
selectedFeatures.on(['add', 'remove'], function() { selectedFeatures.on(['add', 'remove'], function () {
const names = selectedFeatures.getArray().map(function(feature) { const names = selectedFeatures.getArray().map(function (feature) {
return feature.get('name'); return feature.get('name');
}); });
if (names.length > 0) { if (names.length > 0) {

View File

@@ -3,11 +3,12 @@ layout: example.html
title: Custom Tooltips title: Custom Tooltips
shortdesc: This example shows how to customize the buttons tooltips with Bootstrap. shortdesc: This example shows how to customize the buttons tooltips with Bootstrap.
docs: > docs: >
This example shows how to customize the buttons tooltips with <a href="http://getbootstrap.com/javascript/#tooltips">Bootstrap</a>. This example shows how to customize the buttons tooltips with <a href="https://getbootstrap.com/docs/4.5/components/tooltips/">Bootstrap</a>.
For the tooltips to work in fullscreen mode, set the container property to a selector that matches the map target.
tags: "custom, tooltip" tags: "custom, tooltip"
resources: resources:
- https://code.jquery.com/jquery-2.2.3.min.js - https://code.jquery.com/jquery-3.5.1.min.js
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css - https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js - https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.bundle.min.js
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>

View File

@@ -1,26 +1,27 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import TileLayer from '../src/ol/layer/Tile.js';
import OSM from '../src/ol/source/OSM.js'; import OSM from '../src/ol/source/OSM.js';
import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [-8730000, 5930000], center: [-8730000, 5930000],
rotation: Math.PI / 5, rotation: Math.PI / 5,
zoom: 8 zoom: 8,
}) }),
}); });
$('.ol-zoom-in, .ol-zoom-out').tooltip({ $('.ol-zoom-in, .ol-zoom-out').tooltip({
placement: 'right' placement: 'right',
container: '#map',
}); });
$('.ol-rotate-reset, .ol-attribution button[title]').tooltip({ $('.ol-rotate-reset, .ol-attribution button[title]').tooltip({
placement: 'left' placement: 'left',
container: '#map',
}); });

View File

@@ -1,11 +1,11 @@
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import GeoJSON from '../src/ol/format/GeoJSON.js'; import GeoJSON from '../src/ol/format/GeoJSON.js';
import {DEVICE_PIXEL_RATIO} from '../src/ol/has.js'; import Map from '../src/ol/Map.js';
import VectorLayer from '../src/ol/layer/Vector.js'; import VectorLayer from '../src/ol/layer/Vector.js';
import {fromLonLat} from '../src/ol/proj.js';
import VectorSource from '../src/ol/source/Vector.js'; import VectorSource from '../src/ol/source/Vector.js';
import View from '../src/ol/View.js';
import {DEVICE_PIXEL_RATIO} from '../src/ol/has.js';
import {Fill, Stroke, Style} from '../src/ol/style.js'; import {Fill, Stroke, Style} from '../src/ol/style.js';
import {fromLonLat} from '../src/ol/proj.js';
const canvas = document.createElement('canvas'); const canvas = document.createElement('canvas');
const context = canvas.getContext('2d'); const context = canvas.getContext('2d');
@@ -15,7 +15,7 @@ const context = canvas.getContext('2d');
const pixelRatio = DEVICE_PIXEL_RATIO; const pixelRatio = DEVICE_PIXEL_RATIO;
// Generate a rainbow gradient // Generate a rainbow gradient
const gradient = (function() { const gradient = (function () {
const grad = context.createLinearGradient(0, 0, 512 * pixelRatio, 0); const grad = context.createLinearGradient(0, 0, 512 * pixelRatio, 0);
grad.addColorStop(0, 'red'); grad.addColorStop(0, 'red');
grad.addColorStop(1 / 6, 'orange'); grad.addColorStop(1 / 6, 'orange');
@@ -28,7 +28,7 @@ const gradient = (function() {
})(); })();
// Generate a canvasPattern with two circles on white background // Generate a canvasPattern with two circles on white background
const pattern = (function() { const pattern = (function () {
canvas.width = 8 * pixelRatio; canvas.width = 8 * pixelRatio;
canvas.height = 8 * pixelRatio; canvas.height = 8 * pixelRatio;
// white background // white background
@@ -45,7 +45,7 @@ const pattern = (function() {
context.arc(4 * pixelRatio, 4 * pixelRatio, 1.5 * pixelRatio, 0, 2 * Math.PI); context.arc(4 * pixelRatio, 4 * pixelRatio, 1.5 * pixelRatio, 0, 2 * Math.PI);
context.fill(); context.fill();
return context.createPattern(canvas, 'repeat'); return context.createPattern(canvas, 'repeat');
}()); })();
// Generate style for gradient or pattern fill // Generate style for gradient or pattern fill
const fill = new Fill(); const fill = new Fill();
@@ -53,8 +53,8 @@ const style = new Style({
fill: fill, fill: fill,
stroke: new Stroke({ stroke: new Stroke({
color: '#333', color: '#333',
width: 2 width: 2,
}) }),
}); });
/** /**
@@ -64,7 +64,7 @@ const style = new Style({
* @param {import("../src/ol/Feature.js").default} feature The feature to style. * @param {import("../src/ol/Feature.js").default} feature The feature to style.
* @return {Style} The style to use for the feature. * @return {Style} The style to use for the feature.
*/ */
const getStackedStyle = function(feature) { const getStackedStyle = function (feature) {
const id = feature.getId(); const id = feature.getId();
fill.setColor(id > 'J' ? gradient : pattern); fill.setColor(id > 'J' ? gradient : pattern);
return style; return style;
@@ -74,19 +74,17 @@ const getStackedStyle = function(feature) {
const vectorLayer = new VectorLayer({ const vectorLayer = new VectorLayer({
source: new VectorSource({ source: new VectorSource({
url: 'data/geojson/countries.geojson', url: 'data/geojson/countries.geojson',
format: new GeoJSON() format: new GeoJSON(),
}), }),
style: getStackedStyle style: getStackedStyle,
}); });
// … finally create a map with that layer. // … finally create a map with that layer.
const map = new Map({ const map = new Map({
layers: [ layers: [vectorLayer],
vectorLayer
],
target: 'map', target: 'map',
view: new View({ view: new View({
center: fromLonLat([16, 48]), center: fromLonLat([16, 48]),
zoom: 3 zoom: 3,
}) }),
}); });

View File

@@ -1,21 +1,20 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import TileLayer from '../src/ol/layer/Tile.js'; import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
import {OSM, TileDebug} from '../src/ol/source.js'; import {OSM, TileDebug} from '../src/ol/source.js';
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}), }),
new TileLayer({ new TileLayer({
source: new TileDebug() source: new TileDebug(),
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 1 zoom: 1,
}) }),
}); });

View File

@@ -1,47 +1,48 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import TileLayer from '../src/ol/layer/Tile.js'; import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
import {CartoDB, OSM} from '../src/ol/source.js'; import {CartoDB, OSM} from '../src/ol/source.js';
const mapConfig = { const mapConfig = {
'layers': [{ 'layers': [
'type': 'cartodb', {
'options': { 'type': 'cartodb',
'cartocss_version': '2.1.1', 'options': {
'cartocss': '#layer { polygon-fill: #F00; }', 'cartocss_version': '2.1.1',
'sql': 'select * from european_countries_e where area > 0' 'cartocss': '#layer { polygon-fill: #F00; }',
} 'sql': 'select * from european_countries_e where area > 0',
}] },
},
],
}; };
const cartoDBSource = new CartoDB({ const cartoDBSource = new CartoDB({
account: 'documentation', account: 'documentation',
config: mapConfig config: mapConfig,
}); });
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}), }),
new TileLayer({ new TileLayer({
source: cartoDBSource source: cartoDBSource,
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 2 zoom: 2,
}) }),
}); });
function setArea(n) { function setArea(n) {
mapConfig.layers[0].options.sql = mapConfig.layers[0].options.sql =
'select * from european_countries_e where area > ' + n; 'select * from european_countries_e where area > ' + n;
cartoDBSource.setConfig(mapConfig); cartoDBSource.setConfig(mapConfig);
} }
document.getElementById('country-area').addEventListener('change', function () {
document.getElementById('country-area').addEventListener('change', function() {
setArea(this.value); setArea(this.value);
}); });

View File

@@ -6,15 +6,16 @@
width: 1000px; width: 1000px;
height: 600px; height: 600px;
} }
div.ol-zoom { .map .ol-zoom {
top: 178px; top: 178px;
left: 158px; left: 158px;
} }
div.ol-rotate { .map .ol-rotate {
top: 178px; top: 178px;
right: 58px; right: 58px;
} }
.map div.ol-attribution { .map .ol-attribution,
.map .ol-attribution.ol-uncollapsible {
bottom: 30px; bottom: 30px;
right: 50px; right: 50px;
} }

View File

@@ -11,6 +11,11 @@ docs: >
view's <code>centerOn</code> method is used to position a coordinate (Lausanne) view's <code>centerOn</code> method is used to position a coordinate (Lausanne)
at a specific pixel location (the center of the black box). at a specific pixel location (the center of the black box).
<p>Use <code>Alt+Shift+Drag</code> to rotate the map.</p> <p>Use <code>Alt+Shift+Drag</code> to rotate the map.</p>
<p><b>Note:</b> This example does not shift the view center. So the zoom
controls and rotating the map will still use the center of the viewport as anchor.
To shift the whole view based on a padding, use the `padding` option on the view,
as shown in the <a href="view-padding.html">view-padding.html</a> example.
</p>
tags: "center, rotation, openstreetmap" tags: "center, rotation, openstreetmap"
--- ---
<div class="mapcontainer"> <div class="mapcontainer">

View File

@@ -1,72 +1,83 @@
import GeoJSON from '../src/ol/format/GeoJSON.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Circle as CircleStyle, Fill, Stroke, Style} from '../src/ol/style.js'; import {Circle as CircleStyle, Fill, Stroke, Style} from '../src/ol/style.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
/** @type {VectorSource<import("../src/ol/geom/SimpleGeometry.js").default>} */ /** @type {VectorSource<import("../src/ol/geom/SimpleGeometry.js").default>} */
const source = new VectorSource({ const source = new VectorSource({
url: 'data/geojson/switzerland.geojson', url: 'data/geojson/switzerland.geojson',
format: new GeoJSON() format: new GeoJSON(),
}); });
const style = new Style({ const style = new Style({
fill: new Fill({ fill: new Fill({
color: 'rgba(255, 255, 255, 0.6)' color: 'rgba(255, 255, 255, 0.6)',
}), }),
stroke: new Stroke({ stroke: new Stroke({
color: '#319FD3', color: '#319FD3',
width: 1 width: 1,
}), }),
image: new CircleStyle({ image: new CircleStyle({
radius: 5, radius: 5,
fill: new Fill({ fill: new Fill({
color: 'rgba(255, 255, 255, 0.6)' color: 'rgba(255, 255, 255, 0.6)',
}), }),
stroke: new Stroke({ stroke: new Stroke({
color: '#319FD3', color: '#319FD3',
width: 1 width: 1,
}) }),
}) }),
}); });
const vectorLayer = new VectorLayer({ const vectorLayer = new VectorLayer({
source: source, source: source,
style: style style: style,
}); });
const view = new View({ const view = new View({
center: [0, 0], center: [0, 0],
zoom: 1 zoom: 1,
}); });
const map = new Map({ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}), }),
vectorLayer vectorLayer,
], ],
target: 'map', target: 'map',
view: view view: view,
}); });
const zoomtoswitzerland = const zoomtoswitzerland = document.getElementById('zoomtoswitzerland');
document.getElementById('zoomtoswitzerland'); zoomtoswitzerland.addEventListener(
zoomtoswitzerland.addEventListener('click', function() { 'click',
const feature = source.getFeatures()[0]; function () {
const polygon = feature.getGeometry(); const feature = source.getFeatures()[0];
view.fit(polygon, {padding: [170, 50, 30, 150]}); const polygon = feature.getGeometry();
}, false); view.fit(polygon, {padding: [170, 50, 30, 150]});
},
false
);
const zoomtolausanne = document.getElementById('zoomtolausanne'); const zoomtolausanne = document.getElementById('zoomtolausanne');
zoomtolausanne.addEventListener('click', function() { zoomtolausanne.addEventListener(
const feature = source.getFeatures()[1]; 'click',
const point = feature.getGeometry(); function () {
view.fit(point, {padding: [170, 50, 30, 150], minResolution: 50}); const feature = source.getFeatures()[1];
}, false); const point = feature.getGeometry();
view.fit(point, {padding: [170, 50, 30, 150], minResolution: 50});
},
false
);
const centerlausanne = document.getElementById('centerlausanne'); const centerlausanne = document.getElementById('centerlausanne');
centerlausanne.addEventListener('click', function() { centerlausanne.addEventListener(
const feature = source.getFeatures()[1]; 'click',
const point = feature.getGeometry(); function () {
const size = map.getSize(); const feature = source.getFeatures()[1];
view.centerOn(point.getCoordinates(), size, [570, 500]); const point = feature.getGeometry();
}, false); const size = map.getSize();
view.centerOn(point.getCoordinates(), size, [570, 500]);
},
false
);

View File

@@ -1,8 +1,8 @@
import Draw from '../src/ol/interaction/Draw.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js'; import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import Draw from '../src/ol/interaction/Draw.js'; import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import smooth from 'chaikin-smooth'; import smooth from 'chaikin-smooth';
@@ -21,17 +21,17 @@ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM(), source: new OSM(),
opacity: 0.5 opacity: 0.5,
}), }),
new VectorLayer({ new VectorLayer({
source: vectorSource source: vectorSource,
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [1078373.5950, 6871994.5910], center: [1078373.595, 6871994.591],
zoom: 5 zoom: 5,
}) }),
}); });
const shallSmoothen = document.getElementById('shall-smoothen'); const shallSmoothen = document.getElementById('shall-smoothen');
@@ -39,10 +39,10 @@ const numIterations = document.getElementById('iterations');
const draw = new Draw({ const draw = new Draw({
source: vectorSource, source: vectorSource,
type: 'LineString' type: 'LineString',
}); });
map.addInteraction(draw); map.addInteraction(draw);
draw.on('drawend', function(event) { draw.on('drawend', function (event) {
if (!shallSmoothen.checked) { if (!shallSmoothen.checked) {
return; return;
} }

View File

@@ -8,6 +8,6 @@ tags: "cluster, vector"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
<form> <form>
<label>cluster distance</label> <label for="distance">cluster distance</label>
<input id="distance" type="range" min="0" max="100" step="1" value="40"/> <input id="distance" type="range" min="0" max="100" step="1" value="40"/>
</form> </form>

View File

@@ -1,11 +1,16 @@
import Feature from '../src/ol/Feature.js'; import Feature from '../src/ol/Feature.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import Point from '../src/ol/geom/Point.js'; import Point from '../src/ol/geom/Point.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js'; import View from '../src/ol/View.js';
import {
Circle as CircleStyle,
Fill,
Stroke,
Style,
Text,
} from '../src/ol/style.js';
import {Cluster, OSM, Vector as VectorSource} from '../src/ol/source.js'; import {Cluster, OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Circle as CircleStyle, Fill, Stroke, Style, Text} from '../src/ol/style.js'; import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
const distance = document.getElementById('distance'); const distance = document.getElementById('distance');
@@ -18,18 +23,18 @@ for (let i = 0; i < count; ++i) {
} }
const source = new VectorSource({ const source = new VectorSource({
features: features features: features,
}); });
const clusterSource = new Cluster({ const clusterSource = new Cluster({
distance: parseInt(distance.value, 10), distance: parseInt(distance.value, 10),
source: source source: source,
}); });
const styleCache = {}; const styleCache = {};
const clusters = new VectorLayer({ const clusters = new VectorLayer({
source: clusterSource, source: clusterSource,
style: function(feature) { style: function (feature) {
const size = feature.get('features').length; const size = feature.get('features').length;
let style = styleCache[size]; let style = styleCache[size];
if (!style) { if (!style) {
@@ -37,27 +42,27 @@ const clusters = new VectorLayer({
image: new CircleStyle({ image: new CircleStyle({
radius: 10, radius: 10,
stroke: new Stroke({ stroke: new Stroke({
color: '#fff' color: '#fff',
}), }),
fill: new Fill({ fill: new Fill({
color: '#3399CC' color: '#3399CC',
}) }),
}), }),
text: new Text({ text: new Text({
text: size.toString(), text: size.toString(),
fill: new Fill({ fill: new Fill({
color: '#fff' color: '#fff',
}) }),
}) }),
}); });
styleCache[size] = style; styleCache[size] = style;
} }
return style; return style;
} },
}); });
const raster = new TileLayer({ const raster = new TileLayer({
source: new OSM() source: new OSM(),
}); });
const map = new Map({ const map = new Map({
@@ -65,10 +70,10 @@ const map = new Map({
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 2 zoom: 2,
}) }),
}); });
distance.addEventListener('input', function() { distance.addEventListener('input', function () {
clusterSource.setDistance(parseInt(distance.value, 10)); clusterSource.setDistance(parseInt(distance.value, 10));
}); });

View File

@@ -1,5 +1,7 @@
table.controls td { table.controls td {
text-align: center;
padding: 2px 5px; padding: 2px 5px;
min-width: 60px; }
table.controls td:nth-child(3) {
text-align: right;
min-width: 4.5em;
} }

View File

@@ -9,18 +9,18 @@ tags: "color, hue, lightness, chroma"
<div id="map" class="map"></div> <div id="map" class="map"></div>
<table class="controls"> <table class="controls">
<tr> <tr>
<td>hue</td> <td><label for="hue">hue</label></td>
<td><span id="hueOut"></span>°</td>
<td><input id="hue" type="range" min="-180" max="180" value="0"/></td> <td><input id="hue" type="range" min="-180" max="180" value="0"/></td>
<td><span id="hueOut"></span> °&nbsp;</td>
</tr> </tr>
<tr> <tr>
<td>chroma</td> <td><label for="chroma">chroma</label></td>
<td><span id="chromaOut"></span> %</td>
<td><input id="chroma" type="range" min="0" max="100" value="100"/></td> <td><input id="chroma" type="range" min="0" max="100" value="100"/></td>
<td><span id="chromaOut"></span> %</td>
</tr> </tr>
<tr> <tr>
<td>lightness</td> <td><label for="lightness">lightness</label></td>
<td><span id="lightnessOut"></span> %</td>
<td><input id="lightness" type="range" min="0" max="100" value="100"/></td> <td><input id="lightness" type="range" min="0" max="100" value="100"/></td>
<td><span id="lightnessOut"></span> %</td>
</tr> </tr>
</table> </table>

View File

@@ -1,23 +1,21 @@
import ImageLayer from '../src/ol/layer/Image.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import ImageLayer from '../src/ol/layer/Image.js';
import {Raster as RasterSource, Stamen} from '../src/ol/source.js'; import {Raster as RasterSource, Stamen} from '../src/ol/source.js';
/** /**
* Color manipulation functions below are adapted from * Color manipulation functions below are adapted from
* https://github.com/d3/d3-color. * https://github.com/d3/d3-color.
*/ */
const Xn = 0.950470; const Xn = 0.95047;
const Yn = 1; const Yn = 1;
const Zn = 1.088830; const Zn = 1.08883;
const t0 = 4 / 29; const t0 = 4 / 29;
const t1 = 6 / 29; const t1 = 6 / 29;
const t2 = 3 * t1 * t1; const t2 = 3 * t1 * t1;
const t3 = t1 * t1 * t1; const t3 = t1 * t1 * t1;
const twoPi = 2 * Math.PI; const twoPi = 2 * Math.PI;
/** /**
* Convert an RGB pixel into an HCL pixel. * Convert an RGB pixel into an HCL pixel.
* @param {Array<number>} pixel A pixel in RGB space. * @param {Array<number>} pixel A pixel in RGB space.
@@ -29,11 +27,14 @@ function rgb2hcl(pixel) {
const blue = rgb2xyz(pixel[2]); const blue = rgb2xyz(pixel[2]);
const x = xyz2lab( const x = xyz2lab(
(0.4124564 * red + 0.3575761 * green + 0.1804375 * blue) / Xn); (0.4124564 * red + 0.3575761 * green + 0.1804375 * blue) / Xn
);
const y = xyz2lab( const y = xyz2lab(
(0.2126729 * red + 0.7151522 * green + 0.0721750 * blue) / Yn); (0.2126729 * red + 0.7151522 * green + 0.072175 * blue) / Yn
);
const z = xyz2lab( const z = xyz2lab(
(0.0193339 * red + 0.1191920 * green + 0.9503041 * blue) / Zn); (0.0193339 * red + 0.119192 * green + 0.9503041 * blue) / Zn
);
const l = 116 * y - 16; const l = 116 * y - 16;
const a = 500 * (x - y); const a = 500 * (x - y);
@@ -52,7 +53,6 @@ function rgb2hcl(pixel) {
return pixel; return pixel;
} }
/** /**
* Convert an HCL pixel into an RGB pixel. * Convert an HCL pixel into an RGB pixel.
* @param {Array<number>} pixel A pixel in HCL space. * @param {Array<number>} pixel A pixel in HCL space.
@@ -75,7 +75,7 @@ function hcl2rgb(pixel) {
z = Zn * lab2xyz(z); z = Zn * lab2xyz(z);
pixel[0] = xyz2rgb(3.2404542 * x - 1.5371385 * y - 0.4985314 * z); pixel[0] = xyz2rgb(3.2404542 * x - 1.5371385 * y - 0.4985314 * z);
pixel[1] = xyz2rgb(-0.9692660 * x + 1.8760108 * y + 0.0415560 * z); pixel[1] = xyz2rgb(-0.969266 * x + 1.8760108 * y + 0.041556 * z);
pixel[2] = xyz2rgb(0.0556434 * x - 0.2040259 * y + 1.0572252 * z); pixel[2] = xyz2rgb(0.0556434 * x - 0.2040259 * y + 1.0572252 * z);
return pixel; return pixel;
@@ -94,18 +94,21 @@ function rgb2xyz(x) {
} }
function xyz2rgb(x) { function xyz2rgb(x) {
return 255 * (x <= 0.0031308 ? return (
12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055); 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055)
);
} }
const raster = new RasterSource({ const raster = new RasterSource({
sources: [new Stamen({ sources: [
layer: 'watercolor' new Stamen({
})], layer: 'watercolor',
operation: function(pixels, data) { }),
],
operation: function (pixels, data) {
const hcl = rgb2hcl(pixels[0]); const hcl = rgb2hcl(pixels[0]);
let h = hcl[0] + Math.PI * data.hue / 180; let h = hcl[0] + (Math.PI * data.hue) / 180;
if (h < 0) { if (h < 0) {
h += twoPi; h += twoPi;
} else if (h > twoPi) { } else if (h > twoPi) {
@@ -113,8 +116,8 @@ const raster = new RasterSource({
} }
hcl[0] = h; hcl[0] = h;
hcl[1] *= (data.chroma / 100); hcl[1] *= data.chroma / 100;
hcl[2] *= (data.lightness / 100); hcl[2] *= data.lightness / 100;
return hcl2rgb(hcl); return hcl2rgb(hcl);
}, },
@@ -132,13 +135,13 @@ const raster = new RasterSource({
t1: t1, t1: t1,
t2: t2, t2: t2,
t3: t3, t3: t3,
twoPi: twoPi twoPi: twoPi,
} },
}); });
const controls = {}; const controls = {};
raster.on('beforeoperations', function(event) { raster.on('beforeoperations', function (event) {
const data = event.data; const data = event.data;
for (const id in controls) { for (const id in controls) {
data[id] = Number(controls[id].value); data[id] = Number(controls[id].value);
@@ -148,22 +151,22 @@ raster.on('beforeoperations', function(event) {
const map = new Map({ const map = new Map({
layers: [ layers: [
new ImageLayer({ new ImageLayer({
source: raster source: raster,
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 2500000], center: [0, 2500000],
zoom: 2, zoom: 2,
maxZoom: 18 maxZoom: 18,
}) }),
}); });
const controlIds = ['hue', 'chroma', 'lightness']; const controlIds = ['hue', 'chroma', 'lightness'];
controlIds.forEach(function(id) { controlIds.forEach(function (id) {
const control = document.getElementById(id); const control = document.getElementById(id);
const output = document.getElementById(id + 'Out'); const output = document.getElementById(id + 'Out');
control.addEventListener('input', function() { control.addEventListener('input', function () {
output.innerText = control.value; output.innerText = control.value;
raster.changed(); raster.changed();
}); });

View File

@@ -0,0 +1,9 @@
---
layout: example.html
title: Custom Circle Render
shortdesc: Example of a custom circle render.
docs: >
This example demonstrates the use of 'ol/style/Style' render option function to render circle feature.
tags: "circle, feature, vector, render, custom"
---
<div id="map" class="map"></div>

View File

@@ -0,0 +1,64 @@
import Feature from '../src/ol/Feature.js';
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import {Circle} from '../src/ol/geom.js';
import {OSM, Vector as VectorSource} from '../src/ol/source.js';
import {Style} from '../src/ol/style.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
const circleFeature = new Feature({
geometry: new Circle([12127398.797692968, 4063894.123105166], 50),
});
circleFeature.setStyle(
new Style({
renderer(coordinates, state) {
const [[x, y], [x1, y1]] = coordinates;
const ctx = state.context;
const dx = x1 - x;
const dy = y1 - y;
const radius = Math.sqrt(dx * dx + dy * dy);
const innerRadius = 0;
const outerRadius = radius * 1.4;
const gradient = ctx.createRadialGradient(
x,
y,
innerRadius,
x,
y,
outerRadius
);
gradient.addColorStop(0, 'rgba(255,0,0,0)');
gradient.addColorStop(0.6, 'rgba(255,0,0,0.2)');
gradient.addColorStop(1, 'rgba(255,0,0,0.8)');
ctx.beginPath();
ctx.arc(x, y, radius, 0, 2 * Math.PI, true);
ctx.fillStyle = gradient;
ctx.fill();
ctx.arc(x, y, radius, 0, 2 * Math.PI, true);
ctx.strokeStyle = 'rgba(255,0,0,1)';
ctx.stroke();
},
})
);
new Map({
layers: [
new TileLayer({
source: new OSM(),
visible: true,
}),
new VectorLayer({
source: new VectorSource({
features: [circleFeature],
}),
}),
],
target: 'map',
view: new View({
center: [12127398.797692968, 4063894.123105166],
zoom: 19,
}),
});

View File

@@ -1,16 +1,14 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import {defaults as defaultControls, Control} from '../src/ol/control.js';
import TileLayer from '../src/ol/layer/Tile.js';
import OSM from '../src/ol/source/OSM.js'; import OSM from '../src/ol/source/OSM.js';
import TileLayer from '../src/ol/layer/Tile.js';
import View from '../src/ol/View.js';
import {Control, defaults as defaultControls} from '../src/ol/control.js';
// //
// Define rotate to north control. // Define rotate to north control.
// //
class RotateNorthControl extends Control { class RotateNorthControl extends Control {
/** /**
* @param {Object=} opt_options Control options. * @param {Object=} opt_options Control options.
*/ */
@@ -26,7 +24,7 @@ class RotateNorthControl extends Control {
super({ super({
element: element, element: element,
target: options.target target: options.target,
}); });
button.addEventListener('click', this.handleRotateNorth.bind(this), false); button.addEventListener('click', this.handleRotateNorth.bind(this), false);
@@ -35,28 +33,23 @@ class RotateNorthControl extends Control {
handleRotateNorth() { handleRotateNorth() {
this.getMap().getView().setRotation(0); this.getMap().getView().setRotation(0);
} }
} }
// //
// Create map, giving it a rotate to north control. // Create map, giving it a rotate to north control.
// //
const map = new Map({ const map = new Map({
controls: defaultControls().extend([ controls: defaultControls().extend([new RotateNorthControl()]),
new RotateNorthControl()
]),
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new OSM() source: new OSM(),
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 3, zoom: 3,
rotation: 1 rotation: 1,
}) }),
}); });

View File

@@ -1,12 +1,14 @@
import Feature from '../src/ol/Feature.js'; import Feature from '../src/ol/Feature.js';
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js'; import View from '../src/ol/View.js';
import {LineString, Point, Polygon} from '../src/ol/geom.js';
import {defaults as defaultInteractions, Pointer as PointerInteraction} from '../src/ol/interaction.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
import {TileJSON, Vector as VectorSource} from '../src/ol/source.js';
import {Fill, Icon, Stroke, Style} from '../src/ol/style.js'; import {Fill, Icon, Stroke, Style} from '../src/ol/style.js';
import {LineString, Point, Polygon} from '../src/ol/geom.js';
import {
Pointer as PointerInteraction,
defaults as defaultInteractions,
} from '../src/ol/interaction.js';
import {TileJSON, Vector as VectorSource} from '../src/ol/source.js';
import {Tile as TileLayer, Vector as VectorLayer} from '../src/ol/layer.js';
class Drag extends PointerInteraction { class Drag extends PointerInteraction {
constructor() { constructor() {
@@ -14,7 +16,7 @@ class Drag extends PointerInteraction {
handleDownEvent: handleDownEvent, handleDownEvent: handleDownEvent,
handleDragEvent: handleDragEvent, handleDragEvent: handleDragEvent,
handleMoveEvent: handleMoveEvent, handleMoveEvent: handleMoveEvent,
handleUpEvent: handleUpEvent handleUpEvent: handleUpEvent,
}); });
/** /**
@@ -43,7 +45,6 @@ class Drag extends PointerInteraction {
} }
} }
/** /**
* @param {import("../src/ol/MapBrowserEvent.js").default} evt Map browser event. * @param {import("../src/ol/MapBrowserEvent.js").default} evt Map browser event.
* @return {boolean} `true` to start the drag sequence. * @return {boolean} `true` to start the drag sequence.
@@ -51,10 +52,9 @@ class Drag extends PointerInteraction {
function handleDownEvent(evt) { function handleDownEvent(evt) {
const map = evt.map; const map = evt.map;
const feature = map.forEachFeatureAtPixel(evt.pixel, const feature = map.forEachFeatureAtPixel(evt.pixel, function (feature) {
function(feature) { return feature;
return feature; });
});
if (feature) { if (feature) {
this.coordinate_ = evt.coordinate; this.coordinate_ = evt.coordinate;
@@ -64,7 +64,6 @@ function handleDownEvent(evt) {
return !!feature; return !!feature;
} }
/** /**
* @param {import("../src/ol/MapBrowserEvent.js").default} evt Map browser event. * @param {import("../src/ol/MapBrowserEvent.js").default} evt Map browser event.
*/ */
@@ -79,17 +78,15 @@ function handleDragEvent(evt) {
this.coordinate_[1] = evt.coordinate[1]; this.coordinate_[1] = evt.coordinate[1];
} }
/** /**
* @param {import("../src/ol/MapBrowserEvent.js").default} evt Event. * @param {import("../src/ol/MapBrowserEvent.js").default} evt Event.
*/ */
function handleMoveEvent(evt) { function handleMoveEvent(evt) {
if (this.cursor_) { if (this.cursor_) {
const map = evt.map; const map = evt.map;
const feature = map.forEachFeatureAtPixel(evt.pixel, const feature = map.forEachFeatureAtPixel(evt.pixel, function (feature) {
function(feature) { return feature;
return feature; });
});
const element = evt.map.getTargetElement(); const element = evt.map.getTargetElement();
if (feature) { if (feature) {
if (element.style.cursor != this.cursor_) { if (element.style.cursor != this.cursor_) {
@@ -103,7 +100,6 @@ function handleMoveEvent(evt) {
} }
} }
/** /**
* @return {boolean} `false` to stop the drag sequence. * @return {boolean} `false` to stop the drag sequence.
*/ */
@@ -113,29 +109,43 @@ function handleUpEvent() {
return false; return false;
} }
const pointFeature = new Feature(new Point([0, 0])); const pointFeature = new Feature(new Point([0, 0]));
const lineFeature = new Feature( const lineFeature = new Feature(
new LineString([[-1e7, 1e6], [-1e6, 3e6]])); new LineString([
[-1e7, 1e6],
[-1e6, 3e6],
])
);
const polygonFeature = new Feature( const polygonFeature = new Feature(
new Polygon([[[-3e6, -1e6], [-3e6, 1e6], new Polygon([
[-1e6, 1e6], [-1e6, -1e6], [-3e6, -1e6]]])); [
[-3e6, -1e6],
[-3e6, 1e6],
[-1e6, 1e6],
[-1e6, -1e6],
[-3e6, -1e6],
],
])
);
const key = 'pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2pzbmg0Nmk5MGF5NzQzbzRnbDNoeHJrbiJ9.7_-_gL8ur7ZtEiNwRfCy7Q'; const key =
'pk.eyJ1IjoiYWhvY2V2YXIiLCJhIjoiY2pzbmg0Nmk5MGF5NzQzbzRnbDNoeHJrbiJ9.7_-_gL8ur7ZtEiNwRfCy7Q';
const map = new Map({ const map = new Map({
interactions: defaultInteractions().extend([new Drag()]), interactions: defaultInteractions().extend([new Drag()]),
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new TileJSON({ source: new TileJSON({
url: 'https://a.tiles.mapbox.com/v4/aj.1x1-degrees.json?access_token=' + key url:
}) 'https://a.tiles.mapbox.com/v4/aj.1x1-degrees.json?secure&access_token=' +
key,
}),
}), }),
new VectorLayer({ new VectorLayer({
source: new VectorSource({ source: new VectorSource({
features: [pointFeature, lineFeature, polygonFeature] features: [pointFeature, lineFeature, polygonFeature],
}), }),
style: new Style({ style: new Style({
image: new Icon({ image: new Icon({
@@ -143,21 +153,21 @@ const map = new Map({
anchorXUnits: 'fraction', anchorXUnits: 'fraction',
anchorYUnits: 'pixels', anchorYUnits: 'pixels',
opacity: 0.95, opacity: 0.95,
src: 'data/icon.png' src: 'data/icon.png',
}), }),
stroke: new Stroke({ stroke: new Stroke({
width: 3, width: 3,
color: [255, 0, 0, 1] color: [255, 0, 0, 1],
}), }),
fill: new Fill({ fill: new Fill({
color: [0, 0, 255, 0.6] color: [0, 0, 255, 0.6],
}) }),
}) }),
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
zoom: 2 zoom: 2,
}) }),
}); });

41
examples/d3.js vendored
View File

@@ -1,24 +1,23 @@
import Map from '../src/ol/Map.js'; import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import {getWidth, getCenter} from '../src/ol/extent.js';
import {Layer, Tile as TileLayer} from '../src/ol/layer.js';
import SourceState from '../src/ol/source/State.js'; import SourceState from '../src/ol/source/State.js';
import {fromLonLat, toLonLat} from '../src/ol/proj.js';
import Stamen from '../src/ol/source/Stamen.js'; import Stamen from '../src/ol/source/Stamen.js';
import View from '../src/ol/View.js';
import {Layer, Tile as TileLayer} from '../src/ol/layer.js';
import {fromLonLat, toLonLat} from '../src/ol/proj.js';
import {getCenter, getWidth} from '../src/ol/extent.js';
class CanvasLayer extends Layer { class CanvasLayer extends Layer {
constructor(options) { constructor(options) {
super(options); super(options);
this.features = options.features; this.features = options.features;
this.svg = d3.select(document.createElement('div')).append('svg') this.svg = d3
.select(document.createElement('div'))
.append('svg')
.style('position', 'absolute'); .style('position', 'absolute');
this.svg.append('path') this.svg.append('path').datum(this.features).attr('class', 'boundary');
.datum(this.features)
.attr('class', 'boundary');
} }
getSourceState() { getSourceState() {
@@ -51,7 +50,10 @@ class CanvasLayer extends Layer {
const scale = r / frameState.viewState.resolution; const scale = r / frameState.viewState.resolution;
const center = toLonLat(getCenter(frameState.extent), projection); const center = toLonLat(getCenter(frameState.extent), projection);
d3Projection.scale(scale).center(center).translate([width / 2, height / 2]); d3Projection
.scale(scale)
.center(center)
.translate([width / 2, height / 2]);
d3Path = d3Path.projection(d3Projection); d3Path = d3Path.projection(d3Projection);
d3Path(this.features); d3Path(this.features);
@@ -59,8 +61,7 @@ class CanvasLayer extends Layer {
this.svg.attr('width', width); this.svg.attr('width', width);
this.svg.attr('height', height); this.svg.attr('height', height);
this.svg.select('path') this.svg.select('path').attr('d', d3Path);
.attr('d', d3Path);
return this.svg.node(); return this.svg.node();
} }
@@ -70,25 +71,23 @@ const map = new Map({
layers: [ layers: [
new TileLayer({ new TileLayer({
source: new Stamen({ source: new Stamen({
layer: 'watercolor' layer: 'watercolor',
}) }),
}) }),
], ],
target: 'map', target: 'map',
view: new View({ view: new View({
center: fromLonLat([-97, 38]), center: fromLonLat([-97, 38]),
zoom: 4 zoom: 4,
}) }),
}); });
/** /**
* Load the topojson data and create an ol/layer/Image for that data. * Load the topojson data and create an ol/layer/Image for that data.
*/ */
d3.json('data/topojson/us.json').then(function(us) { d3.json('data/topojson/us.json').then(function (us) {
const layer = new CanvasLayer({ const layer = new CanvasLayer({
features: topojson.feature(us, us.objects.counties) features: topojson.feature(us, us.objects.counties),
}); });
map.addLayer(layer); map.addLayer(layer);

Some files were not shown because too many files have changed in this diff Show More