大家好,又见面了,我是你们的朋友全栈君。
高德地图marker的遮挡问题
var marker = new AMap.Marker({
position: [
longitude,latitude,
],
map: map,
icon: startIcon,
});
marker.on("mouseover", function (e) {
e.target.setTop(true);
});
marker.on("mouseout", function (e) {
e.target.setTop(false);
});
转载 :https://blog.csdn.net/hahah1234111111/article/details/118365273?
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/143495.html原文链接:https://javaforall.cn