0
괜찮 았는데,지도를로드 할 때이 부분에 "google"이 undefined
으로 표시됩니다.Google지도로드 오류 "google"undefined
var polyline = [
new Google.map.LatLng(3.032617, 101.376),
new Google.map.LatLng(3.03255, 101.3759),
new Google.map.LatLng(3.032467, 101.3758),
new Google.map.LatLng(3.031867, 101.3753),
new Google.map.LatLng(3.0318, 101.3753)
];
var polylineopts = {
path: polyline,
map: map,
strokecolor: 'blue',
strokeopacity: 1.6,
strokeweight: 3,
geodesic: true
};
var poly = new google.maps.Polyline(polylineopts);
은 u는 머리 IE에서 구글 맵 JS을 포함'<스크립트 SRC = "https://maps.googleapis.com/maps/api/js?v = 3.exp & sensor = false ">' –
이 코드에서 'google'이 '정의되지 않음'이 될 이유는 없습니다. 왜 그렇게해서는 안된다고 생각하니? –
'var poly = new Google.maps.Polyline (polylineopts);'(대문자)를 사용 하시겠습니까? –