work on the map view