mxcad API 文档 / mxcad
Module: mxcad
mxcad库所有导出的内容 包换2d 3d 模块中的所有导出
Table of contents
References
- ColorIndexType
- ColorMethod
- CreateColorArgs
- DxfCode
- FetchAttributes
- IMcDbDwgFiler
- McAppType
- McCmColor
- McCmColorJSON
- McDb
- McDbAlignedDimension
- McDbArc
- McDbAttribute
- McDbAttributeDefinition
- McDbBlockReference
- McDbBlockTable
- McDbBlockTableRecord
- McDbCircle
- McDbCurve
- McDbCustomEntity
- McDbDatabase
- McDbDictionary
- McDbDimension
- McDbEllipse
- McDbEntity
- McDbHatch
- McDbLayerTable
- McDbLayerTableRecord
- McDbLine
- McDbLinetypeTable
- McDbLinetypeTableRecord
- McDbMText
- McDbObject
- McDbObjectArray
- McDbPoint
- McDbPolyline
- McDbProxyEntity
- McDbRasterImage
- McDbRasterImageDef
- McDbRotatedDimension
- McDbText
- McDbTextStyleTable
- McDbTextStyleTableRecord
- McDbXrecord
- McGeBound
- McGeDoubleArray
- McGeLongArray
- McGeMatrix3d
- McGePoint3d
- McGePoint3dArray
- McGeStringArray
- McGeVector3d
- McObject
- McObjectId
- McObjectIdType
- McRxObject
- MdGe
- MdGeAisContext
- MdGeAisObject
- MdGeAisShape
- MdGeAisTexturedShape
- MdGeAngleDim
- MdGeApplication
- MdGeArray1OfInteger
- MdGeArray1OfPnt
- MdGeArray1OfReal
- MdGeArray2OfPnt
- MdGeArray2OfReal
- MdGeArrowAspect
- MdGeAxis
- MdGeBRep
- MdGeBSplineCurve
- MdGeBSplineSurface
- MdGeBezierCurve
- MdGeBezierSurface
- MdGeBndBox
- MdGeBox
- MdGeCSYS
- MdGeCSYSR
- MdGeChamfer
- MdGeCircle
- MdGeColor
- MdGeCompSolid
- MdGeCompound
- MdGeCone
- MdGeCylinder
- MdGeDiameterDim
- MdGeDimAspect
- MdGeDir
- MdGeDocColorTool
- MdGeDocReader
- MdGeDocShapeTool
- MdGeDocWriter
- MdGeDocument
- MdGeEdge
- MdGeEllipse
- MdGeExplorer
- MdGeFace
- MdGeFillet
- MdGeHGeomPlane
- MdGeHGeomSurface
- MdGeHypr
- MdGeInterpolateBSpl
- MdGeLabel
- MdGeLabelSequence
- MdGeLabelTree
- MdGeLengthDim
- MdGeLight
- MdGeLine
- MdGeLineAspect
- MdGeListIteratorOfListOfShape
- MdGeListOfShape
- MdGeLocation
- MdGeLoft
- MdGeMakeArcOfCircle
- MdGeMakeFace
- MdGeMakeThickSolid
- MdGeMakeWires
- MdGeMat
- MdGeMaterialAspect
- MdGeParab
- MdGePipe
- MdGePlane
- MdGePoint
- MdGePointsToBSpl
- MdGePointsToBSplSurface
- MdGePrism
- MdGeRadiusDim
- MdGeRect
- MdGeRevol
- MdGeSequenceIteratorOfSequenceOfShape
- MdGeSequenceOfShape
- MdGeShape
- MdGeShell
- MdGeSolid
- MdGeSphere
- MdGeSpliter
- MdGeText
- MdGeTextAspect
- MdGeTextLabel
- MdGeTopo
- MdGeTorus
- MdGeTransform
- MdGeTrsf
- MdGeVec
- MdGeVertex
- MdGeWedge
- MdGeWire
- MdGeXYZ
- Mx3dApplication
- Mx3dBaseObject
- Mx3dDbDocument
- Mx3dDbLabel
- Mx3dDbObject
- Mx3dGeBndBox
- Mx3dGeColor
- Mx3dGeLocation
- Mx3dGeObject
- Mx3dGePoint
- Mx3dLabelSequence
- Mx3dLabelSequenceIterator
- Mx3dShapeDownCast
- Mx3dShapeObject
- MxApp3D
- MxApp3DType
- MxCAD3DConfig
- MxCAD3DObject
- MxCADCloneType
- MxCADPluginBase
- MxCADPluginMapDefaultData
- MxCADResbuf
- MxCADSelectionSet
- MxCADSelectionSetStatus
- MxCADUI
- MxCADUiPrAngle
- MxCADUiPrBase
- MxCADUiPrDist
- MxCADUiPrEntity
- MxCADUiPrInt
- MxCADUiPrKeyWord
- MxCADUiPrPoint
- MxCADUiPrString
- MxCADUtility
- MxCADUtilityClass
- MxCADWorldDraw
- MxCadConfig
- MxCheckTheBrowser
- MxCoordConvert
- MxCpp
- MxCppType
- MxDraw3d
- MxDraw3dConfig
- MxNewMdGeArray1OfInteger
- MxNewMx3dAlgoFillet
- MxNewMx3dAlgoObject
- MxNewMx3dApplication
- MxNewMx3dBaseObject
- MxNewMx3dDbDocument
- MxNewMx3dDbLabel
- MxNewMx3dDbObject
- MxNewMx3dDimObject
- MxNewMx3dGeAxis
- MxNewMx3dGeBndBox
- MxNewMx3dGeBox
- MxNewMx3dGeCSYS
- MxNewMx3dGeCSYSR
- MxNewMx3dGeCircle
- MxNewMx3dGeColor
- MxNewMx3dGeConic
- MxNewMx3dGeCurve
- MxNewMx3dGeCylinder
- MxNewMx3dGeDir
- MxNewMx3dGeEllipse
- MxNewMx3dGeHyperbola
- MxNewMx3dGeLine
- MxNewMx3dGeLocation
- MxNewMx3dGeObject
- MxNewMx3dGePlane
- MxNewMx3dGePoint
- MxNewMx3dGeTrsf
- MxNewMx3dGeVec
- MxNewMx3dLabelSequence
- MxNewMx3dPGeCircle
- MxNewMx3dPGeConic
- MxNewMx3dPGeCurve
- MxNewMx3dPGeEllipse
- MxNewMx3dPGeHyperbola
- MxNewMx3dPGeLine
- MxNewMx3dPGeObject
- MxNewMx3dPGeParabola
- MxNewMx3dShapeCompSolid
- MxNewMx3dShapeCompound
- MxNewMx3dShapeEdge
- MxNewMx3dShapeFace
- MxNewMx3dShapeObject
- MxNewMx3dShapeObjectSequence
- MxNewMx3dShapeShell
- MxNewMx3dShapeSolid
- MxNewMx3dShapeVertex
- MxNewMx3dShapeWire
- MxNewMx3dSymbolObject
- MxNewMx3dSymbolText
- MxNewMx3dView
- MxPropertiesWindowCustom
- MxPropertiesWindowCustomValue
- MxPropertiesWindowCustomValueType
- Mx_Erase
- THREEColorArgs
- WasmConfig
- createMcCmColor
- createMxCad
- drawArc
- drawCircle
- drawEllipticalArc
- drawLine
- drawMText
- drawPolyLine
- drawPolygon
- drawRectang
- drawText
- getColorUtils
- getFilterImp
- loadMxCADassembly
- loadMxCADassembly3d
- setMcCmColor
Classes
Variables
Functions
- IsZero
- MxMapAddGoogleCnLayer
- MxMapAddRasterTileLayer
- _ML_String
- b64Decode
- b64Encode
- downloadFile
- downloadFileFromUrl
- getFileFromUrl
- getJsonFromUrl
- mx_gcj02_To_gps84
- mx_gps84_To_gcj02
- postEmscriptenIndexedDBFile
- postMemoryFile
- saveAsFileDialog
References
ColorIndexType
Re-exports ColorIndexType
ColorMethod
Re-exports ColorMethod
CreateColorArgs
Re-exports CreateColorArgs
DxfCode
Re-exports DxfCode
FetchAttributes
Re-exports FetchAttributes
IMcDbDwgFiler
Re-exports IMcDbDwgFiler
McAppType
Re-exports McAppType
McCmColor
Re-exports McCmColor
McCmColorJSON
Re-exports McCmColorJSON
McDb
Re-exports McDb
McDbAlignedDimension
Re-exports McDbAlignedDimension
McDbArc
Re-exports McDbArc
McDbAttribute
Re-exports McDbAttribute
McDbAttributeDefinition
Re-exports McDbAttributeDefinition
McDbBlockReference
Re-exports McDbBlockReference
McDbBlockTable
Re-exports McDbBlockTable
McDbBlockTableRecord
Re-exports McDbBlockTableRecord
McDbCircle
Re-exports McDbCircle
McDbCurve
Re-exports McDbCurve
McDbCustomEntity
Re-exports McDbCustomEntity
McDbDatabase
Re-exports McDbDatabase
McDbDictionary
Re-exports McDbDictionary
McDbDimension
Re-exports McDbDimension
McDbEllipse
Re-exports McDbEllipse
McDbEntity
Re-exports McDbEntity
McDbHatch
Re-exports McDbHatch
McDbLayerTable
Re-exports McDbLayerTable
McDbLayerTableRecord
Re-exports McDbLayerTableRecord
McDbLine
Re-exports McDbLine
McDbLinetypeTable
Re-exports McDbLinetypeTable
McDbLinetypeTableRecord
Re-exports McDbLinetypeTableRecord
McDbMText
Re-exports McDbMText
McDbObject
Re-exports McDbObject
McDbObjectArray
Re-exports McDbObjectArray
McDbPoint
Re-exports McDbPoint
McDbPolyline
Re-exports McDbPolyline
McDbProxyEntity
Re-exports McDbProxyEntity
McDbRasterImage
Re-exports McDbRasterImage
McDbRasterImageDef
Re-exports McDbRasterImageDef
McDbRotatedDimension
Re-exports McDbRotatedDimension
McDbText
Re-exports McDbText
McDbTextStyleTable
Re-exports McDbTextStyleTable
McDbTextStyleTableRecord
Re-exports McDbTextStyleTableRecord
McDbXrecord
Re-exports McDbXrecord
McGeBound
Re-exports McGeBound
McGeDoubleArray
Re-exports McGeDoubleArray
McGeLongArray
Re-exports McGeLongArray
McGeMatrix3d
Re-exports McGeMatrix3d
McGePoint3d
Re-exports McGePoint3d
McGePoint3dArray
Re-exports McGePoint3dArray
McGeStringArray
Re-exports McGeStringArray
McGeVector3d
Re-exports McGeVector3d
McObject
Re-exports McObject
McObjectId
Re-exports McObjectId
McObjectIdType
Re-exports McObjectIdType
McRxObject
Re-exports McRxObject
MdGe
Re-exports MdGe
MdGeAisContext
Re-exports MdGeAisContext
MdGeAisObject
Re-exports MdGeAisObject
MdGeAisShape
Re-exports MdGeAisShape
MdGeAisTexturedShape
Re-exports MdGeAisTexturedShape
MdGeAngleDim
Re-exports MdGeAngleDim
MdGeApplication
Re-exports MdGeApplication
MdGeArray1OfInteger
Re-exports MdGeArray1OfInteger
MdGeArray1OfPnt
Re-exports MdGeArray1OfPnt
MdGeArray1OfReal
Re-exports MdGeArray1OfReal
MdGeArray2OfPnt
Re-exports MdGeArray2OfPnt
MdGeArray2OfReal
Re-exports MdGeArray2OfReal
MdGeArrowAspect
Re-exports MdGeArrowAspect
MdGeAxis
Re-exports MdGeAxis
MdGeBRep
Re-exports MdGeBRep
MdGeBSplineCurve
Re-exports MdGeBSplineCurve
MdGeBSplineSurface
Re-exports MdGeBSplineSurface
MdGeBezierCurve
Re-exports MdGeBezierCurve
MdGeBezierSurface
Re-exports MdGeBezierSurface
MdGeBndBox
Re-exports MdGeBndBox
MdGeBox
Re-exports MdGeBox
MdGeCSYS
Re-exports MdGeCSYS
MdGeCSYSR
Re-exports MdGeCSYSR
MdGeChamfer
Re-exports MdGeChamfer
MdGeCircle
Re-exports MdGeCircle
MdGeColor
Re-exports MdGeColor
MdGeCompSolid
Re-exports MdGeCompSolid
MdGeCompound
Re-exports MdGeCompound
MdGeCone
Re-exports MdGeCone
MdGeCylinder
Re-exports MdGeCylinder
MdGeDiameterDim
Re-exports MdGeDiameterDim
MdGeDimAspect
Re-exports MdGeDimAspect
MdGeDir
Re-exports MdGeDir
MdGeDocColorTool
Re-exports MdGeDocColorTool
MdGeDocReader
Re-exports MdGeDocReader
MdGeDocShapeTool
Re-exports MdGeDocShapeTool
MdGeDocWriter
Re-exports MdGeDocWriter
MdGeDocument
Re-exports MdGeDocument
MdGeEdge
Re-exports MdGeEdge
MdGeEllipse
Re-exports MdGeEllipse
MdGeExplorer
Re-exports MdGeExplorer
MdGeFace
Re-exports MdGeFace
MdGeFillet
Re-exports MdGeFillet
MdGeHGeomPlane
Re-exports MdGeHGeomPlane
MdGeHGeomSurface
Re-exports MdGeHGeomSurface
MdGeHypr
Re-exports MdGeHypr
MdGeInterpolateBSpl
Re-exports MdGeInterpolateBSpl
MdGeLabel
Re-exports MdGeLabel
MdGeLabelSequence
Re-exports MdGeLabelSequence
MdGeLabelTree
Re-exports MdGeLabelTree
MdGeLengthDim
Re-exports MdGeLengthDim
MdGeLight
Re-exports MdGeLight
MdGeLine
Re-exports MdGeLine
MdGeLineAspect
Re-exports MdGeLineAspect
MdGeListIteratorOfListOfShape
Re-exports MdGeListIteratorOfListOfShape
MdGeListOfShape
Re-exports MdGeListOfShape
MdGeLocation
Re-exports MdGeLocation
MdGeLoft
Re-exports MdGeLoft
MdGeMakeArcOfCircle
Re-exports MdGeMakeArcOfCircle
MdGeMakeFace
Re-exports MdGeMakeFace
MdGeMakeThickSolid
Re-exports MdGeMakeThickSolid
MdGeMakeWires
Re-exports MdGeMakeWires
MdGeMat
Re-exports MdGeMat
MdGeMaterialAspect
Re-exports MdGeMaterialAspect
MdGeParab
Re-exports MdGeParab
MdGePipe
Re-exports MdGePipe
MdGePlane
Re-exports MdGePlane
MdGePoint
Re-exports MdGePoint
MdGePointsToBSpl
Re-exports MdGePointsToBSpl
MdGePointsToBSplSurface
Re-exports MdGePointsToBSplSurface
MdGePrism
Re-exports MdGePrism
MdGeRadiusDim
Re-exports MdGeRadiusDim
MdGeRect
Re-exports MdGeRect
MdGeRevol
Re-exports MdGeRevol
MdGeSequenceIteratorOfSequenceOfShape
Re-exports MdGeSequenceIteratorOfSequenceOfShape
MdGeSequenceOfShape
Re-exports MdGeSequenceOfShape
MdGeShape
Re-exports MdGeShape
MdGeShell
Re-exports MdGeShell
MdGeSolid
Re-exports MdGeSolid
MdGeSphere
Re-exports MdGeSphere
MdGeSpliter
Re-exports MdGeSpliter
MdGeText
Re-exports MdGeText
MdGeTextAspect
Re-exports MdGeTextAspect
MdGeTextLabel
Re-exports MdGeTextLabel
MdGeTopo
Re-exports MdGeTopo
MdGeTorus
Re-exports MdGeTorus
MdGeTransform
Re-exports MdGeTransform
MdGeTrsf
Re-exports MdGeTrsf
MdGeVec
Re-exports MdGeVec
MdGeVertex
Re-exports MdGeVertex
MdGeWedge
Re-exports MdGeWedge
MdGeWire
Re-exports MdGeWire
MdGeXYZ
Re-exports MdGeXYZ
Mx3dApplication
Re-exports Mx3dApplication
Mx3dBaseObject
Re-exports Mx3dBaseObject
Mx3dDbDocument
Re-exports Mx3dDbDocument
Mx3dDbLabel
Re-exports Mx3dDbLabel
Mx3dDbObject
Re-exports Mx3dDbObject
Mx3dGeBndBox
Re-exports Mx3dGeBndBox
Mx3dGeColor
Re-exports Mx3dGeColor
Mx3dGeLocation
Re-exports Mx3dGeLocation
Mx3dGeObject
Re-exports Mx3dGeObject
Mx3dGePoint
Re-exports Mx3dGePoint
Mx3dLabelSequence
Re-exports Mx3dLabelSequence
Mx3dLabelSequenceIterator
Re-exports Mx3dLabelSequenceIterator
Mx3dShapeDownCast
Re-exports Mx3dShapeDownCast
Mx3dShapeObject
Re-exports Mx3dShapeObject
MxApp3D
Re-exports MxApp3D
MxApp3DType
Re-exports MxApp3DType
MxCAD3DConfig
Re-exports MxCAD3DConfig
MxCAD3DObject
Re-exports MxCAD3DObject
MxCADCloneType
Re-exports MxCADCloneType
MxCADPluginBase
Re-exports MxCADPluginBase
MxCADPluginMapDefaultData
Re-exports MxCADPluginMapDefaultData
MxCADResbuf
Re-exports MxCADResbuf
MxCADSelectionSet
Re-exports MxCADSelectionSet
MxCADSelectionSetStatus
Re-exports MxCADSelectionSetStatus
MxCADUI
Re-exports MxCADUI
MxCADUiPrAngle
Re-exports MxCADUiPrAngle
MxCADUiPrBase
Re-exports MxCADUiPrBase
MxCADUiPrDist
Re-exports MxCADUiPrDist
MxCADUiPrEntity
Re-exports MxCADUiPrEntity
MxCADUiPrInt
Re-exports MxCADUiPrInt
MxCADUiPrKeyWord
Re-exports MxCADUiPrKeyWord
MxCADUiPrPoint
Re-exports MxCADUiPrPoint
MxCADUiPrString
Re-exports MxCADUiPrString
MxCADUtility
Re-exports MxCADUtility
MxCADUtilityClass
Re-exports MxCADUtilityClass
MxCADWorldDraw
Re-exports MxCADWorldDraw
MxCadConfig
Re-exports MxCadConfig
MxCheckTheBrowser
Re-exports MxCheckTheBrowser
MxCoordConvert
Re-exports MxCoordConvert
MxCpp
Re-exports MxCpp
MxCppType
Re-exports MxCppType
MxDraw3d
Re-exports MxDraw3d
MxDraw3dConfig
Re-exports MxDraw3dConfig
MxNewMdGeArray1OfInteger
Re-exports MxNewMdGeArray1OfInteger
MxNewMx3dAlgoFillet
Re-exports MxNewMx3dAlgoFillet
MxNewMx3dAlgoObject
Re-exports MxNewMx3dAlgoObject
MxNewMx3dApplication
Re-exports MxNewMx3dApplication
MxNewMx3dBaseObject
Re-exports MxNewMx3dBaseObject
MxNewMx3dDbDocument
Re-exports MxNewMx3dDbDocument
MxNewMx3dDbLabel
Re-exports MxNewMx3dDbLabel
MxNewMx3dDbObject
Re-exports MxNewMx3dDbObject
MxNewMx3dDimObject
Re-exports MxNewMx3dDimObject
MxNewMx3dGeAxis
Re-exports MxNewMx3dGeAxis
MxNewMx3dGeBndBox
Re-exports MxNewMx3dGeBndBox
MxNewMx3dGeBox
Re-exports MxNewMx3dGeBox
MxNewMx3dGeCSYS
Re-exports MxNewMx3dGeCSYS
MxNewMx3dGeCSYSR
Re-exports MxNewMx3dGeCSYSR
MxNewMx3dGeCircle
Re-exports MxNewMx3dGeCircle
MxNewMx3dGeColor
Re-exports MxNewMx3dGeColor
MxNewMx3dGeConic
Re-exports MxNewMx3dGeConic
MxNewMx3dGeCurve
Re-exports MxNewMx3dGeCurve
MxNewMx3dGeCylinder
Re-exports MxNewMx3dGeCylinder
MxNewMx3dGeDir
Re-exports MxNewMx3dGeDir
MxNewMx3dGeEllipse
Re-exports MxNewMx3dGeEllipse
MxNewMx3dGeHyperbola
Re-exports MxNewMx3dGeHyperbola
MxNewMx3dGeLine
Re-exports MxNewMx3dGeLine
MxNewMx3dGeLocation
Re-exports MxNewMx3dGeLocation
MxNewMx3dGeObject
Re-exports MxNewMx3dGeObject
MxNewMx3dGePlane
Re-exports MxNewMx3dGePlane
MxNewMx3dGePoint
Re-exports MxNewMx3dGePoint
MxNewMx3dGeTrsf
Re-exports MxNewMx3dGeTrsf
MxNewMx3dGeVec
Re-exports MxNewMx3dGeVec
MxNewMx3dLabelSequence
Re-exports MxNewMx3dLabelSequence
MxNewMx3dPGeCircle
Re-exports MxNewMx3dPGeCircle
MxNewMx3dPGeConic
Re-exports MxNewMx3dPGeConic
MxNewMx3dPGeCurve
Re-exports MxNewMx3dPGeCurve
MxNewMx3dPGeEllipse
Re-exports MxNewMx3dPGeEllipse
MxNewMx3dPGeHyperbola
Re-exports MxNewMx3dPGeHyperbola
MxNewMx3dPGeLine
Re-exports MxNewMx3dPGeLine
MxNewMx3dPGeObject
Re-exports MxNewMx3dPGeObject
MxNewMx3dPGeParabola
Re-exports MxNewMx3dPGeParabola
MxNewMx3dShapeCompSolid
Re-exports MxNewMx3dShapeCompSolid
MxNewMx3dShapeCompound
Re-exports MxNewMx3dShapeCompound
MxNewMx3dShapeEdge
Re-exports MxNewMx3dShapeEdge
MxNewMx3dShapeFace
Re-exports MxNewMx3dShapeFace
MxNewMx3dShapeObject
Re-exports MxNewMx3dShapeObject
MxNewMx3dShapeObjectSequence
Re-exports MxNewMx3dShapeObjectSequence
MxNewMx3dShapeShell
Re-exports MxNewMx3dShapeShell
MxNewMx3dShapeSolid
Re-exports MxNewMx3dShapeSolid
MxNewMx3dShapeVertex
Re-exports MxNewMx3dShapeVertex
MxNewMx3dShapeWire
Re-exports MxNewMx3dShapeWire
MxNewMx3dSymbolObject
Re-exports MxNewMx3dSymbolObject
MxNewMx3dSymbolText
Re-exports MxNewMx3dSymbolText
MxNewMx3dView
Re-exports MxNewMx3dView
MxPropertiesWindowCustom
Re-exports MxPropertiesWindowCustom
MxPropertiesWindowCustomValue
Re-exports MxPropertiesWindowCustomValue
MxPropertiesWindowCustomValueType
Re-exports MxPropertiesWindowCustomValueType
Mx_Erase
Re-exports Mx_Erase
THREEColorArgs
Re-exports THREEColorArgs
WasmConfig
Re-exports WasmConfig
createMcCmColor
Re-exports createMcCmColor
createMxCad
Re-exports createMxCad
drawArc
Re-exports drawArc
drawCircle
Re-exports drawCircle
drawEllipticalArc
Re-exports drawEllipticalArc
drawLine
Re-exports drawLine
drawMText
Re-exports drawMText
drawPolyLine
Re-exports drawPolyLine
drawPolygon
Re-exports drawPolygon
drawRectang
Re-exports drawRectang
drawText
Re-exports drawText
getColorUtils
Re-exports getColorUtils
getFilterImp
Re-exports getFilterImp
loadMxCADassembly
Re-exports loadMxCADassembly
loadMxCADassembly3d
Re-exports loadMxCADassembly3d
setMcCmColor
Re-exports setMcCmColor
Variables
MxTools
• Const
MxTools: Object
Type declaration
Name | Type |
---|---|
IsZero | (val : number ) => boolean |
_ML_String | (strId : string , str : string ) => string |
b64Decode | (str : string ) => string |
b64Encode | (str : string ) => string |
downloadFile | (blob : any , filename : string ) => void |
downloadFileFromUrl | (url : string , filename : string ) => void |
getFileFromUrl | (url : string ) => Promise <undefined | Response > |
getJsonFromUrl | (url : string ) => Promise <any > |
postEmscriptenIndexedDBFile | (filekey : string , url : string , retCall : (code : number , message : string ) => void , param? : any ) => void |
postMemoryFile | (memoryData : any , url : string , filename : string , retCall : (code : number , message : string ) => void , param? : any ) => void |
saveAsFileDialog | (__namedParameters : { blob : Blob ; filename? : string ; types? : FileTypes }) => Promise <undefined | FileSystemFileHandle & { createWritable : () => Promise <WritableStreamDefaultWriter <any >> }> |
Functions
IsZero
▸ IsZero(val
): boolean
Parameters
Name | Type |
---|---|
val | number |
Returns
boolean
MxMapAddGoogleCnLayer
▸ MxMapAddGoogleCnLayer(map
, types
, urls?
): void
Parameters
Name | Type |
---|---|
map | any |
types | string [] |
urls? | string [] |
Returns
void
MxMapAddRasterTileLayer
▸ MxMapAddRasterTileLayer(map
, layerList
, key?
, providers?
): void
Parameters
Name | Type |
---|---|
map | any |
layerList | any [] |
key? | string |
providers? | any |
Returns
void
_ML_String
▸ _ML_String(strId
, str
): string
接收输入的提示字符串
Parameters
Name | Type | Description |
---|---|---|
strId | string | 字符串的ID 起一个符合定义的ID名称 |
str | string | 提示字符串 |
Returns
string
b64Decode
▸ b64Decode(str
): string
Parameters
Name | Type |
---|---|
str | string |
Returns
string
b64Encode
▸ b64Encode(str
): string
Parameters
Name | Type |
---|---|
str | string |
Returns
string
downloadFile
▸ downloadFile(blob
, filename
): void
Parameters
Name | Type |
---|---|
blob | any |
filename | string |
Returns
void
downloadFileFromUrl
▸ downloadFileFromUrl(url
, filename
): void
Parameters
Name | Type |
---|---|
url | string |
filename | string |
Returns
void
getFileFromUrl
▸ getFileFromUrl(url
): Promise
<undefined
| Response
>
Parameters
Name | Type |
---|---|
url | string |
Returns
getJsonFromUrl
▸ getJsonFromUrl(url
): Promise
<any
>
Parameters
Name | Type |
---|---|
url | string |
Returns
Promise
<any
>
mx_gcj02_To_gps84
▸ mx_gcj02_To_gps84(lng
, lat
): Object
火星转84
Parameters
Name | Type |
---|---|
lng | any |
lat | any |
Returns
Object
Name | Type |
---|---|
lat | number |
lng | number |
mx_gps84_To_gcj02
▸ mx_gps84_To_gcj02(lng
, lat
): Object
84转火星
Parameters
Name | Type |
---|---|
lng | any |
lat | any |
Returns
Object
Name | Type |
---|---|
lat | any |
lng | any |
postEmscriptenIndexedDBFile
▸ postEmscriptenIndexedDBFile(filekey
, url
, retCall
, param?
): void
Parameters
Name | Type |
---|---|
filekey | string |
url | string |
retCall | (code : number , message : string ) => void |
param? | any |
Returns
void
postMemoryFile
▸ postMemoryFile(memoryData
, url
, filename
, retCall
, param?
): void
Parameters
Name | Type |
---|---|
memoryData | any |
url | string |
filename | string |
retCall | (code : number , message : string ) => void |
param? | any |
Returns
void
saveAsFileDialog
▸ saveAsFileDialog(«destructured»
): Promise
<undefined
| FileSystemFileHandle
& { createWritable
: () => Promise
<WritableStreamDefaultWriter
<any
>> }>
文件下载保存(另存为只支持 Chrome86 或 Edge 86 以及 Opera 72)兼容 iE10等较低版本的浏览器
Parameters
Name | Type |
---|---|
«destructured» | Object |
› blob | Blob |
› filename? | string |
› types? | FileTypes |
Returns
Promise
<undefined
| FileSystemFileHandle
& { createWritable
: () => Promise
<WritableStreamDefaultWriter
<any
>> }>