# Global

##

### Methods

#### (async) initialize(strRootPath, context)

环境初始化，必须在使用SDK各组件之前调用，会自动建立根目录结构

##### Parameters:

Name | Type | Description
--- | --- | ---
`strRootPath` | String | 根路径： /MapGIS/
`context` |  | 上下文

Source:
  - Environment.js, line 32

#### (async) setSystemLibraryPath(strPath) → {Promise.<void>}

设置系统库路径

##### Parameters:

Name | Type | Description
--- | --- | ---
`strPath` |  |

Source:
  - Environment.js, line 46

##### Returns:

Type
  Promise.<void>