From a6541d1152cc1ce154e181821dc748040ef14065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 24 May 2020 15:00:58 +0200 Subject: [PATCH] MAPG-59 fix overlapping markers - real markers are always over guess markers - latest marker is always over the old marker in real/guess group --- public/static/js/mapguesser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index 7a4ada3..52c73be 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -195,7 +195,7 @@ visible: !hidden, position: realPosition, title: 'Open in Google Maps', - zIndex: 2, + zIndex: Core.rounds.length * 2, clickable: true, draggable: false }); @@ -208,7 +208,7 @@ map: Core.map, visible: !hidden, position: guessPosition, - zIndex: 1, + zIndex: Core.rounds.length, clickable: false, draggable: false, label: {