Adding Sub Menu

1. A concise explanation of the problem you’re experiencing.

I could not find an example on how to create a submenu. Is there a way?

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.

Can you describe what you mean by a sub menu? Is there an example of a menu you’re referencing, and you’re trying to add a submenu to that? If so, can you link to that example?

A picture of what you mean would also help.


Sorry for not clarifying. Something like a multi-level drop down menu, perhaps using the



but having different levels.



There’s nothing built in to CesiumJS to do that, but any JavaScript library that can do that should easy to integrate with Cesium.