I guess you are using the Leaflet.markercluster plugin, and are asking how to customize the coverage polygon that is displayed when hovering a cluster, or how to disable this feature?
In that case:
showCoverageOnHover
option:L.markerClusterGroup({
showCoverageOnHover: false
});
polygonOptions
option, with an object containing appropriate path style options :L.markerClusterGroup({
polygonOptions: {
color: "red"
}
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.