Reading entities
Getting entities
// Get a single layer
const layer = await felt.getLayer("layer-1");
// Get all layers
const layers = await felt.getLayers();Using constraints
// Get elements with specific IDs
const elements = await felt.getElements({
ids: ["element-1", "element-2"]
});
// Get legend items belonging to a layer
const legendItems = await felt.getLegendItems({
layerIds: ["layer-1"],
});Reacting to changes
Best practices
Last updated
Was this helpful?