orbit-basic/app/views/mobile/map.mobile.erb

10 lines
237 B
Plaintext
Raw Permalink Normal View History

2012-12-19 19:21:50 +00:00
<%= content_for :header do %>
<%= render 'header_map' %>
<% end %>
2013-01-31 10:56:45 +00:00
<div id='map_canvas'></div>
<script type='text/javascript'>
var $map_center = "<%= @coordinates.first %>, <%= @coordinates.second %>"
2013-01-31 10:56:45 +00:00
var $map_zoom = 17
</script>