描述此問題的最佳方法是使用鏈接。請訪問此頁:Ruby International | APOAds.comGoogle地圖GDirections - IE7中沒有居中/放大縮小圖
在FireFox中,一切正常。在IE中加載方向,但不集中於它們。也許這只是我的個人電腦,它是否在IE瀏覽器下工作?
這裏的JavaScript做的工作首當其衝:
$(function() {
// panorama of business
var biz = new GLatLng(35.796532,139.406645);
panoramaOptions = { latlng:biz };
myPano = new GStreetviewPanorama($("div#geoMap").get(0), panoramaOptions);
// get map for directions
var dirMap = new GMap2($("div#dirMap").get(0));
dirMap.setCenter(new GLatLng(35.740066,139.347582), 12);
dirMap.setUIToDefault();
// load directions
directions = new GDirections(dirMap, $("div#dirMapText").get(0));
directions.load("from: [email protected],139.347582 to: Ruby [email protected],139.406645");
$("#tabs").tabs({ cookie: { expires: 30 } });
});
任何幫助是極大的讚賞。 (人)
from yokota air base? – 2009-06-19 12:23:48
這是正確的。 :D – Chaddeus 2009-06-19 12:32:34
很酷。我在東京。不要經常到橫田出去,但是這是一個很好的地方。摩托車,對不起。沒有汽車:( – 2009-06-19 12:37:49