Hi John,
Thanks again for great plugin. I have a question. I am calling mapController.fitBounds and then making screenshot of map widget using RepaintBoundary and FocusScope.of(context).requestFocus(FocusNode()); await _capturePng()
Unfortunately sometimes map tiles are not refreshed/downloaded or painted before I make screenshot leading to map with grey background. Any idea how I can wait for plugin to complete painting maps ?
BTW. Can you have two tile layers (like overlay weather tiles on map) ?
Thanks again.
Hi John,
Thanks again for great plugin. I have a question. I am calling
mapController.fitBoundsand then making screenshot of map widget usingRepaintBoundaryandFocusScope.of(context).requestFocus(FocusNode()); await _capturePng()Unfortunately sometimes map tiles are not refreshed/downloaded or painted before I make screenshot leading to map with grey background. Any idea how I can wait for plugin to complete painting maps ?
BTW. Can you have two tile layers (like overlay weather tiles on map) ?
Thanks again.