Matthias wrote:
> Just to get this straight, one has to *subclass* MapView in order to
> enable simple things such as zooming? 

No.

Step #1: Put a spot for the zoom controls in your layout (e.g., a 
LinearLayout named R.id.zoom)

Step #2: Tell Android where the zoom controls go:

ViewGroup zoom=(ViewGroup)findViewById(R.id.zoom);
                
zoom.addView(map.getZoomControls());

Step #3: There is no Step #3.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.3 Published!

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