set the map_loaded to true after google load