popupTemplate with Scene Layer not working

2817
0
11-26-2015 08:14 PM
srikanthkurukundu
New Contributor II

Hi All,

I was trying to display popup on click of 3D building by using the below code. But i ended up seeing nothing on click. I seen this warning in Browser console. "Companion FeatureLayer could not be loaded. Popups will not work for this SceneLayer: null"

Is this bug or  am doing something wrong, here is my code. Appreciate any comments.

           var sceneLayer = new SceneLayer({

                url: "scene layer url",

                fields: ["*"],

                popupTemplate: template

            });

Tags (1)
0 Kudos
0 Replies