getViewportData

open override fun getViewportData(): ViewportData

Recomputes the frame until the first evaluate has run, and returns the cached viewportData after that.

The cached value starts as a seed built at construction time. Overrides and options set later reach it only through evaluate, which waits for the map to report its size. For a freshly shown MapView that can take several frames. Without the recompute, a camera transitioning in that window gets a frame that ignores everything configured since construction.