iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.09k stars 293 forks source link

Add a bounding box attributes to all itowns' layers #1903

Open jailln opened 1 year ago

jailln commented 1 year ago

1902 adds a boundingBox attribute to C3DTilesLayers. Extend this logic to all layers to helps itowns users to work with layers (e.g. to help writting zoomTo methods, to easily know if a layer is visible or not, etc.).

mgermerie commented 1 year ago

We need to specify which bounding box we want to expose : it could be the one of currently visible data, or of loaded data, or all layer data.