googlemaps / googlemaps/google-maps-services-java

Unknown type for enum com.google.maps.model.AddressComponentType: 'administrative_area_level_7'

未关闭
#985 1 条评论 4 个 reaction 已指派 0 人 在 GitHub 查看
triage me type: bug
主要语言
Java
星标
1.8k
派生
973
PR 合并指标
30 天内没有已合并 PR

描述

#### Environment details

1. Specify the API : Places API
2. OS type and version : macOS Sonoma 14.4
3. Library version and other environment information: 2.2.0

#### Steps to reproduce

A warning is thrown when ever api returns place type `administrative_area_level_6` or `administrative_area_level_7` - example if api contains response of type below

```
{
"long_name": "RT.2",
"short_name": "RT.2",
"types": [
"administrative_area_level_7",
"political"
]
}
```

#### Stack trace

```
Unknown type for enum com.google.maps.model.AddressComponentType: 'administrative_area_level_7'
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。