incomplete route data in Apple Health

When we upload workout data to HealthKit the route information with the workout detailed data is incomplete: just a few dots.

When we select "Show all workout routes" the route data for the same workout shows correctly.

We use the HKWorkoutBuilder to store the workout data, and add the location data with the HKWorkoutRouteBuilder to the workout with

Is this an Apple Health issue, or do we have to change something in the way we store the location data to the workout?

It seems that the code sample doesn't show in our post, here is the code that we use to add the location data to the workout, where routeBuilder is of type HKWorkoutRouteBuilder:

let workoutRoute = try await routeBuilder.finishRoute(with: workout!, metadata: nil)

incomplete route data in Apple Health
 
 
Q