This provides a means for mods to enable or disable the drawing of territory borders as desired, and also extends the functionality to the minimap so that if territory drawing is disabled it will not show on the minimap either. Visibility can be set in (mod)/simulation/data/territorymanager.xml
This is needed for mods that do not wish to use the territory system because although it is possible to disable territory influence for all buildings, petra is highly dependent on the territory system in order to function properly, and it would be extremely difficult to modify it to remove that dependency. Disabling territory drawing is a much simpler solution. This may also enable an option to disable territory drawing for screenshots if such a thing is desired.