void IJob.Execute(IJobContext context, Operation operation) { if (context.Phase == JobPhase.OnOperationSurfaced) { if (operation.Einsatzort.HasGeoCoordinates) { return; } GeocoderLocation geocoderLocation = _provider.Geocode(operation.Einsatzort); if (geocoderLocation != null) { //The most of the widgets and so need the "english-format" (point instead of comma)! operation.Einsatzort.GeoLongitude = geocoderLocation.Longitude; operation.Einsatzort.GeoLatitude = geocoderLocation.Latitude; } else { Logger.Instance.LogFormat(LogType.Warning, this, Properties.Resources.NoCoordinatesFoundByGeocodingService); } } }