From 5c8ecc63ff7ffb2a47304351551f0c00a889f815 Mon Sep 17 00:00:00 2001 From: smit1678 Date: Tue, 26 May 2015 18:53:17 +0100 Subject: [PATCH 1/3] add devseed mapbox id and token --- app/assets/scripts/components/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/scripts/components/map.js b/app/assets/scripts/components/map.js index 5c39e8fb..f126b2bf 100644 --- a/app/assets/scripts/components/map.js +++ b/app/assets/scripts/components/map.js @@ -11,7 +11,7 @@ var resultsStore = require('../stores/results_store'); var utils = require('../utils/utils'); var dsZoom = require('../utils/ds_zoom'); -L.mapbox.accessToken = 'pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q'; +L.mapbox.accessToken = 'pk.eyJ1IjoiZGV2c2VlZCIsImEiOiJnUi1mbkVvIn0.018aLhX0Mb0tdtaT2QNe2Q'; var Map = React.createClass({ // Connect to the store "mapStore". Whenever the store calls "this.trigger()" @@ -294,7 +294,7 @@ var Map = React.createClass({ var _this = this; var view = [60.177, 25.148]; - this.map = L.mapbox.map(this.getDOMNode(), 'mapbox.light', { + this.map = L.mapbox.map(this.getDOMNode(), 'devseed.m9i692do', { zoomControl: false, minZoom : 4, maxZoom : 18, From fc5573a175cacb89f649a615771ac331ae4e4ce7 Mon Sep 17 00:00:00 2001 From: smit1678 Date: Tue, 26 May 2015 18:53:31 +0100 Subject: [PATCH 2/3] add CNAME and beta subdomain --- app/CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/CNAME diff --git a/app/CNAME b/app/CNAME new file mode 100644 index 00000000..e0b0c57f --- /dev/null +++ b/app/CNAME @@ -0,0 +1 @@ +beta.openaerialmap.org \ No newline at end of file From 85ef50a0bf0a6afbb81f1f973cee1b106ee1dd56 Mon Sep 17 00:00:00 2001 From: smit1678 Date: Tue, 26 May 2015 18:57:39 +0100 Subject: [PATCH 3/3] add google analytics --- app/index.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/index.html b/app/index.html index a8323e68..afb11889 100644 --- a/app/index.html +++ b/app/index.html @@ -45,6 +45,17 @@
+ +