File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/map/src/geometry Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export class Marker extends CenterMixin(Geometry) {
89
89
} ) ;
90
90
}
91
91
92
- setSymbol ( symbol : AnyMarkerSymbol ) : this {
92
+ setSymbol ( symbol : AnyMarkerSymbol | Array < AnyMarkerSymbol > ) : this {
93
93
delete this . _fixedExtent ;
94
94
return super . setSymbol . call ( this , symbol ) ;
95
95
}
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Geometry.include(/** @lends Geometry.prototype */ {
35
35
* content : '<div style="color:#f00">This is content of the InfoWindow</div>'
36
36
* });
37
37
*/
38
- setInfoWindow ( options : InfoWindowOptionsType ) {
38
+ setInfoWindow ( options : InfoWindowOptionsType | InfoWindow ) {
39
39
this . removeInfoWindow ( ) ;
40
40
if ( options instanceof InfoWindow ) {
41
41
this . _infoWindow = options ;
You can’t perform that action at this time.
0 commit comments