I haven't tried this at all, but I don't think this is part of the maps API
and is probably that way on purpose.

Given the size of the screens you'll be running on and the level of zoom you
can achieve with the maps, if you scale your images proportionately so they
appear the same size relative to your map, your images will be either too
small to be noticeable when zooming out or so huge they take up the entire
screen when you zoom in. This is probably why this isn't built into the API
and I have to assume this is not the ideal functionality for whatever you're
doing either.

So why do you want to scale images on the map anyway?

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


On Mon, Jan 18, 2010 at 1:05 PM, Kevin Duffey <andjar...@gmail.com> wrote:

> So it looks like I may have to manually (programatically) listen for zoom
> events and scale the images myself... or has anyone been able to get their
> overlay icons to scale in size with zoom?
>
>
> On Tue, Jan 12, 2010 at 1:00 AM, Kevin Duffey <andjar...@gmail.com> wrote:
>
>> Hey all,
>>
>> I been messing around with the MapActivity stuff. Pretty nice how easy it
>> is to add clickable icons/images to the map and make them mean something.
>> That said I notice that as you zoom in and out, they don't scale
>> automatically. Is there a way to achieve this as part of the SDK? I've not
>> found any way to enable this yet. Or do I need to listen for zoom events and
>> somehow resize my icons.
>>
>> Thanks.
>>
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to