helios artifacts - initial guess was slightly wrong - no count parameter for target marker
This commit is contained in:
parent
a122dacf70
commit
4827c9ac1b
@ -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) {
|
||||||
if (data.helios.target) {
|
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
|
// 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';
|
||||||
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';
|
|
||||||
iconSize = 100/2; // 100 pixels - half that size works better
|
iconSize = 100/2; // 100 pixels - half that size works better
|
||||||
} else if (data.helios.fragments) {
|
} else if (data.helios.fragments) {
|
||||||
iconUrl = '//commondatastorage.googleapis.com/ingress.com/img/map_icons/marker_images/helios_shard.png';
|
iconUrl = '//commondatastorage.googleapis.com/ingress.com/img/map_icons/marker_images/helios_shard.png';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user