I am trying to create a "measure" tool, which displays a user-drawn polyline and an infosymbol holding the result of the lengths() function of the GeometryService.
It works fine, only that each time I run the measure tool, any instance of the InfoSymbol has it's label changed to the last measured distance.
Is that how it is supposed to work? would I have to clear the graphics layer and redraw them somehow?
Any help would be appreciated, thanks.