bbl-mapbox-react 0.0.33 → 0.0.35

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/dist/types.d.ts CHANGED
@@ -673,7 +673,7 @@ export interface MapboxRef {
673
673
  * // 绘制矩形
674
674
  * mapboxRef.current?.startDrawing({ mode: 'rectangle' });
675
675
  */
676
- startDrawing: (options: MarkerTemplate | DrawingOptions, clearPickedLocation?: boolean) => void;
676
+ startDrawing: (options: MarkerTemplate | DrawingOptions, clearPickedLocation?: boolean) => Promise<MapEntity>;
677
677
  /**
678
678
  * 获取指定实体的渲染器实例
679
679
  * @param id 实体 ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bbl-mapbox-react",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "description": "React Mapbox 地图组件库,支持雷达、图像、标记、轨迹等多种 GIS 实体渲染",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",