Code example for GoogleMap

Methods: setInfoWindowAdapter, setOnCameraChangeListener, setOnInfoWindowClickListener, setOnMapClickListener, setOnMapLongClickListener, setOnMarkerClickListener

0
		setupInfoWindowAdapter(); 
		setupInfoWindowClickListener(); 
	} 
	 
	private void setupMarkerClickListener() { 
		this.mMap.setOnMarkerClickListener(this);
	} 
	 
	private void setupCameraChangeListener() { 
		this.mMap.setOnCameraChangeListener(this);
	} 
	 
	private void setupMapClickListener() { 
		this.mMap.setOnMapClickListener(this);
	} 
	 
	private void setupMapLongClickListener() { 
		this.mMap.setOnMapLongClickListener(this);
	} 
	 
	private void setupInfoWindowAdapter() { 
		this.mMap.setInfoWindowAdapter(new CustomInfoWindowAdapter());
	} 
	 
	private void setupInfoWindowClickListener() { 
		this.mMap.setOnInfoWindowClickListener(this);
	} 
	 
	public void showUserLocation() { 
		Log.d(LogTag+".showUserLocation()", "Adding user location to map");
		this.mMap.setMyLocationEnabled(true);