@aibee/crc-bmap 0.0.20 → 0.0.22

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/lib/src/bmap.d.ts CHANGED
@@ -108,5 +108,6 @@ export declare class BMap extends EventDispatcher {
108
108
  getGraphicByNodeId(nodeId: string): Graphic | null;
109
109
  deleteGraphic(graphic: Graphic): void;
110
110
  createGraphicByOptions(options: GraphicOptions): Graphic | undefined;
111
+ removePoiById(id: string): void | undefined;
111
112
  dispose(): void;
112
113
  }
@@ -7,6 +7,7 @@ export interface PoiOptions {
7
7
  level: number;
8
8
  collision_enable: boolean;
9
9
  opacity: number;
10
+ id: string;
10
11
  }
11
12
  type PoiEventMap = {
12
13
  [K in keyof PoiOptions as `change-${K}`]: {
@@ -7,6 +7,7 @@ export declare class PoiLayer extends Layer {
7
7
  createPoi(options: PoiOptionsParam): Poi;
8
8
  changePoiLevelOrCollisionEnable(poi: Poi): void;
9
9
  removePoi(poi: Poi): void;
10
+ removePoiById(id: string): void;
10
11
  /**
11
12
  * 保存poi按照level排序
12
13
  * @param poi
@@ -27,6 +27,7 @@ export interface GraphicOptions {
27
27
  geometry: PolygonGeometry | PointGeometry;
28
28
  layerType: string;
29
29
  zIndex: number;
30
+ transformToBuildingGround?: boolean;
30
31
  }
31
32
  /**
32
33
  * 接口返回的图元信息
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "description": "",
5
5
  "main": "lib/bmap.min.js",
6
6
  "module": "lib/bmap.esm.min.js",