evan battaglia wrote:
> >From a design standpoint, this is because redrawing everytime a map ti=
le is downloaded could be very CPU-intensive, depending on what else you =
have going on. You might have several maps overlayed, zoomed out, with a =
lot of tracks, which could take a long time to draw.
Ah.. Well I use it in the simple way ;)
Just the map (google and expedia) and a few waypoints and trackpoints.
I think I'll look for a way to refresh automaticly after all the items
> Of course, if I were more clever in designing the layering system, I co=
uld have done something like a buffer for each layer which get added toge=
ther, so that to redraw a map we=C2=B4d just have to redraw that layer, t=
hen add all the layers together. Within that layer we could even be cleve=
r and just draw the new tile. Of course I=C2=B4m sure that system would h=
ave some drawbacks too (like adding unnecessary complexity / delay in sim=
ple cases). Maybe a run-time option to control this behavior would be pos=
While were at it, (brainstorming that is) one could use a uniform
grid-format for all maps to be painted on. You just need a conversion
layer. Yes, another layer ;)
This way we could switch maps without switching modes...
I have to admit that my C-skils are at noob level atm, but I feel this
is a nice exercise :)
This message has been scanned for viruses and is believed to be clean