Search query not supported in MapboxV6Geocoding
还没有人认领这个 Issue。
评估
调研方向
从 V6ForwardGeocodingRequestOptions 和 MapboxV6Geocoding 开始,然后使用 MODE_PLACES、query 和 autocomplete 将它们与 V5 请求进行比较。确定 V6 是否具有所示餐厅搜索的等效功能;支持等效行为,或记录限制和支持的用法,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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!
- 主要语言
- Java
- 星标
- 438
- 派生
- 117
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/mapbox-java 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
mapbox/mapbox-java#1640 ·
-
难度 4/5 3-5 天 新手友好度 55/100
mapbox/mapbox-java#1635 ·
-
难度 5/5 一周以上 新手友好度 15/100
mapbox/mapbox-java#1619 ·
-
Mapbox-java incompatible with gson 2.13.0 and up - call to internal GSON classes that were renamed 未关闭
难度 2/5 1-3 小时 新手友好度 48/100
mapbox/mapbox-java#1614 · 2 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 20/100
mapbox/mapbox-java#1612 · 1 个 reaction ·
查看 mapbox/mapbox-java 的全部 Issue
相似的 Issue
-
certification
难度 1/5 1 小时以内 新手友好度 80/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's 未关闭bug ecr
难度 2/5 1-3 小时 新手友好度 75/100
-
Needs: Triage Type: Feature request
难度 2/5 1-3 小时 新手友好度 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 65/100
github/copilot-sdk#2760 ·