2012-05-11 5 views

답변

3

이 모두 매우 간단 사용 된 경우 캐치 - 당신은 단순히 적절한 이벤트를 수신 :

지도 유형 변경 :

google.maps.event.addListener(map, 'maptypeid_changed', function() { 
    console.log("map type changed"); 
}); 

스트리트 뷰 활성화 :

var pano = map.getStreetView(); 
google.maps.event.addListener(pano, 'visible_changed', function() { 
    if (pano.getVisible()) { 
    console.log("street view visible"); 
    } 
});