Closed clhenrick closed 5 years ago
Working better, but the loading message will display once while the geocoding is happening, then go away, then display again while the geo-router is locating the nearest ECG route segment. Ideally it should turn and off only once, and only after a 200 ms delay has passed.
The react-loadable component could help with this, but there will also need to be a single isLoading
flag for both the geocoding and geo-routing slices of app state which makes things a little tricky.
Currently the loading indicator only displays when geocoding is happening (I think?), it should stay visible until the geo router finishes locating the nearest ECG segment point.