Dynamic Districts & Governorates

{{ importStatus }}

Districts ({{ districts.length }})

Loading...

No districts found. Click "Import Districts" to load data.

{{ getLocalizedName(district) }}
{{ district.children?.length || 0 }} governorates
District image
• {{ getLocalizedName(gov) }}
+{{ district.children.length - 3 }} more

{{ getLocalizedName(selectedDistrict) }}

ID: {{ selectedDistrict.id }}
Category: {{ selectedDistrict.category }}
Type: {{ selectedDistrict.type }}

Translations

Arabic: {{ selectedDistrict.translations.ar }}
English: {{ selectedDistrict.translations.en }}
French: {{ selectedDistrict.translations.fr }}

Contents

{{ content.content.text }}
{{ content.content | json }}

Governorates ({{ selectedDistrict.children?.length || 0 }})

{{ getLocalizedName(gov) }}
Governorate image
Has Content

{{ getLocalizedName(selectedGovernorate) }}

ID: {{ selectedGovernorate.id }}
Category: {{ selectedGovernorate.category }}
Parent: {{ selectedDistrict?.name }}

Translations

AR: {{ selectedGovernorate.translations.ar }}
EN: {{ selectedGovernorate.translations.en }}
FR: {{ selectedGovernorate.translations.fr }}

Geometry

Type: {{ selectedGovernorate.geometry.type }}
Centroid: {{ selectedGovernorate.latitude?.toFixed(4) }}, {{ selectedGovernorate.longitude?.toFixed(4) }}

Contents

{{ content.content.text }}