const iconLJT= require('@/assets/images/layerControl/垃圾桶.png')
const iconGC= require('@/assets/images/layerControl/垃圾桶.png')
const iconZZZ= require('@/assets/images/layerControl/中转站.png')
const iconCLZ= require('@/assets/images/layerControl/垃圾处理站.png')
export const iconPerson = require('@/assets/images/icon/应急/人员/专家.png')
export const iconCar = require('@/assets/images/icon/环卫/车辆.png')
export const iconDict = {
垃圾桶: iconLJT,
公厕: iconGC,
中转站: iconZZZ,
处理站: iconCLZ,
}
export const iconFilter = (name) => {
return iconDict[name]
}
export const personList = [
{
id: '1',
lon: '114.837249',
lat: '25.746674',
name: '李三春',
location: '江西省赣州市章贡区赣南大道',
time: '',
status: '',
statusName: '',
type: '1',
typeName: '保洁员',
trajectory: [
['114.83749', '25.74674'],
['114.837249', '25.74674'],
['114.83729', '25.74664']
]
},
{
id: '2',
lon: '114.851628',
lat: '25.732745',
name: '石禾',
location: '江西省赣州市章贡区潭口镇938乡道',
time: '',
status: '',
statusName: '',
type: '1',
typeName: '保洁员',
trajectory: [
['114.851623', '25.795933'],
['114.8512', '25.795923'],
['114.85833', '25.79533']
]
},
{
id: '3',
lon: '114.858093',
lat: '25.795923',
name: '罗垇',
location: '江西省赣州市南康区滨江南大道靠近潭东镇解胜村梁明清卫生所',
time: '',
status: '',
statusName: '',
type: '1',
typeName: '保洁员',
trajectory: [
['114.858093', '25.795923'],
['114.858013', '25.795923'],
['114.858033', '25.795933']
]
},
]
export const carList = [
{
id: '1',
lon: '114.915698',
lat: '25.784352',
name: '',
location: '江西省赣州市章贡区黄金岭街道仓背岭路',
time: '',
status: '',
statusName: '',
type: '1',
typeName: '洒水车',
trajectory: [
['114.915198', '25.78432'],
['114.91568', '25.7843512'],
['114.91598', '25.7841352']
]
},
{
id: '2',
lon: '114.907709',
lat: '25.780931',
name: '',
location: '江西省赣州市章贡区黄金岭街道玫瑰路',
time: '',
status: '',
statusName: '',
type: '1',
typeName: '洒水车',
trajectory: [
['114.90709', '25.7801931'],
['114.9027709', '25.78091'],
['114.9077109', '25.7820931']
]
},
]