Solved #10
This commit is contained in:
parent
18991a60de
commit
9360aa2b63
2 changed files with 4 additions and 8 deletions
|
@ -112,11 +112,9 @@
|
|||
markers[data.id].setIcon(self_icons[data.color]);
|
||||
else
|
||||
if(data.color == -1)
|
||||
markers[data.id].setOpacity(0);
|
||||
else{
|
||||
markers[data.id].setOpacity(1);
|
||||
markers[data.id].setLatLng([0,0]);
|
||||
else
|
||||
markers[data.id].setIcon(icons[data.color]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
@ -114,11 +114,9 @@
|
|||
markers[data.id].setIcon(self_icons[data.color]);
|
||||
else
|
||||
if(data.color == -1)
|
||||
markers[data.id].setOpacity(0);
|
||||
else{
|
||||
markers[data.id].setOpacity(1);
|
||||
markers[data.id].setLatLng([0,0]);
|
||||
else
|
||||
markers[data.id].setIcon(icons[data.color]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue