Skip to content

Commit 98f7d0f

Browse files
committed
bump version 0.0.3
1 parent 3422c8a commit 98f7d0f

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
A Tree Layers Control for Leaflet.
88

99
## Description
10-
This plugin extends [`Control.Layers`](http://leafletjs.com/reference-1.2.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.
10+
This plugin extends [`Control.Layers`](http://leafletjs.com/reference-1.3.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.
1111

1212
[Some live examples here](https://jjimenezshaw.github.io/Leaflet.Control.Layers.Tree/examples/)
1313

1414
## Installation
1515
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.
1616

1717
## Compatibility
18-
This plugin has been tested with Leaflet 1.0.3, 1.1.0 and 1.2.0.
18+
This plugin has been tested with Leaflet 1.0.3, 1.1.0, 1.2.0 and 1.3.1.
1919

2020
## Usage
2121
1. Create your layers. Do this as usual.
@@ -77,7 +77,7 @@ The main (and only) 'class' involved in this plugin. It exteds `L.Control.Layers
7777
Creates the control. The arguments are:
7878
* `baseTree`: `<Object>` or `<Array>` Tree defining the base layers (like the one above). You can also provide an `Array` of nodes, if you want to start with a flat level.
7979
* `overlayTree`: `<Object>` or `<Array>` Similar than baseTree, but for overlays.
80-
* `options`: `<Object>` specific options for the tree. See that it includes `L.Control.Layer` [options](http://leafletjs.com/reference-1.2.0.html#control-layers)
80+
* `options`: `<Object>` specific options for the tree. See that it includes `L.Control.Layer` [options](http://leafletjs.com/reference-1.3.0.html#control-layers)
8181

8282
##### constructor options
8383
* `closedSymbol`: `<String>` Symbol displayed on a closed node (that you can click to open). Default '+'.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leaflet.control.layers.tree",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Control Layers in a Tree structure",
55
"homepage": "https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree",
66
"authors": [

examples/airports.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<title>Leaflet Layers Tree Demo: Airports in Europe</title>
6-
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" crossorigin=""/>
7-
<script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet-src.js" crossorigin=""></script>
6+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" crossorigin=""/>
7+
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet-src.js" crossorigin=""></script>
88
<!--link rel="stylesheet" href="../../Leaflet/dist/leaflet.css" crossorigin=""/>
99
<script src="../../Leaflet/dist/leaflet-src.js" crossorigin=""></script-->
1010

examples/basic.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<title>Leaflet Layers Tree Basic Demo</title>
6-
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" crossorigin=""/>
7-
<script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet-src.js" crossorigin=""></script>
6+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" crossorigin=""/>
7+
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet-src.js" crossorigin=""></script>
88

99
<style type="text/css">
1010
html, body { width: 100%; height: 100%; margin: 0; }

examples/options.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<title>Leaflet Layers Tree Demo</title>
6-
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" crossorigin=""/>
7-
<script src="https://unpkg.com/leaflet@1.2.0/dist/leaflet-src.js" crossorigin=""></script>
6+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" crossorigin=""/>
7+
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet-src.js" crossorigin=""></script>
88

99
<style type="text/css">
1010
html, body { width: 100%; height: 100%; margin: 0; }

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leaflet.control.layers.tree",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Control Layers in a Tree structure",
55
"main": "L.Control.Layers.Tree.js",
66
"style": "L.Control.Layers.Tree.css",
@@ -28,15 +28,15 @@
2828
],
2929
"devDependencies": {
3030
"blanket": "^1.2.3",
31-
"chai": "~4.1.0",
31+
"chai": "~4.1.2",
3232
"chai-leaflet": "^0.0.13",
33-
"eslint": "^4.3.0",
34-
"eslint-plugin-html": "^3.1.1",
35-
"happen": "~0.3.1",
36-
"leaflet": "^1.1.0",
37-
"mocha": "^3.5.0",
33+
"eslint": "^4.16.0",
34+
"eslint-plugin-html": "^4.0.1",
35+
"happen": "^0.3.2",
36+
"leaflet": "^1.3.1",
37+
"mocha": "^5.0.0",
3838
"mocha-phantomjs-core": "^2.1.2",
39-
"phantomjs-prebuilt": "^2.1.1"
39+
"phantomjs-prebuilt": "^2.1.16"
4040
},
4141
"peerDependencies": {
4242
"leaflet": "^1.1.0"

0 commit comments

Comments
 (0)