The Measurement control is a simple control you can add to your map to allow users to measure distances.
Because the Measurement control is a part of the Toolbar, you have to add the Toolbar to the map (using the options object or map.addControl) and then add the Measurement control to the toolbar (using toolbar.addControl).