…167) Solves race case of trying to get a mapCenter when the widget has rendered, but the map has not rendered. Method: https://leafletjs.com/reference-1.3.0.html#map-whenready Solves rstudio/leaflet#623