From 5df39a7286552d9ac9b24bc85df2fa49e6463a38 Mon Sep 17 00:00:00 2001 From: Tomxuetao <15555030339@163.com> Date: Mon, 6 May 2024 11:32:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9C=B0=E5=9B=BE=E5=AE=9E=E4=BE=8B?= =?UTF-8?q?=E7=9A=84add=E3=80=81remove=E6=96=B9=E6=B3=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AF=B9OverlayGroup=E7=B1=BB=E5=9E=8B=E7=9A=84=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.d.ts b/index.d.ts index 5ba9aa1..078c020 100644 --- a/index.d.ts +++ b/index.d.ts @@ -996,9 +996,9 @@ declare global { } /** - * + * * 鹰眼的初始化参数 - * + * * @public */ export interface HawkEyeOptions { @@ -1021,7 +1021,7 @@ declare global { /** * 鹰眼控件,用于显示缩略地图,显示于地图右下角,可以随主图的视口变化而变化,也可以配置成固定位置实现类似于南海附图的效果 * https://lbs.amap.com/api/javascript-api-v2/documentation#hawkeye - * + * * @public * @param {HawkEyeOptions} options * @class HawkEye @@ -4460,7 +4460,7 @@ declare global { * @instance * @memberof Map */ - add(features: Overlay | Layer | Array): void; + add(features: Overlay | Layer | Array | OverlayGroup): void; /** * 删除覆盖物/图层。参数为单个覆盖物/图层,或覆盖物/图层的数组。 * @@ -4470,7 +4470,7 @@ declare global { * @instance * @memberof Map */ - remove(features: Overlay | Layer | Array): void; + remove(features: Overlay | Layer | Array | OverlayGroup): void; /** * 经纬度转莫卡托坐标(单位:米) * @name lngLatToCoords