[android-developers] Re: Toying with MapView

2008-11-20 Thread Alvin Yates
That explains it. I thought it was based on the app. *The More You Know* On Nov 20, 4:51 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Alvin Yates wrote: > > Looks pretty good, although the map doesn't display, just the markers. > > If you haven't done so already, you have to put in your own api

[android-developers] Re: Toying with MapView

2008-11-20 Thread Mark Murphy
Alvin Yates wrote: > Looks pretty good, although the map doesn't display, just the markers. If you haven't done so already, you have to put in your own apiKey. I keep forgetting that step, since it's new. If you look in the layout, you'll see: android:apiKey="00yHj0k7_7vzDDmwgQLGkUa7oJbRal2t7b

[android-developers] Re: Toying with MapView

2008-11-20 Thread Alvin Yates
Just downloaded it. Looks pretty good, although the map doesn't display, just the markers. What is funny though is that when I added in menu code to my app, it doesn't display. However, it does display in your app. I'm wondering if the menu is considered an overlay? Or if there is yet another

[android-developers] Re: Toying with MapView

2008-11-19 Thread Mark Murphy
Alvin Yates wrote: > So as far as Zoom is concerned, I have displayZoomControls() set to > true in my MapActivity. Is there something else I need to do to get > that to appear/work as expected? Ah, sorry, I thought you had that working, based on your original email. You need to actually add the

[android-developers] Re: Toying with MapView

2008-11-19 Thread Alvin Yates
Lovely. I did happen to forget the super.onKeyDown() call. And the map dragging works just fine now. So as far as Zoom is concerned, I have displayZoomControls() set to true in my MapActivity. Is there something else I need to do to get that to appear/work as expected? On Nov 19, 4:44 am, Mar

[android-developers] Re: Toying with MapView

2008-11-19 Thread Mark Murphy
Alvin Yates wrote: > 1) Is there no default set of buttons for pan/zoom? I had to manually > add zoom myself, but pan will be annoying. There are no buttons for pan. Make sure you have android:clickable="true" on the com.google.android.maps.MapView in your layout, and pan just works by draggin