Removed offset from DraggableMarkerExample

This commit is contained in:
Anmoldeep Singh
2026-01-02 19:51:23 +05:30
parent 8d6cd689e1
commit 9ba2eaa58f

View File

@@ -17,7 +17,6 @@ export function DraggableMarkerExample() {
draggable
longitude={draggableMarker.lng}
latitude={draggableMarker.lat}
offset={[0, -14]}
onDragEnd={(lngLat) => {
setDraggableMarker({ lng: lngLat.lng, lat: lngLat.lat });
}}
@@ -30,7 +29,7 @@ export function DraggableMarkerExample() {
/>
</div>
</MarkerContent>
<MarkerPopup offset={[0, -28]}>
<MarkerPopup>
<div className="space-y-1">
<p className="font-medium text-foreground">Coordinates</p>
<p className="text-xs text-muted-foreground">