AnsweredAssumed Answered

InfographicCarousel does not return geometry

Question asked by ailabs1 on Sep 6, 2017

Hi,

I tried sample from https://developers.arcgis.com/javascript/3/jssamples/geoenrichment_carousel.html

 

On

      infographicsCarousel.on("data-ready", function(evt){
         
if (!studyAreaGraphic) {
            studyAreaGraphic
= new Graphic(evt.provider.getGeometry(), new SimpleFillSymbol());
            map
.graphics.add(studyAreaGraphic);
         
}
       
});

the "
evt.provider.getGeometry()" method returns null

Can anyone help?
Thanks in advance

Outcomes