SituationPlot态势标绘
用于态势标绘
基础用法
vue
<SituationPlot
class="plot"
:map="map"
@plot-item="plotCallback"
></SituationPlot>
<script setup lang="ts">
const plotCallback = (res: any) => {
console.log('标绘回调:', res);
};
</script>
<style lang="scss" scoped>
.plot {
position: absolute;
right: 10px;
bottom: 10px;
}
</style>
属性参数
属性名 | 说明 | 类型 | 默认值 | Required |
---|---|---|---|---|
map | 影像地图 | object | - | true |
方法事件
事件名 | 说明 | 参数 |
---|---|---|
@close-this | 关闭按钮事件 | - |
@plot-item | 标绘回调事件 | 标绘完成后的结果信息 |