Thanks for the reply. The main reason to scale is that there isn't any way that I can find that says at what zoom level the icon should be at its default size. So if I start the map off at zoom level 10, and the user scrolls around, the size of the icon is about the size of several cities. That's way too big. If they zoom in a few notches, the image fits better. The thing is.. as they zoom out so they can scroll around the state faster, the icons should get smaller, but they dont. With them being so big, they take up larger and larger pieces of the map as the user zooms out. It looks really bad. I don't see any of the icons/images that google provides do that..they all scale with zoom. Same as street names, etc. So it would be nice if I can control the scale of the images some how depending on the zoom level.
On Mon, Jan 18, 2010 at 11:40 AM, TreKing <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]>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 [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]<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

