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

@@ -29,6 +29,7 @@ class DropOffPoint extends Model
'code',
'barangay_id',
'coordinates',
'geofence',
'address_line',
'capacity_kg',
'operating_hours',
@@ -43,6 +44,7 @@ class DropOffPoint extends Model
{
return [
'coordinates' => Point::class,
'geofence' => \MatanYadaev\EloquentSpatial\Objects\Polygon::class,
'operating_hours' => 'array',
'accepted_waste_types' => 'array',
'capacity_kg' => 'integer',