MapTypeControlOptions
interface MapTypeControlOptions {
anchor?: ControlAnchor;
enableSwitch?: boolean;
mapTypes?: MapType[];
offset?: Size;
type?: MapTypeControlType;
}
anchor?: ControlAnchor;
enableSwitch?: boolean;
mapTypes?: MapType[];
offset?: Size;
type?: MapTypeControlType;
}
MapTypeControl 构造函数的可选参数。它没有构造函数,但可通过对象字面量形式表示。