Ui-Tabs 中的 Google Maps Api v3 地图被删减
本文介绍了Ui-Tabs 中的 Google Maps Api v3 地图被删减的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道这是一个常见问题,我已经查看了这里的所有主题以寻求解决方案,但是,当我更改标签时,我仍然会遇到这个问题:
I know this is a common problem here, i already look at all the topics here for a solution, but still, when i change tabs i continue with this problem:
请看我的js代码:
我有两张地图,每个标签一张.我可以通过其他帖子解决中心点隐藏在左角的问题:
i have two maps, one ofr each tab. i could solve the problem of the center point being hide on the left corner with this from other post:
但是这里所说的问题我什至没有运气在这里查看其他主题.
but the problem stated here i had no luck even lookin at other topics here.
推荐答案
我找到了干净的解决方案:
I found the clean solution: