I want to display a map with the infowindow box automatically displayed for the single marker on the page, much like http://code.google.com/apis/maps/documentation/javascript/ex
I am trying to accomplish the same thing, except to just open the first marker out of a list of markers. So the code is almost the same. I've done what you suggested but it's not showing the info window.
<%= gmaps4rails(@json) %>
<% content_for :scripts do %>
<% end %>
The map display find but the info window doesn't pop up upon initialisation as expected! Any ideas?
Will