There is accurate distance measurement using the Vincenty distance formula... Haverine is umm simulating the earth as sphere and is not accurate. What Open Layers lacks is a gui for measurement.