You have to set the API key.
Is it possible to use free as it was? If so, what API do I need? Do I need to use paid Google API?
I set it on the Custom map: https://mt0.google.com/vt/lyrs=m,traffic&hl=en&x={x}&y={y}&z={z}&s=Ga
and it is working, on the google API of course not.
You can still use it as a custom map layer if you want.
Ok, but if I want to use those?
Which Google API should I use? I tried paid but not working, tried as well as in the custom maps, not working. What do I miss?
You need to make sure you have a key with the tiles API enabled.
Oh ok, got it, thank you. Have a nice weekend.
It is working, I did not enable Tiles in the Google Maps Console.
For those who want to enable Google Maps after you recompile the web app:
Hello,
After building the web app in Visual Studio Code, I lost access to Google Maps. I copied all the contents from the build folder to the web folder on the server, and everything else is working fine except for Google Maps. I'm not sure what went wrong. I compiled the web app because I removed the lock icon from the login screen of the manager app.