Google harita işaretçilerim, imleci imleç stilinin üzerine getirmekten nasıl durdurabilirim? Şu anda işaretçiler, fareyi üzerlerinde gezdirirseniz, imleç bir ele dönüştüğünde, bağlantılar gibi davranır. Eğer cursor
özelliği ayarlayabilirsiniz,Google harita işaretleyicileri, imlecin üzerinde imleç imleci stiline sahip olmasını engeller mi?
function addMarkerLargeMap(latlng, myTitle, html, price) {
markers.push(new google.maps.Marker({
position: latlng,
clickable: false,
map: map,
title: myTitle,
icon: "path-to-my-icon.png",
html: "<div style='width:100px;height:auto'>" + html + "</div>",
}));
Alternatif işaretleyici seçeneklerinde false
function addMarkerLargeMap(latlng, myTitle, html, price) {
markers.push(new google.maps.Marker({
position: latlng,
map: map,
title: myTitle,
icon: "path-to-my-icon.png",
html: "<div style='width:100px;height:auto'>" + html + "</div>",
}));
marker.setCursor'u çalıştırabilir ({imleç: 'default'}) – PiLHA