Đây là Listener tôi thêm -bản đồ Google API: Không thể đọc thuộc '__e3_' không xác định
var map;
var geocoder;
function initialize() {
var myOptions = {
zoom: 8,
center: new google.maps.LatLng(22, 88),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canvas'), myOptions);
}
//google.maps.event.addDomListener(window, 'load', initialize);
google.maps.event.addListener(map, 'click', function(event) {
geocoder = new google.maps.Geocoder();
geocoder.geocode({ 'latLng': event.latLng}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
alert(results);
} else {
alert("Geocode was not successful for the following reason: " + status);
}
});
});
Nhưng nó được tạo ra lỗi này trong giao diện điều khiển -
Uncaught TypeError: Cannot read property '__e3_' of undefined
Ke
Ie
R.addListener
(anonymous function)
Cố gắng tìm kiếm. Nhưng không có giải pháp.
bạn có tìm thấy gì không? Tôi cũng gặp vấn đề tương tự – J4N