feat: add MapLibre GL map to property form and detail page
- Install maplibre-gl; use OpenFreeMap tiles (no API key) - PropertyMapPickerInner: address search via Nominatim, draggable marker, click-to-place, geolocation, clear button - PropertyMapPicker/View: dynamic next/dynamic wrappers (ssr: false) - PropertyMapViewInner: read-only marker view with navigation control - PropertyFormSheet: hidden mapLat/mapLng inputs, picker renders only when sheet is open, resets on property change - Property detail page: Konum section with PropertyMapView + Google Maps link - Sunum page: Google Maps deep link on PropertyCard when coordinates exist
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
"cmdk": "^1.1.1",
|
||||
"date-fns": "^4.1.0",
|
||||
"lucide-react": "^0.562.0",
|
||||
"maplibre-gl": "^5.24.0",
|
||||
"next": "16.1.1",
|
||||
"next-themes": "^0.4.6",
|
||||
"node-appwrite": "^23.1.0",
|
||||
|
||||
Reference in New Issue
Block a user