On Wed, Feb 3, 2010 at 10:07 AM, Surendra <[email protected]> wrote:

> 1. If I want to name my points just like how Google does on their Maps
> (like name my locations A, B, C etc....) do I have to have separate
> drawables for each one of them? or can I modify one drawable by
> writing the text onto them as my count of locations increases?
>
Either would work, but I suspect having a single drawable that you then draw
text on top of will be easier, more flexible, and require less resources
(fewer drawables).

2. I would like to navigate between each location plotted on the
> MapView using a similar method that Google has on their mobile version
> of maps when we search for some place like pizza, how do we do it?
>
Add a custom view to the map view that has the left and right arrow buttons
and handle their click events as necessary.


> 3. Can a map view have multiple ItemizedOverlays? If so is there a
> limit on how many of them I could have at any instance? Would it cause
> any memory issues?
>
Yes, you can have multiple ItemizedOverlays and I don't know of any strict
limit per se, but you would of course be limited to the amount of memory
available on the device (not a lot).

4. Is there a way to change the size of the icons used for displaying
> the locations as the zoom level changes? May be something like
> splitting the zoom levels into 3 ranges and use 3 icons for each zoom
> level range? If so which intents am I listening to and which method
> should I override?
>

I'm sure you could do this though I'm not sure how to go about it. Someone
had a similar question not to long about this so I would suggest you search
this group for that thread and see what that user posted. Theoretically you
could just check the current zoom level each time the user touches the map
and do what you need to based on the current zoom level.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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