StreamLayer with Popup using ArcGIS API for Javascript 4x

288
1
05-08-2020 04:40 AM
RajP
by
New Contributor

I couldn't get popup template in the stream layer. 

streamLayer = new StreamLayer({url: svcUrl,purgeOptions: {displayCount: 10000}, popupTemplate: template});

Not response when I click stream layer feature for getting popup template.

Kindly request to suggest me if anyone have solution for this.

0 Kudos
1 Reply
CE1
by
New Contributor

Old post but in case anyone comes across this you simply need to add popupEnabled: true

streamLayer = new StreamLayer({url: svcUrl,purgeOptions: {displayCount: 10000}, popupEnabled: true, popupTemplate: template});

0 Kudos