onClose and removed non used method on map view