feat: Add Geofence Leaflet drawing tool for DOPs and Dumpsites
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user