# Interface: IOpenMapParam

地图打开参数

# Hierarchy

# Table of contents

# Properties

# Properties

# accessKey

Optional accessKey: string

访问权限的key,权限小于secretKey,不能对图进行删除等操作.

Inherited from: IOpenMapBaseParam.accessKey


# cbInputPassword

Optional cbInputPassword: (param: { isPasswordError: boolean ; mapid: string ; result: any ; tryPasswordCount: number }) => Promise<string>

要求输入密码回调.

# Type declaration

▸ (param: { isPasswordError: boolean ; mapid: string ; result: any ; tryPasswordCount: number }): Promise<string>

# Parameters
Name Type
param object
param.isPasswordError boolean
param.mapid string
param.result any
param.tryPasswordCount number

Returns: Promise<string>

Inherited from: IOpenMapBaseParam.cbInputPassword


# filedoc

Optional filedoc: string

文件文档.

Inherited from: IOpenMapBaseParam.filedoc


# fileid

Optional fileid: string

文件唯一ID. 地图ID第一次打开时,需传递fileid

Inherited from: IOpenMapBaseParam.fileid


# filename

Optional filename: string

文件名称.

Inherited from: IOpenMapBaseParam.filename


# layer

Optional layer: string

图层名称,组合图层用英文逗号分开


# layoutIndex

Optional layoutIndex: number

布局索引 (从1开始),默认为0,表示是模型空间


# mapdependencies

Optional mapdependencies: string

地图依赖项.

Inherited from: IOpenMapBaseParam.mapdependencies


# mapfrom

Optional mapfrom: string

地图来源参数.

Inherited from: IOpenMapBaseParam.mapfrom


# mapid

mapid: string

地图ID.

Inherited from: IOpenMapBaseParam.mapid


# mapopenway

Optional mapopenway: Memory | GeomRender

地图打开方式(缺省: GeomRender) .

Inherited from: IOpenMapBaseParam.mapopenway


# renderAccuracy

Optional renderAccuracy: number

渲染精度,默认1,有时候图形特别大导致圆或圆弧精度不够时,不够光滑,可以先清空之前的缓存数据,再重新上传时,改变渲染精度来使圆或圆弧光滑些。注:提高精度会导致空间数据文件增大,渲染性能下降

Inherited from: IOpenMapBaseParam.renderAccuracy


# secretKey

Optional secretKey: string

秘钥(第一次上传打开图时有效,表示此图需要密码保护).

Inherited from: IOpenMapBaseParam.secretKey


# style

Optional style: IMapStyleParam

样式.

Inherited from: IOpenMapBaseParam.style


# subdependencies

Optional subdependencies: string

地图依赖项(这是子项的设置,与mapdependencies不同的是,这个没有转化为基础图形,有可能还有依赖关系).如与mapdependencies一样的话,则为空

Inherited from: IOpenMapBaseParam.subdependencies


# subfrom

Optional subfrom: string

地图来源参数(这是子项的设置,与mapfrom不同的是,这个没有转化为基础图形,有可能还有依赖关系).如与mapfrom一样的话,则为空

Inherited from: IOpenMapBaseParam.subfrom


# uploadname

Optional uploadname: string

上传时的文件名.

Inherited from: IOpenMapBaseParam.uploadname


# version

Optional version: string

版本号(缺省: "" ).

vjmap / Exports / IOpenMapResponse