File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ import * as Leaflet from "leaflet" ;
2+
3+ declare module "leaflet" {
4+ interface OpacityOptions extends Leaflet . ControlOptions {
5+ collapsed ?: boolean
6+ label ?: string | null
7+ }
8+ namespace Control {
9+ class Opacity extends Leaflet . Control {
10+ constructor (
11+ options ?: OpacityOptions
12+ )
13+ }
14+ }
15+ namespace control {
16+ function opacity ( overlays : { [ key : string ] : L . Layer } , options : OpacityOptions ) : L . Control . Opacity
17+ }
18+ }
Original file line number Diff line number Diff line change 33 "version" : " 1.5.0" ,
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" ,
6+ "types" : " dist/L.Control.Opacity.d.ts" ,
67 "repository" : {
78 "type" : " git" ,
89 "url" : " git+https://github.com/dayjournal/Leaflet.Control.Opacity.git"
You can’t perform that action at this time.
0 commit comments