Traccar Search Address on Map

gLeW2 years ago

Hi

I wanted to ask if there is a way that the address search engine on the map is associated with Google Maps, and that it shows the preview of the addresses that we have placed.

https://prnt.sc/kmiyc9K43kr3

I don't know what service the address search is associated with, but for example if when looking for an address one adds the Suite number or something, it doesn't show any address.

If one looks for the same address in Google with the Suite number, if it shows the address

https://prnt.sc/zzk_SYqnGZuQ

I leave the images because my English is not good and I don't know how to explain what is happening to me.

Thank you

Anton Tananaev2 years ago

We use LocationIQ for it, not Google.

gLeW2 years ago

Thanks Anton for the fast reply, are any way to change to Google???

Anton Tananaev2 years ago

You should be able to customize it in the code.

gLeW2 years ago

You are faster :)

Or for example y search this address on Locationiq page and show 4 options

1321 NW 14th St Suite 306, Miami FL 33125

https://es.locationiq.com/demo

On this page show me 4 options, one is the correct are any way that in traccar show this 4, and i click the correct address

gLeW2 years ago

When you say customize the code, its only one file or a lot???? im not programmer.

Thanks

Anton Tananaev2 years ago
Anton Tananaev2 years ago

Oh actually looks like we're using Nominatim and not LocationIQ. Already forgot about it.

gLeW2 years ago

Thanks for the fast reply, i do not understand about codding, but i see the link on line 17.

i try to research what i need to change to use Google or another one.

Thanks in advance

gLeW2 years ago

Anton, last question if i change the code, i need to restart the Traccar service on the server right??? i have the traccar installed on Linux Ubuntu.

I need to execute any command to restart or only change the code and not restart.

Thanks

Anton Tananaev2 years ago

You don't need to restart the service. But you need to compile the code after your change.

gLeW2 years ago

Oh its no so easy, i think i need only enter to server and change the file.

I thought it was just changing the code of a row, and if it didn't work, I would put the row back as it was and that's it.

But I see that it is not that simple, I don't know what it is to compile the code. I'll find out what that is.

Thanks anyway for your help.