This is an old script that i haven't worked in a bit but its still functional.
It allows you to change the zoom level and center the map.
Here is an image of the button layout layout.
The top button changes the mode depending if your a player or spectator. As a player it changes between self and center. In spec, it can change to focus, center or FC. CTRL-click toggles the scrip on and off and ALT-click as spec allows for FC mode. A quick way to use FC mode is by pressing D.
The left bar shows the zoom levels and clicking it will toggle zoom from reset and a midpoint. there are separate zoom values for centered and focus, ALT-click will allow changing zoom for the mode that is not active.
The right buttons change the zoom value to the next 'default' zoom levels. CTRL-click changes the zoom change to increments of 1px.
The bottom buttons toggle the auto zoom calculation, one for focus zoom and the other for center zoom. With them active the zoom will be stuck at the best value to display the mode in. disable them to manually change zoom.
As a spec you can pan the center-point with the arrow keys or ijkl as player if set in config. Press V to reset center-point. Hold CTRL to slow down and SHIFT or ALT to speed up.(beware of browser shortcuts with ijkl)
The script will also auto center as spec and round zoom when using +/- to zoom.
Download
Also pretty sure this would be banned from competitive so use with caution :\