switch to govern if checkbox for showCoordinates is initially checked or not