|
|
@@ -10,6 +10,10 @@ import GoafPopup from './components/GoafPopup.vue';
|
|
|
import { get } from 'lodash-es';
|
|
|
import { StatusColorEnum } from '/@/enums/jeecgEnum';
|
|
|
|
|
|
+// 图片路径
|
|
|
+import customImage from '/@/assets/icons/location-icon.svg';
|
|
|
+import customImage3D from '/@/assets/icons/location-icon3D.png';
|
|
|
+
|
|
|
// ===================== 全局状态 =====================
|
|
|
let map: Map | null = null;
|
|
|
let svc: Service | null = null;
|
|
|
@@ -441,8 +445,8 @@ const createMarkerElement = (goafItem: any, showInfo: boolean = false): HTMLDivE
|
|
|
// StatusColorEnum.blue, gold, purple, red 分别对应 1, 2, 3, 4
|
|
|
const alarmLevelColor = [StatusColorEnum.blue, StatusColorEnum.gold, StatusColorEnum.purple, StatusColorEnum.red];
|
|
|
|
|
|
- const customImage = `/src/assets/icons/location-icon.svg`;
|
|
|
- const customImage3D = `/src/assets/icons/location-icon3D.png`;
|
|
|
+ // const customImage = `/src/assets/icons/location-icon.svg`;
|
|
|
+ // const customImage3D = `/src/assets/icons/location-icon3D.png`;
|
|
|
const el = document.createElement('div');
|
|
|
el.className = 'marker';
|
|
|
el.style.cssText = `
|