MapDataSource

Interface

Interface for map related data sources. It contains a JS API Map instance.

Extends

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

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