onMapFirstRenderedCallback property
Called when the map is rendered for the first time.
This is useful if you want to make sure the map is fully rendered before taking a snapshot
Use this callback instead of initState
, because the onMapFirstRenderedCallback will be
called only once
after the map is rendered for the first time.
Implementation
final OnMapRenderedCallback? onMapFirstRenderedCallback;