Code example for Marker

Methods: hideInfoWindow, isInfoWindowShown, showInfoWindow

0
	private void setupMarkerListener() { 
		mMap.setOnMarkerClickListener( new OnMarkerClickListener() {			
			@Override 
			public boolean onMarkerClick( Marker marker ) {
				moveCamera(); 
				if( marker.isInfoWindowShown() ) {
					marker.hideInfoWindow();
				} else { 
					marker.showInfoWindow();
				} 
				return true; 
			} 
		}); 
	} 
	 
	private void addCustomMarker() { 
		mMap.addMarker(
			new MarkerOptions()
			.position(new LatLng(55.66351, 12.5851))
			.title("Metro")
			.draggable( false )