你能帮我将 InfoBox 自定义为 gmaps4rails。我使用了已通过上传的标记的文档 https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Change-handler-behavior
@json = @weeds_map.to_gmaps4rails do |locations, marker|
marker.infowindow render_to_string(:partial => "info_window", :locals => { :object => locations})
marker.picture({
:picture => "img/Store_pin.png",
:width => 35,
:height => 45
})
marker.title "#{locations.title}"
end
不再显示。