/// <summary> /// Create a new pipe to transform an enumeration of tiles /// into their corresponding geo coordinates. /// </summary> /// <param name="ZoomLevel">The current zoom level of the Aegir map.</param> /// <param name="IEnumerable">An optional IEnumerable<S> as element source.</param> /// <param name="IEnumerator">An optional IEnumerator<S> as element source.</param> public TilesXY2GeoCoordinatePipe(UInt32 ZoomLevel, IEnumerable <TilesXY> IEnumerable = null, IEnumerator <TilesXY> IEnumerator = null) : base(IEnumerable, Item => GeoCalculations.TilesXY2GeoCoordinate(Item, ZoomLevel)) { }
/// <summary> /// Create a new arrow to transform an enumeration of tiles /// into their corresponding geo coordinates. /// </summary> /// <param name="ZoomLevel">The current zoom level of the Aegir map.</param> /// <param name="OnError">A delegate to transform an incoming error into an outgoing error.</param> /// <param name="ArrowSender">The sender of the messages/objects.</param> public TilesXY2GeoCoordinateArrow(UInt32 ZoomLevel, Func <Exception, Exception> OnError = null, IArrowSender <TilesXY> ArrowSender = null) : base(Item => GeoCalculations.TilesXY2GeoCoordinate(Item, ZoomLevel), OnError, ArrowSender) { }