zh-mapbox 0.1.87 → 0.1.88

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 CHANGED
@@ -100,6 +100,7 @@ RegisterMapBoxModel(THREE,GLTFLoader)
100
100
  | **loadModels**(models)-(0.1.76-v3) | models:{key:string} | 添加模型 |
101
101
  | **isPaintProperty**(id,property)-(0.1.79) | | 是否属于paint |
102
102
  | **loadIconset**(url,options,callback)-(v3) | | 加载pbf图标 |
103
+ | **loadImagesSprite**(urls) | {key:value} | 生成精灵图添加 |
103
104
 
104
105
  ### Map.Style
105
106
 
package/dist/index.d.ts CHANGED
@@ -939,6 +939,12 @@ declare module 'mapbox-gl' {
939
939
  */
940
940
  lazyLoadAddImages(urls: object): void;
941
941
 
942
+ /**
943
+ * 生成雪碧图加载
944
+ * @param urls
945
+ */
946
+ loadImagesSprite(urls: object): Promise<any>;
947
+
942
948
  /**
943
949
  * 地图框选工具
944
950
  * @param {object} [options]