/// <summary>
        /// Build a route based on Osrm
        /// </summary>
        /// <returns></returns>
        private async Task GetLoadOsrmTrack()
        {
            try
            {
                MapPolyline.Locations?.Clear(); // Delete the current route

                var trackPositions =
                    OsrmWayPointsPushpins.Select(
                        point => new TrackPosition {
                    Latitude = point.Location.Latitude, Longitude = point.Location.Longitude
                })
                    .ToArray();

                await GetDataFromOsrm(trackPositions);
            }
            catch (Exception exc)
            {
                LogWindowControl.AddMessage(exc.Message);
            }
        }