implement view for map