将Google地图插入左侧位置边栏的网站中 [英] Insert google map in a website with the left locations sidebar

查看:93
本文介绍了将Google地图插入左侧位置边栏的网站中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的Gmail帐户中创建了一张公共地图。我在地图上添加了不同的位置。我想将地图插入我的网站,并且想要显示左侧栏中地点的位置,例如在Google地图网站中,但我无法找到。



这是我的网站显示的地图:



这就是我想要的:(在谷歌地图页面中查看)



进入自定义和预览嵌入式地图时是没有选择,包括侧边栏:



这是地图的地址:
https://maps.google.com/maps/ms?hl=zh-CN&ie=UTF8&oe=UTF8&msa=0&msid=216330649072490208011.0004daf6e6bfde8dd857d p>

¿任何建议?感谢您的帮助

解决方案

我知道如何做到这一点的唯一方法就是这样:

http:// www .geocodezip.com / geoxml3_test / v3_geoxml3_kmltest_linktoB.html文件名= HTTP:?//www.geocodezip.com/xmlProxy060215.asp HTTPS%3A%2F%2Fmaps.google.com%2Fmaps%2Fms%3Fhl%3Den%26ie%3DUTF8 %26oe%3DUTF8%26authuser%3D0%26msa%3D0%26输出%3Dkml%26msid%3D216330649072490208011.0004daf6e6bfde8dd857d



(使用第三方解析器 geoxml3 解析KML并将其呈现为本地Google Maps Javascript API v3对象,这些对象可通过边栏进行访问entires)


I created a public map into my gmail account. I added to the map different locations. I want to insert the map into my website and I want to show the locations of the places in the left sidebar like in the google maps site, but I can't find how.

This is the map as shown in my site:

This is what I want to have: (as viewed in the google maps page)

I embedded the map into my page using the google embed tool

When entering into "Customize and preview embedded map" there is no option to include the sidebar:

This is the address of the map: https://maps.google.com/maps/ms?hl=en&ie=UTF8&oe=UTF8&msa=0&msid=216330649072490208011.0004daf6e6bfde8dd857d

¿Any suggestion? Thanks for helping

解决方案

The only way I know how to do that is like this:

http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linktoB.html?filename=http://www.geocodezip.com/xmlProxy060215.asp?https%3A%2F%2Fmaps.google.com%2Fmaps%2Fms%3Fhl%3Den%26ie%3DUTF8%26oe%3DUTF8%26authuser%3D0%26msa%3D0%26output%3Dkml%26msid%3D216330649072490208011.0004daf6e6bfde8dd857d

(uses a third party parser geoxml3 to parse the KML and render it as native Google Maps Javascript API v3 objects, which are accessible via the sidebar entires)

这篇关于将Google地图插入左侧位置边栏的网站中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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