plusRoundIcon in eine separate Datei auslagern und dann in MapComponent importieren, um eine bessere Struktur zu gewährleisten
This commit is contained in:
8
components/PlusRoundIcon.js
Normal file
8
components/PlusRoundIcon.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const plusRoundIcon = L.icon({
|
||||
//iconUrl: "/img/plus_round.png", // Update with your actual path
|
||||
iconUrl: "/img/plus_round.png", // Update with your actual path
|
||||
iconSize: [22, 22],
|
||||
iconAnchor: [25, 55],
|
||||
className: "absolute top-0 left-0 z-10", // Adjust with Tailwind CSS classes
|
||||
});
|
||||
export default plusRoundIcon;
|
||||
Reference in New Issue
Block a user