From 1d4939e66371359db3c49d7e5929ffb85c5b9208 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E6=9D=B0=E8=B1=AA?= Date: Fri, 26 May 2023 12:16:52 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E5=9C=A82021=E5=B9=B412=E6=9C=8802?= =?UTF-8?q?=E6=97=A5=E4=BB=A5=E5=90=8E=E7=94=B3=E8=AF=B7=E7=9A=84=20key=20?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E9=85=8D=E5=90=88=E5=AE=89=E5=85=A8=E5=AF=86?= =?UTF-8?q?=E9=92=A5=E4=B8=80=E8=B5=B7=E4=BD=BF=E7=94=A8=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 官方文档说明:https://lbs.amap.com/api/javascript-api-v2/guide/abc/load --- index.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/index.d.ts b/index.d.ts index 32d10b6..2541aab 100644 --- a/index.d.ts +++ b/index.d.ts @@ -13,6 +13,13 @@ import { _PolylineEditor } from "./plugins/PolylIneEditor"; declare global { interface Window { AMap: typeof AMap; + /** + * 在2021年12月02日以后申请的 key 需要配合安全密钥一起使用。 + * @public + */ + _AMapSecurityConfig: { + securityJsCode: string + } } namespace AMap { /**