Daft Question - Looking to customise the web addon

Drew Johnstone7 years ago

Hey,

I'm currently just starting to find my way around Traccar, I've installed it on my server and I've got the web addon (https://github.com/traccar/traccar-web) installed. When I visit my website I can see the basic maps and marker etc - I'm just wondering if there is any guidance on configuring the map?

Ideally I want to change to use Bing Maps Arial (which works fine when I log in to the traccar 8082 front end but not on the web addon) and I'd like to change the marker that is shown.

Also, is there a way to get it to zoom in to the gps location of my device, because otherwise you have to move the map and zoom in to actually find me.

Thanks in advance :)
Drew

Anton Tananaev7 years ago

The link that you provided is for official Traccar front-end.

Drew Johnstone7 years ago

ah! sorry, ok, well that is what I'm using (I thought it was an addon not official),

So I've added my info to the .js file and then uploaded the two files to my website, (https://goo.gl/kN8Ytm) but its just using the basic map and marker - is there a way to change those? I've changed the default settings on the read-only user, but its ignoring those settings.

Anton Tananaev7 years ago

What you uploaded is basically a sample app that doesn't have much functionality. It's not configurable in any way.

Drew Johnstone7 years ago

oh I see, so I'd need to build something to be able to do what I'm looking for?

I'll start playing :)

Thanks