orbit-4-2/app/views/mobile/map.mobile.erb

10 lines
237 B
Plaintext

<%= content_for :header do %>
<%= render 'header_map' %>
<% end %>
<div id='map_canvas'></div>
<script type='text/javascript'>
var $map_center = "<%= @coordinates.first %>, <%= @coordinates.second %>"
var $map_zoom = 17
</script>