@teeechina/teee-map 0.0.25 → 0.0.27

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/index.d.ts CHANGED
@@ -344,7 +344,7 @@ export declare class InterLockVisualization {
344
344
  setSendSignalCallback(callback: (dataList: string[]) => void): void;
345
345
 
346
346
  /** 设置站场信号状态列表 */
347
- setStationSignalState(stationSignalState: string[]): void;
347
+ setStationSignalState(stationSignalState: string[], filterCodes?: string[]): void;
348
348
 
349
349
  /** 将 interLockState 缓存中的状态按协议格式组装后触发回调 */
350
350
  sendSignal(): void;
@@ -433,6 +433,23 @@ export declare class TeeeMap {
433
433
  };
434
434
  }[],
435
435
  ): Promise<void>;
436
+ /** 创建 GeoJSON 站场地理图(加载高德影像底图 + 不转换3857坐标系) */
437
+ createGeoJsonGeomStationMap(
438
+ stationDatas: GeojsonStationDatas[],
439
+ showImage?: boolean,
440
+ ): Promise<void>;
441
+ /** 创建geojson数据来源的站场区间平面地理图(加载高德影像底图 + 不转换3857坐标系) */
442
+ createMixGeoJsonGeomMap(
443
+ mapDatas: {
444
+ code: string;
445
+ type: 'region' | 'station';
446
+ geojsonData: {
447
+ name: string;
448
+ data: GeoJSON.FeatureCollection | string;
449
+ }[];
450
+ }[],
451
+ showImage?: boolean,
452
+ ): Promise<void>;
436
453
  createGeoJsonRegionMap(
437
454
  regionCode: string,
438
455
  regionDatas: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teeechina/teee-map",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "",
5
5
  "main": "dist/teee-map.umd.js",
6
6
  "module": "dist/teee-map.mjs",