-1
私のGoogleマーカーのリンクは機能しません。クリックするとリンクが開かれません。Googleマップのマーカーリンクの失敗
// Let's also add a marker while we're at it
var image = 'images/icons/mapicon.png';
var beachMarker = new google.maps.Marker({
position: new google.maps.LatLng(39.419659, -77.4126419),
map: map,
icon: image,
url: 'https://www.google.com'
});
google.maps.event.addListener(marker, 'click', function() {
window.open(marker.url);
});
私は愚かな気がする – Amoro