switch marker visibility method