Error in documentation or missing function? getLayerDefinition()

02-02-2023 05:29 AM
Labels (1)
New Contributor III

I was trying to get the layerDefinition properties and found a reference to the following function.   However, it is not available, nor does it show up in the reference information for a DataSource.

Any ideas?

Reference to it being available:

  • DataSource class:
    • label is renamed to getLabel().
    • dataSourceJson is renamed to getDataSourceJson().
    • layerDefinition is named to getLayerDefinition().

Nothing in the API reference:

0 Kudos
1 Reply
New Contributor III

That method is a part of the subclass FeatureLayerDataSource. But it looks like it is not yet included in the documentation there either.

0 Kudos