LayerSchema
Last updated
Was this helpful?
Last updated
Was this helpful?
The schema that describes the structure of the features in a layer.
This can be useful to build generic UIs that need to know the structure of the data in a layer, such as a dropdown to choose an attribute.
featureCount:
number
The total number of features in the layer.
attributes: []
Array of attribute schemas describing the properties available on features in this layer.