On Mon, Jan 18, 2010 at 10:50 PM, Kevin Duffey andjar...@gmail.com wrote:
I'd first like to avoid loading different image sizes for each zoom level
for each item I want to place on the map.
Here's the thing.. in my app, it shows state parks. If you're zoomed out
far enough, you're not
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
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
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
I'm assuming you mean the overlay markers.
I'll agree with TreKing. Scaling map icons with the scale of the map (the
icon remain the same size relative to the size of a city, map feature, etc.)
is not such a great idea. I wouldn't have done it if I'd designed google
maps. Indeed I just tried the
Exactly Frank. I'd first like to avoid loading different image sizes for
each zoom level for each item I want to place on the map. Here's the thing..
in my app, it shows state parks. If you're zoomed out far enough, you're not
going to see any parks. Right now tho, as you zoom out, all my icons
Sounds good. I would start by overriding this method in your subclass of
Overlay:
public void *draw*(android.graphics.Canvas canvas,
MapViewhttp://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.html
mapView,
boolean shadow)
and then
Good point Frank. Do you know by chance if the draw() method is called
several times per second like in desktop/windowing/games? I am guessing it's
not as there is no notion of a windowing setup where each window has to
repaint itself as windows above it might move around (user dragging window),
8 matches
Mail list logo