简体   繁体   English

全景加载 SpiderFier 停止工作后

[英]After Panorama Load SpiderFier stop working

I am plotting markers on map, and for same location I am using this Library SpiderFy .我正在地图上绘制标记,对于相同的位置,我正在使用这个 Library SpiderFy What I want is to when on each marker clicked the marker Panorama should be display below the map in separate container.我想要的是当在每个标记上单击时,标记全景应该显示在地图下方的单独容器中。

After once Panorama load then SpiderFier stop working and then markers can not Spiderfy again一次全景加载后,SpiderFier 停止工作,然后标记不能再次 Spiderfy

when Panorama specific code is commented then its start working fine.当 Panorama 特定代码被注释时,它开始工作正常。

What could be the issue ?可能是什么问题 ?

Thanks in Advance.提前致谢。

I solved this issue by creating another instance of Google Map like.我通过创建另一个类似谷歌地图的实例解决了这个问题。

/*Google Map instance for draw Google Map*/     
map = new google.maps.Map(document.getElementById("map_canvas"),
                mapOptions);

/*Google map instance  for StreetView*/
        streeviewMap = new google.maps.Map(document
                .getElementById("images_tab"), mapOptions); 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM