From 67401dc07699ab296169d7a4a43b2ece5b7a645f Mon Sep 17 00:00:00 2001 From: breeze9527 Date: Fri, 5 Apr 2019 07:43:41 +0800 Subject: [PATCH] [amap-js-api] fix typo --- types/amap-js-api/amap-js-api-tests.ts | 4 ++-- types/amap-js-api/overlay/circle.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/types/amap-js-api/amap-js-api-tests.ts b/types/amap-js-api/amap-js-api-tests.ts index 57f7fb07d2..0a2c1426b2 100644 --- a/types/amap-js-api/amap-js-api-tests.ts +++ b/types/amap-js-api/amap-js-api-tests.ts @@ -1968,7 +1968,7 @@ const testCircle = new AMap.Circle({ cursor: 'pointer', radius: 1000, strokeColor: '#FF0000', - strokeOpcity: 0.8, + strokeOpacity: 0.8, strokeWeight: 3, fillColor: '#00FF00', fillOpacity: 0.5, @@ -2004,7 +2004,7 @@ testCircle.setOptions({ cursor: 'pointer', radius: 1000, strokeColor: '#FF0000', - strokeOpcity: 0.8, + strokeOpacity: 0.8, strokeWeight: 3, fillColor: '#00FF00', fillOpacity: 0.5, diff --git a/types/amap-js-api/overlay/circle.d.ts b/types/amap-js-api/overlay/circle.d.ts index c718119e5a..bb3caf4e60 100644 --- a/types/amap-js-api/overlay/circle.d.ts +++ b/types/amap-js-api/overlay/circle.d.ts @@ -13,7 +13,7 @@ declare namespace AMap { cursor?: string; radius?: number; strokeColor?: string; - strokeOpcity?: number; + strokeOpacity?: number; strokeWeight?: number; fillColor?: string; fillOpacity?: number;