How can I zoom the area wherever my cursor is placed?

Hi,I want to zoom the area wherever my cursor is placed. I don’t want all the area to be zoomed. How can I achieve this? Any example code or any link would be a great help for me.Please help.Thanks.