enviroCar / enviroCar-app

enviroCar Android Application
https://envirocar.org
GNU General Public License v3.0
88 stars 154 forks source link

Track-Map ("driven route") distortet after first panning action. #74

Closed AlbertRemke closed 6 years ago

AlbertRemke commented 10 years ago

The map looks good at first sight. Panning results in a distorted map immediately.

ubergesundheit commented 10 years ago

cannot reproduce with android 4.2.2

ChristopherStephan commented 10 years ago

Cannot reproduce the distortion with 3.2.5 either. Which device/Android version are you using? Does this bug only come up for a specific track (e.g. a very large one)? If the bug still remains, could you provide me with the username/password if possible?

AlbertRemke commented 10 years ago

See screenshot. I’m using Android 4.1.2.

The distortion seems to happen only with „R“ marked tracks. At least the one and only “L” marked track (first one in the track-list) behaves nicely..

Best Albert

Von: Ubergesundheit [mailto:notifications@github.com] Gesendet: Mittwoch, 3. Juli 2013 15:57 An: enviroCar/enviroCar-app Cc: AlbertRemke Betreff: Re: [enviroCar-app] Track-Map ("driven route") distortet after first panning action. (#74)

cannot reproduce with android 4.2.2

— Reply to this email directly or view it on GitHubhttps://github.com/enviroCar/enviroCar-app/issues/74#issuecomment-20416740.

jakobmoellers commented 10 years ago

cannot reproduce under 4.2.2 and 2.3.3 with samsung galaxy nexus and htc nexus one. @AlbertRemke check if the problem occurs again with the new version that we will upload later this day. if nobody else has this problem then it might be your phone...

AlbertRemke commented 10 years ago

Please check, if


Von: jakobmoellersmailto:notifications@github.com Gesendet: ‎05.‎07.‎2013 17:29 An: enviroCar/enviroCar-appmailto:enviroCar-app@noreply.github.com Cc: AlbertRemkemailto:a.remke@52north.org Betreff: Re: [enviroCar-app] Track-Map ("driven route") distortet after first panning action. (#74)

cannot reproduce under 4.2.2 and 2.3.3 with samsung galaxy nexus and htc nexus one. @AlbertRemkehttps://github.com/AlbertRemke check if the problem occurs again with the new version that we will upload later this day. if nobody else has this problem then it might be your phone...

— Reply to this email directly or view it on GitHubhttps://github.com/enviroCar/enviroCar-app/issues/74#issuecomment-20524678.

AlbertRemke commented 10 years ago

Please check, if it is an obd2 adapter issue. We can reproduce the behavior with various phones, but were using the same adaptor type.. Albert


Von: jakobmoellersmailto:notifications@github.com Gesendet: ‎05.‎07.‎2013 17:29 An: enviroCar/enviroCar-appmailto:enviroCar-app@noreply.github.com Cc: AlbertRemkemailto:a.remke@52north.org Betreff: Re: [enviroCar-app] Track-Map ("driven route") distortet after first panning action. (#74)

cannot reproduce under 4.2.2 and 2.3.3 with samsung galaxy nexus and htc nexus one. @AlbertRemkehttps://github.com/AlbertRemke check if the problem occurs again with the new version that we will upload later this day. if nobody else has this problem then it might be your phone...

— Reply to this email directly or view it on GitHubhttps://github.com/enviroCar/enviroCar-app/issues/74#issuecomment-20524678.

jakobmoellers commented 10 years ago

No the adapter has nothing to do with that.

ubergesundheit commented 10 years ago

Could you provide screenshots? If you send the screenshots directly in a reply to the mails you receive from github, they won't be visible here.

Could you send them directly to Jakob, Christopher and me?

Thanks

ChristopherStephan commented 10 years ago

@AlbertRemke Could you please provide me with details on the devices (model and Android version) and also the JSON of the track that produces the error (or if possible username/password of that user)?

AlbertRemke commented 10 years ago

Device: XPERIA , model no c6603, Android 4.1.2; afte some further tests I can say that the distortion doesn't depend on the track. When initilizing a map it randomly appears to be distorted or correct. Once distorted, further zooming or panning doesn't result in a correct map again. The distortion is always the same:

Perhaps you missed to initialize a variable or mixed up th order of elements in a list of parameters (Display coordinates, world coordinates)? I'll send you further screenprints, which show the regular pattern of the distortion.

ChristopherStephan commented 10 years ago

The map-distortion seems to be a bug in the mapsforge API that takes care of the map-rendering and pan/zoom event handling. I tested the unpatched/latest version of the 0.3.0 mapsforge API - the bug still remains only on Xperia. A sample project with a mapsforge map outside the enviroCar app showed the same bug. The LogCat provides no error messages when the map distortion appears. I reported that issue on the mapsforge developer page.

ChristopherStephan commented 10 years ago

https://code.google.com/p/mapsforge/issues/detail?id=440&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Modified

hafenkran commented 6 years ago

not relevant anymore