Google将api标记信息映射到侧栏中 [英] Google maps api marker info in sidebar
问题描述
我目前使用Google Maps Javascript API版本3创建交互式网络地图。我不确定这是否可行,但我想创建一系列包含不同kml文件的地图图层,这些文件可以从边栏。我还希望能够访问kmls中的各个点,以便当用户点击某个特定点时,照片,文本等可以在地图窗口外加载......
有关如何完成此任务的任何想法?我一直在寻找一段时间,只找到配置infowindow的方法,我个人认为它没有吸引力......
找到本教程,看起来好像会有所斩获!
I'm currently creating an interactive web map using Google Maps Javascript API version 3. I'm not sure if this is possible but I would like to create a series of map layers consisting of different kml files that could be toggled from the side bar. I would also like to be able to access the individual points within the kmls so that when the user clicks on a particular point, photos, text etc. can be loaded outside the map window...
Any ideas on how to accomplish this? I've been searching for a while and only found ways of configuring the infowindow which I personally find unattractive...
I found this tutorial which seems like it'll do the trick!
这篇关于Google将api标记信息映射到侧栏中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!