From 3f32a65cdbdad36be36339efbdd472eee078fad6 Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Mon, 6 Jan 2025 10:52:39 +0330 Subject: [PATCH] change icon size --- src/core/components/MapInfoOneMarker.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/components/MapInfoOneMarker.jsx b/src/core/components/MapInfoOneMarker.jsx index e456244..a0817bf 100644 --- a/src/core/components/MapInfoOneMarker.jsx +++ b/src/core/components/MapInfoOneMarker.jsx @@ -23,8 +23,8 @@ const createCustomIcon = (size, iconUrl, labelText, color) => {
`, - iconSize: [100, 50], // Adjust icon size to fit your content - iconAnchor: [50, 25], // Adjust to position the marker correctly + iconSize: [50, 50], + iconAnchor: [25, 50], }); }