From f9a77fc834e107dc92d169d045ccaee29494b8b5 Mon Sep 17 00:00:00 2001 From: Sagarpreet Chadha Date: Sat, 7 Jul 2018 12:51:16 +0530 Subject: [PATCH 1/5] bower updated --- bower.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" From db542cb37949f0f3ec184ffdfccf3a96657b4856 Mon Sep 17 00:00:00 2001 From: Sagarpreet Chadha Date: Sat, 7 Jul 2018 12:54:02 +0530 Subject: [PATCH 2/5] Map added --- app/views/maps/index.html.erb | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/app/views/maps/index.html.erb b/app/views/maps/index.html.erb index 3f90afbec..559e50d3d 100644 --- a/app/views/maps/index.html.erb +++ b/app/views/maps/index.html.erb @@ -1,3 +1,5 @@ +<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %> +<%= stylesheet_link_tag "/lib/leaflet/dist/leaflet.css" %>
@@ -42,8 +44,9 @@ <%= render :partial => 'maps/statistics' %>
-
+
+

Make maps from aerial photos

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

+
+ + From 499e0d5d6c7ccbdd44ee844c2a23138388a2ea1e Mon Sep 17 00:00:00 2001 From: Sagarpreet Chadha Date: Sat, 7 Jul 2018 13:11:38 +0530 Subject: [PATCH 3/5] Update index.html.erb --- app/views/maps/index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/maps/index.html.erb b/app/views/maps/index.html.erb index 559e50d3d..232621666 100644 --- a/app/views/maps/index.html.erb +++ b/app/views/maps/index.html.erb @@ -46,7 +46,8 @@
-
+
+

Make maps from aerial photos

From 8c73df5e3455b6fea795c4d2c2b173044e288fdf Mon Sep 17 00:00:00 2001 From: Sagarpreet Chadha Date: Wed, 11 Jul 2018 11:24:32 +0530 Subject: [PATCH 4/5] Update index.html.erb --- app/views/maps/index.html.erb | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app/views/maps/index.html.erb b/app/views/maps/index.html.erb index 232621666..3d3df65e2 100644 --- a/app/views/maps/index.html.erb +++ b/app/views/maps/index.html.erb @@ -1,6 +1,8 @@ -<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %> <%= stylesheet_link_tag "/lib/leaflet/dist/leaflet.css" %> +<%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %> +

+
<% if logged_in? %> @@ -46,7 +48,6 @@
-

Make maps from aerial photos

@@ -85,15 +86,13 @@ From aa9d4140dbf209a9e07fb932604f1befecedc15c Mon Sep 17 00:00:00 2001 From: Sagarpreet Chadha Date: Thu, 12 Jul 2018 23:19:55 +0530 Subject: [PATCH 5/5] Changed width to full width . --- app/views/maps/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/maps/index.html.erb b/app/views/maps/index.html.erb index 3d3df65e2..f858236db 100644 --- a/app/views/maps/index.html.erb +++ b/app/views/maps/index.html.erb @@ -2,7 +2,7 @@ <%= javascript_include_tag('/lib/leaflet-environmental-layers/dist/LeafletEnvironmentalLayers.js') %>
-
+
<% if logged_in? %>