Janekdererste/graphhopper-maps

Prevent map from updating too fast on user input

Opened this issue · 0 comments

At the moment a new route is requested on each change Event. If one is typing. e.g. some adress there are too many requests.

Maybe set a timeout before starting a search
Maybe validate entered value and don't do anything if the entered value doesn't make sense