Commit Graph

7201 Commits

Author SHA1 Message Date
f00cdcf7ba 1.8.0-beta.3 v1.8.0-beta.3 2022-04-04 18:51:22 +03:00
4534b4a6ce 1.8.0-beta.2 v1.8.0-beta.2 2022-04-04 18:50:11 +03:00
8cca0dab3b Fixup changelog 2 (damn) 2022-04-04 18:49:24 +03:00
77ba69ae9c Fixup changelog 2022-04-04 18:48:27 +03:00
daf114ce0c Update changelog for v1.8.0-beta.2 2022-04-04 18:47:36 +03:00
763e841c93 Fix vector drift when dragging and immediately zooming (#8103)
* Fix weird geometry move when zooming during a drag

* Draggable: allow single-touch drag only

Finish drag if more than 1 touch detected to avoid conflict with touchZoom

* make sure inertia doesn't interfere with pinch zoom

* Add tests

Co-authored-by: Manuel Baclet <mbaclet@gmail.com>
Co-authored-by: johndoe <johnd0e@mail.ua>
Co-authored-by: falke-design <design.falke@gmail.com>
2022-04-04 18:28:16 +03:00
e6b66bbd2e update readme 2022-04-03 15:48:34 +03:00
0951a88ffe update readme 2022-04-03 15:46:02 +03:00
483545c72b Add a Ukrainian flag to default attribution 🇺🇦 (#8109)
* add a Ukrainian flag to default attribution

* use SVG for Ukrainian flag rather than emoji

* fix lint

* detect inline SVG for Ukrainian flag

* add aria-hidden to Ukrainian flag

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>

Co-authored-by: Robert Linder <robert.vuj.linder@outlook.com>
2022-04-03 15:42:32 +03:00
3f22bb87e6 fix flag colors on website frontpage 2022-04-03 15:41:48 +03:00
1faad0153e update website statement 2022-04-03 14:00:42 +03:00
760b91a5e2 Bump actions/cache from 2 to 3.0.1 (#8108)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3.0.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-03 08:19:19 +03:00
4f160a10e6 Bump actions/checkout from 2 to 3 (#8107)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-03 08:19:12 +03:00
78e1d54c6a Bump actions/setup-node from 2 to 3.1.0 (#8106)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-03 08:18:50 +03:00
fad475a871 Small typo in map dragging option description (#8105)
* Small typo in map dragging option description

* Update reference-0.7.7.html

* Edit correct file
2022-04-03 08:13:00 +03:00
2fe5332c45 Included githubactions in the dependabot config (#8104)
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
2022-04-03 08:12:25 +03:00
be1d9d3518 remove an old iOS hack to fix #8101 (glitchy zoom) (#8102) 2022-04-01 00:54:13 +03:00
790d1681d6 Plugins: Add leaflet-rotate (#8096)
* Plugins: Add leaflet-rotate

* Update docs/_plugins/tile-image-display/leaflet-rotate.md

Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-03-31 12:57:26 +03:00
6f90c3bd57 leaflet-radar (#8097)
* Create leaflet-radar.md

* Apply suggestions from code review

Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-03-31 12:56:06 +03:00
2dd357cd95 Bump eslint from 8.11.0 to 8.12.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.11.0 to 8.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.11.0...v8.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 15:47:08 +02:00
09dab3c1cb Fix panFocus on icon with no iconSize (#8091) 2022-03-28 10:58:49 +03:00
4e6604c70f Cover DomEvent with unit tests (#8088)
* Added Additional Events

- dblclick, mousedown, mouseup, mouseover, mouseout and mousemove added to unit testing for DomEvent On function

* Added On and Off DomEvents Tests

- Added more types for DomEvent On
- Added tests for dealing with multiple events and listeners for DomEvent On
- Added tests for DomEvent Off

* Cleaned up .only

* Ran Lint Fix

Apologies, should have ran that earlier
2022-03-27 11:26:38 +03:00
918b65f1cc Bump minimist from 1.2.5 to 1.2.6 (#8087)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 19:08:10 +02:00
4b95838818 update changelog, add beta download link 2022-03-26 19:07:47 +02:00
f6cc50133c 1.8.0-beta.1 v1.8.0-beta.1 2022-03-26 18:48:59 +02:00
468a292034 Fix undefined iconAnchor (#8084) 2022-03-25 15:17:45 +02:00
7e637b28c7 New tutorial: Guidelines to basic Leaflet accessibility (#8081)
* Add guidelines to basic Leaflet accessibility

* Link to MDN's accessibility documentation

Per feedback from Ivan.

* Adjust code blocks

- Use backticks where possible
- Use single quotes uniformly
- Explicitly set the type of syntax highlighting

* Link to screen readers' documentation

* Update link to the Orca screen reader docs

* Remove superfluous text in Utilizing Plugins

* Spell out "assistive technologies"
2022-03-25 14:36:31 +02:00
d89934bc76 bugFix: moving scroll-padding-top prop to reference.css (#8083)
* bug: moving scroll-padding-top prop to reference.css

* bugFix: moving overflow property to reference.css

* Fix: Moving sticky header related CSS to correct file

Moved sticky header related CSS from main.css to reference.css

* style: fixing intentation for scroll-padding-top
2022-03-23 23:09:27 +02:00
7419c9c30e Cleanup all tests (#7852)
* Cleanup Map

* Cleanup Map.BoxZoom

* Cleanup Map.DragSpec

* Add SpecHelper function from commit before

* Cleanup Map.KeyboardSpec

* Cleanup Map.TapHoldSpec

* Cleanup Map.TouchZoomSpec

* Cleanup GeoJSONSpec

* Cleanup ImageOverlaySpec

* Cleanup PopupSpec

* Cleanup TooltipSpec

* Cleanup CanvasSpec

* Cleanup CircleMarkerSpec

* Cleanup CircleSpec

* Cleanup PathSpec

* Cleanup PolygonSpec

* Cleanup PolylineGeometrySpec

* Remove PolylineGeometrySpec

* Remove PolylineGeometrySpec from index.html

* Cleanup PolylineSpec

* Cleanup GridLayerSpec

* Cleanup TileLayerSpec

* Cleanup MarkerSpec

* Cleanup Marker.DragSpec

* Cleanup Icon.DefaultSpec

* Cleanup TransformationSpec

* Cleanup BoundsSpec

* Cleanup LineUtilSpec

* Cleanup PointSpec

* Cleanup PolyUtilSpec

* Cleanup ProjectionSpec

* Cleanup LatLngSpec

* Cleanup LatLngBoundsSpec

* Cleanup CRSSpec

* Cleanup ControlSpec

* Cleanup Control.LayersSpec

* Cleanup Control.AttributionSpec

* Fix some errors - global leaks & map.remove twice

* Fix lint

* Fix error

* Fix noConflict, tabs, createContainer with height & width

* noConflict was not working because rollup already exported the L var

* Replace createMapContainer
2022-03-18 16:04:01 +02:00
0ea4073871 Increase default font sizes for improved legibility (#8057)
* increase default font sizes for legibility

* decrease opacity of attribution control for legibility
2022-03-14 18:23:45 +02:00
5a12189212 Bump bundlemon from 1.3.0 to 1.3.1 (#8061) 2022-03-14 15:14:33 +02:00
323ca4e2c2 Bump mocha from 9.2.1 to 9.2.2 (#8060) 2022-03-14 15:14:18 +02:00
e41cba4b8e Bump uglify-js from 3.15.2 to 3.15.3 (#8059) 2022-03-14 15:14:02 +02:00
7da06b4219 Bump eslint from 8.10.0 to 8.11.0 (#8062) 2022-03-14 15:13:31 +02:00
ba40ccc5c3 Bump rollup from 2.70.0 to 2.70.1 (#8063) 2022-03-14 15:13:13 +02:00
2484c21df4 Bump karma-chrome-launcher from 3.1.0 to 3.1.1 (#8064) 2022-03-14 15:12:54 +02:00
388717ae98 fix SVG perf regression by partially bringing back will-change (#8058) 2022-03-14 12:55:41 +02:00
a13500289e Fix small typo in README.md (#8054) 2022-03-12 19:32:41 +01:00
7021624f28 improve donation links 2022-03-12 17:27:53 +02:00
c53396124a try fixing artifacts upload 2022-03-11 20:47:15 +02:00
50621a5bdb Potentially fix path for tagged artifacts upload (#8046)
* potentially fix path for artifacts upload

* simplify path config for artifacts
2022-03-11 20:35:53 +02:00
7c565e5fe0 Fix bundle export error (#8050) 2022-03-11 10:59:38 +01:00
4118c9b7a1 Plugins: Add Leaflet.ImageOverlay.OGCAPI (#8049)
* Plugins: Add Leaflet.ImageOverlay.OGCAPI

* Update docs/_plugins/basemap-formats/leaflet-imageoverlay-ogcapi.md

Co-authored-by: Florian Bischof <design.falke@gmail.com>
2022-03-10 20:49:54 +01:00
0cea36c169 simplify build/docs.js 2022-03-09 17:45:01 +02:00
2f192b4383 Plugins accessibility: add beginner-friendly docs (#8047) 2022-03-09 16:15:32 +01:00
a48e125db0 add v1.8.0 draft changelog 2022-03-09 13:33:45 +02:00
51b4ef7d43 include changelog in NPM publish 2022-03-09 12:07:09 +02:00
face00fa0d 1.8.0-beta.0 v1.8.0-beta.0 2022-03-09 11:39:17 +02:00
4f639a85ef Map is panned to show markers when they're focused (#8042)
* Map is panned to show markers when they're focused

Should fix #8040

* Make eslint happy.
2022-03-09 00:15:03 +01:00
7d414968a5 1.8.0-alpha.0 v1.8.0-alpha.0 2022-03-08 17:52:34 +02:00