From 1ae65fc83e2e4026cbbc33fe50291de46283a7ab Mon Sep 17 00:00:00 2001 From: Mila Frerichs Date: Thu, 28 May 2015 16:23:19 +0200 Subject: [PATCH 1/2] Add first nasa layer from labs geonode --- source/javascripts/components/layerListModel.coffee | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/javascripts/components/layerListModel.coffee b/source/javascripts/components/layerListModel.coffee index abf204d..f6fb845 100644 --- a/source/javascripts/components/layerListModel.coffee +++ b/source/javascripts/components/layerListModel.coffee @@ -261,9 +261,12 @@ angular.module('dashboard').service('layerListModel', ['$rootScope', 'styleHelpe displayed: false, visible: false, source: { - type: 'TileVector', - format: new ol.format.GeoJSON() - url: 'http://52.7.33.4/nasa/{z}/{x}/{y}.geojson' + type: 'ImageWMS', + url: 'http://45.55.174.20/geoserver/wms' + params: { + layers: "hazard:aria_dpm_alos2_f550_v05u_climmax07454_t1h1b0u0_dpmraw" + query_layers: "hazard:aria_dpm_alos2_f550_v05u_climmax07454_t1h1b0u0_dpmraw" + } } metadata: { name: "Damages from NASA" From f6cf6bd5e85856f3d2ee7c4047caa2def9df3a69 Mon Sep 17 00:00:00 2001 From: Mila Frerichs Date: Thu, 28 May 2015 16:28:44 +0200 Subject: [PATCH 2/2] Remove old dependency --- bower.json | 1 - 1 file changed, 1 deletion(-) diff --git a/bower.json b/bower.json index 38d1c43..c54c6dc 100644 --- a/bower.json +++ b/bower.json @@ -16,7 +16,6 @@ "dependencies": { "underscore":"", "jquery":"", - "angular-leaflet-directive":"", "angular-openlayers-directive":"", "d3":"", "colorbrewer":""