function drag(evt){
	if(startPoint.valid){
		endPoint.projectSStoES(evt.pageX, evt.pageY);
		if(endPoint.valid){
			translation.x = endPoint.x - startPoint.x;
			translation.y = endPoint.y - startPoint.y;
			translate(translation);
		}
	}
}
/**
 * Callback function, called when a 'mousemove' Event is fired
 * @param evt the event
 */
Callback function, called when a 'mousemove' Event is fired
@param evt the event
Callback function called when a ' mousemove ' Event is fired @param evt the event
function drag(evt){
	if(startPoint.valid){
		endPoint.projectSStoES(evt.pageX, evt.pageY);
		if(endPoint.valid){
			translation.x = endPoint.x - startPoint.x;
			translation.y = endPoint.y - startPoint.y;
			translate(translation);
		}
	}
}
function drag ( evt ) { if ( startPoint . valid ) { endPoint . projectSStoES ( evt . pageX , evt . pageY ) ; if ( endPoint . valid ) { translation . x = endPoint . x - startPoint . x ; translation . y = endPoint . y - startPoint . y ; translate ( translation ) ; } } }
Callback function, called when a 'mousemove' Event is fired
 @param evt the event
Callback function called when a ' mousemove ' Event is fired @param evt the event