Panning on Mobile

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
BruceC
Newbie
Newbie
Posts: 15
Joined: Tue Oct 15, 2019 12:00 am

Panning on Mobile

Post by BruceC » Sun Apr 19, 2020 10:44 am

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

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning on Mobile

Post by Yeray » Tue Apr 28, 2020 1:29 pm

Hello,

I've been able to reproduce it and we are investigating it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

BruceC
Newbie
Newbie
Posts: 15
Joined: Tue Oct 15, 2019 12:00 am

Re: Panning on Mobile

Post by BruceC » Wed Apr 29, 2020 6:40 am

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.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning on Mobile

Post by Yeray » Wed Apr 29, 2020 10:52 am

Hello,

We've just fixed the problem with the panning synchronization:
http://bugs.teechart.net/show_bug.cgi?id=2319
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

BruceC
Newbie
Newbie
Posts: 15
Joined: Tue Oct 15, 2019 12:00 am

Re: Panning on Mobile

Post by BruceC » Tue May 05, 2020 6:47 am

Could I please have a response to my post regarding android slowness?

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning on Mobile

Post by Yeray » Wed May 06, 2020 8:29 am

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

BruceC
Newbie
Newbie
Posts: 15
Joined: Tue Oct 15, 2019 12:00 am

Re: Panning on Mobile

Post by BruceC » Sat May 09, 2020 6:29 am

The problem is not with loading the map, it is with panning or doing anything else after loading the world series.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning on Mobile

Post by Yeray » Mon May 11, 2020 4:47 am

Hi Bruce,

The point is that the impression we have while panning is directly influenced by the time it takes to be drawn.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

BruceC
Newbie
Newbie
Posts: 15
Joined: Tue Oct 15, 2019 12:00 am

Re: Panning on Mobile

Post by BruceC » Tue May 12, 2020 6:17 am

Thanks. So you agree that there is a problem on Android?

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Panning on Mobile

Post by Yeray » Fri May 15, 2020 10:35 am

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!
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

BruceC
Newbie
Newbie
Posts: 15
Joined: Tue Oct 15, 2019 12:00 am

Re: Panning on Mobile

Post by BruceC » Sat May 16, 2020 6:25 am

Thanks for the feedback.

Post Reply