googlemaps / googlemaps/google-maps-services-java

Places: PlaceAutocompleteType is missing values

未關閉
#877 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage me type: bug
主要語言
Java
星號
1.8k
分支
973
PR 合併指標
30 天內沒有已合併 PR

描述

#### Environment details

Library version: 2.1.2

#### Code example

```java
PlacesApi.placeAutocomplete(someContext, "Zurich", new PlaceAutocompleteRequest.SessionToken())
.types(PlaceAutocompleteType.ESTABLISHMENT)
```

2 issues:

1. The PlaceAutocompleteType enum only covers a small subset of available types according to https://developers.google.com/maps/documentation/places/web-service/supported_types#table2
2. There is no way to use multiple types, which is possible via REST calls.

貢獻指南

開啟貢獻指南

研究方向

從 PlaceAutocompleteType 和 PlaceAutocompleteRequest 上的 .types 方法開始,然後將它們支援的值與連結的 Google Places 支援類型文件進行比較。檢查 REST API 如何表示多個類型。當用戶端公開所需的類型值並支援要求的多類型使用案例時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
api
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。