Page 1 of 1

Panning on Mobile

Posted: Sun Apr 19, 2020 10:44 am
by 16487191
Hi,

When panning, using your inbuilt procedures, the amount the map moves is not in relation to how much you move your finger, it is a factor of 2 to 3 more on both iOS and Android. Using a mouse it is one-to-one.

I am using a world map. Is there any way of adjusting this?

Thanks

Re: Panning on Mobile

Posted: Tue Apr 28, 2020 1:29 pm
by yeray
Hello,

I've been able to reproduce it and we are investigating it.

Re: Panning on Mobile

Posted: Wed Apr 29, 2020 6:40 am
by 16487191
Thanks. Additional there is a general problem on Android devices if using TWorldMap.wmWorld, even on the fastest devices. This slows down the whole app to the point that it is unusable. Zooming and panning are particularly slow. If TWorldMap.wmEurope27 is used instead, it is more acceptable, but nowhere near the speed of Windows or iOS.

Re: Panning on Mobile

Posted: Wed Apr 29, 2020 10:52 am
by yeray
Hello,

We've just fixed the problem with the panning synchronization:
http://bugs.teechart.net/show_bug.cgi?id=2319

Re: Panning on Mobile

Posted: Tue May 05, 2020 6:47 am
by 16487191
Could I please have a response to my post regarding android slowness?

Re: Panning on Mobile

Posted: Wed May 06, 2020 8:29 am
by yeray
Hello,

I've done a simple application to test different series styles in TeeChart:
AndroidPerf.zip
(9.15 KiB) Downloaded 2198 times
I'm getting about 200ms drawing time for the World series while I'm getting about 40ms for the Europe15.

Of course the number of shapes to draw affect the drawing performance.
Maybe you can try to reduce the number of shapes removing the smaller polygons.
Or you could try to find another shape file representing the world with less resolution.

Re: Panning on Mobile

Posted: Sat May 09, 2020 6:29 am
by 16487191
The problem is not with loading the map, it is with panning or doing anything else after loading the world series.

Re: Panning on Mobile

Posted: Mon May 11, 2020 4:47 am
by yeray
Hi Bruce,

The point is that the impression we have while panning is directly influenced by the time it takes to be drawn.

Re: Panning on Mobile

Posted: Tue May 12, 2020 6:17 am
by 16487191
Thanks. So you agree that there is a problem on Android?

Re: Panning on Mobile

Posted: Fri May 15, 2020 10:35 am
by yeray
Hello Bruce,
BruceC wrote:
Tue May 12, 2020 6:17 am
So you agree that there is a problem on Android?
Yes.
The following test project has no TeeChart. It only draws polygons and reproduces the same difference in performance between Windows and Android.
- Windows: Between 30~40ms
- Android: Near 200ms
AndroidPerfTest.zip
(12.42 KiB) Downloaded 2163 times

A positive note is I've tested both projects with RAD 10.4 Beta and I must say the performance in Android should be much better with it.
The tests give me around 100ms. That's not the 30~40ms I'm getting with Windows yet, but it's a great improve!

Re: Panning on Mobile

Posted: Sat May 16, 2020 6:25 am
by 16487191
Thanks for the feedback.