move markers into a separate module

This commit is contained in:
Azgaar 2021-09-11 21:18:08 +03:00 committed by Peter
parent 3b2409d331
commit 53133b9d8c

View file

@ -461,9 +461,9 @@ function parseLoadedData(data) {
zones = viewbox.insert('g', '#borders').attr('id', 'zones').attr('display', 'none'); zones = viewbox.insert('g', '#borders').attr('id', 'zones').attr('display', 'none');
zones.attr('opacity', 0.6).attr('stroke', null).attr('stroke-width', 0).attr('stroke-dasharray', null).attr('stroke-linecap', 'butt'); zones.attr('opacity', 0.6).attr('stroke', null).attr('stroke-width', 0).attr('stroke-dasharray', null).attr('stroke-linecap', 'butt');
addZones(); addZones();
if (!markers.selectAll('*').size()) { if (!markers.selectAll("*").size()) {
addMarkers(); Markers.generate();
turnButtonOn('toggleMarkers'); turnButtonOn("toggleMarkers");
} }
// 1.0 add fogging layer (state focus) // 1.0 add fogging layer (state focus)