I found this site pretty interesting. You may be able to duplicate what he is doing with other controls if you like.
http://android-er.blogspot.com/2009/12/move-marker-on-mapview-with-zoom.html <http://android-er.blogspot.com/2009/12/move-marker-on-mapview-with-zoom.html>I primarily was looking for an alternative to the zoom controls so I could slap some ads on my app. This site helped immensely. On Sat, Dec 12, 2009 at 8:08 PM, allankliu <[email protected]> wrote: > Hi, I am trying to develop a Android Google Map application, which is > basically Gmap with my own marker geo layer. Since android.com is > banned in China, I have to search support from Google user groups. I > have no idea which groups I should call for help, android group or > google map group. Anyway here is my questions: > > I am working on Android SDk1.5. I want to reproduce the floating > buttons presented in android Google map, which stands for three > buttons: ZoomControl (left), FocusChange (middle), and ListControl > (right). (Pls check ref1. ) I checked some open source projects, if > designer can place these controls in the layout.xml with relative > layout, to place them over (on the top of) the mapview. It may solve > some problem, however in the SDK1.5' add-on gmap jar, the > getZoomControl is discarded. I can only setBuiltInZoomControl(true) to > enable the builtin zoomcontrol. By default, the "BuiltIn" Zoom Control > is placed at Bottom/Center. (Pls check ref 2.) I have no idea how to > relocate the "BuiltIn" Zoom Control to the left as native GMAP does. > > So: > > How to relocate the BuiltIn Zoom Control ? > How to add addtional custom control (buttons/overlays) with > BuiltInZoomControl ? What functions should be overriden for the detail > implementaiton, Such as synhcorization with the visibility? > I am appreciated if the answer can be offered with code snippet or > references to any internet site. > > Ref: > 1) http://www.ennovation.org/pix/transit-android-google-maps.png > 2) http://www.ennovation.org/pix/device005.png > > -- > 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 > -- Writing code is one of few things that teaches me I don't know everything. Join the Closed Beta of Call Girl Manager http://www.fuligin.com/forums
-- 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

