MAPG-59 fix overlapping markers

- real markers are always over guess markers
- latest marker is always over the old marker in real/guess group
This commit is contained in:
Bence Pőcze 2020-05-24 15:00:58 +02:00
parent b32cfacdad
commit a6541d1152

View File

@ -195,7 +195,7 @@
visible: !hidden, visible: !hidden,
position: realPosition, position: realPosition,
title: 'Open in Google Maps', title: 'Open in Google Maps',
zIndex: 2, zIndex: Core.rounds.length * 2,
clickable: true, clickable: true,
draggable: false draggable: false
}); });
@ -208,7 +208,7 @@
map: Core.map, map: Core.map,
visible: !hidden, visible: !hidden,
position: guessPosition, position: guessPosition,
zIndex: 1, zIndex: Core.rounds.length,
clickable: false, clickable: false,
draggable: false, draggable: false,
label: { label: {