@canmou/react-tmap-types
Advanced tools
+2
-2
| { | ||
| "name": "@canmou/react-tmap-types", | ||
| "version": "1.0.17", | ||
| "version": "1.0.18", | ||
| "description": "用于加载腾讯地图SDK依赖,加载完成,全局将会有**`window.TMap`**对象。", | ||
@@ -13,3 +13,3 @@ "types": "index.d.ts", | ||
| }, | ||
| "gitHead": "bbf30e2595306e5bdaead9542bdd642fffbb76bc" | ||
| "gitHead": "7b9573af8675921057d0008b0cdbe0acf81c5c25" | ||
| } |
+11
-5
@@ -15,6 +15,9 @@ /// <reference path="./base.d.ts" /> | ||
| // 点标记样式 | ||
| interface MarkerStyle { | ||
| width: number; | ||
| height: number; | ||
| class MarkerStyle { | ||
| constructor(opt: MarkerStyleOptions) | ||
| } | ||
| // interface MarkerStyle { | ||
| // width: number; | ||
| // height: number; | ||
| // } | ||
@@ -31,3 +34,3 @@ // 点标记事件 | ||
| id?: string; | ||
| map: Map; | ||
| // map: Map; | ||
| styles: any; | ||
@@ -38,3 +41,6 @@ geometries: any; | ||
| interface MultiMarkerStyleHash { | ||
| [key: string]: MarkerStyle; | ||
| [key: string]: { | ||
| width: number; | ||
| height: number; | ||
| }; | ||
| } | ||
@@ -41,0 +47,0 @@ |
21723
0.56%681
0.89%