private async void UpdateLocationOnMap(LocationUpdate locationUpdate) { await Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { if (!_mapService.LocationUpdatesDictionary.Keys.Any(driverName => driverName.Equals(locationUpdate.DriverName, StringComparison.OrdinalIgnoreCase))) { _mapService.AddMapPushPin(locationUpdate); } else { _mapService.UpdatePushPin(locationUpdate); } }); }