遮住忧伤 发表于 2024-8-25 11:56
显示地址出现
Cannot invoke "jakarta.json.JsonArray.isEmpty()" because "results" is null - NullPoint ...
需要设置逆地址转换。编辑“C:\Program Files\Traccar\conf\traccar.xml”文件。增加如下内容:
<!-- amap逆地址解析 -->
<entry key='geocoder.type'>amap</entry>
<entry key='geocoder.url'>https://restapi.amap.com/v3/geocode/regeo</entry>
<entry key='geocoder.key'>de6cf58608a044b643da48377c6bdbfb</entry>
<entry key='geocoder.format'>%f %r</entry>
|