Enabled hiding and showing of map