diff --git a/docs/api/layer/layer.en.md b/docs/api/layer/layer.en.md index 361b8dab10..17f374e6b1 100644 --- a/docs/api/layer/layer.en.md +++ b/docs/api/layer/layer.en.md @@ -366,6 +366,16 @@ layer.setMinZoom(zoom); layer.setMinZoom(zoom); ``` +设置图层最大缩放等级 + +参数 + +- zoom {number} + +```javascript +layer.setMinZoom(zoom); +``` + ## 图层交互方法 ### active diff --git a/docs/api/layer/layer.zh.md b/docs/api/layer/layer.zh.md index 361b8dab10..17f374e6b1 100644 --- a/docs/api/layer/layer.zh.md +++ b/docs/api/layer/layer.zh.md @@ -366,6 +366,16 @@ layer.setMinZoom(zoom); layer.setMinZoom(zoom); ``` +设置图层最大缩放等级 + +参数 + +- zoom {number} + +```javascript +layer.setMinZoom(zoom); +``` + ## 图层交互方法 ### active diff --git a/docs/api/scene.zh.md b/docs/api/scene.zh.md index 61710ec09f..1b02bbb74e 100644 --- a/docs/api/scene.zh.md +++ b/docs/api/scene.zh.md @@ -158,7 +158,7 @@ scene.getLayers(); 参数 --name {string} +- name {string} layer 初始化可配置图层 name