This commit is contained in:
wangcongtao
2020-06-11 20:26:02 +08:00
parent cba69352ca
commit 5298cbef6d
10 changed files with 54 additions and 26 deletions

View File

@@ -112,6 +112,7 @@ public class WebSocketManager {
location.setSpeed( realTimeLocationVo.getVehicleSpeed() );
location.setAccuracy( 1 );
location.setTime( realTimeLocationVo.getLocationTime() );
if ( listeners != null ) {
while ( listeners.hasNext() ) {
listeners.next().onLocationChanged( location );