googlemaps / googlemaps/js-route-optimization-app
Travel simulator may try to simulate invalid data
Open
triage me
type: bug
- Dominant language
- TypeScript
- Stars
- 139
- Forks
- 53
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
In some datasets, the travel simulator may throw the following error:
```
travel-simulator.component.ts:98 ERROR Error: coord is required
at getPointAlongPathByDistance (linear-referencing.ts:40:26)
at map.selectors.ts:221:48
at Array.forEach ()
at getSimulatedVehicleLocationsOnRouteWithHeadings (map.selectors.ts:183:10)
at map.selectors.ts:243:5
```
Contributor guide
Assessment
This issue has not been assessed yet.