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 = ` const iconHtml = `
<div style="display: flex; flex-direction: column; align-items: center; text-align: center;"> <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> </div>
`; `;
@@ -52,9 +52,9 @@ function OrderTrackingPage() {
icon: L.divIcon({ icon: L.divIcon({
html: iconHtml, html: iconHtml,
className: 'custom-restaurant-marker', className: 'custom-restaurant-marker',
iconSize: [32, 32], iconSize: [40, 40],
iconAnchor: [16, 32], iconAnchor: [20, 40],
popupAnchor: [0, -32], popupAnchor: [0, -40],
}) })
} }
]); ]);