Search query not supported in MapboxV6Geocoding
未关闭
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 438
- 派生
- 117
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently using the V6ForwardGeocodingRequestOptions methods as such:
query = "italian restaurants";
location = "buffalo ny";
var requestOptions = V6ForwardGeocodingRequestOptions.builder("italian restaurants in buffalo ny")
.autocomplete(false)
.build();
var newStuff = MapboxV6Geocoding.builder(token, requestOptions).build();
Sample Response when I get the name from the Feature object:
"North Buffalo"
This search is not giving me the same results as in v5.
Sample V5 Request:
var client = MapboxGeocoding.builder()
.accessToken(token)
.mode(GeocodingCriteria.MODE_PLACES)
.query("italian restaurants in buffalo ny")
.autocomplete(true)
.build();
Sample response:
Romeo & Juliet's Bakery & Caffé, 1292 Hertel Ave, Buffalo, New York 14216, United States
Is there an equivalent request in V6 as there was in V5?
Thank you!
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 V6ForwardGeocodingRequestOptions 和 MapboxV6Geocoding 开始,然后使用 MODE_PLACES、query 和 autocomplete 将它们与 V5 请求进行比较。确定 V6 是否具有所示餐厅搜索的等效功能;支持等效行为,或记录限制和支持的用法,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api, search
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100