resium icon indicating copy to clipboard operation
resium copied to clipboard

Viewer component baseLayer behavior is inconsistent with Cesium

Open mfarmer-ara opened this issue 8 months ago • 2 comments

On Cesium's Viewer doc, it expects baseLayer to be:

ImageryLayer | false or undefined.

In Resium's Viewer.ts, it is forcing baseLayer to be undefined when it is set to false.

This is causing the map to reach out https://api.cesium.com/v1/assets/2/endpoint to when you want to turn off baseLayerPicker and baseLayer in favor of the ImageryLayer component as Cesium falls back to the Ion behavior if baseLayer is not explicitly false.

mfarmer-ara avatar Jun 07 '24 12:06 mfarmer-ara