set bigger location restaurant

This commit is contained in:
hamid zarghami
2025-11-27 10:05:17 +03:30
parent fb6a34e314
commit 010a1c65b0
@@ -41,7 +41,7 @@ function OrderTrackingPage() {
const iconHtml = `
<div style="display: flex; flex-direction: column; align-items: center; text-align: center;">
<img src="/icons/restaurant-marker.svg" alt="موقعیت رستوران" style="width: 24px; height: 30px; display: block;" />
<img src="/icons/restaurant-marker.svg" alt="موقعیت رستوران" style="width: 32px; height: 40px; display: block;" />
</div>
`;
@@ -52,9 +52,9 @@ function OrderTrackingPage() {
icon: L.divIcon({
html: iconHtml,
className: 'custom-restaurant-marker',
iconSize: [32, 32],
iconAnchor: [16, 32],
popupAnchor: [0, -32],
iconSize: [40, 40],
iconAnchor: [20, 40],
popupAnchor: [0, -40],
})
}
]);