diff --git a/src/main/java/com/google/maps/model/AddressComponentType.java b/src/main/java/com/google/maps/model/AddressComponentType.java index aa0d565d7..ef45c6932 100644 --- a/src/main/java/com/google/maps/model/AddressComponentType.java +++ b/src/main/java/com/google/maps/model/AddressComponentType.java @@ -70,6 +70,18 @@ public enum AddressComponentType { */ ADMINISTRATIVE_AREA_LEVEL_5("administrative_area_level_5"), + /** + * A sixth-order civil entity below the country level. This type indicates a minor civil division. + * Not all nations exhibit these administrative levels. + */ + ADMINISTRATIVE_AREA_LEVEL_6("administrative_area_level_6"), + + /** + * A seventh-order civil entity below the country level. This type indicates a minor civil division. + * Not all nations exhibit these administrative levels. + */ + ADMINISTRATIVE_AREA_LEVEL_7("administrative_area_level_7"), + /** A commonly-used alternative name for the entity. */ COLLOQUIAL_AREA("colloquial_area"), diff --git a/src/test/java/com/google/maps/model/EnumsTest.java b/src/test/java/com/google/maps/model/EnumsTest.java index a77d85d73..c9ab6d490 100644 --- a/src/test/java/com/google/maps/model/EnumsTest.java +++ b/src/test/java/com/google/maps/model/EnumsTest.java @@ -218,6 +218,8 @@ public void testCanonicalLiteralsForAddressComponentType() { m.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_3, "administrative_area_level_3"); m.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_4, "administrative_area_level_4"); m.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_5, "administrative_area_level_5"); + m.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_6, "administrative_area_level_6"); + m.put(AddressComponentType.ADMINISTRATIVE_AREA_LEVEL_7, "administrative_area_level_7"); m.put(AddressComponentType.COLLOQUIAL_AREA, "colloquial_area"); m.put(AddressComponentType.LOCALITY, "locality"); m.put(AddressComponentType.WARD, "ward");