Skip to content

Commit

Permalink
TW-235. TW-236 TW-228 fix unintended breakage of georeferences add go…
Browse files Browse the repository at this point in the history
…ogle map, minor reformatting, cleanup
  • Loading branch information
jrflood committed Apr 22, 2015
1 parent e326480 commit d250e24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/views/georeferences/google_maps/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<h1>New Google Map georeference</h1>
<p class="instruction"> Draw a shape on the map. Shapes can be edited by clicking the hand tool. Once a shape is drawn the georeference can be created. </p>
<p class="instruction"> Draw a shape on the map. Shapes can be edited by clicking the hand tool. Once a shape is drawn
the georeference can be created. </p>
<div class="flexbox">
<div class="item item1">
<% if !@georeference.collecting_event_id.blank? -%>
Expand All @@ -20,8 +21,8 @@
<div id="google_maps_georeference_widget" data-georeference="<%= @georeference %>"
data-feature-collection='<%= Gis::GeoJSON.feature_collection(@georeference.collecting_event.georeferences).to_json.html_safe %>'
data-map-center='<%= @georeference.collecting_event.verbatim_center_coordinates %>'
data-map-canvas="map_canvas"
>
data-map-canvas="map_canvas"
>
<div id="map_canvas" style="width:640px; height:480px;"></div>
</div>

Expand Down

0 comments on commit d250e24

Please sign in to comment.