// Configuration clustering intelligent
var markers = L.markerClusterGroup({
maxClusterRadius: 80,
spiderfyOnMaxZoom: true,
showCoverageOnHover: false,
zoomToBoundsOnClick: true,
iconCreateFunction: function(cluster) {
var count = cluster.getChildCount();
var size = count < 10 ? "small" : count < 50 ? "medium" : "large";
return L.divIcon({
html: "
" + count + "
",
className: "marker-cluster marker-cluster-" + size,
iconSize: L.point(40, 40)
});
}
});
// Configuration clustering intelligent
var markers = L.markerClusterGroup({
maxClusterRadius: 80,
spiderfyOnMaxZoom: true,
showCoverageOnHover: false,
zoomToBoundsOnClick: true,
iconCreateFunction: function(cluster) {
var count = cluster.getChildCount();
var size = count < 10 ? "small" : count < 50 ? "medium" : "large";
return L.divIcon({
html: "" + count + "
",
className: "marker-cluster marker-cluster-" + size,
iconSize: L.point(40, 40)
});
}
});
/* Header mobile scrollable */
@media (max-width: 768px) {
.header {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
white-space: nowrap;
padding: 15px 10px !important;
scrollbar-width: none; /* Firefox */
}
.header::-webkit-scrollbar {
display: none; /* Chrome/Safari */
}
.header a {
display: inline-block !important;
margin: 0 8px;
padding: 8px 15px;
font-size: 14px;
}
.logo {
display: inline-block !important;
margin-right: 15px;
}
}
🎉 Apple Pay et Google Pay bientôt disponibles ! 💳 En attendant, profitez de PayPal
// Configuration clustering intelligent
var markers = L.markerClusterGroup({
maxClusterRadius: 80,
spiderfyOnMaxZoom: true,
showCoverageOnHover: false,
zoomToBoundsOnClick: true,
iconCreateFunction: function(cluster) {
var count = cluster.getChildCount();
var size = count < 10 ? "small" : count < 50 ? "medium" : "large";
return L.divIcon({
html: "" + count + "
",
className: "marker-cluster marker-cluster-" + size,
iconSize: L.point(40, 40)
});
}
});
🤖