Map zoom

I want to add a zoom feature to a map.

I’ve seen some great ones where it zooms smoothly in and the area is enlarged without loosing quality.

Any ideas?