Google Map Layer

cassiano.simioni8 years ago

Hi Anton, I have a license from google, where should I add the api key?

Anton Tananaev8 years ago

You don't need API key. You need to get permission to use their tile server directly.

huismori8 years ago

whats the limit of google map from your link below ?

https://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}&s=Ga

how many queries ?

Anton Tananaev8 years ago

You have to get a permission from Google to use it. I am not sure what the condition of the licensing are.

Zecman7 years ago

maybe this is useful for someone. different kind of map layers from google with a picture along:

https://www.systemtechnics.de/traccar-karten-layer/

saikrupa20127 years ago

hi anton ,
i dont have custom maps option .
no img

Anton Tananaev7 years ago

You are using very old version. Upgrade to the latest one.

Alejandro Rivas7 years ago

Hi Anton I cant see any change on my panel help please

Martin7 years ago

I think it's https://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}&s=Ga&key=YOUR_API_KEY

Zecman7 years ago

I use https://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}&s=Ga works without token.

shameerariff6 years ago

I applied the google maps based on your instruction, but the problem is it works only on the admin page not on the other user login. The map was not loaded in the user login. It was just a clean white page in the maps, rest all fine.

Zecman6 years ago

Can't answer this. I am my only user. :)

Zecman6 years ago

Take a look in the database. The per-user-map is saved there. You could update the map for all users there. Or maybe send an email around telling them to change it in Account->Preferences->Map Layer.

shameerariff6 years ago

I had the problem in bringing google maps active. So I felt this instruction may help others in applying the custom maps.
Kindly follow the following procedure.
Click on the settings and open server panel
In the server settings set the Map Layer to Carto Basemaps or anything as per your preference except custom
Now apply the appropriate Custom map layer url which was mentioned in https://www.traccar.org/map-layers/ and apply it.
Its the time to set the custom maps to the users.
Click on the settings and select user
Choose the selected user and click edit to open the user account panel.
In the user account panel under preferences choose Custom maps on Map layers.
That is it. Everything will work now.

Anquetil6 years ago

Hi all, I dont understand where you are pasting in the URL, what am I missing here?

alt text