InfographicCarousel does not return geometry

286
0
09-06-2017 09:54 PM
AnuarSharafudinov
New Contributor

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
Tags (2)
0 Kudos
0 Replies