Hi!
I'm coding a map app for iPhone, like Google Maps but with my own maps.
What I have so far is working, but sadly, slower than I would like.
I'm basically drawing the correct map tiles in each drawRect
:
[image drawAtPoint:CGPointMake(x, y)];
X and Y are being calculated in each call to drawRect
( these calcs are not very expensive ).
The maximum number of images being drawn at a time is 4.
Each image is 512 x 512
.
I feel that some kind of optimization is lacking here.
Can anyone help with something?
Thanks you all.