to Cartographic Boundary
fun JSONResult<GeoJSONAttributes>.toCartographicBoundary(administrativeUnitName: AdministrativeUnitName, administrativeLevel: AdministrativeLevel): CartographicBoundary?
Converts a JSONResult object containing GeoJSON data into a CartographicBoundary object. A CartographicBoundary represents the geographic boundary of an administrative unit (e.g., country, state, county).
Return
the CartographicBoundary object or null if the GeoJSON type is unexpected.
Parameters
administrative Unit Name
the AdministrativeUnitName used
administrative Level
the AdministrativeLevel used