geocoder-php / geocoder-php/Geocoder
LocationIQ - State AdminLevels do not have their codes set.
未关闭
还没有人认领这个 Issue。
- #1122 来自 @BrodyT —— 已关闭,未合并
- 主要语言
- PHP
- 星标
- 4k
- 派生
- 525
- 平均合并
- 8 分钟
- 30 天内合并 PR
- 1
描述
Even after doing a few workarounds to add the parameter "statecode=1" (added to the end of the api key, since withData() doesn't appear to be working), the adminLevels still do not have the code set.
I've traced this back to how the adminLevels are populated on line 121 of the provider, the code is statically set to ''.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从第 121 行附近的 LocationIQ provider 开始,issue 在这里报告 adminLevel 代码被设置为空字符串。检查 statecode=1 参数是如何传递的,以及 adminLevels 是如何填充的,然后验证返回的州级 admin level 仍保留其代码。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100