OverviewMapControlEventMap

OverviewMapControl 支持的事件名与事件对象类型映射

interface OverviewMapControlEventMap {
    resize: { target: OverviewMapControl; type: string };
    viewchanged: { isOpen: boolean; target: OverviewMapControl; type: string };
    viewchanging: { target: OverviewMapControl; type: string };
}

属性

缩略地图尺寸发生变化时触发

缩略地图展开/收起状态切换完成后触发

缩略地图展开/收起动画过程中触发