+
diff --git a/src/components/map.tsx b/src/components/map.tsx
index 29ae55c..c00fbf9 100644
--- a/src/components/map.tsx
+++ b/src/components/map.tsx
@@ -1,24 +1,61 @@
import { MapContainer, Marker, Popup, TileLayer } from "react-leaflet";
+import { Icon } from "leaflet";
+import "leaflet/dist/leaflet.css";
const Map = () => {
- const position = [45.5637, 10.16356];
+ const positions = [
+ {
+ name: "Autogeneral",
+ position: [45.49285083101236, 10.15951437254693],
+ },
+ {
+ name: "Delizie e Sapori (Cuor di gelato)",
+ position: [45.55425938252774, 10.227818585851844],
+ },
+ {
+ name: "Casa dell'Ottica di Zanotti Giulio",
+ position: [45.53644055688526, 10.222584658771389],
+ },
+ {
+ name: "Nuova Ottica",
+ position: [45.48257540298808, 10.23957216093029],
+ },
+ ];
+
+ const customMarker = new Icon({
+ iconUrl: "marker-icon-red.png",
+ iconAnchor: [10, 20],
+ popupAnchor: [0, -15],
+ });
+
return (
- <>
-
-
-
- Hey ! you found me
+
+
+ {positions.map((client) => (
+
+
+ {client.name}
+
+ P.IVA
+ 03417520172
+
+
-
- >
+ ))}
+
);
};