Are you using ItemizedOverlay to display your markers? If so, ItemizedOverlay.getLatSpanE6() and ItemizedOverlay.getLonSpanE6() will give you the span of your markers. You can then use MapController.zoomToSpan() to find an appropriate zoom level.
As for panning, depending on your application, you may want to center on a particular marker or you may want to compute the center of all of your markers. If the latter, you'll need to do it yourself, as ItemizedOverlay doesn't compute that information. Steve On Wed, Jun 2, 2010 at 4:36 PM, Nathan <[email protected]> wrote: > I have done my fair share of google searches for this and have come up > empty. > > I have a set of marker(25) that are being displayed on a MapView. I > would love to be able to have it zoom to a reasonable level to make > the markers readable. > > Nathan > > -- > 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

