Skip to content

Question - map re-draw completion event. #355

@MichalMisiaszek

Description

@MichalMisiaszek

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions