<bm-marker
v-for="(marker, i) of markers"
:position="{ lng: marker.lng, lat: marker.lat }"
@click="lookDetail(marker)"
:key="i"
>
<!--:icon="{
url: require('@/assets/' + item.sta + '.png'),
size: { width: 25, height: 25 }
}"-->
<!-- 右键mark弹出菜单 -->
<bm-context-menu :width="68">
<bm-context-menu-item
:callback="
e => {
skipUrl(e, marker);
}
"
text="跳转列表"
></bm-context-menu-item>
<bm-context-menu-item
:callback="
e => {
editShow(e, marker);
}
"
text="编辑路口"
></bm-context-menu-item>
<bm-context-menu-item
:callback="
e => {
deleteShow(e, marker);
}
"
text="删除路口"
></bm-context-menu-item>
</bm-context-menu>
</bm-marker>