Where do u find the permission for gps?
Goto your google map.

Then tap on the left of search bar you will see your account, places timeline etc and find setting.

Then I enable all possible setting at google map.

Generally I do not think these setting matters much.
I think waze is triggering GPS and when waze search and locate the GPS the google map is functional as well. 