[Modern UI] Specify custom OSM url

U034 years ago

Hello,

On the modern UI is there currently a way to have a custom OSM url (either user wide or server wide)?

It works fine on the regular interface but I can't use it as "unknown devices" automatically registered are showing up until you refresh the screen.

Thanks for your support.

Anton Tananaev4 years ago

It's not supported yet, but we plan to add support at some point.

U034 years ago

Hello Anton,

Thanks for prompt answer and for the good job done on this project.

In the meantime I managed to have it working the quick and dirty way :)

docker exec -ti id-traccar /bin/bash
find /opt/traccar/web/modern -type f -exec sed -i 's/https:\/\/tile\.openstreetmap\.org/http:\/\/10\.227\.112\.1\/tile/g' {} \;

Warm regards.