public void LoadRoutes(OverviewPolyline overviewPolyline)
 {
     foreach (LatLng line in DirectionsMethods.DecodePolyline(overviewPolyline.points))
     {
         Lines.Add(line);
     }
     RoutesListUpdated?.Invoke(this, EventArgs.Empty);
 }
 public void LoadRoutes(List <Step> steps)
 {
     foreach (Step step in steps)
     {
         RouteCoordinates.Add(new Position(step.start_location.lat, step.start_location.lng));
         RouteCoordinates.Add(new Position(step.end_location.lat, step.end_location.lng));
         RoutesListUpdated?.Invoke(this, EventArgs.Empty);
     }
 }