Solved! Go to Solution.
Ian,
My apologizes. It should be:
var length = results.features[0].attributes
['SHAPE.STLength()'];
Notice that SHAPE is all caps. JS is case sensitive
Ian,
Use:
.attributes['Shape.STLength()'];
//
Strange it works for me. you are using:
var length = results.features[0].attributes
['Shape.STLength()'];
right?
//
Ian,
My apologizes. It should be:
var length = results.features[0].attributes
['SHAPE.STLength()'];
Notice that SHAPE is all caps. JS is case sensitive