change icon size
This commit is contained in:
@@ -23,8 +23,8 @@ const createCustomIcon = (size, iconUrl, labelText, color) => {
|
||||
</div>
|
||||
<div style="width: 5px; height: 20px; background: ${color}; margin: auto;border-bottom-left-radius: 50%; border-bottom-right-radius: 50%;"></div>
|
||||
</div>`,
|
||||
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],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user