build and format

This commit is contained in:
2026-02-05 12:35:26 +03:30
parent cf51b14681
commit f44e3ab421
3 changed files with 11 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ export default function LocationMarker({ location, onDragEnd }: Props) {
className="absolute -bottom-4.5 z-[-1] size-1.5 rounded-full bg-black shadow-md"
/>
)}
<MarkerIcon className="text-neo-aqua size-8" />
<MarkerIcon className="text-neo-aqua size-8" />
</motion.div>
</AnimatePresence>
</Marker>

View File

@@ -1,16 +1,19 @@
"use client"
"use client";
import MainMap from "@/components/MainMap";
import LocationMarker from "./LocationMarker";
const LocationModal = () => {
return (
<div style={{ width: "100%", height: "100dvh", position: "relative" }}>
<MainMap>
<LocationMarker location={{lat : 36.541, lng : 54.56}} onDragEnd={()=> {
console.log("hello")}} />
</MainMap>
<MainMap>
<LocationMarker
location={{ lat: 36.541, lng: 54.56 }}
onDragEnd={() => {
console.log("hello");
}}
/>
</MainMap>
</div>
);
};
export default LocationModal;

View File

@@ -1,4 +1,4 @@
"use client"
"use client";
import { Map, MapLayerMouseEvent } from "@vis.gl/react-maplibre";
import { ReactNode, useMemo } from "react";
import maplibregl from "maplibre-gl";