# Class: DownloadDataBaseParmeters

## DownloadDataBaseParmeters()

#### new DownloadDataBaseParmeters()

下载数据库参数

Source:
  - DownloadDataBaseParmeters.js, line 11

### Methods

#### (async, static) createObj() → {Promise.<DownloadDataBaseParmeters>}

构造一个新的 DownloadDataBaseParmeters 对象。

Source:
  - DownloadDataBaseParmeters.js, line 21

##### Returns:

Type
  Promise.<DownloadDataBaseParmeters>

#### (async, static) getLayerOptions() → {Promise.List.<DownloadLayerOption>}

获取下载图层选项

Source:
  - DownloadDataBaseParmeters.js, line 68

##### Returns:

下载图层选项

Type
  Promise.List.<DownloadLayerOption>

#### (async, static) removeLayer(layerID) → {Promise.<void>}

移除图层

##### Parameters:

Name | Type | Description
--- | --- | ---
`layerID` | int | 图层ID

Source:
  - DownloadDataBaseParmeters.js, line 55

##### Returns:

下载数据参数

Type
  Promise.<void>

#### (async, static) setExtent(extent) → {Promise.<void>}

设置范围

##### Parameters:

Name | Type | Description
--- | --- | ---
`extent` | Rect | 范围

Source:
  - DownloadDataBaseParmeters.js, line 38

##### Returns:

下载数据参数

Type
  Promise.<void>