Skip to content

Commit

Permalink
re Foxhind#15 - replace owner name with flag
Browse files Browse the repository at this point in the history
  • Loading branch information
osmisto committed May 9, 2011
1 parent 2ac8399 commit 2ad1833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,8 @@ function onUnselectPiece(e) {
}

function updatePieceStyle(e, redraw) {
e.style.label = e.attributes.owner;
e.style.fontSize = 10;
e.style.label = e.attributes.owner ? '⚐' : null;
e.style.fontSize = 25;
e.style.fillColor = color[parseInt(e.attributes.description)];

var selected = e == selectedFeature;
Expand Down

0 comments on commit 2ad1833

Please sign in to comment.