[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-14 Thread Sandeep
I got it! 

Thank you,
Sandeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/X8-QHY3anxIJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 7:50 pm, "geocode...@gmail.com" 
wrote:
> On Oct 13, 6:58 pm, Sandeep  wrote:
>
> > I have:
> > 1) google.maps.event.addListener(layer, 'click', function(event) {
> > addInfo(event);});
>
> > and 2) inside addInfo(event) I do
> > event.infoWindowHtml
>
> > So where do I close it? How?
>
> Post a link to your map that shows the problem please.  There is not
> enough context in your snippets.
>
> > Can you show me some sample code please?
>
> Lots of examples at:
http://www.geocodezip.com

This one demonstrates the principle:
http://www.geocodezip.com/v3_MW_example_map1.html
(but doesn't use FusionTables)

Here is one that does:
http://www.geocodezip.com/www_satpacktravel_com_api_v5b.html

  -- Larry


>
> > Thanks,
> > Sandeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 6:58 pm, Sandeep  wrote:
> I have:
> 1) google.maps.event.addListener(layer, 'click', function(event) {
> addInfo(event);});
>
> and 2) inside addInfo(event) I do
> event.infoWindowHtml
>
> So where do I close it? How?

Post a link to your map that shows the problem please.  There is not
enough context in your snippets.

> Can you show me some sample code please?

Lots of examples at:
http://www.geocodezip.com

  -- Larry

>
> Thanks,
> Sandeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread Sandeep
I have:
1) google.maps.event.addListener(layer, 'click', function(event) {
addInfo(event);
});
and 2) inside addInfo(event) I do
event.infoWindowHtml

So where do I close it? How? Can you show me some sample code please?

Thanks,
Sandeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Rca_3grp4-gJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.



[Google Maps API v3] Re: how to close InfoWindow when using FusionTableMouseEvent

2011-10-13 Thread geocode...@gmail.com
On Oct 13, 5:32 pm, Sandeep  wrote:
> I am using fusion table and then FusionTableMouseEvent to set the
> InfoWindowHtml. How do I close this infowindow when user clicks outside of
> the infowindow?

I usually add a listener to the map and close the infowindow in that
listener.

  -- Larry

>
> Thanks,
> Sandeep

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.