Map zoom freeze

Qui-gon9 years ago

For the past couple of days I have not been able to zoom in to a readable level. It will zoom once and then it will not zoom in or out. It will pan but no zoom. The position data is is being received and saved and can be viewed. It appears to be the same as issue #284 but has been intermittent over the last 2 weeks. I am still using version 2 as I do not have time to upgrade the latest at this time because of the database changes. Is there any way to resolve this without upgrading the whole package?
Thanks

Anton Tananaev9 years ago

What map layer are you using? Try OSM and see if the issue still happens.

Qui-gon9 years ago

Thanks for the quick response. It does the same with Open Street Map. If I select any of the Bing alternatives it does not display a map at all, I just get the vehicle markers displayed centre screen on a white background.
Thanks

yveslesport9 years ago

hello Anton,
I have a same problem.
It's impossible to zoom the map.
It's impossible to change the map.

Anton Tananaev9 years ago

@yveslesport, are you using old version as well?

yveslesport9 years ago

version of traccar 2.11

Anton Tananaev9 years ago

What browser are you using? I guess something got broken (libraries used there are quite old now).

One suggestion is to try Vitaly Litvak's version of the web interface (http://traccar.litvak.su/index.html). It's based on the old Traccar web interface, so you don't need to update the server to use it. You can also try to ask him if he knows why it's happening and whether he has a solution.

yveslesport9 years ago

I use Chrome version Version 46.0.2490.86 m

yveslesport9 years ago

Tomorrow I put the server has in the daytime

yveslesport9 years ago

I have just applied her configuration file and Traccar re-works normally

Qui-gon9 years ago

Also using chrome here but I tried it with IE and another browser on a mobile device.Same result. I have just installed Vitaly's web interface and so far it's working fine.I guess it was caused by the Bing access key issue?
Thanks

xgonzalez9 years ago

Hello,

I have the same problem when I use the zoom.
I'm using version 2.12, and I have made several changes in the code of traccar web.
Without change to the version 3, is there any way to correct the problem of zoom?
I have seen the problem when debugging in Firefox is in the OpenLayers.js file (line 670, col 420) a.resourceSets [0] is undefined.
Any help?

Thanks

Qui-gon9 years ago

The upgrade to Vitaly's web interface cures the problem. Take a look here for the reasoning behind it. I believe it's something to do with the Bing key expiring. Maybe you can modify your web code as he did?

Anton Tananaev9 years ago

I will think about releasing a hotfix. Thanks for finding the info about the bug.

Anton Tananaev9 years ago

I have made a build of old 2.x web UI without Bing maps which should fix the zoom problem:

https://www.dropbox.com/s/5ucpe9chi9pd47o/traccar-web.war?dl=0