diff --git a/mapvote.js b/mapvote.js index 46b5517..c4986f9 100644 --- a/mapvote.js +++ b/mapvote.js @@ -1161,7 +1161,7 @@ layer } } - for (const lay in Layers._layers.values()){ + for (const lay of Layers.layers){ this.verbose(1, 'mapvote found layer: ', lay.layerid); } this.verbose(1, 'Layer list updated', Layers.layers.length, 'total layers');