Add routing support to MapboxGeocoding
未关闭
还没有人认领这个 Issue。
Geocoding
- 主要语言
- Java
- 星标
- 438
- 派生
- 117
- PR 合并指标
- 30 天内没有已合并 PR
描述
Expected Behavior
The Java SDK's MapboxGeocoding.builder() should be able to take a routing boolean.
https://docs.mapbox.com/api/search/#forward-geocoding
Current Behavior
There's currently no builder method for this geocoding parameter.
Possible Solution
add a routing(boolean) method to MapboxGeocoding.builder() and routing setup to the GeocodingService class
Context (Environment)
Mismatch between current Geocoding API offerings and the Java SDK's capabilities were brought up amongst some search chat between @yuletide , @scottsfarley93 , and others.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 MapboxGeocoding.builder() 开始,追踪其选项如何传递到 GeocodingService 类。遵循现有的地理编码参数设置,然后验证是否可以通过 builder 提供 routing 布尔值,并将其包含在发送给 Mapbox Geocoding API 的请求中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 42/100