Everything you need to know is in here: https://www.google.com/permissions/geoguidelines/
I'm not able to provide any legal interprestation - but note this paragraph - bolding mine.
Note that if you (a) embed a classic map, Street View panorama, or My
Map; (b) use one of our APIs on the web or in an application; or (c)
use Google Earth Pro, or ...
If you follow closely the information placed over the directions provided on the mentioned site , you notice that:
.... It's no surprise, then, that these two high-profile apps
could work together. Google Maps and the ride-sharing service Uber
have offered some level of integration for some time — you have been able to view the price and time of ...