|
@@ -203,7 +203,7 @@ export default {
|
|
|
],
|
|
|
allship:[],
|
|
|
ship: [
|
|
|
- {"name": "一号船", "mmsi": "s", "locations": [[118.639711, 31.98602]], 'type': 1, "head": 0, "lnglats": [[118.649711, 31.98602], [118.639711, 31.98602], [118.629711, 31.98602], [118.619711, 31.98602]]},
|
|
|
+ {"name": "一号船", "mmsi": "s", "locations": [[118.643133, 31.969894]], 'type': 1, "head": 0, "lnglats": [[118.649711, 31.98602], [118.639711, 31.98602], [118.629711, 31.98602], [118.619711, 31.98602]]},
|
|
|
// {"name": "二号船", "locations": [[118.639711, 31.96602]], 'type': 2,"head":60},
|
|
|
{"name": "三号船", "mmsi": "s1", "locations": [[118.639711, 31.96622]], 'type': 1, "head": 90},
|
|
|
{"name": "三号船", "mmsi": "s2", "locations": [[118.639711, 31.93662]], 'type': 1, "head": 180},
|
|
@@ -231,6 +231,7 @@ export default {
|
|
|
}, 5*60*1000);
|
|
|
|
|
|
this.getThresholdList();
|
|
|
+
|
|
|
// this.addDevicePoint();
|
|
|
// this.addAisPoint();
|
|
|
// this.addSo2Point();
|
|
@@ -295,7 +296,7 @@ export default {
|
|
|
ship["type"] = ship.illegalStatus;
|
|
|
shipdatalist.push(ship);
|
|
|
}
|
|
|
- this.ship = shipdatalist;
|
|
|
+ // this.ship = shipdatalist;
|
|
|
this.addshipPoint();
|
|
|
});
|
|
|
|
|
@@ -348,7 +349,7 @@ export default {
|
|
|
} else if (obj.type == 3) {
|
|
|
img = 'wg.png'
|
|
|
}
|
|
|
- this.$refs.mapv.addpoint(obj.locations, obj, img, 'ship', ((obj.head == null ? 0 : parseFloat(obj.head)) - 90) * Math.PI / 180);
|
|
|
+ this.$refs.mapv.addpoint(obj.locations, obj, img, 'ship', ((obj.head == null ? 0 : parseFloat(obj.head)) - 90) * Math.PI / 180,1);
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -361,7 +362,7 @@ export default {
|
|
|
} else if (obj.type == 3) {
|
|
|
img = 'wg.png'
|
|
|
}
|
|
|
- this.$refs.mapv.addpoint(obj.locations, obj, img, 'ship', ((obj.head == null ? 0 : parseFloat(obj.head)) - 90) * Math.PI / 180);
|
|
|
+ this.$refs.mapv.addpoint(obj.locations, obj, img, 'ship', ((obj.head == null ? 0 : parseFloat(obj.head)) - 90) * Math.PI / 180,1);
|
|
|
}
|
|
|
},
|
|
|
getSo2Time() {
|