feat: Add Geofence Leaflet drawing tool for DOPs and Dumpsites

This commit is contained in:
Developer
2026-06-30 13:31:36 +08:00
parent 54de35b03d
commit 92f8ee95fc
12 changed files with 214 additions and 83 deletions

View File

@@ -21,6 +21,7 @@ class StoreDropOffPointRequest extends FormRequest
'barangay_id' => ['nullable', 'integer', 'exists:barangays,id'],
'lat' => ['required', 'numeric', 'between:-90,90'],
'lng' => ['required', 'numeric', 'between:-180,180'],
'geofence_wkt' => ['nullable', 'string'],
'address_line' => ['required', 'string', 'max:255'],
'capacity_kg' => ['nullable', 'integer', 'min:0'],
'operating_hours' => ['nullable', 'array'],