Resource planing and optimisation

I am starting a new project (doing it for free no charge) which will allocate care workers to house calls based on availability and distance from previous location.

Would google maps be useful (i.e. provide travel time and distance between two points) and are there any package that can calculate the best way to allocate who goes where? I have looked on the internet without success mainly because I can’t think of the right terminology to use.

I vaguely remember Excel spreadsheet had this feature but would like to keep all within Ionic…