schloerke Use whenReady leaflet.js method to init values for addResetMapButton (#…
05c7e4f Jun 4, 2019
Use whenReady leaflet.js method to init values for addResetMapButton (#…
…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
05c7e4f