attaching compose to the map + optimalScale