Locationiq maps not showing

Morgan 4 years ago

I have gone through the docs/forum and set up a custom map and bing maps.
But still have no map on locationiq earth and hybrid.
I there some config that I still need todo?

Thanks

Anton Tananaev 4 years ago
  1. Have you configured an API key for it?
  2. Does your plan with them support it?
Morgan 4 years ago

I did find this https://www.traccar.org/locationiq/
No I have not configured my API in the config file
What is the syntax?

I think my plan will support it.

Anton Tananaev 4 years ago

Have you checked other forum threads?

https://www.traccar.org/forums/topic/415-new-map-layers/

Morgan 4 years ago

All the screen shots on that tread do not work.
What would be the syntax?
Thanks

Anton Tananaev 4 years ago

Comments should have enough information.

Morgan 4 years ago

I entered the config like this:

<entry key='locationIqKey'> api-key </entry>

And then restarted server.
Map still don't show. Is there something I need to change?

Anton Tananaev 4 years ago

You should use server attributes, not the configuration file.

Morgan 4 years ago

Thank you.
Also can I config the map list, as in removing some of them?

Anton Tananaev 4 years ago

There's no configuration for it, but the source code is open, so you can easily remove the layers that you don't need from there.

Morgan 4 years ago

Thank you