Actions
Task #76
openAds – Nearby Ads Map View
Start date:
02/05/2026
Due date:
02/05/2026 (28 days late)
% Done:
0%
Estimated time:
Description
Implement a map-based view for Ads that visually displays nearby ads using a Google Maps–like interface. Ads should appear as markers based on latitude and longitude, helping users easily discover nearby ads.
***Tables Used
ads
- id (PK)-Ad ID
- title-Ad title
- category_id-Ad category
- latitude-Latitude coordinate
- longitude-Longitude coordinate
- status-Draft / Pending / Approved / Sold
- is_active-Active / Inactive
- created_at-Timestamp
***Validations / Rules
- Show only Approved and Active ads
- Latitude & longitude must exist to display marker
- Latitude must be between -90 and +90
- Longitude must be between -180 and +180
- Clicking a marker should show:
Ad title
Category
Location (place/district) - Ads without coordinates should not appear on the map
Actions