How many times was this already answered?
You need a license from Google.
Yeah, you need a permission from Google. Standard license doesn't cover it.
I suppose this isn't entirely compatible with google tos and I thought that was why it was never implemented as built-in functionality. However, I'm glad it works :)
Yes, it's not compatible with the standard Goole terms, but if you do have a permission from Google, you can use it.
In new versions of traccar, google maps settings are "built-in" and works by design. In older versions, you can also add them using your own map by simply providing the URL
https://mt0.google.com/vt/lyrs=m,traffic&hl=en&x={x}&y={y}&z={z}&s=Ga
without APIIs it legal to use these software and google maps in this way when traccar is also used, e.g. commercially?