MYCDIC WEBSITE v1.9.31.1
Territorial Map Studio + Global Geography Release
Date: 23 August 2026

PURPOSE
This release completes the territorial-network work started in v1.9.31.0. The map points are no longer fixed decorative numbers. Each numbered point is a controlled regional record linked to its public page and can be repositioned directly on the map from Institutional Admin.

1. MOROCCO MAP STUDIO
- The Morocco National Office keeps the official stable numbering 1 through 12.
- Every number is permanently bound to the same region record and public region page.
- Institutional Admin > Regional & Local Networks now contains a 12-region drag map studio.
- Drag a marker with mouse or touch, then use Save all 12 positions.
- Positions are stored as percentages so they remain aligned on desktop and mobile.
- Individual region editing also includes a click/drag coordinate picker.
- Public hover/focus shows region name, capital, status, number of city records, and published leader when available.
- Mobile markers use a smaller responsive size and support the existing tap-to-inspect behavior.

2. INTERNATIONAL COUNTRY MAP STUDIO
- Every MYCDIC country representation can have one clean territorial map uploaded from the dashboard.
- Once the map is uploaded, select the country in Map Studio and drag every numbered regional marker into the correct area.
- The marker number is stable for that country's geography catalog.
- Every regional marker links to /network/{country}/local/{region}/.
- Manually positioned city markers can also appear on the country map; city markers are opt-in so large countries do not render thousands of dots.

3. GLOBAL GEOGRAPHY CATALOG
- 62 MYCDIC country-representation countries are preloaded.
- 1,510 administrative regions are preloaded.
- 29,533 cities are preloaded.
- Every catalog region/city has a dynamic planning page.
- Geography records are planning records by default and do not assert that an MYCDIC office is operational.
- Planned pages use noindex,follow until operational publication status is activated.
- Public geography data files are protected from direct web access by .htaccess.

4. DASHBOARD CONTROL
Institutional Admin > Regional & Local Networks now provides:
- Morocco map settings and replacement image.
- Country map upload/removal.
- Morocco 12-region drag studio.
- Country regional drag studio.
- Global country/region/city geography catalog browser.
- Region/city activation status.
- Public page on/off control.
- Linked verified member or manual public leader.
- Leader photo, title, biography, LinkedIn and website.
- Public email, phone and office address.
- Priorities, activities and gallery.
- Map X/Y and direct click/drag positioning.

5. PUBLIC PAGES
- /national-office-rabat.aspx reads the same Morocco registry and renders the 12 markers.
- /morocco/regions/{slug}/ displays region details and connected cities.
- /morocco/cities/{slug}/ displays the city planning/office page.
- /network/{country}/territory/ is the full region/city directory for a country.
- /network/{country}/local/{slug}/ renders a dynamic regional or city page.
- Country representation microsites load regional/city information through the public territorial API.
- Public leaders linked to an existing MYCDIC member reuse the verified member profile/photo instead of duplicating data.

6. DATA SOURCE
Administrative-region and city seed geography for international representations is filtered from the SimpleMaps Basic World Cities Database under CC BY 4.0. The geography seed is separate from MYCDIC operational status. Office activation, appointments, photos, contact and public activity remain controlled only by MYCDIC.

7. VALIDATION COMPLETED
- PHP files linted: 445, syntax errors: 0.
- JSON files parsed: 203, invalid: 0.
- JavaScript files checked: 42, syntax errors: 0.
- MYCDIC representation countries: 62/62 matched with geography catalog.
- Geography totals: 1,510 regions and 29,533 cities.
- Morocco: 12 regions and 60 seeded city records.
- Morocco marker numbers verified as unique 1-12.
- Country region/city slug collisions: none after conflict normalization.
- Generated country representation pages: 62/62 load platform-portals.js v1.9.31.1.
- Spain test: 20 regions, 783 cities; regional and Madrid city planning pages render successfully.
- National Office render: 12 map markers and 12 linked region cards.

ADMIN QUICK USE
A. Morocco: Institutional Admin > Regional & Local Networks > Drag map studio > drag points 1-12 > Save all 12 positions.
B. Another country: Map activation > choose country > upload clean map > Map Studio > choose same country > drag regional points > Save positions.
C. Edit a region/city: Geography Catalog > select country > open region/city > add leader/status/contact/media > Save.
D. To show a city dot on a country map, edit that city and position it on the map. Regional markers are the default numbered layer; city markers are optional.

Release: MYCDIC v1.9.31.1
