• Hello, each time I open a page on my WordPress site it automatically scrolls down to the Google map at the bottom.
    It has only just started doing this.
    Can anyone tell me how to stop it?
    Many thanks in advance for your kind help.
    With my very best regards,
    Mark
    Editor

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • It just started happening on a couple of websites I manage and not all of them are in WordPress. I narrowed it down to this part of the Google maps API call.

    
    infowindow.open(map, marker);

    Removing that part of the JavaScript stops the page scrolling to the map. Unfortunately, this disables the opening of the infowindow.

Viewing 1 replies (of 1 total)
  • The topic ‘Stopping auto scroll-down to Google Maps’ is closed to new replies.