Gwt 641 measure distance controller

make extendable by changing private fields and methods to protected.