Overviewmapcontrol
OverviewMapControl
组件用于创建一个缩略地图控件。用户可选择设置控件的停靠位置、控件的偏移值、缩略地图控件的大小等。
Usage
<OverviewMapControl
position={"bottom-left"}
offset={{ width: 30, height: 30 }}
size={{ width: 300, height: 200 }}
isOpen={true}
/>
API
Examples
Position
在地图左下角加入缩略地图控件
Ready For More?
继续了解更多关于 svelte-baidumaps 组件的内容。
Last Updated: 2021-08-29