@aibee/crc-bmap 0.14.6 → 0.14.8

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/meta.json CHANGED
@@ -386,7 +386,7 @@
386
386
  "format": "esm"
387
387
  },
388
388
  "../lib/src/utils/road2.js": {
389
- "bytes": 53843,
389
+ "bytes": 55142,
390
390
  "imports": [
391
391
  {
392
392
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -2160,7 +2160,7 @@
2160
2160
  "format": "esm"
2161
2161
  },
2162
2162
  "../src/utils/road2.ts": {
2163
- "bytes": 52389,
2163
+ "bytes": 53302,
2164
2164
  "imports": [
2165
2165
  {
2166
2166
  "path": "../../../node_modules/.pnpm/node-dijkstra@2.5.0/node_modules/node-dijkstra/libs/Graph.js",
@@ -9347,7 +9347,7 @@
9347
9347
  "bytesInOutput": 5426
9348
9348
  },
9349
9349
  "../lib/src/utils/road2.js": {
9350
- "bytesInOutput": 16550
9350
+ "bytesInOutput": 16991
9351
9351
  },
9352
9352
  "../lib/src/factory/unique-key.js": {
9353
9353
  "bytesInOutput": 733
@@ -9749,7 +9749,7 @@
9749
9749
  "bytesInOutput": 575
9750
9750
  }
9751
9751
  },
9752
- "bytes": 404070
9752
+ "bytes": 404511
9753
9753
  }
9754
9754
  }
9755
9755
  }
@@ -49,7 +49,7 @@ export interface AibeeLoaderOptions {
49
49
  mergeGraphic: boolean;
50
50
  renderVersion: RENDER_VERSION;
51
51
  layers: Exclude<AibeeLayerData["l_type"], "range" | "ground">[];
52
- filterPoi: (layer: AibeeLayerData['elements'][0]) => boolean;
52
+ filterPoi: (element: AibeeLayerData['elements'][0]) => boolean;
53
53
  }
54
54
  export type Locale = "zh-cn" | "en" | "zh-hk";
55
55
  export interface PlaceConfig {
@@ -10,7 +10,7 @@ export interface RoadData2 {
10
10
  opacity: number;
11
11
  visible: boolean;
12
12
  userData: Record<string, string>;
13
- direction: "double" | "single" | "noDir" | "back";
13
+ direction: "double" | "single" | "noDir" | "back" | "single-people" | "back-people";
14
14
  }>;
15
15
  points: Array<{
16
16
  id: string;
@@ -257,8 +257,9 @@ export declare class RoadNetwork2 {
257
257
  toKey: string;
258
258
  distance: number;
259
259
  type: Exclude<Facility["entry_infra_type"], "facility"> | "";
260
+ direction?: RoadData2['lines'][0]['direction'];
260
261
  }>;
261
- setPermissionLine(fromKey: string, toKey: string, permission: number, distance: number, type: Exclude<Facility["entry_infra_type"], "facility"> | ""): void;
262
+ setPermissionLine(fromKey: string, toKey: string, permission: number, distance: number, type: Exclude<Facility["entry_infra_type"], "facility"> | "", direction?: RoadData2['lines'][0]['direction']): void;
262
263
  addPermissionFacility(): void;
263
264
  addPermissionLineToMap(permission: number, types: (Exclude<Facility["entry_infra_type"], "facility"> | "")[], lineMap: Map<string, Map<string, number>>, weightMap: Map<(typeof types)[0], number>): void;
264
265
  addLineItem(start: string, end: string, distance: number, lineMap?: Map<string, Map<string, number>>): void;