Hi, Liam, Could I know where did you implement the application whih uses MapView ? On SDK or on a real target ? If you did it on SDK, how did you get the Google APIs Add-On since the Google APIs add-on is not yet available for download. If you did it on a real target, did your company license Google APIs Add-On with Google ? Thanks.
Regards, Vivien On 9月28日, 下午7時24分, Ne0 <[email protected]> wrote: > Thanks, thought it would be simple, hadn't come accross MapController > yet. Cheers. > > Liam > > On Sep 28, 12:21 pm, Mark Murphy <[email protected]> wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---

