Commit Graph

801 Commits

Author SHA1 Message Date
86838fd752 Add command to serve docs per npm script (#7973) 2022-02-06 21:59:20 +02:00
a604b070fa Changed URL (#7957) 2022-01-27 22:10:57 +02:00
9ea16a2e3f Responsive map examples (#7950) 2022-01-27 11:16:55 +02:00
409c17c14b Docs: Remove table semantics from tables used for layout purposes for includes (#7948) 2022-01-26 12:53:57 +01:00
24da5ba4be fix plugin name 2022-01-26 12:52:07 +02:00
bab69e0076 Plugins: add L.cascadeButtons (#7942) 2022-01-25 01:50:03 +01:00
4f80c6bece Add Leaflet.Draw.Svg to plugins (#7888) 2022-01-21 13:43:02 +01:00
44e4975339 Rename master branch to main (#7921) 2022-01-19 12:46:44 +02:00
ee71642691 Update LICENSE to 2022 and automate on website (#7907) 2022-01-14 15:15:51 +02:00
142ffdee3b Fix issues in the layout (#7906) 2022-01-13 23:03:56 +02:00
2e205bf5ac Improve site accesibility (#7901)
* Improve site accesibility

* Prettier formatting reverted

* Removed typo in docs/docs/css/main.css
2022-01-13 18:59:12 +02:00
e0c92a310c Add Leaflet Geoapify Address Search plugin (#7896) 2022-01-10 17:38:02 +01:00
de29669d39 Add django-leaflet in frameworks-build-systems documentation. (#7885) 2022-01-03 14:23:51 +02:00
d52d2fa341 Add drustack/Leaflet.SyncView to plugins (#7875)
A sync view control for Leaflet.

Design for [Drupal Leaflet Module](https://www.drupal.org/project/leaflet) integration.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
2021-12-22 11:51:30 +01:00
c9f8650a73 Add drustack/Leaflet.ResetView to plugins (#7874)
A reset view control for Leaflet.

Design for [Drupal Leaflet Module](https://www.drupal.org/project/leaflet) integration.

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
2021-12-22 11:50:12 +01:00
b_b
a1342a15e9 add demo url for the plugin (#7833)
no need to comment :p
2021-12-03 21:33:12 +02:00
b_b
fc9c716457 Update plugins compat & demos (#7834)
* add demo url for leaflet-providers

* update Leaflet.Routing compat

- demo page use leaflet 0.7 https://github.com/Turistforeningen/leaflet-routing/blob/gh-pages/index.html#L34 and it's broken http://turistforeningen.github.io/leaflet-routing/examples/osm.html
- project seems unmaintained, last commit from 2015 + https://github.com/Turistforeningen/leaflet-routing/issues/50

* add demo url for Leaflet.Locate

* add demo for Leaflet Control Compass

* add demo for Leaflet.AccuratePosition + update compat info

- demo use leaflet 0.7 https://github.com/M165437/Leaflet.AccuratePosition/blob/gh-pages/index.html#L11
- last commit from 2016

* update compat for L.LocationShare

- demo page use leaflet 0.7 https://github.com/CliffCloud/Leaflet.LocationShare/blob/master/index.html#L11
- index.html file provided by the repo doesn't work when using leaflet 1.7
2021-12-03 20:17:15 +01:00
b_b
a6d6d512ac leaflet.zoomfs compatibility (#7832)
I don't think this plugin is compatible with Leaflet v1 :\

- the demo use Leaflet 0.5.1 https://github.com/elidupuis/leaflet.zoomfs/blob/master/index.html#L12
- the last commit on the repo was made 9 years ago
- the online demo page https://elidupuis.github.com/leaflet.zoomfs returns a 404 error
2021-12-03 19:37:27 +01:00
d00a8b28ae Added clarification (#7819)
Added a sentence to indicate when the code examples switch from HTML and CSS to JS for clarity
2021-12-02 21:32:14 +02:00
39c7ea64da Create leaflet-coloricon.md (#7812) 2021-12-01 16:03:13 +01:00
80279dd98b Lint examples (#7827)
* lint examples

* examples lint fixes

* more lint fixes

* fixes

* final fixes
2021-11-29 16:31:54 +02:00
326211d5d4 add linting to examples (WIP) 2021-11-29 15:56:50 +02:00
1e7f27331a Simplifiy examples (#7816)
* Replace mymap with map

* Updated quick-start - added variables

* Add variable names

Add variable names

* Replace blanks with tabs
2021-11-26 22:17:11 +02:00
649eaf37e5 Add documentation for Event Listens Propagate argument. Fixes Leaflet/Leaflet#6912 (#7103) 2021-11-26 10:38:03 +02:00
8eb9ac2461 Converted Plugins.md to single files (jekyll) (#7805)
* WIP: Minimal jekyll setup for handling the plugins webpage in a data-driven manner.

* Docs: Jekyll collections config, whitespace

* Add plugins

* Remove special chars from names and remove default value from compatible-v0

* Push new plugin files

* Rename to plugins.md

* Update Plugins

* Update links in plugins

* Update Links

* Move plugins into category folders

* Add `template.md` and update PLUGIN-GUIDE.md

* PR #6307

* PR #6971

* PR #7043

* PR #7130

* Fix Url #7442

* PR #7513

* Update Author #7554

* PR #7590

* PR #7640

* PR #7760

* Update template.md

Co-authored-by: Iván Sánchez Ortega <ivan@sanchezortega.es>
2021-11-25 15:54:50 +01:00
f4d8f1083b Update plugins.md (Leaflet.Signposts) (#7786)
Submitting new Leaflet plugin under User Interface: Leaflet.Signposts
2021-11-23 12:46:39 +01:00
0b603eaf83 Add Leaflet.NonTiledLayers to plugins (#7802) 2021-11-23 12:04:23 +01:00
3716721664 Added GeoRasterLayer Plugin (#6534) 2021-11-23 12:01:18 +01:00
ef3e4f0b47 Update plugins.md (#6547)
Added Leaflet GeoSSE plugin to load real time data with server sent events.
2021-11-23 12:01:01 +01:00
ba81536734 Adding leaflet-area-select to the plugin list (#7367) 2021-11-23 12:00:48 +01:00
913e0e99b6 Update plugins.md with my own plugin (#7392) 2021-11-23 12:00:29 +01:00
dd975a668f Add leaflet-place-groups-picker to plugins list (#7412) 2021-11-23 12:00:08 +01:00
4a28283078 add new in plugin lists (#7631)
* wrong method name

* add plugin layer json
2021-11-23 11:59:37 +01:00
b52961aa46 Add Leaflet.HighlightableLayers and Leaflet.DraggableLines plugins to docs (#7437)
* Add Leaflet.HighlightableLayers plugin to docs
* Add Leaflet.DraggableLines plugin to docs
2021-11-15 11:59:27 +03:00
a37f0297af simplify. update description - geojson is popular (#7602) 2021-11-11 16:03:10 +01:00
2c105060a9 add a redirect from /reference-1.7.1.html 2021-11-11 10:33:31 +02:00
b61dad1b51 Make docs headings sticky (#7703)
* make headings sticky

* fix anchors position under the sticky headings
2021-11-11 10:29:50 +02:00
daeb86b360 New Plugin: Azure Maps basemap provider (#7408)
* Update plugins.md

* Update plugins.md

Replacing markdown link with HTML anchor

* Update plugins.md

Fixed the one line and indented using tabs rather than space.
2021-11-11 10:13:41 +02:00
5bae38bd3b Adding Leaflet control Routetoaddress (#6500)
* leafletroutetoaddress

* Update docs/plugins.md

Co-authored-by: Falke Design <design.falke@gmail.com>

Co-authored-by: Falke Design <design.falke@gmail.com>
2021-11-11 10:13:17 +02:00
93ebeb7786 plugin: leaflet-layervisibility (#7484) 2021-11-09 14:34:22 +01:00
d03a2d09aa Minor typos (#7758) 2021-11-09 09:42:40 +01:00
572f4f7989 New plugin: Leaflet.Autocomplete (#7236) 2021-11-08 17:49:33 +01:00
adfafbb41d Added plugin Leaflet.AnimatedSearchBox to plugins.md (#7053)
Added Leaflet.AnimatedSearchBox to plugins.md
2021-11-06 14:24:33 +03:00
7f47b29b31 Plugins.md - Leaflet.Control.Select added to the list of plugins (#7050)
* Plugins.md - Leaflet.Control.Select added to the list of plugins

https://github.com/adammertel/Leaflet.Control.Select

* Restore tabs in plugins.md

* Restore tabs in plugins.md

* Update tabs

* Revert "Update tabs"

This reverts commit 150bfda18a.
2021-11-05 09:19:36 +02:00
9e7bf9ec6b Add Leaflet.CenterMarker to list of plugins (#7312) 2021-11-04 13:54:08 +01:00
69f73ed1e8 Get rid of android legacy hacks (#7022)
* Control.Layers: clean up (continue e287b5ec15)

* 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
9f9c549756 simplify docs update process on release (#7730) 2021-11-02 23:31:33 +02:00
bb04e9567d simplify download page 2021-11-02 18:00:27 +02:00
5f24da54a1 fix download link, close #7667 2021-11-02 17:48:21 +02:00
03889599d0 New plugin: Leaflet.MousePosition.ts (#7623) 2021-11-02 13:24:56 +01:00