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:
myWidget.showVertexCount(featureSet.fields.values());
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
Solved! Go to Solution.
I did it
you are right
the showVertextCount doesn't work