To perform zoom Google maps with scale else?

Good time of day. There is a google maps 300x300 and is, say, a div with id="scrollMe" 500x500 how to make it so that when scrole scrollMe happened zoom of the map ( depending on which direction you Skalite )?
If there are links where you can read would be appreciated. Thanks in advance
March 19th 20 at 08:35
1 answer
March 19th 20 at 08:37
Read the documentation for the google maps js api, there are methods that are responsible for zoom.
I think you will need only two of these methods, which will be tied to eventu scroll.
map.setCenter(latlngset);
map.setZoom(12);

note that the zoom goes in steps, i.e. it is impossible to smoothly increase the zoom on the map.

Find more questions by tags Google MapsjQuery