0
因此,我使用Bhedana的google_maps插件并构建了一个搜索页面呈现加载点。我有我的所有点与google_maps插件rjs问题
page.replace_html 'locations', :partial => 'locations'
刷新,但是当我包括
page.replace_html 'map', :partial => 'map'
在同一个RJS文件
,并有部分看起来像
<%= @map.to_html %>
<div style="width: 400px; height: 350px;">
<%= @map.div %>
</div>
地图无法何时出现我提交。有人有主意吗?