You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When sky: true is part of Threebox init params and mapbox < 2.0 this error is raised
Error: layers.sky-layer: missing required property "source" at Object.bn [as emitValidationErrors] (util.js:122) at Oe (index.js:133) at i._validate (index.js:133) at i.addLayer (index.js:133) at r.addLayer (index.js:133) at Threebox.createSkyLayer (threebox.js:865) at r.<anonymous> (threebox.js:383) at r.Tt.fire (util.js:122) at i.Tt.fire (util.js:122) at i._load (index.js:133)
Expected behavior
This should be controlled by Threebox with a warning
Version 2.2.2
The text was updated successfully, but these errors were encountered:
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs.
#### ✨ Enhancements
- #243 Create a new example on terrain layer
- New example on terrain layer with a 3D model aligned vertically [21-terrain.html](https://github.com/jscastro76/threebox/blob/master/examples/21-terrain.html)
- #244 Darken the raster layer with realSunlight
#### 🪲 Bug fixes
- #233 map.setLight is not updated when tb.setStyle until the map moves
- #237 `ObjectMouseOver` doesn't work after triggering `SelectedChange`
- #241 KNOWN ISSUE: Terrain layer calculates wrongly the object height
- #242 KNOWN ISSUE: Create a warning for sky layers when used with Mapbox < 2.0
#### 📝 Documentation
- Updated [documentation](/examples/readme.md)
- Updated [Threebox documentation](/docs/Threebox.md) (`terrain` attribute and property, `tb.createTerrainLayer`, `tb.updateSunGround`)
- Updated [Examples](/examples) documentation (new terrain layer in 21).
Describe the bug
When
sky: true
is part of Threebox init params and mapbox < 2.0 this error is raisedExpected behavior
This should be controlled by Threebox with a warning
The text was updated successfully, but these errors were encountered: