Yeah treking is right, Im not a map person. but you should draw everything
using rgb xxx to save space and help it load faster
On Jan 17, 2011 12:01 PM, "TreKing" <[email protected]> wrote:
>
> On Mon, Jan 17, 2011 at 10:43 AM, bobetko <[email protected]> wrote:
>>
>> The thing is, my Nexus One can't handle map with all those markers.
It takes around 15 seconds just to draw 500 markers. Then when all
drawn, map is not quite smooth. It is sort of hard to zoom and
navigate around. It can be done, but experience is bad and I would like to
see if something can be done there.
>
>
> First, the code you posted you're calling populate() each time you add a
new overlay to your list. That's slow. Add all of you items into the list,
THEN call populate ONCE to prepare for drawing.
> Second, I sincerely hope the code you posted is not what you're doing each
draw call.
> Third, see this thread for a similar discussion:
>
https://groups.google.com/group/android-developers/browse_thread/thread/c0d255c561ea6544?pli=1
>
>
-------------------------------------------------------------------------------------------------
> TreKing - Chicago transit tracking app for Android-powered devices
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to