HYBRID mapType图块的Google Maps Tile URL? [英] Google Maps Tile URL for HYBRID mapType tiles?

查看:95
本文介绍了HYBRID mapType图块的Google Maps Tile URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现了常规地图图块的基本URL结构:

I have found a basic URL structure for regular map tiles:

https://mts1.google.com/vt/lyrs=m@186112443&hl=x-local&src=app&x=1325&y=3143&z=13&s=Galile

从Google抓取HYBRID地图图块的URL结构是什么?

What would be the URL structure to grab HYBRID map tiles from Google?

我不知道为什么我找不到此信息;看起来应该很容易找到.

I don't know why I can't find this information; it seems like it should be easy to find.

我错过了一些简单的东西吗?

Am I missing something simple? .

我一直在弄乱lyrs参数,我认为这可能是其中的一部分.在浏览器中粘贴上述URL时,我尝试过lyrs=rlyrs=hlyrs=t,它们会给出不同的图块.

I have been messing with the lyrs parameter, and I think that may be part of it. When pasting the above URL in a browser, Ive tried lyrs=r, lyrs=h,lyrs=t and they give different tiles.

我最近来的是尝试lyrs=s.结果是返回了卫星图块;但我不知道应该为混合结果添加什么内容.

The closest I have come now is trying lyrs=s. It results in a Satellite tile being returned; but I do not know what I should put in for a HYBRID result.

也许我要解决所有这些错误.

Maybe I am going about this all wrong.

推荐答案

您需要google map js类中的实例和匿名函数,然后可以设置地图对象以提供混合图块: http://www.neongeo.com/wiki/doku.php?id = map_servers .

You need an instance from the google map js class and an anonymous function then you can set the map object to give hybrid tiles:How to get your image URL tiles? (google maps). Or maybe it's lyrs=y:http://www.neongeo.com/wiki/doku.php?id=map_servers.

尝试: http://mt1. google.com/vt/lyrs=y&x=1325&y=3143&z=13

这篇关于HYBRID mapType图块的Google Maps Tile URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆