我正在使用HERE Mapsreverse geocodeAPI,来自巴基斯坦的用户发送了一个报告,称坐标对31.522473692893982, 74.33312326669693
的国家和城市都被报告为“巴基斯坦”。我已仔细检查并发现了相同的错误;这是响应:{"items":[{"title":"Pakistan, Pakistan","id":"here:cm:namedplace:22928320","resultType":"locality","localityType":"city","address":{"label":"Pakistan, Pakistan","countryCode":"PAK","countryName":"Pakistan","city":"Pakistan"},"position":{"lat":33.70964,"lng":73.07545},"distance":0,"mapView":{"west":60.87305,"south":23.7033,"east":77.13585,"north":37.07742}}]}
countryName
和city
都被报告为“巴基斯坦” –实际上这是不正确的,并且会使用户感到困惑。这也很难在我的应用中以编程方式处理-如果city
不存在,则应为空白,我可以为此编写代码检查。
上面是第18大城市
世界上] Lahore的坐标!使用坐标对31.5204, 74.3587
时,我也遇到了同样的错误-Google将其报告为拉合尔的center
已导航
[我正在使用HERE Maps反向地理编码API,来自巴基斯坦的用户发送了一个报告,该国家和城市的坐标对31.522473692893982,74 ....被报告为“巴基斯坦”。
GET https://places.ls.hereapi.com/places/v1/discover/search?
at=31.522473692893982,74.33312326669693&
q=31.522473692893982,74.33312326669693&
apikey={{apiKey}}