diff --git a/app/views/maps/index.html.erb b/app/views/maps/index.html.erb index 3f90afbec..f858236db 100644 --- a/app/views/maps/index.html.erb +++ b/app/views/maps/index.html.erb @@ -1,4 +1,8 @@ +<%= stylesheet_link_tag "/lib/leaflet/dist/leaflet.css" %> +<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %> +
+
<% if logged_in? %> @@ -42,8 +46,9 @@ <%= render :partial => 'maps/statistics' %>
-
+
+

Make maps from aerial photos

@@ -51,6 +56,7 @@ Watch tutorial video Ask a question

+
+ + diff --git a/bower.json b/bower.json index 61185f27a..afd9ce7af 100644 --- a/bower.json +++ b/bower.json @@ -29,7 +29,8 @@ "glfx-js": "git+https://github.com/jywarren/glfx.js.git", "webgl-distort": "jywarren/webgl-distort", "image-sequencer": "git+https://github.com/publiclab/image-sequencer.git#~1.4.0", - "junction": "theleagueof/junction" + "junction": "theleagueof/junction", + "leaflet-environmental-layers": "*" }, "resolutions": { "jquery": "^2.1.3"