Commit Graph
8 Commits
Author SHA1 Message Date
Hamza-Ayed 7f812c6929 chore: save state before importing syria data 2026-04-06 01:21:03 +03:00
Hamza-Ayed c136cee04f fix(geocoding): fix query param string parsing, location field mismatch, and distance_km normalization
- controller: @Query() params arrive as strings in NestJS - now explicitly
  parseFloat() all numeric params (lat, lng, radius) before passing to service.
  Also validates against NaN before hitting PostGIS.
- controller: reverse geocode now validates and throws 400 on invalid lat/lng.
- service: searchPlaces now normalizes all results to include:
    - location: { lat, lng } nested object (frontend was crashing on place.location.lat)
    - distance_km: pre-computed string field (frontend was reading undefined distance_km)
    - latitude/longitude as actual floats (not decimal strings from DB)
- frontend (App.tsx): fixed map.flyTo() to read place.latitude/place.longitude
  instead of the non-existent place.location.lat/lng.
- frontend (App.tsx): fixed search result click handler same way.
- frontend (App.tsx): fixed distance display to compute from res.distance (meters).
- entity: added missing source column to BasePlace entity.
2026-03-29 23:30:12 +03:00
Hamza-Ayed ca043b67a8 Final Refinement: Native Labels, Interactive Management UI, and Visual Polishing 2026-03-29 02:55:28 +03:00
Hamza-Ayed 014848247d feat: upgrade to Intaleq Style v3 and enable Egypt routing demo (code only) 2026-03-28 21:34:21 +03:00
Hamza-Ayed 12a206ae85 stable: mapping v1.0 restored and verified 2026-03-28 04:26:45 +03:00
Hamza-Ayed 592af8ce5c stable: finalized GIS aesthetics and Syria/Jordan routing synchronization 2026-03-28 04:12:01 +03:00
Hamza-Ayed d6f3b41b53 feat(gis): restore premium OSM style and fix international routing bounds for Jordan & Syria 2026-03-28 03:55:42 +03:00
Hamza-Ayed 6e6ee55d03 1 2026-03-20 02:14:50 +03:00