isMove
This commit is contained in:
parent
9cb3ad6b60
commit
5878fb97b3
|
|
@ -156,7 +156,7 @@ export function allDevices(options, type, show) {
|
||||||
: require(`@/assets/img/device/deviceIcon/${deviceItem.icon}-offline.png`)
|
: require(`@/assets/img/device/deviceIcon/${deviceItem.icon}-offline.png`)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (deviceItem.icon === "9") {
|
if (deviceItem.isMove) {
|
||||||
graphic.setOptions({
|
graphic.setOptions({
|
||||||
position: new mars3d.LngLatPoint(
|
position: new mars3d.LngLatPoint(
|
||||||
deviceItem.lon,
|
deviceItem.lon,
|
||||||
|
|
@ -205,7 +205,7 @@ export function allDevices(options, type, show) {
|
||||||
: require(`@/assets/img/device/deviceIcon/${item.icon}-offline.png`)
|
: require(`@/assets/img/device/deviceIcon/${item.icon}-offline.png`)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (deviceItem.icon === "9") {
|
if (deviceItem.isMove) {
|
||||||
graphic.setOptions({
|
graphic.setOptions({
|
||||||
position: new mars3d.LngLatPoint(deviceItem.lon, deviceItem.lat, 0)
|
position: new mars3d.LngLatPoint(deviceItem.lon, deviceItem.lat, 0)
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue