Map zoom freeze #284

Closed
ladikusz opened this Issue Oct 15, 2015 · 18 comments

Comments

Projects
None yet
4 participants
@ladikusz

Hi!

I have a strange issue after updating to the latest version. If i zoom in or zoom out on map (any layers), the zoom happens, but does not load the map to the adequate resolution, but the old map freezes. I can pan, but i can't zoom in / out anymore. Also i can't change layer. After a full page reload (F5), i can change layers, i can zoom - only once, again. Is there any trouble with the openlayers, or shall i debug on server side?

Thank you,
Viktor

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

Sounds like an issue with internet connection. You should check web browser console for error messages.

Owner

vitalidze commented Oct 15, 2015

Sounds like an issue with internet connection. You should check web browser console for error messages.

@ladikusz

This comment has been minimized.

Show comment
Hide comment
@ladikusz

ladikusz Oct 15, 2015

Tried the mobile site ( /m ) and it loads instantly, zoom works flawless, the desktop site still have the same problem. Also tried in incognito mode to avoid cache / cookie errors, no luck

Tried the mobile site ( /m ) and it loads instantly, zoom works flawless, the desktop site still have the same problem. Also tried in incognito mode to avoid cache / cookie errors, no luck

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

Do you see any errors in browser console?

Owner

vitalidze commented Oct 15, 2015

Do you see any errors in browser console?

@ladikusz

This comment has been minimized.

Show comment
Hide comment
@ladikusz

ladikusz Oct 15, 2015

OpenLayers.js:670 Uncaught TypeError: Cannot read property 'resources' of undefined
traccar-0.js:3331 Uncaught TypeError: Cannot read property 'resources' of undefined

OpenLayers.js:670 Uncaught TypeError: Cannot read property 'resources' of undefined
traccar-0.js:3331 Uncaught TypeError: Cannot read property 'resources' of undefined

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

I confirm that it does not work for me on two of my servers. One is using very old version of the web UI, so it's not related with latest update. Looks like something is broken with integration between OpenLayers and OpenStreetMap.

Owner

vitalidze commented Oct 15, 2015

I confirm that it does not work for me on two of my servers. One is using very old version of the web UI, so it's not related with latest update. Looks like something is broken with integration between OpenLayers and OpenStreetMap.

@Jeferex

This comment has been minimized.

Show comment
Hide comment
@Jeferex

Jeferex Oct 15, 2015

Contributor

I confirm the error too. it is happening in my 2 traccar instalation

Contributor

Jeferex commented Oct 15, 2015

I confirm the error too. it is happening in my 2 traccar instalation

@ladikusz

This comment has been minimized.

Show comment
Hide comment
@ladikusz

ladikusz Oct 15, 2015

Tried with Android 5.1, Chrome browser, and it works. On desktop tried with chrome, mozilla firefox, no luck. So definitely something with the openlayers, but only on desktop browser.

Tried with Android 5.1, Chrome browser, and it works. On desktop tried with chrome, mozilla firefox, no luck. So definitely something with the openlayers, but only on desktop browser.

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

You mean it works in desktop version opened on android?

Owner

vitalidze commented Oct 15, 2015

You mean it works in desktop version opened on android?

@ladikusz

This comment has been minimized.

Show comment
Hide comment
@ladikusz

ladikusz Oct 15, 2015

Yes, desktop version on android. Tried only openstreetmap, but will try with different layers.

Yes, desktop version on android. Tried only openstreetmap, but will try with different layers.

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

That's weird. I will check this out when I have time.

Owner

vitalidze commented Oct 15, 2015

That's weird. I will check this out when I have time.

@Jeferex

This comment has been minimized.

Show comment
Hide comment
@Jeferex

Jeferex Oct 15, 2015

Contributor

It doesn't work for me in Android with chrome browser.

Contributor

Jeferex commented Oct 15, 2015

It doesn't work for me in Android with chrome browser.

@ladikusz

This comment has been minimized.

Show comment
Hide comment
@ladikusz

ladikusz Oct 15, 2015

if i press the open desktop version, then i can zoom, pan OK. But if i select a vehicle, then zoom does not work. The animation after the pinch-zoom happens, but the zoom does not work. So basically does not work, just it seemed work :)

if i press the open desktop version, then i can zoom, pan OK. But if i select a vehicle, then zoom does not work. The animation after the pinch-zoom happens, but the zoom does not work. So basically does not work, just it seemed work :)

@Jeferex

This comment has been minimized.

Show comment
Hide comment
@Jeferex

Jeferex Oct 15, 2015

Contributor

I found this openlayers/openlayers#1461

how can we solve it @vitalidze ?

Contributor

Jeferex commented Oct 15, 2015

I found this openlayers/openlayers#1461

how can we solve it @vitalidze ?

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

Looks like this is the case. The key is hard coded for now, so the only way to fix it is to make a release with updated key or even move it somewhere to the 'Global settings'. I will try to do it ASAP.

Owner

vitalidze commented Oct 15, 2015

Looks like this is the case. The key is hard coded for now, so the only way to fix it is to make a release with updated key or even move it somewhere to the 'Global settings'. I will try to do it ASAP.

vitalidze added a commit that referenced this issue Oct 15, 2015

vitalidze added a commit that referenced this issue Oct 15, 2015

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 15, 2015

Owner

Fixed, written news, updated latest and demo versions. Since the main download site is down you can download the traccar-web.war from the release page on github.

Thank you very much for reporting this issue and guiding me with solution. I appreciate that.

Owner

vitalidze commented Oct 15, 2015

Fixed, written news, updated latest and demo versions. Since the main download site is down you can download the traccar-web.war from the release page on github.

Thank you very much for reporting this issue and guiding me with solution. I appreciate that.

@vitalidze vitalidze closed this Oct 15, 2015

@fitzy89

This comment has been minimized.

Show comment
Hide comment
@fitzy89

fitzy89 Oct 16, 2015

Hi @vitalidze, I'm fairly new to this so apologies for my lack of knowledge. I'm running the neptune_theme branch as in #283 and I also have the same issue as mentioned here. Can I just build it again from source and will it have the fix for this issue included? Or will it take a while to apply it to the different branches? I'm not sure how github and branches work really so sorry to take too much of your time

fitzy89 commented Oct 16, 2015

Hi @vitalidze, I'm fairly new to this so apologies for my lack of knowledge. I'm running the neptune_theme branch as in #283 and I also have the same issue as mentioned here. Can I just build it again from source and will it have the fix for this issue included? Or will it take a while to apply it to the different branches? I'm not sure how github and branches work really so sorry to take too much of your time

@vitalidze

This comment has been minimized.

Show comment
Hide comment
@vitalidze

vitalidze Oct 16, 2015

Owner

I have already merged fix to this issue to neptune_theme branch. You need to pull changes from github or just delete your local repository and clone the github repository one more time.

Owner

vitalidze commented Oct 16, 2015

I have already merged fix to this issue to neptune_theme branch. You need to pull changes from github or just delete your local repository and clone the github repository one more time.

@fitzy89

This comment has been minimized.

Show comment
Hide comment
@fitzy89

fitzy89 Oct 16, 2015

Ok thankyou so much, just doing another clone now. Thanks for the fast and helpful support, wish all developers were as helpful as you.

fitzy89 commented Oct 16, 2015

Ok thankyou so much, just doing another clone now. Thanks for the fast and helpful support, wish all developers were as helpful as you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment