Clean Code Edit Maps

Maps Edit Feature
- app/(application)/(user)/maps/[id]/edit.tsx
- components/Map/MapSelectedV2.tsx

Docs
- docs/prompt-for-qwen-code.md

New Screen
- screens/Maps/ScreenMapsEdit.tsx

### No Issue
This commit is contained in:
2026-03-02 10:31:29 +08:00
parent f5d09a2906
commit 4c63485a5b
4 changed files with 254 additions and 245 deletions

View File

@@ -81,6 +81,7 @@ export function MapSelectedV2({
(event: any) => {
const coordinate = event?.geometry?.coordinates || event?.coordinates;
if (coordinate && Array.isArray(coordinate) && coordinate.length === 2) {
console.log("[MapSelectedV2] coordinate", coordinate);
onLocationSelect?.([coordinate[0], coordinate[1]]);
}
},