Google Map Layer

dsmith8 years ago

What is the procedure for adding Google Map layer/s?

Anton Tananaev8 years ago

Please read following page:

https://www.traccar.org/map-layers/

dsmith8 years ago

Anton - The instruction supplied on that page is lacking in details regarding how to specifically use the tool to implement this...

Anton Tananaev8 years ago

It has all the details. You need to set URL in server settings. After that you can select custom layer server-wide or per user.

dsmith8 years ago

Ok...
...so I login as admin... go to 'Settings->Server->Custom Map:' then paste this http://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}&s=Ga into the text area next to 'Custom Map:' and hit 'Save'. Is that all there is to it? ...because I do not see any change in the visible map panel.

Anton Tananaev8 years ago

Yes, that's what you need to do. Then just refresh the webpage.

hceccacci8 years ago

dsmith,

after step mentioned by you, go to Settings > Accounts > Map Layer and choose Custom Map. And so now, refresh the webpage.

This will complete the configuration.

I hope I have helped you.

Best regards.

dsmith8 years ago

hceccacci -- Thank you! This is the step/s that I needed.

Happy New Year!

ashvini8 years ago

How to change map to google map or any better option

Anton Tananaev8 years ago

Have you read this topic? It has the answer to your question. Please read it more carefully.

monty7 years ago

Bit of an old thread, but http://stackoverflow.com/a/33023651/1763157 shows the options for the lyrs param - eg if you want hybrid - or terrain.

huismori7 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
Anton Tananaev7 years ago

You definitely can't use it with free account. You have to get a license from Google.

huismori7 years ago

Lets say I got license from google, can you please explain how to use it in traccar ?

Anton Tananaev7 years ago

You can set Google as a custom map layer in the server settings.