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;