Open CorentinGaut opened 2 years ago
Among layers stands the 3DTiles layer (refer e.g. to this demo. Do we want to be able to a legend to such a 3DTiles layer ? When yes, change the title of this issue to reflect that choice.
Yes we want to legend 3DTiles too. The features are :
related #370
In Vallée du Gier's demo, I've created some methods to create layer legends:
The layer legends can be configured in a JSON file.
This code can be enhanced and contributed to iTowns/UD-Viz
Itowns does not provide the ability to add legends to data layers. We will have to develop a legend so that we can better understand the different data layers that are displayed in the UD-Viz scene.
A good exemple of legends is this picture : From the DataFrance website with a clear legend of the data.