Google Map API V2 - How do I keep a marker in the center of the screen while user is scrolling the map ?
My purpose is to let user choose a location. I use the following code to add a marker (it's from the com.example.mapdemo
in Android SDK)
mMap.addMarker(new MarkerOptions()
.position(new LatLng(0, 0))
.title("Marker"));
How do I keep the marker in the center of the screen and then retrieve it's location?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…