The viewport to which the DrawingTools should be attached.
OptionalcustomDefaultTextures: { [key: string]: IMapData | Promise<IMapData> }An object containing custom default textures. The keys should correspond to the texture names used in the properties, and the values should be either a Promise that resolves to an IMapData or an IMapData object.
OptionalparentNode: ITreeNodeThe DrawingTools instance.
Create a new instance of DrawingTools.
Multiple instances can be active simultaneously. Each returned instance is independent and must be closed individually when no longer needed.