Hi,
I am looking for a method that gets the FeatureLayer symbol URL either from the Feature Service itself or the FeatureLayer. My goal is to use that url to change the src on a <img> value that I use in a different part of my web application. I haven't been able to find a Javascript 4.x method that returns this.
Can anyone point me in the right direction
const VBA = new FeatureLayer({
url: "https://gis.va.gov/server/rest/services/PROJECTS/VBA_VHA_NCA_Regional_and_Major_Facilities/FeatureServer/0",
title: "VBA"
});
document.getElementById("VBA_Img").src=VBA.renderer.symbol.url;<span id="VBA_Text">VBA</span><img id="VBA_Img" /><br />