private Models.Geoposition GetIconPosition(DependencyObject icon) { if (icon == null) { return(default(Models.Geoposition)); } Geopoint geoLocation = MapControl.GetLocation(icon); return(CoordinateConverter.ConvertToAbstraction(geoLocation)); }