It has been thoroughly tested.
Have you read troubleshooting guide ?
This function does not work at me. The 4.0-digs the current one was good at a version refreshing Google may not be to fill a map.
Im getting a 400 error.
https://mt0.google.com/vt/lyrs=m&hl=en&x=7&y=14&z=5&s=Ga
400 That's an error. Your client has issued a malformed or illegal request.
same issue on my traccar 4.1 cant see google maps .
i copied the link from working system (Ver 3.17) in this servers it is fine and we can see the google map
same link on the new Ver 4.1 maps are blank
this is the link im useing
http://mt0.google.com/vt/lyrs=y&hl=iw&x={x}&y={y}&z={z}&s=Ga
Same thing here i have no google satelitte map only white background
The reason why it's not working because we now sanitise all user input to prevent XSS. This causes &
character to be escaped and making URL invalid.
I have just implemented a fix for Google map layer:
https://github.com/traccar/traccar-web/commit/49b8e313bb70fd93ab15c4c316f98ce9bfe7aea5
@Anton Tananaev:
I applied your patch, restarted server and nothing changed. Map is still blank (white).
Have you compiled minified version?
No :) To be honest, I don't know what should I do. As I said above, I use "other installation" version.
If you want to apply the patch, you have to compile a minified version.
Yeah, I understand now. I tried to build from sources but I don't have sencha etc. I can't install this because I don't have root on server where Traccar is installed.
Can you please prepare updated version of "other installation", please? Or we should wait for another version of Traccar server?
Thank you for your contribution.
You'll have to wait for a new release.
This IMHO is worth an urgent 4.1.1.
I have the same problem, otherwise the upgrade went flawless (running on Linux VPS with mySQL db). I have switched to open streetmap for now :)
Same problem btw for Bing Maps
Hi,
I already upgraded my Traccar server to version 4.1 (choosed "other installation" just like previously). I overwritten "data" folder with my databases files.
Everything is running fine except I have white window without map. I'm using "own map" set as http://mt0.google.com/vt/lyrs=y@221097413,traffic&hl=en&x={x}&y={y}&z={z}&s=Ga
When I change to other maps, some of them are also white but some works (for example: OpenStreetMap works and Bing Hybrid Map doesn't work).