style: lint style

This commit is contained in:
shihui 2022-11-27 09:31:10 +08:00
parent 711ea0a34d
commit deb5398e86
4 changed files with 3 additions and 5 deletions

View File

@ -21,8 +21,6 @@ export default class RaterLayer extends BaseLayer<IRasterLayerStyleOptions> {
}
public getModelType(): RasterModelType {
// 根据 source 的类型判断 model type
const parserType = this.layerSource.getParserType();
switch (parserType) {

View File

@ -50,7 +50,7 @@ const source = new Source(data, {
`geojsonOptions` 支持如下参数:
| 参数 | 类型 | 默认值 | 描述 |
| -------------- | ----------- | -------- |-------------------------- |
| -------------- | ----------- | -------- | -------------------------------------------------------------- | ------------------------------------------------------- |
| maxZoom | `number` | `14` | max zoom to preserve detail on |
| indexMaxZoom | `number` | `5` | max zoom in the tile index |
| indexMaxPoints | `number` | `100000` | max number of points per tile in the tile index |