WebSceneDataSource

Interface

Web scene data source is created from a webscene. It may have child data sources (such as feature layer data source, scene layer data source and so on).

Properties

fetchSchema

fetchSchema: function
Type declaration
    (): Promise<ImmutableObject<DataSourceSchema>>
    Returns 
    Promise<ImmutableObject<DataSourceSchema>>

getDataSourceByLayer

getDataSourceByLayer: function

Find data source with a specific layer. The specific layer can be direct child layer of the map or descendant layer of the map.

Type declaration
    (layerIdstring | number, layerOfSubLayerId?string): DataSource
    Parameters
    • layerIdstring | number
    • layerOfSubLayerIdstringoptional 
    Returns 
    DataSource

ready

ready: function
Type declaration
    (): Promise<MapChildDataSource[]>
    Returns 
    Promise<MapChildDataSource[]>

type

type: WebScene

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.