Commit Graph

29320 Commits

Author SHA1 Message Date
Andreas Hocevar ed427bb6a3 Merge pull request #12198 from sbx320/feature/attributionsCollapsible-wmts-tilewms
Add attributionsCollapsible option to source/TileWMS and source/WMTS
2021-04-12 08:52:05 +02:00
sbx320 6f433d8c46 Add attributionsCollapsible option to source/TileWMS and source/WMTS 2021-04-12 07:11:14 +02:00
Tim Schaub 71c18d4444 Merge pull request #12176 from bz2/mangle_private_members
Allow private class members to be mangled
2021-04-07 18:08:53 -06:00
Tim Schaub 5cccdc7c3b Merge pull request #12178 from kikuchan/ol-format-wkb
Add WKB (Well-Known Binary) format
2021-04-07 18:02:38 -06:00
kikuchan 9dfbfc8011 Clarify how hex option is used 2021-04-08 00:20:11 +09:00
kikuchan cff2bcfb1e Designates all property private by appending _ 2021-04-07 23:43:58 +09:00
kikuchan 3c830d5b59 Change SRID to srid for option naming consistency 2021-04-07 23:43:20 +09:00
kikuchan 03485a1c98 Add missing @api 2021-04-07 23:43:20 +09:00
kikuchan 0269c920fc Remove unnecessary check
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-04-07 23:42:03 +09:00
Tim Schaub 8f3699ad0f Merge pull request #12184 from openlayers/dependabot/npm_and_yarn/karma-6.3.2
Bump karma from 6.3.1 to 6.3.2
2021-04-07 06:19:56 -06:00
Tim Schaub 6a8849955d Merge pull request #12183 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.14
Bump @babel/core from 7.13.13 to 7.13.14
2021-04-07 06:19:09 -06:00
Tim Schaub b6819b4adf Merge pull request #12182 from openlayers/dependabot/npm_and_yarn/copy-webpack-plugin-8.1.0
Bump copy-webpack-plugin from 8.0.0 to 8.1.0
2021-04-07 06:18:11 -06:00
MoonE 26c1377768 Merge pull request #12180 from MoonE/text-builder-geometry-widths
Fix rendering of MultiPolygon text styles
2021-04-06 21:40:56 +02:00
Andreas Hocevar d419c5953f Merge pull request #12185 from ahocevar/prevent-default
MapBrowserEvent#preventDefault() behaves the same as with native events
2021-04-06 14:36:16 +02:00
Andreas Hocevar 6e7448cc2a Update comment 2021-04-06 12:16:44 +02:00
Maximilian Krög 4f962a651a Fix rendering of MultiPolygon text styles
When overflow is false and some of a MultiPolygon's polygons are
outside the rendered extent the coordinates and geometryWidths arrays are
not kept in sync. Therefore the width check will filter on wrong data and
some texts may not be rendered.
2021-04-05 22:33:15 +02:00
Maximilian Krög 2b851724a6 Add regression test for multipolygon text rendering 2021-04-05 22:33:12 +02:00
MoonE 73392cc28e Merge pull request #12181 from MoonE/webpack-fix-ie11
Build for ie11 again
2021-04-05 10:55:14 +02:00
Andreas Hocevar 0da0c903a0 MapBrowserEvent#preventDefault() behaves the same as with native events 2021-04-05 10:05:32 +02:00
dependabot-preview[bot] e9633bf4d6 Bump karma from 6.3.1 to 6.3.2
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.1 to 6.3.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/v6.3.1...v6.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 07:46:52 +00:00
dependabot-preview[bot] de39d42a8f Bump @babel/core from 7.13.13 to 7.13.14
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.13 to 7.13.14.
- [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.13.14/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 07:45:11 +00:00
dependabot-preview[bot] 6246427cc8 Bump copy-webpack-plugin from 8.0.0 to 8.1.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 8.0.0 to 8.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/v8.0.0...v8.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-05 07:44:11 +00:00
Maximilian Krög 9d773c8f19 Build for ie11 again 2021-04-05 02:55:17 +02:00
kikuchan 15a8eb864a Add test for ol/format/WKB 2021-04-05 02:12:26 +09:00
kikuchan 44ad13f8ea Make writeFeature(s)/writeGeometry able to return ArrayBuffer 2021-04-05 02:12:26 +09:00
kikuchan 15e131a392 Add ol/format/WKB and its example 2021-04-05 02:12:23 +09:00
MoonE 6f7b6c8141 Merge pull request #12028 from MoonE/overview-map-no-initial-target
Overview map no initial target
2021-04-03 23:15:30 +02:00
MoonE 85c5530fe1 Merge pull request #12175 from MoonE/examples-webpack-refresh-entries-before-compile
Refresh available examples before each compilation
2021-04-03 20:21:32 +02:00
Martin Packman 6ab44e9aea Allow private class members to be mangled
Openlayers classes use an underscore suffix convention to mark class
members as private. These are undocumented implementation details and
presumably unsafe for code outside the class to rely on.

Allowing javascript minimisation to change these names gives 5% bundle
size reduction to the library.
2021-04-03 17:57:11 +01:00
Maximilian Krög e6dacd07cd Refresh available examples before each compilation
This makes it possible to pickup new examples and prevents compilation
errors when an example is removed. This is especially handy when switching
branches. Otherwise the dev server has to be restarted each time.
2021-04-03 18:18:28 +02:00
Tim Schaub 843c3e8853 Merge pull request #12155 from openlayers/dependabot/npm_and_yarn/eslint-7.23.0
Bump eslint from 7.22.0 to 7.23.0
2021-04-02 18:57:12 -06:00
Tim Schaub 3442caa779 Merge pull request #12158 from openlayers/dependabot/npm_and_yarn/babel/preset-env-7.13.12
Bump @babel/preset-env from 7.13.10 to 7.13.12
2021-04-02 18:55:02 -06:00
dependabot-preview[bot] 365b9a2cf8 Bump @babel/preset-env from 7.13.10 to 7.13.12
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.10 to 7.13.12.
- [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.13.12/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 12:43:29 +00:00
Tim Schaub 6bb6eebcb6 Merge pull request #12156 from openlayers/dependabot/npm_and_yarn/rollup/plugin-node-resolve-11.2.1
Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1
2021-04-02 06:43:18 -06:00
Tim Schaub 527e2a5e21 Merge pull request #12159 from openlayers/dependabot/npm_and_yarn/babel/core-7.13.13
Bump @babel/core from 7.13.10 to 7.13.13
2021-04-02 06:42:04 -06:00
Andreas Hocevar 5b7bc95120 Merge pull request #12174 from openlayers/dependabot/npm_and_yarn/rollup-2.44.0
Bump rollup from 2.42.3 to 2.44.0
2021-04-02 11:36:39 +02:00
dependabot-preview[bot] 77f1ac8b85 Bump eslint from 7.22.0 to 7.23.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.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.22.0...v7.23.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 08:01:37 +00:00
Andreas Hocevar 972b553b86 Merge pull request #12157 from openlayers/dependabot/npm_and_yarn/karma-6.3.1
Bump karma from 6.2.0 to 6.3.1
2021-04-02 10:00:44 +02:00
Andreas Hocevar 230a464517 Merge pull request #12173 from openlayers/dependabot/npm_and_yarn/webpack-5.30.0
Bump webpack from 5.27.2 to 5.30.0
2021-04-02 10:00:12 +02:00
Andreas Hocevar b5c9de35f9 Merge pull request #12153 from openlayers/dependabot/npm_and_yarn/webpack-cli-4.6.0
Bump webpack-cli from 4.5.0 to 4.6.0
2021-04-02 09:59:49 +02:00
dependabot-preview[bot] 171727ff14 Bump rollup from 2.42.3 to 2.44.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.3 to 2.44.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.42.3...v2.44.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 05:44:42 +00:00
dependabot-preview[bot] edb6231111 Bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.2.0...node-resolve-v11.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 05:44:23 +00:00
dependabot-preview[bot] 62a12b26cf Bump webpack from 5.27.2 to 5.30.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.27.2 to 5.30.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.27.2...v5.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-02 05:43:37 +00:00
Andreas Hocevar 3b69cb4d4f Merge pull request #12151 from openlayers/dependabot/npm_and_yarn/rollup/plugin-commonjs-18.0.0
Bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0
2021-04-02 07:42:58 +02:00
Andreas Hocevar fd744d7f45 Merge pull request #12150 from openlayers/dependabot/npm_and_yarn/sinon-10.0.0
Bump sinon from 9.2.4 to 10.0.0
2021-04-02 07:41:10 +02:00
Andreas Hocevar 5049e097d5 Merge pull request #12172 from ahocevar/icon-displacement
Fix icon displacement
2021-04-01 14:59:40 +02:00
Tim Schaub 45f21440e1 Merge pull request #12170 from tschaub/sponsor
Link to GitHub sponsors page
2021-04-01 06:39:00 -06:00
Andreas Hocevar 4a6db3d2f8 Fix icon displacement 2021-04-01 12:08:32 +02:00
Andreas Hocevar 96759f639a Merge pull request #12168 from ahocevar/getfeatures-reference
VectorSource#getFeatures() consistently returns a new array
2021-04-01 09:00:53 +02:00
Andreas Hocevar 59d686d104 Fix typo, add test 2021-04-01 08:38:29 +02:00