Điểm đánh dấu không hiển thị, tôi đã đọc tài liệu nhưng tôi không thể tìm thấy sự cố, ai đó có thể giúp tôi không?Điểm đánh dấu bản đồ Google không hiển thị API v3
heres js:
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(-8.064903, -34.896872),
zoom: 16,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);
var marker = new google.maps.Marker({
position: location,
title:"Hello World!",
visible: true
});
marker.setMap(map);
}
là gì 'location'? – alestanis