{{-- Page Header --}}
Geofence Management Create and manage geographical boundaries
Create Geofence Refresh
{{-- Geofence List Panel --}}
Geofences
@foreach($geofences as $geofence)
{{ $geofence->name }}
Type: {{ ucfirst($geofence->type) }}
@if($geofence->description)
{{ Str::limit($geofence->description, 50) }}
@endif
{{ $geofence->is_active ? 'Active' : 'Inactive' }}
{{-- Assigned Devices --}} @if($geofence->devices->count() > 0)
{{ $geofence->devices->count() }} device(s) assigned
@endif
@endforeach @if($geofences->isEmpty())
No geofences created yet
Create your first geofence
@endif
{{-- Drawing Tools --}}
Drawing Tools
Draw Polygon Draw Circle Draw Rectangle Edit Selected Delete Drawn Clear All
{{-- Map Area --}}
{{-- Map Instructions --}}
Instructions
• Use drawing tools to create geofences
• Click on existing geofences to select them
• Drag corners to edit shapes
• Right-click to finish drawing
{{-- Create/Edit Geofence Modal --}} @if($showModal)
{{ $editingGeofence ? 'Edit' : 'Create' }} Geofence
Name
Description
Type
Assign Devices
@foreach($devices as $device) @endforeach
Active
{{ $editingGeofence ? 'Update' : 'Create' }} Cancel
@endif {{-- Load Leaflet and Leaflet.draw Assets --}} @assets @endassets @script @endscript