In brief
The 18th-century plan adapted itself to a North African context.
Useful to know
Essaouira is a fortified Moroccan city from the end of the 18th century. In its design, European military principles were adapted to the local context, and the port connected international trade and routes to the interior. [1]
Take a joint look at the city's grid, coast, and defenses. The port is not just a background of the facades, but a reason for the organization of access and fortification. The description "European influence" does not mean a copy of one particular city. The architectural interest is in adaptation: how a general principle gets a different solution according to terrain, trade and local needs.
Sources
For further detail and to check the information: