Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 将嵌入的google地图设置为在页面加载时缩小_Html_Google Maps - Fatal编程技术网

Html 将嵌入的google地图设置为在页面加载时缩小

Html 将嵌入的google地图设置为在页面加载时缩小,html,google-maps,Html,Google Maps,我有一个定制的谷歌地图嵌入到我的网站。下面是它的代码: <iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=115531006415676945149.00048e1de39f5af

我有一个定制的谷歌地图嵌入到我的网站。下面是它的代码:

<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=115531006415676945149.00048e1de39f5afb920b0&amp;ll=9.226911,-100.82267&amp;spn=0.005083,0.006866&amp;z=17&amp;output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;msid=115531006415676945149.00048e1de39f5afb920b0&amp;ll=9.226911,-100.82267&amp;spn=0.005083,0.006866&amp;z=17&amp;source=embed" style="color:#0000FF;text-align:left">Retailers</a> in a larger map</small>

在更大的地图中查看
我想做的是,当有人登陆我的零售商页面时,地图会缩小,这样用户就可以看到整个世界。目前,当用户登陆页面时,地图被放大到海洋的某个特定部分,这是不可取的

感谢您的帮助!
谢谢:)

看看这个:

你认为我不使用API有关系吗..我只是做了一个自定义地图,点击“链接”得到html代码。实际上,没关系,我已经得到了;-)非常感谢:)酷。:)我认为这只是真实和错误的设置,但它可能会给你更多的想法,你可能想尝试。