You should use traccar.xml
for configuration. Also, you need to restart server after changing config.
Hello,
I put this:
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>https://locationiq.org/v1/reverse.php</entry>
<entry key='geocoder.key'>xxxxxxxxxx</entry>
But now in traccar.xml
Not works...What I need do?
Now I haven't the window with the server resource 56, but not is the address in the place
I need do another thing
Thank you a lot for your big job, your GPS program is the best
Best regards
What is the problem now?
I haven't the address...Just have a link "Show address" but never show
Thanks
And when you click on the link?
Nothing happens...
I have a personalized map: https://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}&s=Ga
I need change the map?
Map doesn't have anything to do with it. Check browser console to see if there are some errors.
If a check the link in Chrome:
<a href="#" onclick="Ext.fireEvent('routegeocode', 153598)" id="ext-element-1165" class="" style="" data-tabindex-value="none" tabindex="-1" data-tabindex-counter="1">Mostrar Dirección</a>
Console:
ext.all.js:
[Violation] Forced reflow while executing JavaScript took <N>ms
[Violation] Forced reflow while executing JavaScript took <N>ms
[Violation] Forced reflow while executing JavaScript took <N>ms
[Violation] Forced reflow while executing JavaScript took <N>ms
[Violation] Forced reflow while executing JavaScript took <N>ms
[Violation] Forced reflow while executing JavaScript took 137ms
[Violation] Forced reflow while executing JavaScript took 106ms
[Violation] Forced reflow while executing JavaScript took 114ms
[Violation] Forced reflow while executing JavaScript took 99ms
[Violation] Forced reflow while executing JavaScript took 97ms
other:
ext-all.js:22 [Violation] 'setTimeout' handler took 211ms
ext-all.js:22 [Violation] 'click' handler took 251ms
ext-all.js:22 [Violation] 'readystatechange' handler took 268ms
ext-all.js:22 [Violation] 'click' handler took 220ms
ext-all.js:22 [Violation] 'readystatechange' handler took 220ms
Thanks
I'm not sure, but we can't use the Google map layer without Google Maps API
But in Open Street doesn't works too...
Check corresponding network request.
Sorry, I don't know what you mean...
Do you mean in traccar.xml?
<entry key='geocoder.url'>https://locationiq.org/v1/reverse.php</entry>
This url?
Thanks
In the browser developer console.
Hello,
I'm using traccar 4.0 in Windows Server 2012 R2
I have this problem:
NullPointerException (ServerResource:56 < ...)
I trye change the default.xml and insert it:
<entry key='geocoder.enable'>true</entry> <entry key='geocoder.type'>nominatim</entry> <entry key='geocoder.url'>https://locationiq.org/v1/reverse.php</entry> <entry key='geocoder.key'>xxxxxxxxxx</entry>
I don't know if I need install nominatim in my server and have keys and url for it
I don't know how install it if is necessary...
Please do you have any tutorial or steps for resolve this problem?
Best regards
Juanvi