googlemaps / googlemaps/js-route-optimization-app

Travel simulator may try to simulate invalid data

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.