new CollectionFlattener(options)
base/CollectionFlattener.js, line 38
构造Collection扁平化容器
| Name | Type | Default | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
options |
Object | {} |
可选
构造参数
|
Example
创建集合扁平化容器
// ES5引入方式
const { CollectionFlattener } = zondy
// ES6引入方式
import { CollectionFlattener } from '@mapgis/webclient-common'
const flattener = new CollectionFlattener()