bbl-mapbox-react 0.0.34 → 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/index.cjs +3 -3
- package/dist/index.mjs +374 -370
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
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) =>
|
|
676
|
+
startDrawing: (options: MarkerTemplate | DrawingOptions, clearPickedLocation?: boolean) => Promise<MapEntity>;
|
|
677
677
|
/**
|
|
678
678
|
* 获取指定实体的渲染器实例
|
|
679
679
|
* @param id 实体 ID
|