Hello
I want to change the names of the feature layers I captured via Enterprise.
Layers are shown with layerlist.
Can you help me change the names?
Solved! Go to Solution.
Hi @emreaktas1 ,
All you need to do is set the title property on the feature layer.
const featureLayer = new FeatureLayer({
url: "url to the feature service",
title: "Whatever you want to name the layer"
})
Hi @emreaktas1 ,
All you need to do is set the title property on the feature layer.
const featureLayer = new FeatureLayer({
url: "url to the feature service",
title: "Whatever you want to name the layer"
})