Administrative Unit
Represents an administrative unit with its properties and relationships.
Constructors
Properties
The AdministrativeLevel of this unit (e.g., state, county, city).
The CartographicBoundary object representing the outline of the unit on a map (can be null).
A set containing all Image objects associated with this administrative unit (presumably images taken within its boundaries).
A set containing all child administrative units under this unit.
Functions
Handles active regions (regions that are visible and not unchecked by a user) from the cartographic boundary delimited by a bounding box.
Recursively iterates over all sub-administrative units within an AdministrativeUnit and creates a list of converted CartographicBoundaryViewData objects.
Converts the AdministrativeUnit model into the view object AdministrativeUnitViewData used to represent administrative units in the UI.