When I use '@arcgis/map-components/components/arcgis-scene',
It was nice when set basemap by string,
such as:
<arcgis-scene
basemap="satellite"
ground="world-elevation"
></arcgis-scene>
but it throw error and didn't work when set basemap by Basemap type,
such as:
import Basemap from '@arcgis/core/Basemap';
<arcgis-scene
basemap=Basemap.fromId('satellite'),
ground="world-elevation"
></arcgis-scene>
The Error info:
Logger.js:5 [esri.support.basemapUtils] Unable to find basemap definition for: [object Object]. Try one of these: "dark-gray", "dark-gray-3d", "dark-gray-vector", "gray", "gray-3d", "gray-vector", "hybrid", "navigation-3d", "navigation-dark-3d", "oceans", "osm", "osm-3d", "satellite", "streets", "streets-3d", "streets-dark-3d", "streets-navigation-vector", "streets-night-vector", "streets-relief-vector", "streets-vector", "terrain", "topo", "topo-3d", "topo-vector"
By the way, I guess it's web-component problem, I test Popup type, it's work. So maybe it's
@ArcGIS/map-components bug.