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 7495651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:15:12+00:00 2026-05-29T18:15:12+00:00

Much like any OS where if you click on a window then it brings

  • 0

Much like any OS where if you click on a window then it brings that window in focus (on top). Is that also possible if you have two overlapping InfoWindow for Google Maps API v3?

I know that there is no click listener for InfoWindow class as shown in the official Google Maps API v3 reference. But there is a content_changed listener.

So currently I am thinking of a “hack” would be something like this:

  1. The content div is clicked (a listener via JavaScript of jQuery)
  2. The content div will be changed subtly (add an extra invisible character at the end or something)
  3. Update the content by InfoWindow.setContent()
  4. The content_changed listener will trigger
  5. Set a higher z-index by InfoWindow.setZIndex()

Is there a better way to do this?

  • 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-29T18:15:14+00:00Added an answer on May 29, 2026 at 6:15 pm

    If you are going to do this… i hope you dont have to many info windows!

    But would it not just be simpler to generate an array of all you info windows, then when you div is clicked move that ones z-index higher and the others all lower. Then you just need to have the object name of the info window to call myInfoWindow.setZIndex().

    A little simpler.

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

Sidebar

Related Questions

I have a PHP script that very much like a commenting system, but requires
I currently have interfaces much like the following: interface IService { void Start(); IHandler
Is there a library much like how openssl is imported into C programs that
I'm coding an app that works much like Apple's Weather.app: There's a UIPageControl at
I have an ajax loader much like this one: $('#loadingDiv') .hide() // hide it
I have javascript function (that uses Raphael) that on click select area. And I
I have a filepath that I would like to pull the starting directory job
I'm working on a runnable java applet that has a fill feature much like
Suppose we have a website in which you click on a button, and that
I'm attempting to create an application that looks much like the Windows 8 Metro

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.