# MapGIS Client for JavaScript API

Cesium MapboxGL Leaflet OpenLayers
API文档

#### # new ArcGISMapImageSubLayer(options)

ArcGIS地图图片子图层

#### 参数:

名称 | 类型 | 默认值 | 描述
--- | --- | --- | ---
`options` | Object |  | 构造参数
`url` | String |  | 服务基地址
`name` | String |  | 图层名称
`spatialReference` | SpatialReference |  | 图层坐标系
`visible` | Boolean | true | 图层可见性
`layer` | IGSMapImageLayer |  | 图层的父图层对象
`id` | String |  | 图层id

查看源代码 common/document/layer/arcgis/ArcGISMapImageSubLayer.js, line 5

### 继承关系

- SubLayer

### 成员变量

类型: String

#### # id

图层id，不给则生成随机id

Overrides:
  - SubLayer#id

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 22

类型: Layer

#### # layer

父图层对象

Overrides:
  - SubLayer#layer

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 27

类型: BaseRenderer

#### # readonly renderer

渲染样式对象

查看源代码 common/document/layer/arcgis/ArcGISMapImageSubLayer.js, line 61

类型: Array

#### # sublayers

包含的子图层对象

Inherited From:
  - SubLayer#sublayers

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 32

类型: String

#### # title

图层名称

Inherited From:
  - SubLayer#title

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 37

类型: Boolean

#### # visible

图层可见性

Overrides:
  - SubLayer#visible

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 42

### 方法

#### # clone()

克隆方法

Inherited From:
  - SubLayer#clone

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 76

返回值:

图层

类型: SubLayer

#### # toJSON()

转换为json对象

Inherited From:
  - SubLayer#toJSON

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 58

返回值:

json对象

类型: Object
构造函数
成员变量
方法
事件