I've created several map overlays and the legend/layer control is automatically created for the buttons. Ideally, I'd like to have my custom icon in place of the text "purple", etc. Is there a way to do this? I added comments with the image source file and the variable name for the icon.
//<img src="Images/purple.jpeg">
//var purpleIcon = 'Images/purple.jpeg'
// Create an overlays object to add to the layer control
let overlayMaps = {
"Up to $250K - purple": layers.one,
"$250K - $500K- blue": layers.two,
"$500K - $750K - green": layers.three,
"$750K - $1M - yellow": layers.four,
"Over $1M - red": layers.five,
"School Quality": layers.six
};
