kkpowar / gmaps-utility-library-dev

Automatically exported from code.google.com/p/gmaps-utility-library-dev
0 stars 0 forks source link

ExtInfoWindow: Can you add support for the "noCloseOnClick" InfoWindowOption? #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Adding a marker and attributing an ExtInfoWindow to it.
2. Clicking elsewhere on the map.

What is the expected output? What do you see instead?
The expected output is that the ExtInfoWindow won't close. Right now it 
does. In the official Google Maps API, there is a noCloseOnClick Boolean 
member of InfoWindowOptions that can be used to change this by setting 
to 'true'.

What version of the product are you using? On what operating system?
ExtInfoWindow 1.0. Bot Mozilla and IE. WinXP.

Please provide any additional information below.
I have a map project with a single marker and a single ExtInfoWindow. I 
don't want the user to be able to close the window. So I don't have a 
close button which is good, but I want to prevent him from closing the 
window by clicking elsewhere.

Other than that ExtInfoWindow rocks and is way cooler than the original!

Original issue reported on code.google.com by cowch...@gmail.com on 17 Sep 2008 at 11:50

GoogleCodeExporter commented 8 years ago
You can just comment out map.closeExtInfoWindow() in these lines of code:

if (map.ClickListener_ == null) {
 //listen for map click, close ExtInfoWindow if open
      map.ClickListener_ = GEvent.addListener(map, 'click',
      function(event) {
          if( !event && map.getExtInfoWindow() != null ){
            map.closeExtInfoWindow();
          }
        }
      );

Original comment by pamela.fox on 23 Sep 2008 at 9:47

GoogleCodeExporter commented 8 years ago
zasdasd

Original comment by secur...@hotmail.com on 14 Jul 2009 at 10:59

GoogleCodeExporter commented 8 years ago

Original comment by douglass...@earthlink.net on 7 Feb 2010 at 4:04

GoogleCodeExporter commented 8 years ago

Original comment by douglass...@earthlink.net on 18 May 2010 at 10:23