On Fri, Feb 25, 2011 at 12:12 PM, TreKing <[email protected]> wrote:

> On Fri, Feb 25, 2011 at 12:08 PM, SEWilco <[email protected]> wrote:
>
>> When I try to access the MapView Overlay, I seem to only be able to access
>> Overlay methods and I'm not seeing a way to reach the OrderedList data which
>> is given to the overlay.
>>
>
> When you create an Overlay you're making a sub-class right? Just provide
> your own functions that provide access to the data you need.


Further, if you have a generic list of Overlay and can't get at your custom
funtions, either cast up as necessary or just keep a separate, more specific
list in your Activity "List<MyCustomOverlay> mOverlays" which you add to the
mapview's list but use directly as needed.

-------------------------------------------------------------------------------------------------
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