47 Commits

Author SHA1 Message Date
Florian Bischof
09ee96e745
Update Blog & Changelog 2.0.0-alpha.1 (#9839) 2025-08-16 11:58:03 +02:00
Florian Bischof
dda349ee69
Add blog and docs for v2.0.0-alpha (#9648) 2025-05-18 09:01:42 +02:00
Florian Bischof
e9c66955c4
Refactor to PointerEvents (#9620) 2025-05-06 21:11:43 +02:00
Florian Bischof
712ae1542a
Refactor docs for ESM (#9624) 2025-04-10 20:18:44 +02:00
Jon Koops
58c267b7c1
Update browser support list (#8455) 2025-03-02 21:43:13 +01:00
Jocelyn Tang
9d5bc6681b
Changed slogan with evergreen wording (#9491)
Co-authored-by: Florian Bischof <design.falke@gmail.com>
2025-02-28 22:17:33 +01:00
Alok Gupta
d48e82e445
Change Twitter Logo and Name to X (#9102) 2023-10-01 22:44:12 +02:00
Florian Bischof
7c0f6750de Update docs release 1.9.4 2023-05-18 13:37:07 +02:00
alope107
e8b83eedfc
Update docs language for HTML and CSS. (#8934) 2023-04-28 14:34:59 +02:00
Vladimir Agafonkin
0bfedaebeb fix my name across docs and code 2022-10-05 20:05:05 +03:00
Vladimir Agafonkin
509c655b82 update website for v1.9.1 2022-09-23 12:08:00 +03:00
Jon Koops
0716af266f
Update website & docs for v1.9.0 (#8453) 2022-09-22 15:56:18 +02:00
Volodymyr Agafonkin
0fa492c239
drop legacy VML code & support for IE7–8 (#8196) 2022-09-22 12:47:54 +03:00
Grant
c2324e52e2
Use preferred tile.openstreetmap.org URL (#8418)
Now that tile.openstreetmap.org supports HTTP/2 + HTTP/3 the old (a|b|c).tile.openstreetmap.org is no longer recommended.

Use tile.openstreetmap.org directly is faster and will likely result in a better cache hit ratio.

Signed-off-by: Grant Slater <git@firefishy.com>

Signed-off-by: Grant Slater <git@firefishy.com>
2022-08-28 11:31:45 +02:00
Vladimir Agafonkin
bc203d122a minor frontpage fixes 2022-05-19 17:05:36 +03:00
Florian Bischof
999a074eb8
Add Ukraini dialog (#8177)
* Add Ukraini dialog

* Fix lint

* Make it more keyboard-user friendly

* Change close element to button and add dialog as first element
2022-04-25 11:57:58 +03:00
Iván Sánchez Ortega
c94faa201a
Taking down the website. (#8025)
* Taking down the website.

* Prevent linting errors on moved-away website stuff

* Add quote style

* fix css

* rm duplicated templates

Co-authored-by: falke-design <design.falke@gmail.com>
2022-02-27 13:22:37 +01:00
Jon Koops
44e4975339
Rename master branch to main (#7921) 2022-01-19 12:46:44 +02:00
johnd0e
69f73ed1e8
Get rid of android legacy hacks (#7022)
* Control.Layers: clean up (continue e287b5ec1531238aaf4c4e5f5bfee51b5a577954)

* Control.Layers: stop relying on Browser `android` and `touch` properties

- `android` is useless here, as there are a lot of non-android touch devices (including desktop ones)
- `touch` is useless, as mouse can be used on touch-screen too

Now these usecases are covered:
- `mouseenter/leave` are handled on touch devices too
- If Layers control created with {collapsed:false}, and than it collapsed explicitly
  [using .collapse() method], it's now possible to expand it back with click.

* Control.LayersSpec.js: add test for toggle focus

* Control.Layers: fix unexpected layer switch when expanding control on touch

Most browsers produce compatibility mouseenter for touch event, but not all,
so we listen for click also.

The problem is that these compatibility events come all in single batch, so
same touch induces expand and then immediate input switching.

To avoid this we temporarily prevent click on layers section.
Note: more straight-forward way would be relying on e.sourceCapabilities.firesTouchEvents,
      but atm it has rather low support: https://caniuse.com/#feat=mdn-api_inputdevicecapabilities_firestouchevents

* Deprecate Browser.android23 property

* Deprecate Browser.androidStock property

* Remove legacy android workaround

* Remove legacy android Chrome workaround

* Deprecate Browser.android property

As we do not rely on it anymore

User agent sniffing is evil, and we should not support it 'just in case'.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent

* Doc: remove statement about Android legacy support
2021-11-03 18:31:05 +02:00
Iván Sánchez Ortega
4f32a5e835
Release 1.7.1 (#7252)
* Changelog and blog post for 1.7.0

* Tweak test for finger drag

Apparently, some of the changes related to pointer events have made that touch-dragging less than the threshold now force a recalculation of the map center - the value is the same, so is == equal to the previous center but not === the same LatLng instance.

* Bump to v1.7.1; fix uglifyjs script; update integrity hashes

* Website stuff updated for 1.7.1

* Update CHANGELOG.md

Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>

* Update docs/_posts/2020-09-03-leaflet-1.7.1.md

Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>

* docs: 1.7.1 release announcement tweaks; delay dates by one day

Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
2020-09-04 10:10:43 +02:00
Andrew Cherniavskii
33f6f88b7d
Release 1.6.0 (#6892)
* update changelog

* add blog post

* build docs

* update reference and download pages

* add new version

* update config and announcement

* update integrity hashes
2019-11-17 22:11:36 +01:00
Andrew Cherniavskii
80edb4e968
1.5.1 (#6648)
* update changelog

* update release doc

* add blog post

* update docs

* update integrity hashes

* update download page

* update reference versions

* update announcement
2019-05-08 19:14:04 +02:00
Andrew Cherniavskii
e618613247
1.5.0 (#6637)
* update changelog

* update changelog

* update changelog

* add blog post

* build docs

* update reference

* update integrity hashes

* update download page

* update reference versions

* update announcement
2019-05-08 09:36:14 +02:00
Vladimir Agafonkin
b2dd61d02f Update index.html 2019-01-03 15:21:40 +02:00
Andrew Cherniavskii
69d7f30f6b
Leaflet 1.4.0 (#6451)
* update changelog

* add blog post

* generate docs

* update latest reference

* add 1.4.0 to reference list

* update download page

* update latest_leaflet_version

* update announcement

* update integrity hashes
2018-12-30 21:50:48 +01:00
Stephen Ham
faafb27e72 Docs(home): add OSM logo to "trusted by the best" section (#6360) 2018-10-26 07:55:21 +04:00
Andrew Cherniavskii
e57952b880
Release 1.3.4 (#6304)
* update changelog

* add blog post

* generate api dosc

* update reference to redirect to the new version

* update latest verstion on download page

* update reference-versions

* update version in config.yml

* update announcement

* update integrity hashes
2018-08-21 19:13:01 +02:00
zstadler
356f52de42 Remove references to the now defunct Leaflet UserVoice page (#6291)
* Remove referenced to the now defunct UserVoice

* Remove references to UserVoice
2018-08-16 17:27:01 -07:00
Mateusz Konieczny
c88fb97184 add Edge to supported browsers, fixes #6269 (#6270) 2018-08-09 12:21:19 +02:00
Andrew Cherniavskii
87ebb534c9
Release 1.3.3 (#6241)
* update changelog

* add blogpost

* add 1.3.3 docs with redirect to 1.3.2

* update download page

* update reference-versions

* update config.yml

* update announcement

* update integrity hashes
2018-07-18 12:05:11 +02:00
Andrew Cherniavskii
1b14781c06
Release 1.3.2 (#6237)
* update changelog

* add blog post

* extend publish.sh to commit dist/leaflet-src.esm.js too

* add docs

* redirect to latest docs reference

* update download page

* add 1.3.2 docs to references list

* update version in _config.yml

* update announcement

* update integrity hashes
2018-07-17 14:00:36 +02:00
Elias Ojala
d00a355d6b mapbox link 2018-05-04 15:17:41 +03:00
Elias Ojala
770b88e89b https 2018-05-04 15:14:00 +03:00
Roman Zoller
5ffe207921 Use https everywhere for OSM links (#6082)
* Use https everywhere for OSM tile URLs

Use
https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

instead of
http://{s}.tile.osm.org/{z}/{x}/{y}.png
http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png

* Use https everywhere for OSM attribution link

Use
https://www.openstreetmap.org/copyright

instead of
http://www.openstreetmap.org/copyright
http://osm.org/copyright
2018-03-12 08:46:20 +01:00
Andrew
ae8a1a645a
Release 1.3.1 (#6010)
* update changelog

* add blog post

* update reference

* update download page

* update version in config.yml

* update announcement

* point reference.html to 1.3.1 docs

Also add reference-1.3.1.html, which redirects to 1.3.0 docs

* update integrity hashes

* redirect reference.html directly to 1.3.0 to avoid double redirect
2018-01-18 13:56:04 +01:00
Andrew
0c25ba8706 update release date 2018-01-15 08:28:45 +01:00
Andrew
b301e9acfb update announcement 2018-01-09 17:48:27 +01:00
Javier Jimenez Shaw
d6b05fa1ed fix release date 1.2.0 2017-08-08 19:15:18 +02:00
Per Liedman
5223528fcd [Plz merge] Release 1.2.0 (#5688)
* Add documentation on how to do a release

* Preliminary changelog for next release

* Preliminary blog post

* Modify version to 1.2.0

* Update changelog

* Add 1.2.0 reference

* Point to 1.2.0 docs

* Update hashes and latest version

* Update latest news

* Add 1.2.0 release date
2017-08-08 16:13:09 +02:00
Per Liedman
a05c69135d Update news on index page 2017-06-27 13:45:34 +02:00
Noah Veltman
ecc2c680d6 Fixing quick start link in docs root (#5500) 2017-05-05 14:56:08 +02:00
Vladimir Agafonkin
703ae02aa8 ES6 modules & Rollup (#4989)
* WIP ES6 modules & rollup

* WIP ES6 modules & rollup 2

* WIP ES6 modules & rollup 3

* WIP ES6 modules Browser

* WIP ES6 module fixes

* WIP ES6 modules: simpler browser exports

* WIP ES6: refactor CRS/Projection modules, CRS obj -> CRS.Base

* get rid of unnecessary index.js

* WIP ES6 modules, dom events and stuff

* Make linter happy, rollup to dist/

* revert to CRS namespace/class for now

* WIP rollup: export more stuff

* export controls

* rollup: export Layer

* rollup: export DomEvent

* rollup: export more layer types

* rollup: export Popup/Tooltip

* WIP: ES6-ify marker, icon, domutil, draggable.

* ES6-ify gridlayer, tilelayer.

* ES6-ify: Tweak imports-exports, code is now runnable!!

* ES6-ify: Fix scope in some DomUtils

* ES6-ify: Path, fix Popup

* ES6-ify: Lint & cleanup

* ES6-ify map handlers, more linting

* ES6-ify: Icon.Default namespacing

* ES6-ify: Renderers, CircleMarker

* ES6-ify: Circle, Polyline, LineUtil

* ES6-ify: Polygon, Rectangle, LineUtil, PolyUtil, linting

* ES6-ify: SVG.VML

* ES6-ify: DomEvent.Pointer, DomEvent.DoubleTap

* ES6-ify: Linting, make Karma play nice with Rollup

* ES6-ify: More work on fixing bits breaking some unit tests.

* ES6-ify: rollup the version number, fiddled with build scripts

* ES6-ify: Fiddle with test scripts

* ES6-ify: cleanup (refs to global L, imports from (DOM)Util), prevent cyclic loop on Map imports

* ES6-ify: More cleanup of (DOM)Util/Browser/DomEvent imports

* ES6ify: Use rollup's "legacy" option for ES3 (IE8) builds

* ES6-ify: Clean up build scripts, fix CONTRIBUTING.md instructions

* Typo

* ES6-ify: minor fixes and lefovers after rebasing on top of 1.0.2

* ES6-ify: upgrade to rollup 0.38 for proper IE8 builds, fix L.SVG.VML

* Make linter happy.

* ES6: Fixing typos and sxrew-ups after big rebase

* Fix symlink for debugging scripts

* ES6: Cleanup old build scripts

* ES6-ify: Update build system to include git rev in L.version

* ES6-ify: re-enable unit tests replacing L.Path with L.Polyline

* Export Path

* ES6ify: cleanup old banner file

* ES6-ify: whitespace in var declarations

* ES6-ify: Export toTransformation as L.transformation

* ES6-ify: cleanup L.transform exports

* ES6-ify: "import Util" in Transformation and SVG.VML
2017-01-30 11:35:16 +01:00
Vladimir Agafonkin
174e693912 fix badge 1.0.3 blog link 2017-01-23 18:05:46 +02:00
Iván Sánchez Ortega
bfc3092e9c Blog post for v1.0.3 release (#5275)
* Blog post for v1.0.3 release

* Update blog link in front page

* Remove badge for 1.0.0 announcement
2017-01-23 18:02:02 +02:00
Iván Sánchez Ortega
65102bc4d1 Website updates for 1.0.2, version bump (#5123) 2016-11-21 12:33:57 +01:00
Vladimir Agafonkin
52a3eefbc2 add a 1.0 notice on frontpage (#4955) 2016-09-27 19:31:58 +03:00
Iván Sánchez Ortega
ffb9a636ca Merge branch 'gh-pages' into master-docs 2016-08-18 11:27:28 +02:00