From c30e820443b12b4db52097c25d49d615933751ac Mon Sep 17 00:00:00 2001 From: Tasio Mendez Date: Mon, 16 Apr 2018 11:56:01 +0200 Subject: [PATCH] Filter background --- TerroristNetworkModel.yml | 2 ++ templates/js/socket.js | 5 ++++- templates/js/visualization.js | 9 +++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/TerroristNetworkModel.yml b/TerroristNetworkModel.yml index 4874b62..702fc20 100644 --- a/TerroristNetworkModel.yml +++ b/TerroristNetworkModel.yml @@ -58,3 +58,5 @@ visualization_params: - attr_id: 2 color: '#c16a6a' background_image: 'map_4800x2860.jpg' + background_opacity: '0.9' + background_filter_color: 'blue' diff --git a/templates/js/socket.js b/templates/js/socket.js index a12a185..94e0005 100755 --- a/templates/js/socket.js +++ b/templates/js/socket.js @@ -71,7 +71,7 @@ ws.onmessage = function(message) { // .css('background-size', '130%').css('background-position', '5% 30%').css('background-repeat', 'no-repeat'); $('