@@ -136,7 +136,7 @@ declare namespace AMap {
136136 /** 获取覆盖物锚点 */
137137 getAnchor ( ) : string | Vector | undefined ;
138138 /** 设置覆盖物位置 */
139- setPosition ( position : Vector ) : void ;
139+ setPosition ( position : Vector | LngLat | [ number , number ] ) : void ;
140140 /** 获取覆盖物位置 */
141141 getPosition ( ) : Vector ;
142142 /** 将覆盖物设置到地图上 */
@@ -463,7 +463,7 @@ declare namespace AMap {
463463 /** 设置圆中心点 */
464464 setCenter ( center : LngLatLike ) : void ;
465465 /** 设置圆形的半径 */
466- setRaius ( radius : number ) : void ;
466+ setRadius ( radius : number ) : void ;
467467 /** 获取圆中心点 */
468468 getCenter ( ) : LngLat ;
469469 /** 获取圆形的半径 */
@@ -478,6 +478,7 @@ declare namespace AMap {
478478 setExtData ( extData : any ) : void ;
479479 /** 获取圆形的属性 */
480480 getOptions ( ) : CircleOptions ;
481+ setMap ( map : Map | null ) : void ;
481482 destroy ( ) : void ;
482483 }
483484 interface CircleEvents extends EventsCommonProps { }
@@ -539,7 +540,7 @@ declare namespace AMap {
539540 class CircleMarker extends MapEventListener < 'hide' | 'show' | 'mouseover' | 'touchend' | 'click' | 'touchmove' | 'rightclick' | 'mouseup' | 'mouseout' | 'touchstart' | 'mousedown' | 'dblclick' > {
540541 constructor ( opts : CircleMarkerOptions ) ;
541542 /** 设置圆点的半径 */
542- setRaius ( radius : number ) : void ;
543+ setRadius ( radius : number ) : void ;
543544 /** 获取圆点中心 */
544545 getCenter ( ) : LngLat ;
545546 /** 获取圆点的半径 */
@@ -1115,7 +1116,7 @@ declare namespace AMap {
11151116 addTo ( map : Map ) : void ;
11161117 add ( map : Map ) : void ;
11171118 getPosition ( ) : Vector | LngLat ;
1118- setPosition ( position : Vector ) : void ;
1119+ setPosition ( position : Vector | LngLat | [ number , number ] ) : void ;
11191120 getAnchor ( ) : string | Vector | undefined ;
11201121 Text ( anchor : string ) : void ;
11211122 getOffset ( ) : Vector | Pixel | undefined | Array < number > ;
0 commit comments