change icon size
This commit is contained in:
@@ -23,8 +23,8 @@ const createCustomIcon = (size, iconUrl, labelText, color) => {
|
|||||||
</div>
|
</div>
|
||||||
<div style="width: 5px; height: 20px; background: ${color}; margin: auto;border-bottom-left-radius: 50%; border-bottom-right-radius: 50%;"></div>
|
<div style="width: 5px; height: 20px; background: ${color}; margin: auto;border-bottom-left-radius: 50%; border-bottom-right-radius: 50%;"></div>
|
||||||
</div>`,
|
</div>`,
|
||||||
iconSize: [100, 50], // Adjust icon size to fit your content
|
iconSize: [50, 50],
|
||||||
iconAnchor: [50, 25], // Adjust to position the marker correctly
|
iconAnchor: [25, 50],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user