Google Map Layer

dsmith9 years ago

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

Anton Tananaev9 years ago

Please read following page:

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

dsmith9 years ago

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

Anton Tananaev9 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.

dsmith9 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 Tananaev9 years ago

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

hceccacci9 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.

dsmith9 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.

monty8 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.

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
Anton Tananaev8 years ago

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

huismori8 years ago

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

Anton Tananaev8 years ago

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