riteshpanchal1 / jquery-ui-map

Automatically exported from code.google.com/p/jquery-ui-map
0 stars 0 forks source link

Need a method to close info windows from script #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. call openInfoWindow
2. call clear markers
3.

What is the expected output? What do you see instead?
InfoWindow should close when markers are cleared but it does not.

What version of the product are you using? On what operating system?
v3

Please provide any additional information below.

Original issue reported on code.google.com by leeb...@gmail.com on 13 Oct 2011 at 6:43

GoogleCodeExporter commented 9 years ago
This would be the way to close any infowindow opened with the openInfoWindow 
method

$('#map_canvas').gmap('get', 'iw').close();

Original comment by johansalllarsson on 13 Oct 2011 at 7:09

GoogleCodeExporter commented 9 years ago
That worked! Thanks Johan :)

Original comment by leeb...@gmail.com on 13 Oct 2011 at 7:20

GoogleCodeExporter commented 9 years ago

Original comment by johansalllarsson on 20 Oct 2011 at 5:44