AnsweredAssumed Answered

Get the featureSet from XxxFeatureAction class to print (or use) it in Widget.js

Question asked by rolandoflorez17 on Oct 14, 2016
Latest reply on Oct 17, 2016 by rolandoflorez17

Robert Scheitlin, GISP

I need to ask you one more thing... The class @XxxFeatureAction derive from BaseFeatureAction.
Can you explain me about isFeatureSupported and onExecute function?

How can I send data ( a featureSet.fields.values() ) from this class to Widget.js.


This line make that:



in Widget.js 

showVertexCount: function(count){
this.vertexCount.innerHTML = 'The vertex count is: ' + count;

this method receives that information.

I've been trying to print that but it shows me null. I don't know why. 

Do you understand me?


Thanks a lot