From 4827c9ac1bfc79b5a2c5f9f0e198e37c36e7f78f Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 9 Aug 2014 03:05:43 +0100 Subject: [PATCH] helios artifacts - initial guess was slightly wrong - no count parameter for target marker --- code/artifact.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/code/artifact.js b/code/artifact.js index 8d3077e0..7814168d 100644 --- a/code/artifact.js +++ b/code/artifact.js @@ -225,14 +225,11 @@ window.artifact.updateLayer = function() { } - // 2014-07-28 - another guess, for the upcoming 'helios' artifacts + // 2014-08-09 - helios artifacts. original guess was slightly wrong if (data.helios) { if (data.helios.target) { - // target portal - show the target marker. use the count of fragments at the target to pick the right icon - it has segments that fill up - - var count = data.helios.fragments ? data.helios.fragments.length : 0; - - iconUrl = '//commondatastorage.googleapis.com/ingress.com/img/map_icons/marker_images/helios_shard_target_'+count+'.png'; + // target portal - show the target marker. helios target marker doesn't fill like the earlier jarvis/amar targets + iconUrl = '//commondatastorage.googleapis.com/ingress.com/img/map_icons/marker_images/helios_shard_target.png'; iconSize = 100/2; // 100 pixels - half that size works better } else if (data.helios.fragments) { iconUrl = '//commondatastorage.googleapis.com/ingress.com/img/map_icons/marker_images/helios_shard.png';