mxcad 1.0.170 → 1.0.171

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/mxcad.d.ts CHANGED
@@ -4134,6 +4134,7 @@ export interface MxCadConfig {
4134
4134
  green: number;
4135
4135
  blue: number;
4136
4136
  };
4137
+ map?: any;
4137
4138
  }
4138
4139
  /** 创建MxCad实例
4139
4140
  * @example
@@ -7894,5 +7895,28 @@ export declare class MdGeAisTexturedShape extends MdGeAisObject {
7894
7895
  TextureModulate(): boolean;
7895
7896
  }
7896
7897
  export declare function loadMxCADassembly3d(config: MxDraw3dConfig, call?: (mxDraw3d: MxDraw3d) => void): Promise<MxDraw3d>;
7898
+ export type Map = any;
7899
+ export declare class MxMap {
7900
+ private imp;
7901
+ private originLngLatLike;
7902
+ private originCAD;
7903
+ private meterInCADUnits;
7904
+ private modelAltitude;
7905
+ private loadOldEditionMethod;
7906
+ private customLayer;
7907
+ private iCreateComplete;
7908
+ private matRender;
7909
+ private map;
7910
+ constructor();
7911
+ setLoadOldEditionMethod(): void;
7912
+ getMapbox(): Map;
7913
+ getCADCustomLayer(): any;
7914
+ getRenderMatrix(): number[];
7915
+ mercatorCoord2CAD(x: number, y: number): THREE.Vector3;
7916
+ cadToMercatorCoord(pt: THREE.Vector3): THREE.Vector3;
7917
+ cadLongToMercatorCoord(len: number): number;
7918
+ setCoordinatePointAlignment(originLngLatLike: number[], originCAD: number[], meterInCADUnits: number): void;
7919
+ create(map: Map, config: MxCadConfig | any): Promise<boolean>;
7920
+ }
7897
7921
 
7898
7922
  export {};