# Interface: IOpenMapResponse
地图打开返回成功参数
# Table of contents
# Properties
- bounds
- darkMode
- dbBounds
- dbid
- description
- fileid
- filename
- initViewScale
- layer
- layers
- mapBounds
- mapdependencies
- mapfrom
- mapid
- mapopenway
- status
- styles
- subdependencies
- subfrom
- type
- uploadname
- version
- view
# Properties
# bounds
• Optional
bounds: GeoBounds
地图范围(如果通过clipBounds打开,则是clipBounds的范围).
# darkMode
• Optional
darkMode: boolean
暗黑模式(背景色为黑时).
# dbBounds
• Optional
dbBounds: GeoBounds
数据库地图范围
# dbid
• Optional
dbid: string
DbID.
# description
• Optional
description: string
描述.
# fileid
• Optional
fileid: string
文件唯一ID.
# filename
• Optional
filename: string
文件名称.
# initViewScale
• Optional
initViewScale: number
初始视图缩放倍数,bounds * initViewScale = dbBounds
# layer
• Optional
layer: string
图层名称
# layers
• Optional
layers: any
图层列表.
# mapBounds
• Optional
mapBounds: GeoBounds
地图范围(地图的范围,如果没有通过clipBounds打开,则为空).
# mapdependencies
• Optional
mapdependencies: string
地图依赖项.
# mapfrom
• Optional
mapfrom: string
地图来源参数.
# mapid
• Optional
mapid: string
地图ID.
# mapopenway
• Optional
mapopenway: Memory | GeomRender
地图打开方式(缺省: GeomRender) .
# status
• Optional
status: string
状态.
# styles
• Optional
styles: any
图层样式.
# subdependencies
• Optional
subdependencies: string
地图依赖项(这是子项的设置,与mapdependencies不同的是,这个没有转化为基础图形,有可能还有依赖关系).如与mapdependencies一样的话,则为空
# subfrom
• Optional
subfrom: string
地图来源参数(这是子项的设置,与mapfrom不同的是,这个没有转化为基础图形,有可能还有依赖关系).如与mapfrom一样的话,则为空
# type
• Optional
type: string
类型.
# uploadname
• Optional
uploadname: string
上传的文件名.
# version
• Optional
version: string
版本号(缺省: "" ).
# view
• Optional
view: object
初始视图.
# Type declaration
Name | Type | Description |
---|---|---|
bearing? | number | 初始视图方位角. |
center? | [number, number] | 初始视图中心点. |
zoom? | number | 初始视图级别. |