Commit Graph

10 Commits

Author SHA1 Message Date
f5a1e49d20 Add name edit modal, photo viewer, marker fly-to, and fix tile fallback 2026-05-16 02:32:47 +09:00
9a5f6cc185 fix gitignore 2026-05-15 23:19:06 +09:00
7d9da2c2f4 add .gitingore 2026-05-15 23:17:00 +09:00
9cf163908f Store photos on server, save path in Excel instead of base64
- Add POST /upload endpoint to server.py (saves to photos/ dir)
- Add DELETE /photos/ endpoint for photo removal
- Replace base64 photoData with server-stored photoPath
- Export/import uses path string instead of large base64 data
2026-05-15 19:08:21 +09:00
beee0eac64 Compress photos on upload to fit Excel 32,767-char cell limit
- Add compressImage(): resize to max 400px width, JPEG quality 0.5
- Replace FileReader with canvas-based compression in handlePhotoUpload
- Add try-catch in export with alert on overflow
2026-05-15 19:06:28 +09:00
16e78a7a74 Persist photos in Excel export/import
- Add Photo column to export (base64 data URL)
- Read Photo column on import and restore flag.photoData
2026-05-15 19:03:32 +09:00
b87d6302d3 Make name tooltip permanent and 1.2x larger
- Add permanent: true to tooltip (always visible speech bubble)
- Add CSS class flag-marker-tooltip with 1.2em font size
- Use white-space: nowrap to prevent word wrapping
2026-05-15 18:56:27 +09:00
a801274e5f Clean up marker tooltip: show only name in speech bubble, circle shows number
- Remove number duplication from tooltip (number is on circle icon)
- Change tooltip direction from top to right
- Only show tooltip when flag.name exists
2026-05-15 18:53:33 +09:00
85a253f9a6 Fix VWORLD boundary API: correct dataset name, attrFilter encoding, and response path
- Fix dataset name LT_C_ADSSIGG_INFO → LT_C_ADSIGG_INFO (double S typo)
- Fix attrFilter: remove encodeURIComponent (caused double-encoding) and % wildcards
- Fix extractFeatures: add featureCollection.features path (VWORLD response structure)
- Fix Overpass relationToGeoJSON: assemble way segments into complete rings
- Add assembleRings with endpoint matching and area-based filtering
- Add VWORLD API key UI with localStorage persistence
- Add VWORHD tile layer with OSM fallback
- Add VWORLD geocode with Nominatim fallback
2026-05-15 18:42:54 +09:00
9bf1db9889 Initial commit: Map Flag Placer with Leaflet, Excel import/export, admin boundaries, and photo upload 2026-05-15 16:26:14 +09:00