1
我正在使用jQuery选项卡实现Google Map,但没有正确显示。
带有jQuery选项卡的Google Map API
我试过这段代码来重新调整标签ID的地图onclick。
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery("#tab6").click(function() {
google.maps.event.trigger('location-canvas', 'resize');
map.setCenter(bounds.getCenter());
map.setZoom(16);
});
});
</script>
但没有工作。
我使用此选项卡脚本:Simple jQuery Responsive Tabs Interface Plugin - jQueryTab
而且我的jsfiddle是:Code
我会很高兴如果你指导我,帮助我解决这个问题。
谢谢。
非常感谢您的大力帮助。 :) –