Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4550054
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T16:26:42+00:00 2026-05-21T16:26:42+00:00

I am working on a website with google maps integrated. http://www.ecompanies.nl/pilot/webdesign/breda.html Infowindows can be

  • 0

I am working on a website with google maps integrated.
http://www.ecompanies.nl/pilot/webdesign/breda.html

Infowindows can be opened by clicking on a map marker, or on a header link in the items listed on the right. How can I close the active infowindow before opening a new one (by clicking on a map marker, or on a header link)?

Thanks in advance.
Any help is highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T16:26:43+00:00Added an answer on May 21, 2026 at 4:26 pm

    You are creating a new infowindow for each marker. The best way to achieve what you want is to create one infowindow and share that between all the markers.

    So:

    1. Put the infowindow creation before the loop.
    2. When you create the click event listener for the marker in the loop add infowindow.setContent('content'); before you open the marker.

    this will automatically close the infowindow and open it over the new marker

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The website I'm working on http://bit.ly/aokA4I has a Google custom search form on the
I'm working on a profile-website which shows the location of people using google maps.
I'm working on a website using the Google Maps Javascript API v3. The free
Im working on a website (html,css,javascript, ajax, php,mysql), and I want to restrict the
I'm working on a website with a em-based layout (so it can stretch and
Last month I'm working on web site witch use Google Maps and all is
Im trying to place a google map on my website but its not working.
I am working on a website that has Google charts, the website includes JavaScript
I'm working on a website where I need a google map to display the
i have a google map api key which is working in my website but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.