Switched groundLayer and overlayLayer