Google Maps Road + Satellite

MikeH 9 years ago

So I want to use satellite + road map from google maps as layers, I am pretty sure I just have to tinker with the lyrs parameter to get the desired effect, but I can't seem to find the correct format. Does anyone happen to have the link to the documentation that explains how to use these layers, or even better already have the answer?

Road: http://mt0.google.com/vt/lyrs=m&hl=en&x=0&y=0&z=11&s=Ga
Satellite: http://mt0.google.com/vt/lyrs=s&hl=en&x=0&y=0&z=11&s=Ga
Road + Satellite: ?

MikeH 9 years ago

I found it while i was waiting, additionally here are other working layers

h = roads only, no terrain
m = road + water
p = terrain + road + water
r = road + water shaded by rural / urban, i think?
s = satellite only
t = terrain only
y = road + satellite

So the answer to my own question is as follows in case anyone else wants to use it:
http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}&s=Ga

MikeH 9 years ago

Could you consider adding an option to support multiple custom maps?

MikeH 9 years ago
Final result
Anton Tananaev 9 years ago

Thanks for the information. Please add a feature request on GitHub.

Alejandro Rivas 8 years ago

I cant se any change on my panel do I need to restart server ?

Anton Tananaev 8 years ago

You need to refresh page. No need to restart server. Please next time don't spam everywhere with your question.

Turbovix 6 years ago

MikeH, thank you for the tip!