Skip to content

SafeEnumAdapter wants plus_code address type #700

@sergekukharev

Description

@sergekukharev

Hey folks!

I've been getting warnings from SafeEnumAdapter in one of my projects when trying to use geocoding API, specifically reverse geocoding:

Unknown type for enum com.google.maps.model.AddressType: 'plus_code'

I've created a PR that fixes this issue #699

Environment details

  1. Geocoding API
  2. MacOS / OpenJDK 15
  3. 0.15.0

Steps to reproduce

  1. Make a reverse geocoding request with latitude 28.0542574 and longitude -16.606585900000027
  2. Observe warning

Example queries with plus_code address type

https://maps.googleapis.com/maps/api/geocode/json?latlng=28.0542574,%20-16.606585900000027
https://maps.googleapis.com/maps/api/geocode/json?address=393V%2BP9%20Ten-Bel%2C%20Spain

Metadata

Metadata

Assignees

Labels

releasedtriage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions