@ -34,6 +34,29 @@ export const eventMap = {
// };
const data = await getDeviceList(1);
// const data = [
// {
// longitude: 116.268564,
// latitude: 35.73115,
// },
// longitude: 116.258178,
// latitude: 35.720996,
// longitude: 116.255542,
// latitude: 35.717335,
// longitude: 116.252883,
// latitude: 35.713114,
// longitude: 116.249416,
// latitude: 35.707627,
// ptzCtrl: 0,
// ];
if (!data) return;
@ -97,7 +97,7 @@ export async function setMarkerCluster(map, points, markerFun) {
* @param {*} _markerClick marker 点击
* @returns
*/
export async function setMarkToMap(item, data, _markerClick) {
export async function setMarkToMap(item, data, _markerClick, content) {
const { mapIns } = this.getMap();
if (!mapIns) return Message.error("地图加载失败!");
@ -1,5 +1,5 @@
<template>
<div class="bg" id="content" ref="ThumbnailRef"></div>
<div class="bg" ref="ThumbnailRef"></div>
</template>
<script>