Popup for a MapImageLayer

1276
1
06-15-2016 03:59 AM
NisrineDRISSI
New Contributor

Hi, is it possible to have popups for a MapImageLayer ? I try with IdentifyTask but it didn't work and instead of FeatureLayer, MapImageLayer seems to not work directly with PopupTemplate. Am I right ? Thanks for your help,

0 Kudos
1 Reply
FC_Basson
MVP Regular Contributor

You can open a popup from any map click event and then populate the content with the identifyTask results.  See the nice examples here: Get started with popups | ArcGIS API for JavaScript 4.0

0 Kudos