mirror of https://gitee.com/antv-l7/antv-l7
style: lint style
This commit is contained in:
parent
711ea0a34d
commit
deb5398e86
|
@ -21,8 +21,6 @@ export default class RaterLayer extends BaseLayer<IRasterLayerStyleOptions> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public getModelType(): RasterModelType {
|
public getModelType(): RasterModelType {
|
||||||
|
|
||||||
|
|
||||||
// 根据 source 的类型判断 model type
|
// 根据 source 的类型判断 model type
|
||||||
const parserType = this.layerSource.getParserType();
|
const parserType = this.layerSource.getParserType();
|
||||||
switch (parserType) {
|
switch (parserType) {
|
||||||
|
|
|
@ -50,7 +50,7 @@ const source = new Source(data, {
|
||||||
`geojsonOptions` 支持如下参数:
|
`geojsonOptions` 支持如下参数:
|
||||||
|
|
||||||
| 参数 | 类型 | 默认值 | 描述 |
|
| 参数 | 类型 | 默认值 | 描述 |
|
||||||
| -------------- | ----------- | -------- |-------------------------- |
|
| -------------- | ----------- | -------- | -------------------------------------------------------------- | ------------------------------------------------------- |
|
||||||
| maxZoom | `number` | `14` | max zoom to preserve detail on |
|
| maxZoom | `number` | `14` | max zoom to preserve detail on |
|
||||||
| indexMaxZoom | `number` | `5` | max zoom in the tile index |
|
| indexMaxZoom | `number` | `5` | max zoom in the tile index |
|
||||||
| indexMaxPoints | `number` | `100000` | max number of points per tile in the tile index |
|
| indexMaxPoints | `number` | `100000` | max number of points per tile in the tile index |
|
||||||
|
|
Loading…
Reference in New Issue