Merged in feature/MAPG-55-mark-places-with-labels-on-summa (pull request #32)

Feature/MAPG-55 mark places with labels on summa
This commit is contained in:
Bence Pőcze 2020-05-22 21:57:41 +00:00
commit 4c850b30a4

View File

@ -183,6 +183,8 @@
map: Core.map,
visible: !hidden,
position: realPosition,
title: 'Open in Google Maps',
zIndex: 2,
clickable: true,
draggable: false
});
@ -195,6 +197,7 @@
map: Core.map,
visible: !hidden,
position: guessPosition,
zIndex: 1,
clickable: false,
draggable: false,
label: {
@ -267,6 +270,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);