diff --git a/src/jane/static/web_gis/src/baynetapp.js b/src/jane/static/web_gis/src/baynetapp.js index 55ef142..8827870 100644 --- a/src/jane/static/web_gis/src/baynetapp.js +++ b/src/jane/static/web_gis/src/baynetapp.js @@ -133,6 +133,7 @@ module.factory('stations', function($http, $log, jane_server) { "station_name": j.station_name, "latitude": j.latitude, "longitude": j.longitude, + "elevation": j.elevation_in_m, "channels": [], "min_startdate": n_sd, "max_enddate": n_ed diff --git a/src/jane/static/web_gis/src/controllers/station_info_controller.js b/src/jane/static/web_gis/src/controllers/station_info_controller.js index 1bec706..9de36dd 100644 --- a/src/jane/static/web_gis/src/controllers/station_info_controller.js +++ b/src/jane/static/web_gis/src/controllers/station_info_controller.js @@ -11,6 +11,9 @@ baynetApp.controller('stationInfoController', function ($scope, $log, stations) $scope.station_object = j; $scope.network_name = j.properties.network_name; $scope.station_name = j.properties.station_name; + $scope.latitude = j.properties.latitude; + $scope.longitude = j.properties.longitude; + $scope.elevation = j.properties.elevation; $scope.channels = j.properties.channels; for (var i = 0; i < $scope.channels.length; i++) { var chan = $scope.channels[i]; @@ -26,4 +29,4 @@ baynetApp.controller('stationInfoController', function ($scope, $log, stations) } break; } -}); \ No newline at end of file +}); diff --git a/src/jane/static/web_gis/templates/station_modal.tpl.html b/src/jane/static/web_gis/templates/station_modal.tpl.html index 27f8562..afed074 100644 --- a/src/jane/static/web_gis/templates/station_modal.tpl.html +++ b/src/jane/static/web_gis/templates/station_modal.tpl.html @@ -12,6 +12,15 @@
{{station_name}} im {{network_name}}
+
+ Latitude {{latitude}}° +
+
+ Longitude {{longitude}}° +
+
+ Elevation {{elevation}}m +
@@ -63,4 +72,4 @@
- \ No newline at end of file +