Skip to content

Commit 658b61d

Browse files
committed
v1.4.1
1 parent 727dcc7 commit 658b61d

File tree

7 files changed

+24
-30
lines changed

7 files changed

+24
-30
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Yasunori Kirimoto
3+
Copyright (c) 2018-2021 Yasunori Kirimoto
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Browser Support
1010
- Chrome
1111
- Firefox
1212
- Safari
13-
- IE 11
1413

1514
<br>
1615

@@ -54,8 +53,8 @@ index.html
5453
<meta charset="UTF-8">
5554
<title>Leaflet.Control.Opacity example</title>
5655

57-
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
58-
<link href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" rel="stylesheet"/>
56+
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
57+
<link href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" rel="stylesheet"/>
5958

6059
<script src="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js"></script>
6160
<link href="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.css" rel="stylesheet" />
@@ -247,7 +246,7 @@ L.control.opacity(
247246
## License
248247
MIT
249248

250-
Copyright (c) 2019 Yasunori Kirimoto
249+
Copyright (c) 2018-2021 Yasunori Kirimoto
251250

252251
<br>
253252

@@ -271,7 +270,6 @@ Leaflet.Control.Opacityは、複数のタイルレイヤーを透過するLeafle
271270
- Chrome
272271
- Firefox
273272
- Safari
274-
- IE 11
275273

276274
<br>
277275

@@ -315,8 +313,8 @@ index.html
315313
<meta charset="UTF-8">
316314
<title>Leaflet.Control.Opacity example</title>
317315

318-
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
319-
<link href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" rel="stylesheet"/>
316+
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
317+
<link href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" rel="stylesheet"/>
320318

321319
<script src="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js"></script>
322320
<link href="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.css" rel="stylesheet" />
@@ -508,6 +506,6 @@ L.control.opacity(
508506
## ライセンス
509507
MIT
510508

511-
Copyright (c) 2019 Yasunori Kirimoto
509+
Copyright (c) 2018-2021 Yasunori Kirimoto
512510

513511
<br>

dist/L.Control.Opacity.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+13-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
<!DOCTYPE html>
22
<html lang="ja">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Leaflet.Control.Opacity example</title>
36

4-
<head>
5-
<meta charset="UTF-8">
6-
<title>Leaflet.Control.Opacity example</title>
7+
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
8+
<link href="https://unpkg.com/[email protected]/dist/leaflet.css" rel="stylesheet" />
79

8-
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
9-
<link href="https://unpkg.com/[email protected]/dist/leaflet.css" rel="stylesheet"/>
10+
<script src="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js"></script>
11+
<link href="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.css" rel="stylesheet" />
1012

11-
<script src="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js"></script>
12-
<link href="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.css" rel="stylesheet" />
13-
14-
<link href="css/style.css" rel="stylesheet" />
15-
16-
</head>
17-
<body>
18-
19-
<div id="map"></div>
20-
<script src="js/app.js"></script>
21-
22-
</body>
13+
<link href="css/style.css" rel="stylesheet" />
14+
</head>
15+
<body>
16+
<div id="map"></div>
17+
<script src="js/app.js"></script>
18+
</body>
2319
</html>

docs/plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/plugin/Leaflet.Control.Opacity/src/L.Control.Opacity.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ L.Control.Opacity = L.Control.extend({
117117
input.className = 'leaflet-control-layers-range';
118118
input.min = 0;
119119
input.max = 100;
120-
input.value = 100;
120+
input.value = obj.layer.options.opacity*100;
121121
} else {
122122
input = this._createRadioElement('leaflet-base-layers', checked);
123123
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "leaflet.control.opacity",
3-
"version": "1.4.0",
3+
"version": "1.4.1",
44
"description": "Leaflet.Control.Opacity is a Leaflet plugin that makes multiple tile layers transparent. (Leaflet v1.x.x)",
55
"main": "dist/L.Control.Opacity.js",
66
"repository": {

0 commit comments

Comments
 (0)