My main interest nowadays is mapping and I have programs written for Android and Windows Desktop. The maps are big, at the limit of what Windows can decode, typically 20,00 pixels on each side. For display on Android I use my ScaleImageView which performs very well. On the desktop I have been using my desktop optimised version of Basic4ppc and my own C# library which implements a Windows Form with a WinForms PictureBox on a Panel to display a bitmap decoded from jpg by the GDI+ image decoder. Panning is implemented by moving the PictureBox location on the Panel which works well and quickly.
For various reasons I would like to try using B4J for my next mapping program but I have run into performance problems with ZoomImageView. Zooming performance seems a little slower than my WinForms solution and is acceptable but the panning performance is dire, a quick look inside ZoomImageView seems to indicate the the problem is with ImageView.SetLayoutAnimated.
Before I start to try digging into the various B4X classes is there something that I am unaware of that could be done to improve the panning performance or is there another solution to this problem?
For various reasons I would like to try using B4J for my next mapping program but I have run into performance problems with ZoomImageView. Zooming performance seems a little slower than my WinForms solution and is acceptable but the panning performance is dire, a quick look inside ZoomImageView seems to indicate the the problem is with ImageView.SetLayoutAnimated.
Before I start to try digging into the various B4X classes is there something that I am unaware of that could be done to improve the panning performance or is there another solution to this problem?