Skip to content

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标绘回调事件标绘完成后的结果信息