Code example for Marker

Methods: setVisible

0
	public void hideDirectionToTarget() { 
		if(tBearingLine != null) { tBearingLine.remove(); }
	} 
	 
	public void hideTargetLocation() { 
		if(targetLocationMarker != null) targetLocationMarker.setVisible(false);
	} 
	 
	public void onTargetLocationChanged(LatLng tLoc) {
		if(tLoc != null) {
			showTargetLocation(tLoc);
		} else { 
			hideTargetLocation(); 
		} 
	} 
	 
}