Skip to content

Commit

Permalink
v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dayjournal committed Jan 7, 2021
1 parent 727dcc7 commit 658b61d
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 30 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Yasunori Kirimoto
Copyright (c) 2018-2021 Yasunori Kirimoto

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Browser Support
- Chrome
- Firefox
- Safari
- IE 11

<br>

Expand Down Expand Up @@ -54,8 +53,8 @@ index.html
<meta charset="UTF-8">
<title>Leaflet.Control.Opacity example</title>

<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<link href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" rel="stylesheet"/>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<link href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" rel="stylesheet"/>

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

Copyright (c) 2019 Yasunori Kirimoto
Copyright (c) 2018-2021 Yasunori Kirimoto

<br>

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

<br>

Expand Down Expand Up @@ -315,8 +313,8 @@ index.html
<meta charset="UTF-8">
<title>Leaflet.Control.Opacity example</title>

<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<link href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" rel="stylesheet"/>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<link href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" rel="stylesheet"/>

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

Copyright (c) 2019 Yasunori Kirimoto
Copyright (c) 2018-2021 Yasunori Kirimoto

<br>
2 changes: 1 addition & 1 deletion dist/L.Control.Opacity.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 13 additions & 17 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<title>Leaflet.Control.Opacity example</title>

<head>
<meta charset="UTF-8">
<title>Leaflet.Control.Opacity example</title>
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<link href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" rel="stylesheet" />

<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
<link href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" rel="stylesheet"/>
<script src="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js"></script>
<link href="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.css" rel="stylesheet" />

<script src="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.js"></script>
<link href="plugin/Leaflet.Control.Opacity/dist/L.Control.Opacity.css" rel="stylesheet" />

<link href="css/style.css" rel="stylesheet" />

</head>
<body>

<div id="map"></div>
<script src="js/app.js"></script>

</body>
<link href="css/style.css" rel="stylesheet" />
</head>
<body>
<div id="map"></div>
<script src="js/app.js"></script>
</body>
</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ L.Control.Opacity = L.Control.extend({
input.className = 'leaflet-control-layers-range';
input.min = 0;
input.max = 100;
input.value = 100;
input.value = obj.layer.options.opacity*100;
} else {
input = this._createRadioElement('leaflet-base-layers', checked);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leaflet.control.opacity",
"version": "1.4.0",
"version": "1.4.1",
"description": "Leaflet.Control.Opacity is a Leaflet plugin that makes multiple tile layers transparent. (Leaflet v1.x.x)",
"main": "dist/L.Control.Opacity.js",
"repository": {
Expand Down

0 comments on commit 658b61d

Please sign in to comment.