cityjson / cityjson-threejs-loader

Apache License 2.0
19 stars 10 forks source link

Fix lods Typescript type #13

Open tmuguet opened 1 month ago

tmuguet commented 1 month ago

Hi,

From what I've seen, these lods are strings, and not pure JS numbers. This is also what's expected from the spec:

A Geometry object:

  • must have one member with the name "lod". The value must be a string with the LoD identifying the level-of-detail (LoD) of the geometry. This can be either a single digit (following the CityGML standards), or "X.Y"-formatted if the improved LoDs by TU Delft are used.