I am populating a ListView of map coordinates from a SQLite database of map-points in a SlidingDrawer at the footer of a MapView.
I would like to pan to the appropriate map point when an item in the the ListView is clicked.
To simply this, how do you pan to a hard-coded geopoint on the map when a button is clicked?
Links to tutorials are always helpful 🙂
If you are using the new Google Maps API v2, you would create a LatLng using something like
and then move the camera to that point using moveCamera.
So, with your new point, you would write
This is discussed in the docs here.