I am pulling data from a MapServer, now I'd like to be able to interact with features on each of the layers to enable pop up of feature.
my very simple code has this so far:
const mapLayer = new MapImageLayer({
url: e.url,
opacity: 0.5,
});
view?.map.add(mapLayer);
Any way to enable pop up template for each of the layers that come through? or have them automatically converted to featurelayer by default?