Are you redrawing the whole map while panning?
IMO, you should draw the map on an offscreen windows, and this map is bigger
than your display window (like one more window on each sides plus
diagonals). When you pan, you just copy the correct region from the
offscreen to display window without requiring to redraw the whole map again.
elv
"Bruno" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> hi all,
>
> I am working on a program that display vector map,
> however I found that when I draw (or redraw the map when panning and
> zooming) the map,
> it is very very slow (the size of one record in a file is about 10 ~ 20KB)
> any suggestion to fasten the speed?
> thx!
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to