|
@@ -264,7 +264,7 @@ export default {
|
|
|
// ship["shipName"] = ship.shipname_cn;
|
|
|
ship["locations"] = [[ship.lng, ship.lat]];
|
|
|
ship["type"] = 1;
|
|
|
- ship["speed"] = ship.speed == null ? '-' : ship.speed + '节';
|
|
|
+ ship["speed"] = ship.speed == null ? '-' : ship.speed;
|
|
|
ship["head"] = ship.head == null ? '-' : ship.head;
|
|
|
ship["course"] = ship.course == null ? '-' : ship.course;
|
|
|
// ship["monitorPointName"] = '-';
|
|
@@ -290,7 +290,7 @@ export default {
|
|
|
}
|
|
|
this.addshipPoint();
|
|
|
this.$refs.mapv.map.getView().setCenter(this.$refs.mapv.transpoints(obj["locations"], 0)[0]);
|
|
|
- this.$refs.mapv.map.getView().setZoom(18);
|
|
|
+ this.$refs.mapv.map.getView().setZoom(16);
|
|
|
this.$refs.mapv.shipShow = true;
|
|
|
this.$refs.mapv.deviceShow = false;
|
|
|
this.$refs.mapv.deviceTableShow = false
|