tg-map-vue3 3.0.1
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/README.md +109 -0
- package/dist/src/components/TgMap.vue.d.ts +45 -0
- package/dist/src/components/TgMapWidget.vue.d.ts +49 -0
- package/dist/src/components/controls/TgCustomControl.vue.d.ts +16 -0
- package/dist/src/components/controls/TgMapTypeControl.vue.d.ts +14 -0
- package/dist/src/components/controls/TgScaleControl.vue.d.ts +12 -0
- package/dist/src/components/controls/TgZoomControl.vue.d.ts +12 -0
- package/dist/src/components/extra/TgMarkerClusterer.vue.d.ts +48 -0
- package/dist/src/components/index.d.ts +36 -0
- package/dist/src/components/layers/TgTrafficLayer.vue.d.ts +15 -0
- package/dist/src/components/map-mixin.d.ts +22 -0
- package/dist/src/components/overlays/TgCircle.vue.d.ts +21 -0
- package/dist/src/components/overlays/TgElementOverlay.vue.d.ts +30 -0
- package/dist/src/components/overlays/TgInfoBox.vue.d.ts +29 -0
- package/dist/src/components/overlays/TgInfoWindow.vue.d.ts +25 -0
- package/dist/src/components/overlays/TgLabel.vue.d.ts +21 -0
- package/dist/src/components/overlays/TgMarker.vue.d.ts +60 -0
- package/dist/src/components/overlays/TgPolygon.vue.d.ts +20 -0
- package/dist/src/components/overlays/TgPolyline.vue.d.ts +18 -0
- package/dist/src/map/event-target.d.ts +35 -0
- package/dist/src/map/event.d.ts +47 -0
- package/dist/src/map/lat-lng.d.ts +89 -0
- package/dist/src/map/map/baidu-map.d.ts +66 -0
- package/dist/src/map/map/controls/control.d.ts +101 -0
- package/dist/src/map/map/controls/map-type.control.d.ts +30 -0
- package/dist/src/map/map/controls/scale.control.d.ts +15 -0
- package/dist/src/map/map/controls/zoom.control.d.ts +16 -0
- package/dist/src/map/map/extra/marker-clusterer.d.ts +69 -0
- package/dist/src/map/map/google-map.d.ts +68 -0
- package/dist/src/map/map/here-map.d.ts +49 -0
- package/dist/src/map/map/map-options.d.ts +46 -0
- package/dist/src/map/map/map-type.d.ts +113 -0
- package/dist/src/map/map/map.d.ts +129 -0
- package/dist/src/map/map/overlay/baidu-info-box.d.ts +81 -0
- package/dist/src/map/map/overlay/circle.d.ts +42 -0
- package/dist/src/map/map/overlay/element-overlay.d.ts +33 -0
- package/dist/src/map/map/overlay/google-label.d.ts +74 -0
- package/dist/src/map/map/overlay/icon.d.ts +16 -0
- package/dist/src/map/map/overlay/info-box.d.ts +58 -0
- package/dist/src/map/map/overlay/info-window.d.ts +112 -0
- package/dist/src/map/map/overlay/label.d.ts +89 -0
- package/dist/src/map/map/overlay/marker.d.ts +126 -0
- package/dist/src/map/map/overlay/overlay.d.ts +38 -0
- package/dist/src/map/map/overlay/polygon.d.ts +35 -0
- package/dist/src/map/map/overlay/polyline.d.ts +35 -0
- package/dist/src/map/map/overlay/shape.d.ts +48 -0
- package/dist/src/map/map-config.d.ts +14 -0
- package/dist/src/map/map-factory.d.ts +10 -0
- package/dist/src/map/map-loader.d.ts +5 -0
- package/dist/src/map/types.d.ts +17 -0
- package/dist/src/map/unions.d.ts +19 -0
- package/dist/src/utils/arrays.d.ts +10 -0
- package/dist/src/utils/assert.d.ts +9 -0
- package/dist/src/utils/baidu-utils.d.ts +5 -0
- package/dist/src/utils/elements.d.ts +4 -0
- package/dist/src/utils/formatter.d.ts +1 -0
- package/dist/src/utils/here-utils.d.ts +10 -0
- package/dist/src/utils/lifecycle-log.d.ts +14 -0
- package/dist/src/utils/mapped-types.d.ts +60 -0
- package/dist/src/utils/objects.d.ts +13 -0
- package/dist/src/utils/strings.d.ts +9 -0
- package/dist/src/utils/utils.d.ts +9 -0
- package/dist/src/utils/values.d.ts +34 -0
- package/dist/src/utils/vue-utils.d.ts +82 -0
- package/dist/style.css +1 -0
- package/dist/tg-map.js +4871 -0
- package/dist/tg-map.js.map +1 -0
- package/dist/tg-map.umd.cjs +14 -0
- package/dist/tg-map.umd.cjs.map +1 -0
- package/package.json +67 -0
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tg-map-vue3",
|
|
3
|
+
"version": "3.0.1",
|
|
4
|
+
"author": "ipcjs",
|
|
5
|
+
"description": "封装 百度地图, Google地图, Here地图(未完成) 的Vue3组件库",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"vue2",
|
|
8
|
+
"google-map",
|
|
9
|
+
"baidu-map",
|
|
10
|
+
"here-map"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/TranscodeGroup/tg-map"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/tg-map.umd.cjs",
|
|
19
|
+
"module": "./dist/tg-map.js",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": "./dist/tg-map.js",
|
|
23
|
+
"require": "./dist/tg-map.umd.cjs"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"types": "./dist/src/components/index.d.ts",
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@types/baidumap-web-sdk": "0.0.1",
|
|
32
|
+
"@types/googlemaps": "3.37.6",
|
|
33
|
+
"@types/heremaps": "3.0.14",
|
|
34
|
+
"vue": "^3.2.47",
|
|
35
|
+
"@vue/compat": "^3.2.47"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@vue/runtime-dom": "^3.2.47",
|
|
39
|
+
"@google/markerclusterer": "2.0.3",
|
|
40
|
+
"bmaplib.markerclusterer": "git+https://github.com/xiaorongnie/BMapLib.MarkerClusterer.git#build",
|
|
41
|
+
"coordtransform": "git+https://github.com/TranscodeGroup/coordtransform.git",
|
|
42
|
+
"deepmerge": "^4.0.0",
|
|
43
|
+
"is-plain-object": "^3.0.0",
|
|
44
|
+
"@rushstack/eslint-patch": "^1.2.0",
|
|
45
|
+
"@types/node": "^18.14.2",
|
|
46
|
+
"@vitejs/plugin-vue": "^4.0.0",
|
|
47
|
+
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
|
48
|
+
"vite-plugin-dts": "^2.1.0",
|
|
49
|
+
"@vue/eslint-config-typescript": "^11.0.2",
|
|
50
|
+
"@vue/tsconfig": "^0.1.3",
|
|
51
|
+
"eslint": "^8.34.0",
|
|
52
|
+
"eslint-plugin-vue": "^9.9.0",
|
|
53
|
+
"npm-run-all": "^4.1.5",
|
|
54
|
+
"sass": "^1.58.3",
|
|
55
|
+
"typescript": "~4.8.4",
|
|
56
|
+
"vite": "^4.1.4",
|
|
57
|
+
"vue-tsc": "^1.2.0"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"dev": "vite",
|
|
61
|
+
"build": "run-p type-check build-only",
|
|
62
|
+
"preview": "vite preview",
|
|
63
|
+
"build-only": "vite build",
|
|
64
|
+
"type-check": "vue-tsc --noEmit",
|
|
65
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
|
|
66
|
+
}
|
|
67
|
+
}
|