|
|
@@ -210,7 +210,9 @@ class AtmobLocationClient {
|
|
|
|
|
|
void uploadLocation(MapLocation location) {
|
|
|
if (_webSocket == null ||
|
|
|
- location.latitude == 0 && location.longitude == 0) {
|
|
|
+ location.latitude == 0 && location.longitude == 0 ||
|
|
|
+ location.address == null ||
|
|
|
+ location.address!.isEmpty) {
|
|
|
return;
|
|
|
}
|
|
|
_sendMessage(LocationMessage.obtainMessage(location));
|