mapview now calls correct function