I want to show different types of CimSymbol (images) in a FeatureLayer ( because i want to cluster them.) based on the source data i receive from my back-end. How can i achieve this ?
const layer = new FeatureLayer({
renderer: {
type: "simple",
symbol: {
type: "cim",
data: {} // dynamic data based on data in source
},
},
title: "Orders",
objectIdField: "ObjectID",
source: [] // dynamic data with orders with different types of location
});