Insert google map in a website with the left locations sidebar

為{幸葍}努か 提交于 2019-12-31 03:42:26

问题


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


回答1:


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)



来源:https://stackoverflow.com/questions/16346000/insert-google-map-in-a-website-with-the-left-locations-sidebar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!