@styzy/vue-amap 1.4.1 → 1.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@styzy/vue-amap",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "private": false,
5
5
  "description": "An AMap Plugins For Vue.js",
6
6
  "keywords": [
@@ -11,7 +11,7 @@
11
11
  "license": "MIT",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git@github.com:styzy/vue-amap.git"
14
+ "url": "git+ssh://git@github.com/styzy/vue-amap.git"
15
15
  },
16
16
  "bugs": {
17
17
  "url": "https://github.com/styzy/vue-amap/issues",
package/types/index.d.ts CHANGED
@@ -83,6 +83,7 @@ declare module '@styzy/vue-amap' {
83
83
 
84
84
  /**
85
85
  * 高德地图 SDK 加载器
86
+ *
86
87
  * - 可通过 `load()` 方法加载高德地图 SDK
87
88
  */
88
89
  export const AMapLoader: IAMapLoader
@@ -91,16 +92,27 @@ declare module '@styzy/vue-amap' {
91
92
  * 高德地图管理器
92
93
  */
93
94
  export default class AMapManager {
95
+ /**
96
+ * 高德地图 SDK 加载器
97
+ *
98
+ * - 可通过 `load()` 方法加载高德地图 SDK
99
+ */
100
+ static readonly AMapLoader: IAMapLoader
101
+ /**
102
+ * 全局地图选项
103
+ */
104
+ static readonly globalMapOptions: GlobalMapOptions
94
105
  /**
95
106
  * 高德地图管理器版本号
96
107
  */
97
- static version: string
108
+ static readonly version: string
98
109
  /**
99
110
  * 安装高德地图组件,提供给 Vue 安装,注册组件
100
111
  */
101
112
  static install: PluginFunction<void>
102
113
  /**
103
114
  * 初始化高德地图 SDK,加载地图脚本
115
+ *
104
116
  * @param options 高德地图 SDK 加载器配置项
105
117
  */
106
118
  static initAMap(options: InitOptions): Promise<AMap>