Skip to content
On this page

mxcad API 文档 / MxCADPluginMapDefaultData

Class: MxCADPluginMapDefaultData

初始化、管理或查询地图相关联的默认数据

Table of contents

Constructors

Properties

Constructors

constructor

new MxCADPluginMapDefaultData()

Properties

cadOrigin

cadOrigin: number[] = []

CAD图纸与地图的对齐点


mapOrigin

mapOrigin: number[] = []

地图与CAD图纸的对齐位置


mapbox_accessToken

mapbox_accessToken: string = ""

mapbox地图token


meterInCADUnits

meterInCADUnits: number = 1.0


openFile

Optional openFile: string

需要打开的cad图纸


providers

Optional providers: any


rasterTileKey

Optional rasterTileKey: string

矢量瓦片关键词


rasterTileLayerList

rasterTileLayerList: any[] = []

栅格瓦片图层列表


viewColor

Optional viewColor: Object

背景颜色

Type declaration

NameType
bluenumber
greennumber
rednumber