You have to select the location where do you want to measure from. After that you have to place hotspots wherever you want. (These hotspots are logically part of the first location, but physically, they can be placed anywhere.)
When you have placed the hotspots, you can measure them from the corner points of the active location.
Here is a video: