Skip to content

Commit

Permalink
Fixes googlemaps#807: Add new administrative area levels in the Addre…
Browse files Browse the repository at this point in the history
…ss model

This commit introduces administrative area levels 6 and 7 to the Address model. This has been added to accommodate more granular geographic divisions that some countries may have. Corresponding changes are reflected in the EnumsTest as well.
  • Loading branch information
jacekgajek-codibly committed Nov 10, 2023
1 parent f9a2627 commit 5b24deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/google/maps/model/EnumsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void testUnknown() {
@Test
public void testCanonicalLiteralsForAddressType() {
Map<AddressType, String> addressTypeToLiteralMap = new HashMap<>();
// Short alias just to avoid line wrapping in the below code.
// Short alias just to avoid line wrapping in the below code
Map<AddressType, String> m = addressTypeToLiteralMap;
m.put(AddressType.STREET_ADDRESS, "street_address");
m.put(AddressType.ROUTE, "route");
Expand Down

0 comments on commit 5b24deb

Please sign in to comment.