25
This commit is contained in:
@@ -220,7 +220,7 @@ import PubSub from 'pubsub-js'
|
||||
console.log(item,'item')
|
||||
if (item.lng && item.lat) {
|
||||
if (item.status == '行驶') {
|
||||
if(item.type==1){
|
||||
if(item.accstatus==1){
|
||||
addMarker(shipIcon, [item.lng, item.lat], [36, 50])
|
||||
|
||||
}else{
|
||||
@@ -228,7 +228,7 @@ import PubSub from 'pubsub-js'
|
||||
}
|
||||
}
|
||||
if (item.status == '离线') {
|
||||
if(item.type==1){
|
||||
if(item.accstatus==1){
|
||||
addMarker(shipOfflineIcon, [item.lng, item.lat], [36, 50])
|
||||
|
||||
}else{
|
||||
@@ -238,7 +238,7 @@ import PubSub from 'pubsub-js'
|
||||
}
|
||||
if (item.status == '静止') {
|
||||
|
||||
if(item.type==1){
|
||||
if(item.accstatus==1){
|
||||
addMarker(shipStopIcon, [item.lng, item.lat], [36, 50])
|
||||
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user