Code example for LatLng

Methods: toString

0
		return new OnMapLongClickListener(){
			 
			@Override 
			public void onMapLongClick(LatLng arg0){
				//long clicked log. works 
				Log.i(arg0.toString(), "USER LONG CLICKED");
			} 
		}; 
	} 
 
	////// all methods for location listener//////////////////////////////////////// 
	/////// 
	@Override 
	public void onLocationChanged(Location location) {
		// TODO Auto-generated method stub 
		//getting lat long 
		LatLng latlng = new LatLng(location.getLatitude(), location.getLongitude());
		 
		//moving to location on map 
		gMap.moveCamera(CameraUpdateFactory.newLatLng(latlng));
		//zoom to current location. int is to level of zoom