Iterate over all the anchors and corresponding positions.
The action to invoke with the anchor and position