gis-leaflet-helper 2.1.21 → 2.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gis-leaflet-helper.es.js +3908 -4837
- package/dist/gis-leaflet-helper.umd.js +5 -5
- package/dist/types.d.ts +19 -15
- package/package.json +2 -3
package/dist/types.d.ts
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
interface MapViewOptions extends L.MapOptions {
|
|
2
|
-
lang: 'zh_CN' | 'en_US'
|
|
3
|
-
clsPrefix: string
|
|
4
|
-
debug: {
|
|
5
|
-
allowSelect: boolean
|
|
6
|
-
allowDevtool: boolean
|
|
7
|
-
allowContextmenu: boolean
|
|
8
|
-
}
|
|
9
|
-
statusBarControl: boolean
|
|
10
|
-
eagleMapControl: boolean
|
|
11
|
-
scaleControl: L.Control.Scale | boolean
|
|
12
|
-
}
|
|
13
|
-
interface StatusBarOptions extends L.ControlOptions {
|
|
14
|
-
coordinateUnit: 'decimal' | 'radian' | 'degrees'
|
|
15
|
-
}
|
|
16
1
|
interface EagleMapOptions extends L.ControlOptions {
|
|
17
2
|
toggleDisplay: boolean
|
|
18
3
|
zoomLevelOffset: number
|
|
@@ -22,3 +7,22 @@ interface EagleMapOptions extends L.ControlOptions {
|
|
|
22
7
|
collapsedWidth: number
|
|
23
8
|
collapsedHeight: number
|
|
24
9
|
}
|
|
10
|
+
interface StatusBarOptions extends L.ControlOptions {
|
|
11
|
+
position: L.ControlPosition
|
|
12
|
+
coordinateUnit: 'decimal' | 'radian' | 'degrees'
|
|
13
|
+
}
|
|
14
|
+
interface MapViewOptions extends L.MapOptions {
|
|
15
|
+
lang: 'zh_CN' | 'en_US'
|
|
16
|
+
clsPrefix: string
|
|
17
|
+
debug: {
|
|
18
|
+
allowSelect: boolean
|
|
19
|
+
allowDevtool: boolean
|
|
20
|
+
allowContextmenu: boolean
|
|
21
|
+
}
|
|
22
|
+
statusBarControl: StatusBarOptionsPartial
|
|
23
|
+
eagleMapControl: EagleMapOptionsPartial
|
|
24
|
+
scaleControl: L.Control.Scale | L.ControlOptions
|
|
25
|
+
}
|
|
26
|
+
type EagleMapOptionsPartial = Partial<EagleMapOptions>
|
|
27
|
+
type StatusBarOptionsPartial = Partial<StatusBarOptions>
|
|
28
|
+
type MapViewOptionsPartial = Partial<MapViewOptions>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gis-leaflet-helper",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.22",
|
|
4
4
|
"author": "Guo.Yan <luv02@vip.qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"url": ""
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"
|
|
32
|
-
"gis-common": "^4.2.8",
|
|
31
|
+
"gis-common": "^4.2.13",
|
|
33
32
|
"leaflet": "^1.8.0",
|
|
34
33
|
"proj4leaflet": "^1.0.2",
|
|
35
34
|
"vue": "^3.2.16"
|