Ne0 wrote: > Hi, > > Thought this might have been covered already, but i cant seem to find > it anywhere. My app reads GPS positions from a file and overlays them > on the mapView. All very simple stuff, but how to get the map view to > go to and zoom in on a point?
Given a MapView named "map": MapController mc=map.getController(); mc.animateTo(...); // where ... is your GeoPoint to move to mc.setZoom(...); // where ... is the zoom level, 1-21 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

