File tree Expand file tree Collapse file tree
main/java/com/google/maps/model
test/java/com/google/maps/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -452,6 +452,9 @@ public enum AddressType implements UrlValue {
452452 /** A tourist attraction */
453453 TOURIST_ATTRACTION ("tourist_attraction" ),
454454
455+ /** Currently not a documented return type. */
456+ TOWN_SQUARE ("town_square" ),
457+
455458 /**
456459 * Indicates an unknown address type returned by the server. The Java Client for Google Maps
457460 * Services should be updated to support the new value.
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ public void testCanonicalLiteralsForAddressType() {
181181 m .put (AddressType .ZOO , "zoo" );
182182 m .put (AddressType .ARCHIPELAGO , "archipelago" );
183183 m .put (AddressType .TOURIST_ATTRACTION , "tourist_attraction" );
184+ m .put (AddressType .TOWN_SQUARE , "town_square" );
184185
185186 for (Map .Entry <AddressType , String > addressTypeLiteralPair :
186187 addressTypeToLiteralMap .entrySet ()) {
You can’t perform that action at this time.
0 commit comments