Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
display infoWindow always
  • Loading branch information
tamoot committed Oct 11, 2010
1 parent 0284839 commit a191c63
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions google_map.rb
Expand Up @@ -98,9 +98,7 @@ def google_map_script(hash)
str << %Q| content: '<span style="color: #000000;">#{hash[:html]}</span>',\n|
str << %Q| size: new google.maps.Size(350, 200)\n|
str << %Q| });\n|
str << %Q| google.maps.event.addListener(marker, 'click', function() {\n|
str << %Q| infowindow.open(gMap, marker);\n|
str << %Q| });\n|
str << %Q| infowindow.open(gMap, marker);\n|
end # :html
end # :title
str << %Q|});\n|
Expand Down Expand Up @@ -137,9 +135,7 @@ def google_geomap_script(hash)
str << %Q| content: '<span style="color: #000000;">#{hash[:html]}</span>',\n|
str << %Q| size: new google.maps.Size(350, 200)\n|
str << %Q| });\n|
str << %Q| google.maps.event.addListener(marker, 'click', function() {\n|
str << %Q| infowindow.open(gMap, marker);\n|
str << %Q| });\n|
str << %Q| infowindow.open(gMap, marker);\n|
end # :html
end # :title
str << %Q| }else{\n|
Expand Down

0 comments on commit a191c63

Please sign in to comment.