adding map type toggle