AnsweredAssumed Answered

assign identify result to mapInfoWindow

Question asked by cleung on Aug 6, 2012
Latest reply on Aug 6, 2012 by cleung
Hi,

I am trying to get the features from the identifyResult. The goal is the assign the result features to the mapInfoWindow. Below is my code:


identifyTask.execute(identifyParams,dojo.hitch(this,function(response){
    console.log(response);
    this.map.infoWindow.setFeatures(response);
        this.map.infoWindow.show(evt.mapPoint);
      }));


However, I've got an error from the API -

TypeError
arguments: Array[2]
get message: function () { [native code] }
get stack: function () { [native code] }
set message: function () { [native code] }
set stack: function () { [native code] }
type: "undefined_method"
__proto__: Error

Any ideas what I've done wrong?

Thanks,
Connie

Outcomes