Change getCoordinateControlMethod to be a constant. Make toggle function public. Have toggle function accept an option to force the control open or closed.