<div dir="ltr"><div>Greetings all. <br><br></div><div>I have a map which includes many layers that do not need to be listed in the legend.</div><div><br></div><div>I have been unable to prune them from being displayed without actually removing them from the map. Here is the code:</div><div><br></div><a href="https://gist.github.com/minskmaz/a9ab9a27e61bc5955cc846e5c7f0d2ab">https://gist.github.com/minskmaz/a9ab9a27e61bc5955cc846e5c7f0d2ab</a><br><div><br></div><div>I've exhausted stack and IRC and would be grateful if someone could shed some light on this.</div><div><br></div><div>Thanks in advance!</div><div><br></div><div>Jonah</div></div>