From cef82c031ce46998d8ccb36d65d0f4b5df108ead Mon Sep 17 00:00:00 2001 From: Javier Jimenez Shaw Date: Sat, 3 Oct 2020 11:55:24 +0200 Subject: [PATCH] update to version 1.0.1, with leaflet 1.7.1 (#30) --- README.md | 4 +-- bower.json | 2 +- examples/airports.html | 4 +-- examples/basic.html | 4 +-- examples/options.html | 4 +-- package-lock.json | 64 +++++++++++++++++++++++++++++++----------- package.json | 4 +-- 7 files changed, 58 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 012ae55..7e5cdfc 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A Tree Layers Control for Leaflet. ## Description -This plugin extends [`Control.Layers`](http://leafletjs.com/reference-1.6.0.html#control-layers) allowing a tree structure for the layers layout. In `Control.Layers` you can only display a flat list of layers (baselayers and overlays), that is usually enough for small sets. If you have a long list of baselayers or overlays, and you want to organize them in a tree (allowing the user collapse and expand branches), this is a good option. +This plugin extends [`Control.Layers`](http://leafletjs.com/reference-1.7.1.html#control-layers) allowing a tree structure for the layers layout. In `Control.Layers` you can only display a flat list of layers (baselayers and overlays), that is usually enough for small sets. If you have a long list of baselayers or overlays, and you want to organize them in a tree (allowing the user collapse and expand branches), this is a good option. [Some live examples here](https://jjimenezshaw.github.io/Leaflet.Control.Layers.Tree/examples/) @@ -15,7 +15,7 @@ This plugin extends [`Control.Layers`](http://leafletjs.com/reference-1.6.0.html Using npm for browserify `npm install leaflet.control.layers.tree` (and `require('leaflet.control.layers.tree')`), or just download `L.Control.Layers.Tree.js` and `L.Control.Layers.Tree.css` and add a script and link tag for it in your html. ## Compatibility -This plugin has been tested with Leaflet 1.0.3, 1.1.0, 1.2.0, 1.3.1., 1.4.0, 1.5.1 and 1.6.0 +This plugin has been tested with Leaflet 1.0.3, 1.1.0, 1.2.0, 1.3.1., 1.4.0, 1.5.1, 1.6.0 and 1.7.1 ## Usage 1. Create your layers. Do this as usual. diff --git a/bower.json b/bower.json index c0405b9..68e3ec1 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "leaflet.control.layers.tree", - "version": "1.0.0", + "version": "1.0.1", "description": "Control Layers in a Tree structure", "homepage": "https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree", "authors": [ diff --git a/examples/airports.html b/examples/airports.html index f8fdb7a..3d719c8 100644 --- a/examples/airports.html +++ b/examples/airports.html @@ -4,8 +4,8 @@ Leaflet Layers Tree Demo: Airports in Europe - - + + diff --git a/examples/basic.html b/examples/basic.html index c80e5cf..c692df9 100644 --- a/examples/basic.html +++ b/examples/basic.html @@ -4,8 +4,8 @@ Leaflet Layers Tree Basic Demo - - + +