File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export default {
171171 // Render legends if they are not yet visible after a moveend event
172172 window .MBL .map .on (' moveend' , function (e ) {
173173 if ((that .selectedZone || (that .selectedRegion || that .selectedProvince ))) {
174- console .log (` ---updating legends! length: ${ that .legends .length } , zoom ${ window .MBL .map .getZoom ()} ` )
174+ // console.log(`---updating legends! length: ${that.legends.length}, zoom ${window.MBL.map.getZoom()}`)
175175 that .updateLegend ()
176176 that .showAllLegends ()
177177 }
@@ -317,6 +317,7 @@ export default {
317317 }
318318
319319 colorCodes = (Array .from (features, (x ) => x .properties [' Legend_v2' ]).filter (unique)).sort ()
320+ // console.log(`---legends: ${colorCodes.length}`)
320321
321322 for (let i = 0 ; i < colorCodes .length ; i += 1 ) {
322323 this .legends .push ({
You can’t perform that action at this time.
0 commit comments