From 23b18a8e13cf11556df2ce6860dba518b0ebbb47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Fri, 22 May 2020 21:08:36 +0200 Subject: [PATCH] MAPG-55 set marker labels with round numbers --- public/static/js/mapguesser.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index 31a585a..e706bd9 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -267,6 +267,13 @@ for (var i = 0; i < Core.rounds.length; ++i) { var round = Core.rounds[i]; + round.realMarker.setLabel({ + color: '#812519', + fontFamily: 'Roboto', + fontSize: '16px', + fontWeight: '500', + text: String(i+1) + }); round.realMarker.setVisible(true); round.guessMarker.setVisible(true); round.line.setVisible(true);