gis-leaflet-helper 2.1.19 → 2.1.21

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.
@@ -0,0 +1,24 @@
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
+ interface EagleMapOptions extends L.ControlOptions {
17
+ toggleDisplay: boolean
18
+ zoomLevelOffset: number
19
+ zoomAnimation: boolean
20
+ width: number
21
+ height: number
22
+ collapsedWidth: number
23
+ collapsedHeight: number
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gis-leaflet-helper",
3
- "version": "2.1.19",
3
+ "version": "2.1.21",
4
4
  "author": "Guo.Yan <luv02@vip.qq.com>",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -9,6 +9,7 @@
9
9
  "files": [
10
10
  "dist"
11
11
  ],
12
+ "types": "dist/types.d.ts",
12
13
  "exports": {
13
14
  ".": {
14
15
  "import": "./dist/gis-leaflet-helper.es.js",
@@ -28,12 +29,13 @@
28
29
  },
29
30
  "dependencies": {
30
31
  "color": "^4.2.3",
31
- "gis-common": "^3.1.1",
32
+ "gis-common": "^4.2.8",
32
33
  "leaflet": "^1.8.0",
33
34
  "proj4leaflet": "^1.0.2",
34
35
  "vue": "^3.2.16"
35
36
  },
36
37
  "devDependencies": {
38
+ "@types/leaflet": "^1.9.12",
37
39
  "@vitejs/plugin-vue": "^1.9.3",
38
40
  "vite": "^5.3.5",
39
41
  "vite-plugin-style-inject": "0.0.1"