Let's pull the toggle display buttons out of mol.map.menu.js and put them into their respective modules. That way we can get rid of the menu's dependency on query, legend, etc. Make sense? You can still create the place where the displays are positioned in menu, just create the actual button in the other modules.
Let's pull the toggle display buttons out of mol.map.menu.js and put them into their respective modules. That way we can get rid of the menu's dependency on query, legend, etc. Make sense? You can still create the place where the displays are positioned in menu, just create the actual button in the other modules.