{{/* The region area workspace: one region's geofence, drawn on a full-width map with its siblings shown as read-only context. Attributes live in the modal on the Configuration page — this page saves only the shape, through its own endpoint. The side panel is deliberately roomy: it's where boundary import (load a real administrative border and pick the areas you want) will land next to the draw tools. */}} {{define "title"}}{{.Region.DisplayName}} area · {{.Org.Name}} · MeshTender{{end}} {{define "header"}}
{{.Org.Name}} · Configuration · {{.Region.DisplayName}}

Edit area

Back to configuration
{{end}} {{define "content"}} {{template "org-tabs" .Nav}} {{if .Errors}} {{end}} {{template "map-styles"}}

{{.Region.DisplayName}}

{{.Region.Token}} · level {{.Region.Layer}}
Area:

Draw with the tools at the top-right of the map: click each corner, then close the outline by clicking the first corner again or pressing Enter. A region needs an area before it applies to anything — until then it's a draft and no repeater picks it up.

{{if .Siblings}}

The organization's other regions are outlined for reference. They can't be edited here — open each one's own area editor.

{{end}}
{{template "map-scripts"}} {{template "map-draw-scripts"}} {{/* Values are interpolated in a JS context, so html/template JSON-encodes and escapes them — the region names and shapes are user data. */}} {{end}}