From 24c5d45efc27f427e69f08ccbd87a331d8d5495a Mon Sep 17 00:00:00 2001 From: Xelio Date: Thu, 14 Feb 2013 03:29:39 +0800 Subject: [PATCH 1/3] Resonator line tuning Change color #FFFFFF -> #FF7700 Change opactiy 0.2 -> 0.35 Change dashArray to move line out of portal circle --- code/map_data.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/map_data.js b/code/map_data.js index adc5f3c6..bcb6a488 100644 --- a/code/map_data.js +++ b/code/map_data.js @@ -348,9 +348,9 @@ window.renderResonators = function(ent, portalLayer) { // line connecting reso to portal var conn = L.polyline([Rlatlng, portalLatLng], { weight: 2, - color: '#FFFFFF', - opacity: 0.2, - dashArray: '10,4', + color: '#FF7700', + opacity: 0.35, + dashArray: '0,10,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4', fill: false, clickable: false}); From c9e2c12784e5c46ce317b2476656a1ba33760814 Mon Sep 17 00:00:00 2001 From: Xelio Date: Thu, 14 Feb 2013 03:40:32 +0800 Subject: [PATCH 2/3] Resonator line tuning - bug fix Need to draw from portal for new dashArray to work --- code/map_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/map_data.js b/code/map_data.js index bcb6a488..b910b414 100644 --- a/code/map_data.js +++ b/code/map_data.js @@ -346,7 +346,7 @@ window.renderResonators = function(ent, portalLayer) { }); // line connecting reso to portal - var conn = L.polyline([Rlatlng, portalLatLng], { + var conn = L.polyline([portalLatLng, Rlatlng], { weight: 2, color: '#FF7700', opacity: 0.35, From 767354b83f3e3c643a2e6194b37041ce2855a7b3 Mon Sep 17 00:00:00 2001 From: Xelio Date: Thu, 14 Feb 2013 12:43:41 +0800 Subject: [PATCH 3/3] Resonator line tuning - 2 Lower opacity 0.35 -> 0.25 Tweak color to a bit lighter #FF7700 -> #FFA000 --- code/map_data.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/map_data.js b/code/map_data.js index b910b414..e6a85d1b 100644 --- a/code/map_data.js +++ b/code/map_data.js @@ -348,8 +348,8 @@ window.renderResonators = function(ent, portalLayer) { // line connecting reso to portal var conn = L.polyline([portalLatLng, Rlatlng], { weight: 2, - color: '#FF7700', - opacity: 0.35, + color: '#FFA000', + opacity: 0.25, dashArray: '0,10,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4,8,4', fill: false, clickable: false});