{{-- Shared GIS drawing workspace used by create.blade.php and edit.blade.php --}}
@error('name')
{{ $message }}
@enderror
@if(isset($zone))
@endif {{-- Hidden field populated by zone-editor.js --}} @error('shapes_payload')
{{ $message }}
@enderror Cancel
Shapes in this Zone
No shapes drawn yet — pick a tool and start drawing.
@if(isset($zone) && $zone->versions->count())
Version History
    @foreach ($zone->versions as $version)
  • v{{ $version->version }} — {{ $version->change_note }}
    {{ $version->changedBy->name ?? 'System' }} · {{ $version->created_at->diffForHumans() }}
    @if ($version->version !== $zone->versions->max('version'))
    @csrf
    @endif
  • @endforeach
@endif
Add point by coordinates:
Zone Info
Shapes—
Total Area—
Total Perimeter—
Total Vertices—
Lat: — Lng: —

Select a drawing tool, then click on the map to draw — or place a point marker exactly by typing its Lat/Lng above and clicking Add Point. Polygons connect automatically and close when you finish. Drawing another shape adds it to this zone — nothing already drawn is cleared. Click a shape (on the map or in the list) to select it, drag vertices to edit, and use Delete to remove the selected shape.