rebuild map function; basic map with geolocation.