File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/views/better_together/shared Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
2- <%# locals: (mappable:, map: mappable.map )%>
2+ <%# locals: (map:)%>
33
44<% if map %>
5- <div class ="map " id ="<%= dom_id ( mappable , : map) %> "
5+ <div class ="map " id ="<%= dom_id ( map ) %> "
66 data-controller ="better_together--map "
77 data-better_together--map-center-value ="<%= map . center_for_leaflet %> "
88 data-better_together--map-spaces-value ="<%= map . leaflet_points %> "
99 data-better_together--map-zoom-value ="<%= map . zoom %> "
1010 data-better_together--map-extent-value ="<%= map . viewport %> ">
1111 < div class ="map-controls ">
12- < button class ="btn btn-secondary " data-action ="better_together--map#switchToOSM "> OpenStreetMap </ button >
12+ < button class ="btn btn-secondary " data-action ="better_together--map#switchToOSM "> Map </ button >
1313 < button class ="btn btn-secondary " data-action ="better_together--map#switchToSatellite "> Satellite</ button >
1414 < button class ="btn btn-secondary " data-action ="better_together--map#enableGeolocation "> Geolocate Me</ button >
1515 </ div >
You can’t perform that action at this time.
0 commit comments