On Sat, Sep 15, 2012 at 12:53 AM, Apurva Goyal <[email protected]>wrote:

> There are around 200 road segments and each segment has an attribute that
> decides the color of road segment. I therefore have to add each segment as
> a separate overlay on map.


No you don't. Have one Overlay that does custom drawing and renders the
colors as necessary.

Also, it's unlikely you'll need all 200 segments at once, so cull out the
ones you can't see and don't draw them.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to