Closed yanliang-wang closed 5 years ago
what link-template and other settings are you using?
This is my link to use the Google map, you can try it.This link has a lot of parameters to adjust. http://mt2.google.cn/vt/lyrs=y&scale=1&hl=zh-CN&gl=cn&x={x}&y={y}&z={z}
it works for me with http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}&s=Ga
Maybe play a bit with the other params? However, using those links without api is deprecated and might have some legal issues. Just fyi.
Yes, your link is useful. I compared your link to my link and modified some params. I found the parameter in my link that caused my problem is "&gl=cn". Thank you for your answer.
it works for me with http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}&s=Ga
Maybe play a bit with the other params? However, using those links without api is deprecated and might have some legal issues. Just fyi.
@beetleskin Thanks for your answer.
Is the google link still working to date? We are getting "Bad request" errors.
Is the google link still working to date? We are getting "Bad request" errors.
It works fine. Just tested
Compared with Google,OpenStreetMap and MapBox are updated slowly.So I found the URI of Google tiles Maps on the Internet. Then I directly replaced the object uri with the uri of Google Maps on AerialMapDisplay. In the end, although Google Maps can be displayed on the rviz, the scale of the map is incorrect, so some people know how to modify the scale?
Thank you.