Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/main/java/com/google/maps/model/AddressComponentType.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"),

Expand Down
12 changes: 12 additions & 0 deletions src/main/java/com/google/maps/model/AddressType.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,18 @@ public enum AddressType implements UrlValue {
*/
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"),

Expand Down
4 changes: 4 additions & 0 deletions src/test/java/com/google/maps/model/EnumsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public void testCanonicalLiteralsForAddressType() {
m.put(AddressType.ADMINISTRATIVE_AREA_LEVEL_3, "administrative_area_level_3");
m.put(AddressType.ADMINISTRATIVE_AREA_LEVEL_4, "administrative_area_level_4");
m.put(AddressType.ADMINISTRATIVE_AREA_LEVEL_5, "administrative_area_level_5");
m.put(AddressType.ADMINISTRATIVE_AREA_LEVEL_6, "administrative_area_level_6");
m.put(AddressType.ADMINISTRATIVE_AREA_LEVEL_7, "administrative_area_level_7");
m.put(AddressType.COLLOQUIAL_AREA, "colloquial_area");
m.put(AddressType.LOCALITY, "locality");
m.put(AddressType.WARD, "ward");
Expand Down Expand Up @@ -218,6 +220,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");
Expand Down