To detect click on GoogleMap we implement OnMapClickListener Interface.
We add to our GoogleMap setOnMapClickListener . This sets a callback to the Interface when the map is clicked
Then we need to override the onMapClick(LatLng point)
We are using CameraUpdateFactory to get a new CameraUpdate Object ( an object to modify a map's camera ) and animate to the new point with animateCamera.
We add to our GoogleMap setOnMapClickListener . This sets a callback to the Interface when the map is clicked
Then we need to override the onMapClick(LatLng point)
@Override
public void onMapClick(LatLng point) {
mMap.animateCamera(CameraUpdateFactory.newLatLng(point));
}
We are using CameraUpdateFactory to get a new CameraUpdate Object ( an object to modify a map's camera ) and animate to the new point with animateCamera.
Online Casinos for Real Money | Urban Meyer
ReplyDeleteCasinos for Real Money — Online Casinos for Real Money The best febcasino place to play 카지노사이트 online casino games for worrione real money. Casinos for Real Money.