venkat
venkat

Reputation: 9

JavaScript code to zoom maps using mouse scroll

Please help me to write JavaScript code to zoom-in, zoom-out Google maps using mouse scroll.

Upvotes: 0

Views: 749

Answers (1)

Duncan_m
Duncan_m

Reputation: 2546

Your question is incomplete. I'm guessing you're referring to Google Maps. If this is the case you need to call enableScrollWheelZoom() on your GMap2 object.

Upvotes: 1

Related Questions