Study of stellar activity through transit mapping of starspots