geolocation service

Carsten3 years ago

Hello, I have installed the traccar server on my raspberry Pi and everything works well so far.
But I still have an error and I don't know how to solve it.

"Origin does not have permission to use geolocation service"

can someone help me here how I can solve this?
Sorry for my English

Anton Tananaev3 years ago

What geolocation service are you using?

Carsten3 years ago

I don't believe one yet. I'd love to take Google

Anton Tananaev3 years ago

Then I don't understand this topic. We have the documentation on how to configure it. What kind of help do you need?

Carsten3 years ago

Where exactly do I have to enter the code?

Anton Tananaev3 years ago

In the configuration file. We have a documentation for that as well.

Carsten3 years ago

I just have to insert the code with my api key into the Traccar.XML file and reboot the server, right?

<entry key='geolocation.enable'>true</entry>
<entry key='geolocation.type'>google</entry>
<entry key='geolocation.key'>YOUR API KEY</entry>