Ilhan Seven
Ilhan Seven

Reputation: 3

Web page scrolling is disabled after google maps api

I have a one page site I am working on for my small company. I have added a google maps div to contact tab. Everything seems normal but when I try to scroll the page down to see whatever below, it does not work/scroll. Below is a link for my website (Please try on mozilla or ie to see what I actually mean.):

www.hidroturbin.com/htonepage

I tried the "disable scrollwheel option" in the map options of js code:

scrollwheel: false

This time scrolling was disabled for both the gmaps and the page.

I could not find a way. I am searching for almost 2 days and about to go nuts.

Anyone here to help?

Upvotes: 0

Views: 375

Answers (2)

Rajeev Bera
Rajeev Bera

Reputation: 2019

can you try to modify the code and IMO this will work

  google.maps.event.addListener(map, 'click', function(event){
       this.setOptions({scrollwheel:true});
  });

Upvotes: 0

GwenM
GwenM

Reputation: 1335

you have overflow: hidden; on your body, just remove it from your css file htonepage.css

Upvotes: 1

Related Questions