Sha256: aaff8c4451c77a6fac00ece504f222f3144366056a6afaf33adda2d87a06f9ae

Contents?: true

Size: 569 Bytes

Versions: 5

Compression:

Stored size: 569 Bytes

Contents

<% content_for :scripts do %>
<%= javascript_include_tag *js_dependencies %>

<script type="text/javascript" charset="utf-8">
<%=raw options.to_gmaps4rails %>
</script>
<% end %>

<% case dom.map_provider %>
<% when "mapquest" %>
<div id="<%= dom.map_id %>" style="width:750px; height:475px;">
  <!-- TODO: change this style dynamically -->  
</div>
<% when "bing" %>
  <div id="<%= dom.map_id %>" class="<%= dom.map_class %>"></div>
<% else %>
<div class="<%= dom.container_class %>"> 
  <div id="<%= dom.map_id %>" class="<%= dom.map_class %>"></div>
</div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gmaps4rails-1.5.2 app/views/gmaps4rails/_gmaps4rails.html.erb
gmaps4rails-1.5.1 app/views/gmaps4rails/_gmaps4rails.html.erb
gmaps4rails-1.5.0 app/views/gmaps4rails/_gmaps4rails.html.erb
gmaps4rails-1.5.0.pre2 app/views/gmaps4rails/_gmaps4rails.html.erb
gmaps4rails-1.5.0.pre app/views/gmaps4rails/_gmaps4rails.html.erb