From 44941a2e4410b80aff4e0bba16423953dccc37a0 Mon Sep 17 00:00:00 2001 From: Skillet Date: Thu, 20 Apr 2023 23:26:27 -0400 Subject: [PATCH] debug logging --- mapvote.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapvote.js b/mapvote.js index 5feaede..dfb0fd0 100644 --- a/mapvote.js +++ b/mapvote.js @@ -1156,8 +1156,8 @@ layer } } - for (const lay in Layers.layers){ - this.verbose(1, 'mapvote found layer: ', lay); + for (const lay in Layers._layers.values()){ + this.verbose(1, 'mapvote found layer: ', lay.layerid); } this.verbose(1, 'Layer list updated', Layers.layers.length, 'total layers');