add map switch control and remove background line control